1 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
5 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
6 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9 * sysdeps/i386/link-defines.sym: New file.
11 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
13 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14 (modules-names): Add tst-auditmod3a tst-auditmod3b.
15 ($(objpfx)tst-audit3): New rule.
16 ($(objpfx)tst-audit3.out): Likewise.
17 * sysdeps/i386/tst-audit3.c: New file.
18 * sysdeps/i386/tst-audit3.h: Likewise.
19 * sysdeps/i386/tst-auditmod3a.c: Likewise.
20 * sysdeps/i386/tst-auditmod3b.c: Likewise.
22 2015-07-07 Torvald Riegel <triegel@redhat.com>
25 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27 (__strcat_c): Likewise.
28 (__strcat_g): Likewise.
30 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
33 * misc/sbrk.c: Set errno to ENOMEM on overflow.
35 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
37 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
38 New function. (__ieee754_sqrtf): New function.
39 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
41 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
44 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
46 * sysdeps/ieee754/support.c: Remove unused file.
48 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
50 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
51 registers instead of d ones so the layout is kernel abi compatible.
52 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
53 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
56 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
58 * sysdeps/aarch64/libm-test-ulps: Regenerated.
60 2015-07-01 Joseph Myers <joseph@codesourcery.com>
63 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
64 and return argument in case of subnormal argument.
66 2015-07-01 Martin Sebor <msebor@redhat.com>
69 * nptl/Makefile: Add tst-once5.cc.
70 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
71 Remove macro redefinitions.
72 * nptl/tst-once5.cc: New test.
74 2015-07-01 Joseph Myers <joseph@codesourcery.com>
76 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
78 * sysdeps/arm/libm-test-ulps: Regenerated.
80 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
81 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
83 2015-06-30 Torvald Riegel <triegel@redhat.com>
85 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
86 lll_lock_wait_private and lll_futex_wake probes.
88 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
89 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
91 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
93 * sysdeps/x86_64/bits/atomic.h: Likewise.
94 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
95 to atomic_spin_nop and move ...
96 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
98 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
99 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
100 atomic_spin_nop instead of BUSY_WAIT_NOP.
101 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
103 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
104 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
105 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
106 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
107 instead of atomic_delay.
109 2015-06-29 Joseph Myers <joseph@codesourcery.com>
112 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
113 X_ADJ not X when adjusting exponent.
114 (__ieee754_gamma_r): Do intermediate computations in
115 round-to-nearest then adjust overflowing and underflowing results
117 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
118 of X_ADJ not X when adjusting exponent.
119 (__ieee754_gammaf_r): Do intermediate computations in
120 round-to-nearest then adjust overflowing and underflowing results
122 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
123 log of X_ADJ not X when adjusting exponent.
124 (__ieee754_gammal_r): Do intermediate computations in
125 round-to-nearest then adjust overflowing and underflowing results
126 as needed. Use 1.0L not 1.0f as numerator of division.
127 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
128 log of X_ADJ not X when adjusting exponent.
129 (__ieee754_gammal_r): Do intermediate computations in
130 round-to-nearest then adjust overflowing and underflowing results
131 as needed. Use 1.0L not 1.0f as numerator of division.
132 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
133 of X_ADJ not X when adjusting exponent.
134 (__ieee754_gammal_r): Do intermediate computations in
135 round-to-nearest then adjust overflowing and underflowing results
136 as needed. Use 1.0L not 1.0f as numerator of division.
137 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
138 to auto-libm-test-in.
139 (tgamma_test): Use ALL_RM_TEST.
140 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
141 tests of tgamma with spurious-overflow.
142 * math/auto-libm-test-out: Regenerated.
143 * math/gen-libm-have-vector-test.sh: Do not check for START.
144 * sysdeps/i386/fpu/libm-test-ulps: Update.
145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
148 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
149 arguments, just return 0.5 times the argument, with underflow
151 * math/auto-libm-test-in: Add more tests of j1.
152 * math/auto-libm-test-out: Regenerated.
155 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
156 (__ieee754_j1): Force underflow exception for small results.
157 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
158 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
159 (__ieee754_j1f): Force underflow exception for small results.
160 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
161 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
163 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
164 (__ieee754_j1l): Force underflow exception for small results.
165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
166 * math/auto-libm-test-in: Add more tests of j1 and jn.
167 * math/auto-libm-test-out: Regenerated.
169 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
170 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
174 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
176 (MS_RMT_MASK): Include MS_LAZYTIME.
178 2015-06-26 Mel Gorman <mgorman@suse.de>
181 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
184 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
186 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
187 (DT_MIPS_NUM): Update.
188 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
191 2015-06-25 Joseph Myers <joseph@codesourcery.com>
195 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
196 round-to-nearest internally then recompute results that
197 underflowed to zero in the original rounding mode.
198 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
199 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
202 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
203 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
206 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
208 * NEWS: Fixed description of link with vector math library.
210 2015-06-25 Andreas Schwab <schwab@suse.de>
213 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
214 * libio/test-fmemopen.c (do_test): Add test for it.
216 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
219 * Makeconfig (no-pie-ldflag): New.
220 (+link): Set to $(+link-pie) if default to PIE.
221 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
222 * config.make.in (build-pie-default): New.
223 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
224 is default. AC_SUBST.
225 * configure: Regenerated.
226 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
228 2015-06-24 Roland McGrath <roland@hack.frob.com>
230 * nptl/descr.h (struct pthread): Change type of field setxid_futex
233 * resolv/gai_misc.h (struct waitlist): Change type of field
234 counterp to 'volatile unsigned int *'.
235 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
236 FUTEXADDR and OLDVAL.
237 * resolv/getaddrinfo_a.c (getaddrinfo_a):
238 Give local variable TOTAL type 'volatile unsigned int'.
239 (struct async_waitlist): Change type of field counter to 'unsigned int'.
240 * resolv/gai_suspend.c (gai_suspend):
241 Give local variable CNTR type 'unsigned int'.
243 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
244 counterp to 'volatile unsigned int *'.
245 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
246 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
247 (aio_suspend): Give local variable CNTR type 'unsigned int'.
248 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
249 Give local variable TOTAL type 'volatile unsigned int'.
250 (struct async_waitlist): Change type of field counter to 'unsigned int'.
252 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
255 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
256 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
257 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
258 comment for i386/x86-64.
259 (test-xfail-tst-tlsalign-extern-static): Removed.
261 2015-06-24 Joseph Myers <joseph@codesourcery.com>
263 * math/test-double.h: New file.
264 * math/test-float.h: Likewise.
265 * math/test-ldouble.h: Likewise.
266 * math/test-math-inline.h: Likewise.
267 * math/test-math-no-inline.h: Likewise.
268 * math/test-math-scalar.h: Likewise.
269 * math/test-math-vector.h: Likewise.
270 * math/test-vec-loop.h: Remove file. Contents moved into
272 * math/libm-test.inc (MATHCONST): Do not document macro.
273 * math/test-double.c: Include test-double.h, test-math-no-inline.h
274 and test-math-scalar.h.
275 (FUNC): Remove macro.
276 (FUNC_TEST): Likewise.
278 (MATHCONST): Likewise.
279 (PRINTF_EXPR): Likewise.
280 (PRINTF_XEXPR): Likewise.
281 (PRINTF_NEXPR): Likewise.
282 (TEST_DOUBLE): Likewise.
283 (TEST_MATHVEC): Likewise.
284 (__NO_MATH_INLINES): Likewise.
285 * math/test-float.c: Include test-float.h, test-math-no-inline.h
286 and test-math-scalar.h.
287 (FUNC): Remove macro.
288 (FUNC_TEST): Likewise.
290 (MATHCONST): Likewise.
291 (PRINTF_EXPR): Likewise.
292 (PRINTF_XEXPR): Likewise.
293 (PRINTF_NEXPR): Likewise.
294 (TEST_FLOAT): Likewise.
295 (TEST_MATHVEC): Likewise.
296 (__NO_MATH_INLINES): Likewise.
297 * math/test-idouble.c: Include test-double.h, test-math-inline.h
298 and test-math-scalar.h.
299 (FUNC): Remove macro.
300 (FUNC_TEST): Likewise.
302 (MATHCONST): Likewise.
303 (PRINTF_EXPR): Likewise.
304 (PRINTF_XEXPR): Likewise.
305 (PRINTF_NEXPR): Likewise.
306 (TEST_DOUBLE): Likewise.
307 (TEST_MATHVEC): Likewise.
308 (TEST_INLINE): Likewise.
309 (__NO_MATH_INLINES): Likewise.
310 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
312 (FUNC): Remove macro.
313 (FUNC_TEST): Likewise.
315 (MATHCONST): Likewise.
316 (PRINTF_EXPR): Likewise.
317 (PRINTF_XEXPR): Likewise.
318 (PRINTF_NEXPR): Likewise.
319 (TEST_FLOAT): Likewise.
320 (TEST_MATHVEC): Likewise.
321 (TEST_INLINE): Likewise.
322 (__NO_MATH_INLINES): Likewise.
323 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
324 and test-math-scalar.h.
325 (FUNC): Remove macro.
326 (FUNC_TEST): Likewise.
328 (MATHCONST): Likewise.
329 (PRINTF_EXPR): Likewise.
330 (PRINTF_XEXPR): Likewise.
331 (PRINTF_NEXPR): Likewise.
332 (TEST_LDOUBLE): Likewise.
333 (TEST_MATHVEC): Likewise.
334 (TEST_INLINE): Likewise.
335 (__NO_MATH_INLINES): Likewise.
336 * math/test-ldouble.c: Include test-ldouble.h,
337 test-math-no-inline.h and test-math-scalar.h.
338 (FUNC): Remove macro.
339 (FUNC_TEST): Likewise.
341 (MATHCONST): Likewise.
342 (PRINTF_EXPR): Likewise.
343 (PRINTF_XEXPR): Likewise.
344 (PRINTF_NEXPR): Likewise.
345 (TEST_LDOUBLE): Likewise.
346 (TEST_MATHVEC): Likewise.
347 (__NO_MATH_INLINES): Likewise.
348 * math/test-double-vlen2.h: Include test-double.h,
349 test-math-no-inline.h and test-math-vector.h.
350 (FLOAT): Remove macro.
352 (MATHCONST): Likewise.
353 (PRINTF_EXPR): Likewise.
354 (PRINTF_XEXPR): Likewise.
355 (PRINTF_NEXPR): Likewise.
356 (TEST_DOUBLE): Likewise.
357 (TEST_MATHVEC): Likewise.
358 (__NO_MATH_INLINES): Likewise.
361 (WRAPPER_NAME): Likewise.
362 (WRAPPER_DECL): Likewise.
363 (WRAPPER_DECL_ff): Likewise.
364 (WRAPPER_DECL_fFF): Likewise.
365 (VECTOR_WRAPPER): Likewise.
366 (VECTOR_WRAPPER_ff): Likewise.
367 (VECTOR_WRAPPER_fFF): Likewise.
368 (VEC_LEN): New macro.
369 * math/test-double-vlen4.h: Include test-double.h,
370 test-math-no-inline.h and test-math-vector.h.
371 (FLOAT): Remove macro.
373 (MATHCONST): Likewise.
374 (PRINTF_EXPR): Likewise.
375 (PRINTF_XEXPR): Likewise.
376 (PRINTF_NEXPR): Likewise.
377 (TEST_DOUBLE): Likewise.
378 (TEST_MATHVEC): Likewise.
379 (__NO_MATH_INLINES): Likewise.
382 (WRAPPER_NAME): Likewise.
383 (WRAPPER_DECL): Likewise.
384 (WRAPPER_DECL_ff): Likewise.
385 (WRAPPER_DECL_fFF): Likewise.
386 (VECTOR_WRAPPER): Likewise.
387 (VECTOR_WRAPPER_ff): Likewise.
388 (VECTOR_WRAPPER_fFF): Likewise.
389 (VEC_LEN): New macro.
390 * math/test-double-vlen8.h: Include test-double.h,
391 test-math-no-inline.h and test-math-vector.h.
392 (FLOAT): Remove macro.
394 (MATHCONST): Likewise.
395 (PRINTF_EXPR): Likewise.
396 (PRINTF_XEXPR): Likewise.
397 (PRINTF_NEXPR): Likewise.
398 (TEST_DOUBLE): Likewise.
399 (TEST_MATHVEC): Likewise.
400 (__NO_MATH_INLINES): Likewise.
403 (WRAPPER_NAME): Likewise.
404 (WRAPPER_DECL): Likewise.
405 (WRAPPER_DECL_ff): Likewise.
406 (WRAPPER_DECL_fFF): Likewise.
407 (VECTOR_WRAPPER): Likewise.
408 (VECTOR_WRAPPER_ff): Likewise.
409 (VECTOR_WRAPPER_fFF): Likewise.
410 (VEC_LEN): New macro.
411 * math/test-float-vlen4.h: Include test-float.h,
412 test-math-no-inline.h and test-math-vector.h.
413 (FLOAT): Remove macro.
415 (MATHCONST): Likewise.
416 (PRINTF_EXPR): Likewise.
417 (PRINTF_XEXPR): Likewise.
418 (PRINTF_NEXPR): Likewise.
419 (TEST_FLOAT): Likewise.
420 (TEST_MATHVEC): Likewise.
421 (__NO_MATH_INLINES): Likewise.
424 (WRAPPER_NAME): Likewise.
425 (WRAPPER_DECL): Likewise.
426 (WRAPPER_DECL_ff): Likewise.
427 (WRAPPER_DECL_fFF): Likewise.
428 (VECTOR_WRAPPER): Likewise.
429 (VECTOR_WRAPPER_ff): Likewise.
430 (VECTOR_WRAPPER_fFF): Likewise.
431 (VEC_LEN): New macro.
432 * math/test-float-vlen8.h: Include test-float.h,
433 test-math-no-inline.h and test-math-vector.h.
434 (FLOAT): Remove macro.
436 (MATHCONST): Likewise.
437 (PRINTF_EXPR): Likewise.
438 (PRINTF_XEXPR): Likewise.
439 (PRINTF_NEXPR): Likewise.
440 (TEST_FLOAT): Likewise.
441 (TEST_MATHVEC): Likewise.
442 (__NO_MATH_INLINES): Likewise.
445 (WRAPPER_NAME): Likewise.
446 (WRAPPER_DECL): Likewise.
447 (WRAPPER_DECL_ff): Likewise.
448 (WRAPPER_DECL_fFF): Likewise.
449 (VECTOR_WRAPPER): Likewise.
450 (VECTOR_WRAPPER_ff): Likewise.
451 (VECTOR_WRAPPER_fFF): Likewise.
452 (VEC_LEN): New macro.
453 * math/test-float-vlen16.h: Include test-float.h,
454 test-math-no-inline.h and test-math-vector.h.
455 (FLOAT): Remove macro.
457 (MATHCONST): Likewise.
458 (PRINTF_EXPR): Likewise.
459 (PRINTF_XEXPR): Likewise.
460 (PRINTF_NEXPR): Likewise.
461 (TEST_FLOAT): Likewise.
462 (TEST_MATHVEC): Likewise.
463 (__NO_MATH_INLINES): Likewise.
466 (WRAPPER_NAME): Likewise.
467 (WRAPPER_DECL): Likewise.
468 (WRAPPER_DECL_ff): Likewise.
469 (WRAPPER_DECL_fFF): Likewise.
470 (VECTOR_WRAPPER): Likewise.
471 (VECTOR_WRAPPER_ff): Likewise.
472 (VECTOR_WRAPPER_fFF): Likewise.
473 (VEC_LEN): New macro.
474 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
476 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
477 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
478 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
479 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
480 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
481 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
482 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
484 2015-06-24 Roland McGrath <roland@hack.frob.com>
486 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
487 (__getlogin_r): ... this.
489 2015-06-24 Joseph Myers <joseph@codesourcery.com>
492 * math/s_ccosh.c (__ccosh): Compare with least normal value
493 instead of comparing class with FP_SUBNORMAL.
494 * math/s_ccoshf.c (__ccoshf): Likewise.
495 * math/s_ccoshl.c (__ccoshl): Likewise.
496 * math/s_cexp.c (__cexp): Likewise.
497 * math/s_cexpf.c (__cexpf): Likewise.
498 * math/s_cexpl.c (__cexpl): Likewise.
499 * math/s_csin.c (__csin): Likewise.
500 * math/s_csinf.c (__csinf): Likewise.
501 * math/s_csinh.c (__csinh): Likewise.
502 * math/s_csinhf.c (__csinhf): Likewise.
503 * math/s_csinhl.c (__csinhl): Likewise.
504 * math/s_csinl.c (__csinl): Likewise.
505 * math/s_ctan.c (__ctan): Likewise.
506 * math/s_ctanf.c (__ctanf): Likewise.
507 * math/s_ctanh.c (__ctanh): Likewise.
508 * math/s_ctanhf.c (__ctanhf): Likewise.
509 * math/s_ctanhl.c (__ctanhl): Likewise.
510 * math/s_ctanl.c (__ctanl): Likewise.
511 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
512 csin, csinh, ctan and ctanh.
513 * math/auto-libm-test-out: Regenerated.
514 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
515 * sysdeps/i386/fpu/libm-test-ulps: Update.
516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
518 2015-06-24 Roland McGrath <roland@hack.frob.com>
520 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
521 return value is wrong, print the expected value too.
523 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
526 * elf/readlib.c (is_gdb_python_file): New.
527 (process_file): Don't issue errors on filenames with -gdb.py
530 2015-06-24 Joseph Myers <joseph@codesourcery.com>
532 * math/auto-libm-test-in: Add more tests of csin and csinh.
533 * math/auto-libm-test-out: Regenerated.
534 * math/libm-test.inc (csin_test_data): Remove tests moved to
536 (csinh_test_data): Likewise.
539 * math/s_csin.c (__csin): Negate before rather than after possibly
540 overflowing multiplication.
541 * math/s_csinf.c (__csinf): Likewise.
542 * math/s_csinh.c (__csinh): Likewise.
543 * math/s_csinhf.c (__csinhf): Likewise.
544 * math/s_csinhl.c (__csinhl): Likewise.
545 * math/s_csinl.c (__csinl): Likewise.
546 * math/auto-libm-test-in: Add some tests of csin and csinh.
547 * math/auto-libm-test-out: Regenerated.
548 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
549 (csinh_test_data): Likewise.
550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
553 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
554 underflow exception for small results.
556 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
558 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
559 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
560 variable and included header.
561 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
562 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
563 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
564 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
565 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
566 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
567 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
568 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
569 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
570 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
571 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
572 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
573 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
574 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
575 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
576 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
578 2015-06-23 Joseph Myers <joseph@codesourcery.com>
582 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
583 (__sin): Force underflow exception for arguments with small
585 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
586 (__kernel_sinf): Force underflow exception for arguments with
587 small absolute value.
588 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
589 (__kernel_sincosl): Force underflow exception for arguments with
590 small absolute value.
591 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
592 (__kernel_sinl): Force underflow exception for arguments with
593 small absolute value.
594 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
595 (__kernel_sincosl): Force underflow exception for arguments with
596 small absolute value.
597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
598 (__kernel_sinl): Force underflow exception for arguments with
599 small absolute value.
600 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
601 (__kernel_sinl): Force underflow exception for arguments with
602 small absolute value.
603 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
604 (__kernel_sinf): Force underflow exception for arguments with
605 small absolute value.
606 * math/auto-libm-test-in: Add more tests of sin and sincos.
607 * math/auto-libm-test-out: Regenerated.
611 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
612 (__kernel_standard_l): Use feholdexcept and fesetenv around
613 conversion to double instead of special-casing overflow and
615 * math/libm-test.inc (fmod_test_data): Add more tests.
616 (remainder_test_data): Likewise.
617 (sqrt_test_data): Likewise.
619 2015-06-23 Torvald Riegel <triegel@redhat.com>
622 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
623 atomic_read_barrier, atomic_write_barrier): Define.
624 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
625 atomic_read_barrier, atomic_write_barrier): Define.
627 2015-06-23 Joseph Myers <joseph@codesourcery.com>
629 * math/Makefile [$(PERL) != no]
630 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
631 dependency on libm-test.stmp below the inclusion of Rules.
633 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
635 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
636 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
638 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
639 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
640 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
641 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
642 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
643 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
645 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
646 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
647 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
648 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
649 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
650 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
651 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
652 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
653 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
654 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
655 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
656 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
658 2015-06-23 Joseph Myers <joseph@codesourcery.com>
661 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
662 intermediate but not final result might underflow.
663 * math/s_csqrtf.c (__csqrtf): Likewise.
664 * math/s_csqrtl.c (__csqrtl): Likewise.
665 * math/auto-libm-test-in: Add more tests of csqrt.
666 * math/auto-libm-test-out: Regenerated.
667 * sysdeps/i386/fpu/libm-test-ulps: Update.
670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
671 threshold on absolute value of exponent for which scaling is used.
672 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
673 * math/auto-libm-test-in: Add more tests of exp2.
674 * math/auto-libm-test-out: Regenerated.
676 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
679 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
680 when initializing interface list, based on the bug analysis
681 and the patch proposed by Eric Newton.
682 * resolv/tst-res_hconf_reorder.c: New test.
683 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
684 tst-res_hconf_reorder.
685 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
686 and $(shared-thread-library).
687 (tst-res_hconf_reorder-ENV): New variable.
689 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
692 2015-06-22 Joseph Myers <joseph@codesourcery.com>
695 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
696 (__expm1): Force underflow exception for arguments with small
698 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
699 (__expm1f): Force underflow exception for arguments with small
701 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
702 (__expm1): Force underflow exception for arguments with small
704 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
705 (__expm1f): Force underflow exception for arguments with small
707 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
708 Check for small arguments before calling __expm1.
709 * math/auto-libm-test-in: Do not mark underflow exceptions as
710 possibly missing for bug 16353.
711 * math/auto-libm-test-out: Regenerated.
713 2015-06-22 Andreas Schwab <schwab@suse.de>
716 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
719 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
721 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
723 * string/strcoll_l.c: Remove unused struct element idxnow.
725 2015-06-21 Joseph Myers <joseph@codesourcery.com>
728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
729 underflow and return argument in case of subnormal argument.
730 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
732 * math/auto-libm-test-in: Add more tests of expm1.
733 * math/auto-libm-test-out: Regenerated.
736 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
737 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
739 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
740 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
742 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
743 mark underflow exceptions as possibly missing for bug 16361.
744 * math/auto-libm-test-out: Regenerated.
746 2015-06-19 Joseph Myers <joseph@codesourcery.com>
748 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
749 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
751 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
752 (test-xfail-XOPEN2K8/utmpx.h/conform).
754 * conform/conformtest.pl ($xerrors): New variable.
755 (note_error): New function.
756 (compiletest): New argument $xfail. Use not_error.
758 (top level): Handle xfail- lines. Update calls to compiletest and
759 runtest. Handle xfail- and optional- in headers listed with
761 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
763 (O_SEARCH): Likewise.
764 * conform/data/stropts.h-data (ioctl): Likewise.
765 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
766 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
767 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
768 (msghdr.msg_controllen): Likewise.
769 (cmsghdr.cmsg_len): Likewise.
770 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
771 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
773 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
774 (test-xfail-XPG4/stropts.h/conform): Likewise.
775 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
776 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
777 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
778 (test-xfail-UNIX98/stropts.h/conform): Likewise.
779 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
780 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
781 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
782 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
783 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
784 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
785 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
786 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
787 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
788 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
789 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
790 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
791 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
792 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
793 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
795 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
797 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
798 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
799 definitions for proper unfolding of __MATHDECL_VEC.
801 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
803 * benchtests/bench-strcoll.c:
805 (main): Remove unused variable res.
807 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
809 * timezone/Makefile (%/UTC %/Universal):
810 Generate test-result files for UTC and Universal.
812 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
814 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
816 2015-06-18 Joseph Myers <joseph@codesourcery.com>
819 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
820 for arguments with small absolute value.
821 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
822 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
823 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
824 (__asinh): Force underflow exception for arguments with small
826 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
827 (__asinhf): Force underflow exception for arguments with small
829 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
830 (__asinhl): Force underflow exception for arguments with small
832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
833 (__asinhl): Force underflow exception for arguments with small
835 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
836 (__asinhl): Force underflow exception for arguments with small
838 * math/auto-libm-test-in: Do not mark underflow exceptions as
839 possibly missing for bug 16350.
840 * math/auto-libm-test-out: Regenerated.
842 * include/bits/ipc.h: Remove file.
843 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
845 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
846 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
847 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
848 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
849 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
850 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
851 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
852 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
853 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
855 * math/auto-libm-test-in: Remove spurious underflow allowance for
857 * math/auto-libm-test-out: Regenerated.
860 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
861 unconditional definition.
862 (MCAST_BLOCK_SOURCE): Likewise.
863 (MCAST_UNBLOCK_SOURCE): Likewise.
864 (MCAST_LEAVE_GROUP): Likewise.
865 (MCAST_JOIN_SOURCE_GROUP): Likewise.
866 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
867 (MCAST_MSFILTER): Likewise.
868 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
870 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
871 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
872 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
873 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
874 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
876 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
878 * NEWS: Mention addition of x86_64 vector sincosf.
879 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
880 * math/test-float-vlen4.h: Likewise.
881 * math/test-float-vlen8.h: Likewise.
882 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
883 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
884 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
885 * sysdeps/x86_64/fpu/Versions: New versions added.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
887 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
888 Added build of SSE, AVX2 and AVX512 IFUNC versions.
889 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
890 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
891 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
892 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
893 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
895 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
896 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
897 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
898 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
899 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
900 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
901 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
902 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
903 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
904 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
905 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
906 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
907 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
908 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
909 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
911 * NEWS: Mention addition of x86_64 vector sincos.
912 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
913 * math/math.h (__MATHDECL_VEC): New macro.
914 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
915 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
916 declaration under condition.
917 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
918 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
919 TEST_VEC_LOOP change.
920 * math/test-double-vlen4.h: Likewise.
921 * math/test-double-vlen8.h: Likewise.
922 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
923 * math/test-float-vlen4.h: Likewise.
924 * math/test-float-vlen8.h: Likewise.
925 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
926 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
927 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
928 * sysdeps/x86_64/fpu/Versions: New versions added.
929 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
930 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
931 Added build of SSE, AVX2 and AVX512 IFUNC versions.
932 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
933 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
934 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
935 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
936 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
937 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
938 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
939 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
940 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
941 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
942 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
943 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
944 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
945 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
946 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
947 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
948 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
949 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
950 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
951 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
952 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
955 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
956 redirections for powf.
957 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
958 * sysdeps/x86_64/fpu/Versions: New versions added.
959 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
960 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
961 Added build of SSE, AVX2 and AVX512 IFUNC versions.
962 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
963 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
964 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
965 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
966 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
967 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
968 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
969 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
970 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
971 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
972 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
973 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
974 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
975 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
976 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
977 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
978 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
979 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
980 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
981 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
982 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
983 * math/test-float-vlen16.h: Fixed 2 argument macro.
984 * math/test-float-vlen4.h: Likewise.
985 * math/test-float-vlen8.h: Likewise.
986 * NEWS: Mention addition of x86_64 vector powf.
988 2015-06-17 Joseph Myers <joseph@codesourcery.com>
990 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
992 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
994 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
995 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
996 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
999 * resource/getpriority.c (getpriority): Rename to __getpriority
1000 and define as weak alias of __getpriority.
1001 * resource/setpriority.c (setpriority): Rename to __setpriority
1002 and define as weak alias of __setpriority.
1003 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1004 __getpriority and define as weak alias of __getpriority.
1005 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1006 __setpriority and define as weak alias of __setpriority.
1007 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1009 (setpriority): Use __setpriority as strong name.
1010 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1011 __getpriority and define as weak alias of __getpriority.
1012 * include/sys/resource.h (__getpriority): Declare. Use
1014 (__setpriority): Likewise.
1015 (getpriority): Don't use libc_hidden_proto.
1016 (setpriority): Likewise.
1017 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1018 getpriority. Call __setpriority instead of setpriority.
1019 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1023 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1024 as weak alias of __getttynam. Use prototype function definition.
1025 Call __setttyent, __getttyent and __endttyent instead of
1026 setttyent, getttyent and endttyent.
1027 (getttyent): Rename to __getttyent and define as weak alias of
1028 __getttyent. Call __setttyent instead of setttyent. Call
1029 __fgets_unlocked instead of fgets_unlocked.
1030 (setttyent): Rename to __setttyent and define as weak alias of
1032 (endttyent): Rename to __endttyent and define as weak alias of
1034 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1035 (__setttyent): Likewise.
1036 (__endttyent): Likewise.
1037 (getttyent): Don't use libc_hidden_proto.
1038 (setttyent): Likewise.
1039 (endttyent): Likewise.
1040 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1041 __endttyent instead of setttyent, getttyent and endttyent.
1042 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1046 * socket/recv.c (__recv): Use libc_hidden_def.
1047 * socket/socket.c (__socket): Likewise.
1048 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1049 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1050 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1051 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1052 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1054 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1056 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1057 Use libc_hidden_proto.
1059 * socket/Versions (libc): Export __recv and __socket at version
1061 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1063 (init_mq_netlink): Call __socket instead of socket.
1064 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1068 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1069 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1071 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1072 define as alias of __mq_timedsend. Use hidden_weak.
1073 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1074 __mq_timedsend as strong name.
1075 (mq_timedreceive): Use __mq_timedreceive as strong name.
1076 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1077 (__mq_timedreceive): Likewise.
1078 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1079 __mq_timedreceive instead of mq_timedreceive.
1080 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1081 instead of mq_timedsend.
1082 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1085 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1086 hidden_def and hidden_weak instead of libc_hidden_def and
1088 (top level): Refer to hidden_def in comment.
1089 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1090 macro. Use it instead of libc_hidden_def.
1091 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1092 specify __GI_* name explicitly.
1093 (mq_timedreceive): Likewise.
1094 (mq_setattr): Likewise.
1097 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1098 __pthread_barrier_init and define as weak alias of
1099 __pthread_barrier_init.
1100 * sysdeps/sparc/nptl/pthread_barrier_init.c
1101 (pthread_barrier_init): Likewise.
1102 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1103 __pthread_barrier_wait and define as weak alias of
1104 __pthread_barrier_wait.
1105 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1106 (pthread_barrier_wait): Likewise.
1107 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1108 (pthread_barrier_wait): Likewise.
1109 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1110 (pthread_barrier_wait): Likewise.
1111 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1112 (pthread_barrier_wait): Likewise.
1113 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1114 __pthread_barrier_wait at version GLIBC_PRIVATE.
1115 * include/pthread.h (__pthread_barrier_init): Declare.
1116 (__pthread_barrier_wait): Likewise.
1117 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1118 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1119 (helper_thread): Likewise.
1120 (init_mq_netlink): Call __pthread_barrier_init instead of
1121 pthread_barrier_init.
1124 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1125 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1126 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1127 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1129 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1133 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1134 strong alias of _IO_fflush. Use libc_hidden_def.
1135 * libio/iofflush_u.c (fflush_unlocked): Rename to
1136 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1137 Use libc_hidden_weak.
1138 * include/stdio.h (__fflush_unlocked): Declare. Use
1140 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1142 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1146 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1147 define as weak alias of __addseverity.
1148 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1150 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1151 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1152 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1155 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1156 (__tfind): Likewise.
1157 (__tdelete): Likewise.
1158 (__twalk): Likewise.
1159 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1160 __twalk to GLIBC_PRIVATE.
1161 * include/search.h (__tsearch): Use libc_hidden_proto.
1162 (__tfind): Likewise.
1163 (__tdelete): Likewise.
1164 (__twalk): Likewise.
1165 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1166 Call __tdelete instead of tdelete.
1167 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1168 tfind. Call __tsearch instead of tsearch.
1169 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1170 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1172 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1175 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1176 (dprintf): Define as a weak alias of __dprintf, not a strong
1178 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1179 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1181 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1183 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1184 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1187 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1189 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1193 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1194 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1195 (in6addr_loopback): Rename to __in6addr_loopback and define as
1196 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1197 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1199 (__in6addr_any): Likewise.
1200 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1202 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1204 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1206 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1208 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1209 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1210 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1211 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1212 redirections for pow.
1213 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1214 * sysdeps/x86_64/fpu/Versions: New versions added.
1215 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1216 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1217 build of SSE, AVX2 and AVX512 IFUNC versions.
1218 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1219 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1220 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1221 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1222 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1223 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1224 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1225 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1226 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1227 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1228 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1229 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1230 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1231 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1232 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1233 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1234 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1235 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1236 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1237 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1238 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1239 * NEWS: Mention addition of x86_64 vector pow.
1241 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1242 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1243 redirections for expf.
1244 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1245 * sysdeps/x86_64/fpu/Versions: New versions added.
1246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1247 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1248 build of SSE, AVX2 and AVX512 IFUNC versions.
1249 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1250 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1251 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1252 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1253 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1254 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1255 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1256 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1257 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1258 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1259 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1260 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1261 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1262 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1263 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1264 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1265 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1266 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1267 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1268 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1269 * NEWS: Mention addition of x86_64 vector expf.
1271 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1272 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1273 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1274 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1275 redirections for exp.
1276 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1277 * sysdeps/x86_64/fpu/Versions: New versions added.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1279 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1280 build of SSE, AVX2 and AVX512 IFUNC versions.
1281 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1282 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1284 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1285 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1286 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1287 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1288 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1289 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1290 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1291 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1292 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1293 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1294 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1295 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1296 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1297 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1298 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1299 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1300 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1301 * NEWS: Mention addition of x86_64 vector exp.
1303 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1304 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1305 redirections for logf.
1306 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1307 * sysdeps/x86_64/fpu/Versions: New versions added.
1308 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1309 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1310 build of SSE, AVX2 and AVX512 IFUNC versions.
1311 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1312 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1313 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1314 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1315 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1316 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1317 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1318 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1319 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1320 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1321 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1322 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1323 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1324 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1325 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1326 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1327 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1328 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1329 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1330 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1331 * NEWS: Mention addition of x86_64 vector logf.
1333 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1334 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1335 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1336 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1337 redirections for log.
1338 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1339 * sysdeps/x86_64/fpu/Versions: New versions added.
1340 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1341 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1342 build of SSE, AVX2 and AVX512 IFUNC versions.
1343 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1344 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1345 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1346 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1347 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1348 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1349 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1350 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1351 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1352 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1353 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1354 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1355 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1357 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1358 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1359 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1360 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1361 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1362 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1363 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1364 * NEWS: Mention addition of x86_64 vector log.
1366 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1368 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1369 cfi_adjust_cfa_offset argument.
1370 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1371 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1374 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1375 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1376 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1377 ordering using ldar.
1378 (_dl_tlsdesc_dynamic): Likewise.
1379 (_dl_tlsdesc_return_lazy): Likewise.
1380 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1381 relaxed atomics instead of volatile and synchronize with release store.
1382 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1384 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1386 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1388 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1389 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1390 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1391 * sysdeps/x86_64/fpu/Versions: New versions added.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1393 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1394 build of SSE, AVX2 and AVX512 IFUNC versions.
1395 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1396 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1397 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1398 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1399 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1400 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1401 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1402 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1403 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1404 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1405 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1406 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1407 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1408 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1409 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1410 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1411 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1412 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1413 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1414 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1415 * NEWS: Mention addition of x86_64 vector sinf.
1417 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1419 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1420 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1421 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1423 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1424 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1426 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1429 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1430 strong alias of _IO_fputs. Use libc_hidden_def.
1431 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1432 and define as weak alias of __fputs_unlocked. Use
1434 * include/stdio.h (__fputs_unlocked): Declare. Use
1436 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1440 * resolv/netdb.h [__USE_POSIX]: Change condition to
1442 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1444 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1445 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1446 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1447 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1448 [XPG4 || UNIX98] (AI_ALL): Likewise.
1449 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1450 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1451 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1452 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1453 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1454 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1455 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1456 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1457 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1458 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1459 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1460 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1461 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1462 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1463 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1464 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1465 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1466 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1467 [XPG4 || UNIX98] (gai_strerror): Likewise.
1468 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1469 [XPG4 || UNIX98] (getnameinfo): Likewise.
1472 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1473 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1475 (getgrent): Likewise.
1476 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1478 [XPG3 || POSIX2008] (endgrent): Likewise.
1479 [XPG3] (setgrent): Likewise.
1480 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1482 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1485 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1486 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1487 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1488 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1489 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1490 * include/unistd.h (__getlogin_r): Declare. Use
1492 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1493 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1495 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1496 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1497 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1499 2015-06-12 Martin Sebor <msebor@redhat.com>
1502 * Makerules (check-install-supported): New target.
1503 (install): Add check-install-supported as a dependency.
1504 * manual/install.texi (Installing the C Library): Document
1505 that overriding prefix and exec_prefix is not supported.
1507 * INSTALL: Regenerate from the above.
1509 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1512 * posix/Versions (libc): Export __libc_pread at version
1514 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1516 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1521 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1522 (cvt_symbol): Use weak_alias instead of strong_alias.
1523 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1524 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1526 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1527 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1530 * inet/herrno.c (h_errno): Rename to __h_errno.
1531 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1532 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1533 to __h_errno instead of h_errno.
1534 * nptl/herrno.c (h_errno): Rename to __h_errno.
1535 (__h_errno_location): Refer to __h_errno not h_errno.
1536 * resolv/Versions (h_errno): Rename to __h_errno.
1537 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1539 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1541 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1543 * configure.ac: More strict check for AVX512 assembler support.
1544 * configure: Regenerated.
1546 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1547 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1548 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1549 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1550 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1551 * sysdeps/x86_64/fpu/Versions: New versions added.
1552 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1553 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1554 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1555 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1556 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1557 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1558 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1559 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1560 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1561 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1562 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1563 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1564 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1565 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1566 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1567 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1569 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1570 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1571 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1572 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1573 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1574 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1575 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1576 * NEWS: Mention addition of x86_64 vector sin.
1578 2015-06-11 Florian Weimer <fweimer@redhat.com>
1580 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1583 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1586 * nptl/pt-interp.c: New file.
1587 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1589 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1590 $(common-objpfx)runtime-linker.h.
1592 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1594 * Makeconfig (+interp): Remove unused variable.
1595 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1596 only. Depend on $(common-objpfx)runtime-linker.h instead of
1597 $(elf-objpfx)runtime-linker.h.
1598 ($(elf-objpfx)runtime-linker.h): Rename to
1599 $(common-objpfx)runtime-linker.h and move ...
1600 * Makerules [$(build-shared) = yes]: ... here.
1601 * elf/interp.c: Include <runtime-linker.h> instead of
1602 <elf/runtime-linker.h>.
1604 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1606 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1607 (__gettimeofday_syscall): Remove vsyscall fallback.
1608 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1609 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1610 Add syscall fallback function.
1611 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1612 if vDSO is not present.
1613 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1615 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1618 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1620 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1623 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1625 (wcscmp): Define as weak alias of WCSCMP.
1626 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1628 (USE_HIDDEN_DEF): Define.
1629 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1630 __wcscoll. Don't use libc_hidden_weak.
1631 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1633 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1634 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1636 (weak_alias): Undefine and redefine.
1637 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1638 __wcscmp and define as weak alias of __wcscmp.
1639 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1640 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1641 (__wcscoll): Likewise.
1642 (wcscmp): Don't use libc_hidden_proto.
1643 (wcscoll): Likewise.
1644 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1646 * posix/regexec.c (check_node_accept_bytes): Likewise.
1647 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1649 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1650 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1653 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1654 __fstatvfs and define as weak alias of __fstatvfs. Use
1656 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1657 and define as weak alias of __statvfs. Use libc_hidden_weak.
1658 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1659 Define as alias of __fstatvfs, not fstatvfs.
1660 (fstatvfs64): Likewise.
1661 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1662 Define as alias of __statvfs, not statvfs.
1663 (statvfs64): Likewise.
1664 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1667 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1670 (HAVE_GETCPU_VSYSCALL): Define.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1672 (HAVE_GETCPU_VSYSCALL): Likewise.
1673 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1674 * sysdeps/unix/sysv/linux/sched_getcpu.c
1675 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1676 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1677 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1679 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1680 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1685 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1686 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1689 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1691 * sysdeps/x86_64/fpu/Makefile: New file.
1692 * sysdeps/x86_64/fpu/Versions: New file.
1693 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1694 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1695 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1696 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1697 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1698 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1699 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1700 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1701 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1702 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1703 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1704 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1705 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1706 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1707 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1708 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1709 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1710 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1711 * sysdeps/x86_64/configure: Regenerated.
1712 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1713 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1714 * manual/install.texi (Configuring and compiling): Document
1716 * INSTALL: Regenerated.
1717 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1719 * math/Makefile: Added rules for vector tests.
1720 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1721 declaration under condition.
1722 * math/test-double-vlen2.h: New file.
1723 * math/test-double-vlen4.h: New file.
1724 * math/test-double-vlen8.h: New file.
1725 * math/test-vec-loop.h: Added initialization macro.
1726 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1727 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1728 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1729 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1730 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1731 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1732 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1733 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1734 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1735 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1736 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1738 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1739 * sysdeps/x86_64/fpu/Versions: New versions added.
1740 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1741 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1742 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1743 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1744 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1745 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1746 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1747 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1748 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1749 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1750 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1751 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1752 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1753 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1754 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1755 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1756 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1757 * NEWS: Mention addition of x86_64 vector cosf.
1759 * math/Makefile: Added CFLAGS for new tests.
1760 * math/test-float-vlen16.h: New file.
1761 * math/test-float-vlen4.h: New file.
1762 * math/test-float-vlen8.h: New file.
1763 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1764 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1765 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1766 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1767 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1768 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1769 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1770 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1771 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1772 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1773 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1775 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1777 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1778 * locale/programs/ld-ctype.c: Likewise.
1780 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1782 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1783 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1784 bit_ZMM16_31_state): New macro.
1785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1786 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1788 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1790 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1792 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1794 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1796 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1799 * libio/memstream.c (open_memstream): Rename to __open_memstream
1800 and define as weak alias of __open_memstream.
1801 * include/stdio.h (__open_memstream): Declare. Use
1803 (open_memstream): Don't use libc_hidden_proto.
1804 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1806 * posix/getopt.c (_getopt_internal_r): Likewise.
1807 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1809 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1810 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1811 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1814 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1818 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1819 [__USE_XOPEN2K8]. Remove redundant #endif.
1820 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1821 Remove redundant #if.
1822 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1824 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1825 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1828 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1829 (__iswlower): Likewise.
1830 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1831 (__iswlower): Likewise.
1832 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1833 instead of towlower.
1834 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1835 instead of iswlower. Call __towupper instead of towupper.
1836 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1837 instead of iswalnum.
1839 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1841 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1844 2015-06-05 Florian Weimer <fweimer@redhat.com>
1848 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1849 Check for overflow properly. Check for O_APPEND. Ignore large
1850 file system block sizes. Add comments about problems.
1851 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1852 * manual/filesys.texi (Storage Allocation): New node.
1854 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1856 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1857 cancellable syscalls.
1858 (SYS_ify): Add guard to no redefine it.
1859 (INLINE_SYSCALL): Likewise.
1860 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1861 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1862 SYSCALL_CANCEL instead.
1863 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1864 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1865 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1866 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1867 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1868 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1869 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1870 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1871 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1872 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1873 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1874 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1875 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1876 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1877 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1878 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1880 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1881 (__libc_pread64): Likewise.
1882 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1883 (__libc_preadv): Likewise.
1884 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1885 (__libc_readv64): Likewise.
1886 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1887 (__libc_pwrite): Likewise.
1888 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1889 (__libc_pwrite64): Likewise.
1890 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1891 (__libc_pwritev): Likewise.
1892 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1893 (__libc_pwritev64): Likewise.
1894 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1895 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1896 (sync_file_range): Likewise.
1897 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1899 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1901 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1902 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1903 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1904 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1905 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1906 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1907 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1908 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1912 (__libc_read64): Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1922 (__libc_pread64): Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1926 (__libc_pwrite64): Likewise.
1927 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1928 (sync_file_range): Likewise.
1929 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1930 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1931 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1932 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1933 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1934 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1935 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1936 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1937 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1938 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1939 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1940 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1941 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1942 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1943 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1944 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1945 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1946 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1949 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1951 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1952 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1954 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1955 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1956 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1957 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1959 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1960 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1961 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1963 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1965 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1967 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1969 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1970 Use VDSO routines for gettimeofday, clock_gettime if
1972 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1973 Declare VDSO symbols.
1974 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1975 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1976 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1977 * sysdeps/unix/sysv/linux/arm/Versions: Add
1978 __vdso_clock_gettime.
1980 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1982 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1983 be an inline implementation regardless of library is built within.
1984 (open_not_cancel_2): Likewise.
1985 (__read_nocancel): Likewise.
1986 (__write_nocancel): Likewise.
1987 (openat_not_cancel): Likewise.
1988 (openat_not_cancel_3): Likewise.
1989 (openat64_not_cancel): Likewise.
1990 (openat64_not_cancel_3): Likewise.
1991 (__close_nocancel): Likewise.
1992 (pause_not_cancel): Likewise.
1993 (nanosleep_not_cancel): Likewise.
1994 (sigsuspend_not_cancel): Likewise.
1996 2015-06-04 Torvald Riegel <triegel@redhat.com>
1999 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2001 (__pthread_rwlock_rdlock_slow): Likewise.
2002 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2004 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2006 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2007 * nptl/tst-rwlock16.c: New file.
2008 * nptl/Makefile (tests): Add new test.
2010 2015-06-04 Torvald Riegel <triegel@redhat.com>
2013 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2014 missing wake-up of readers.
2015 * nptl/tst-rwlock15.c: New file.
2016 * nptl/Makefile (tests): Add new test.
2018 2015-06-03 Roland McGrath <roland@hack.frob.com>
2020 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2021 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2022 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2023 and __nacl_supply_interface_rtld.
2024 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2025 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2026 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2027 Add __nacl_supply_interface_rtld.
2028 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2030 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2032 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2034 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2035 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2037 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2039 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2040 __signbit* with standard C99 macros.
2041 * math/e_exp10l.c: Likewise.
2042 * math/e_exp2l.c: Likewise.
2043 * math/e_scalb.c: Likewise.
2044 * math/e_scalbf.c: Likewise.
2045 * math/e_scalbl.c: Likewise.
2046 * math/s_ldexp.c: Likewise.
2047 * math/s_ldexpf.c: Likewise.
2048 * math/s_ldexpl.c: Likewise.
2049 * math/w_atan2.c: Likewise.
2050 * math/w_atan2f.c: Likewise.
2051 * math/w_atan2l.c: Likewise.
2052 * math/w_cosh.c: Likewise.
2053 * math/w_coshf.c: Likewise.
2054 * math/w_coshl.c: Likewise.
2055 * math/w_exp10.c: Likewise.
2056 * math/w_exp10f.c: Likewise.
2057 * math/w_exp10l.c: Likewise.
2058 * math/w_exp2.c: Likewise.
2059 * math/w_exp2f.c: Likewise.
2060 * math/w_exp2l.c: Likewise.
2061 * math/w_fmod.c: Likewise.
2062 * math/w_fmodf.c: Likewise.
2063 * math/w_fmodl.c: Likewise.
2064 * math/w_hypot.c: Likewise.
2065 * math/w_hypotf.c: Likewise.
2066 * math/w_hypotl.c: Likewise.
2067 * math/w_jnl.c: Likewise.
2068 * math/w_lgamma.c: Likewise.
2069 * math/w_lgamma_r.c: Likewise.
2070 * math/w_lgammaf.c: Likewise.
2071 * math/w_lgammaf_r.c: Likewise.
2072 * math/w_lgammal.c: Likewise.
2073 * math/w_lgammal_r.c: Likewise.
2074 * math/w_pow.c: Likewise.
2075 * math/w_powf.c: Likewise.
2076 * math/w_powl.c: Likewise.
2077 * math/w_remainder.c: Likewise.
2078 * math/w_remainderf.c: Likewise.
2079 * math/w_remainderl.c: Likewise.
2080 * math/w_scalb.c: Likewise.
2081 * math/w_scalbf.c: Likewise.
2082 * math/w_scalbl.c: Likewise.
2083 * math/w_scalbln.c: Likewise.
2084 * math/w_scalblnf.c: Likewise.
2085 * math/w_scalblnl.c: Likewise.
2086 * math/w_sinh.c: Likewise.
2087 * math/w_sinhf.c: Likewise.
2088 * math/w_sinhl.c: Likewise.
2089 * math/w_tgamma.c: Likewise.
2090 * math/w_tgammaf.c: Likewise.
2091 * math/w_tgammal.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2099 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2100 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2102 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2120 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2123 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2124 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2125 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2126 * stdio-common/printf_fp.c: Likewise.
2127 * stdio-common/printf_fphex.c: Likewise.
2128 * stdio-common/printf_size.c: Likewise.
2130 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2133 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2135 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2137 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2138 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2139 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2140 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2141 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2142 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2143 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2144 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2145 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2146 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2149 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2150 weak alias of __wmemchr. Use libc_hidden_weak.
2151 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2152 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2155 2015-06-02 Roland McGrath <roland@hack.frob.com>
2158 * elf/tst-tlsalign-extern.c: New file.
2159 * elf/tst-tlsalign-extern-static.c: New file.
2160 * elf/tst-tlsalign-vars.c: New file.
2161 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2162 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2163 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2164 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2165 (test-xfail-tst-tlsalign-extern-static): New variable.
2167 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2169 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2170 Use variable name _sc_err instead of err.
2171 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2173 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2174 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2175 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2176 (INLINE_SYSCALL): Likewise.
2178 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2179 * include/string.h (__strnlen): Use libc_hidden_proto.
2180 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2181 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2182 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2184 (libc_hidden_def): Undefine and redefine.
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2186 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2188 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2190 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2193 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2194 weak alias of __towlower. Use libc_hidden_weak.
2195 (towupper): Rename to __towupper and define as weak alias of
2196 __towupper. Use libc_hidden_weak.
2197 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2198 (__towupper): Likewise.
2199 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2200 __towlower instead of towlower.
2202 2015-06-02 Roland McGrath <roland@hack.frob.com>
2204 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2205 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2207 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2209 * sysdeps/aarch64/libm-test-ulps: Update.
2211 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2213 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2215 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2217 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2218 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2219 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2220 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2221 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2223 2015-06-01 Martin Sebor <msebor@redhat.com>
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2227 (__setcontext): Use extended four-operand version of mtsf whenever
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2230 (__novec_swapcontext): Likewise.
2232 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2234 * benchtests/scripts/compare_bench.py: New file.
2235 * benchtests/scripts/import_bench.py (mean): New function.
2236 (split_list): Likewise.
2237 (do_for_all_timings): Likewise.
2238 (compress_timings): Likewise.
2240 * benchtests/scripts/import_bench.py: New file.
2241 * benchtests/scripts/validate_benchout.py: Import import_bench
2242 instead of jsonschema.
2243 (validate_bench): Remove function.
2244 (main): Use import_bench.
2246 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2248 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2249 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2251 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2255 2015-05-28 Roland McGrath <roland@hack.frob.com>
2257 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2258 set THREAD_SELF->tid to a magic value and futex-wake it.
2259 Pass its address to the thread_exit system call.
2260 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2262 * sysdeps/nacl/lowlevellock.h: New file.
2263 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2265 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2266 Add TIMEOUT to current time, don't subtract it.
2268 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2271 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2272 ($(objpfx)tst-audit2.out): Also depend on
2273 $(objpfx)tst-auditmod9b.so.
2274 * elf/tst-audit2.c: Include <dlfcn.h>.
2275 (calloc_called): New.
2276 (calloc): Allow to be called more than once.
2277 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2279 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2281 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2282 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2284 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2286 * stdlib/monetary.h: Fix comment.
2288 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2290 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2291 Avoid using variables in #defines that might cause shadowing.
2292 (INTERNAL_VSYSCALL_CALL): Likewise.
2294 2015-05-26 Roland McGrath <roland@hack.frob.com>
2296 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2298 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2299 * nptl/lll_timedlock_wait.c: ... to this new file.
2300 * nptl/Makefile (libpthread-routines): Add it.
2301 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2302 * nptl/lll_timedwait_tid.c: ... to this new file.
2303 * nptl/Makefile (libpthread-routines): Add it.
2304 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2305 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2306 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2307 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2308 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2309 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2310 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2311 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2312 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2313 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2315 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2317 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2318 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2319 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2321 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2323 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2325 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2326 * sysdeps/unix/sysv/linux/tile/sysdep.h
2327 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2328 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2329 using vDSO syscall macro.
2331 2015-05-26 Andriy Rysin <arysin@gmail.com>
2334 * uk_UA: Fix sorting order for Ukrainian locale
2336 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2338 * stdlib/monetary.h: Fix comment.
2340 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2343 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2344 st_mtim and st_ctim members.
2345 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2346 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2347 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2348 (struct stat64): Likewise.
2349 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2350 (struct stat64): Likewise.
2351 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2352 (struct stat64): Likewise.
2354 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2356 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2357 Define and include sysdep-vdso.h.
2358 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2360 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2362 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2363 Define with VDSO_SYMBOL and use PTR_MANGLE.
2364 (__vdso_clock_gettime): Likewise.
2365 (__vdso_clock_getres): Likewise.
2366 (_libc_vdso_platform_setup): Likewise.
2367 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2369 (_libc_vdso_platform_setup): Likewise.
2370 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2372 (__vdso_clock_gettime): Likewise.
2373 (__vdso_clock_getres): Likewise.
2374 (__vdso_get_tbfreq): Likewise.
2375 (__vdso_getcpu): Likewise.
2376 (__vdso_time): Likewise.
2377 (__vdso_sigtramp_rt64): Likewise.
2378 (__vdso_signtramp32): Likewise.
2379 (__vdso_sigtramp_rt32): Likewise.
2380 (_libc_vdso_platform_setup): Likewise.
2381 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2383 (__vdso_clock_gettime): Likewise.
2384 (__vdso_clock_getres): Likewise.
2385 (_libc_vdso_platform_setup): Likewise.
2386 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2388 (__vdso_clock_gettime): Likewise.
2389 (_libc_vdso_platform_setup): Likewise.
2390 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2392 (__vdso_getcpu): Likewise.
2393 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2394 Use VDSO_SYMBOL macro to define.
2395 (__vdso_clock_gettime): Likewise.
2396 (__vdso_clock_getres): Likewise.
2397 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2399 (__vdso_clock_gettime): Likewise.
2400 (__vdso_clock_getres): Likewise.
2401 (__vdso_get_tbfreq): Likewise.
2402 (__vdso_getcpu): Likewise.
2403 (__vdso_time): Likewise.
2404 (__vdso_sigtramp_rt64): Likewise.
2405 (__vdso_signtramp32): Likewise.
2406 (__vdso_sigtramp_rt32): Likewise.
2407 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2409 (__vdso_clock_gettime): Likewise.
2410 (__vdso_clock_getres): Likewise.
2411 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2413 (__vdso_clock_gettime): Likewise.
2414 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2418 (INTERNAL_VSYSCALL): Likewise.
2419 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2421 (INTERNAL_VSYSCALL): Likewise.
2422 (INTERNAL_VSYSCALL_NCS): Likewise.
2423 (INTERNAL_VSYSCALL_CALL): New macro.
2424 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2427 (INTERNAL_VSYSCALL): Likewise.
2428 (INTERNAL_VSYSCALL_NCS): Likewise.
2429 (INTERNAL_VSYSCALL_CALL): New macro.
2430 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2432 (INLINE_VSYSCALL): Remove macro.
2433 (INTERNAL_VSYSCALL): Remove macro.
2434 (INTERNAL_VSYSCALL_NCS): Remove macro.
2435 (INTERNAL_VSYSCALL_CALL): New macro.
2436 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2437 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2438 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2439 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2440 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2442 (INLINE_VSYSCALL): Remove macro.
2443 (INTERNAL_VSYSCALL): Likewise.
2444 (INTERNAL_VSYSCALL_NCS): Likewise.
2445 (INTERNAL_VSYSCALL_CALL): New macro.
2446 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2447 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2448 PTR_DEMANGLE on vDSO pointer.
2449 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2450 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2452 (INTERNAL_SYSCALL): Likewise.
2453 (INTERNAL_VSYSCALL_NCS): Remove macro.
2454 (INTERNAL_VSYSCALL_CALL): New macro.
2455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2457 (INTERNAL_VSYSCALL): Likewise.
2458 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2459 sysdep-vdso.h instead of libc-vdso.h.
2460 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2462 (INLINE_VSYSCALL): Likewise.
2463 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2464 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2466 (INLINE_VSYSCALL): Likewise.
2467 (INTERNAL_VSYSCALL): Likewise.
2468 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2469 * sysdeps/unix/sysv/linux/timespec_get.c
2470 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2471 (timespec_get): Use ANSI prototype.
2472 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2473 and definition for Linux.
2475 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2477 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2478 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2480 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2483 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2484 for missing DT_PLTRELSZ.
2486 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2488 Remove obsolete aliases that broke 'locale -a'
2490 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2491 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2492 breaking some applications that use 'locale -a' output.
2493 Change the encoding of this file from Latin-1 to ASCII to avoid
2494 other potential problems with people grepping this file.
2496 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2498 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2499 -fasynchronous-unwind-tables.
2500 (CFLAGS-sendto.c): Likewise.
2501 (CFLAGS-sendmsg.c): Likewise.
2502 (CFLAGS-connect.c): Likewise.
2503 (CFLAGS-recvmsg.c): Likewise.
2504 (CFLAGS-recvfrom.c): Likewise.
2505 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2506 (SOCKETCALL): New macro: non-cancellable socketcall.
2507 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2508 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2509 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2510 * sysdeps/unix/sysv/linux/accept.c: New file.
2511 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2512 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2513 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2514 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2515 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2516 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2517 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2518 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2519 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2520 * sysdeps/unix/sysv/linux/send.c: Likewise.
2521 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2522 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2523 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2524 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2525 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2526 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2527 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2529 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2530 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2531 instead of __internal_xxx function.
2532 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2534 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2535 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2536 instead of __internal_xxx function.
2537 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2539 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2540 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2541 instead of __internal_xxx function.
2542 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2543 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2544 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2545 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2546 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2547 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2548 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2549 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2550 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2551 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2552 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2553 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2554 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2555 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2556 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2557 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2558 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2559 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2560 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2561 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2564 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2565 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2566 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2567 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2568 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2569 * sysdeps/unix/sysv/linux/send.S: Likewise.
2570 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2571 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2572 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2573 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2574 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2575 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2576 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2577 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2578 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2579 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2580 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2581 socketcall is implemented in GLIBC.
2583 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2585 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2586 (__fma): Ignore uninitialized warnings around packing.
2587 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2588 (__fmaf): Ignore uninitialized warnings around packing.
2589 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2590 (__fmal): Ignore uninitialized warnings around packing.
2592 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2593 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2594 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2595 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2597 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2598 switch statement into default case.
2599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2601 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2602 a conditional in forcing "inexact".
2603 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2606 2015-05-22 Roland McGrath <roland@hack.frob.com>
2608 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2609 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2610 for each INTERNAL_SYSCALL use.
2612 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2615 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2616 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2620 * string/basename.c (basename): Rename to __basename and define as
2621 weak alias of __basename. Use libc_hidden_weak.
2622 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2623 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2624 __basename instead of basename.
2625 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2627 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2629 2015-05-18 Florian Weimer <fweimer@redhat.com>
2631 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2632 (_IO_JUMPS_FILE_plus): New.
2633 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2634 _IO_CAST_FIELD_ACCESS.
2635 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2636 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2637 * libio/freopen.c (freopen): Likewise.
2638 * libio/freopen64.c (freopen64): Likewise.
2639 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2640 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2641 * libio/iofwide.c (_IO_fwide): Likewise.
2642 * libio/memstream.c (open_memstream): Likewise.
2643 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2644 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2645 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2647 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2649 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2650 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2653 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2655 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2656 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2662 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2663 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2665 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2666 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2667 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2669 2015-05-21 Florian Weimer <fweimer@redhat.com>
2671 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2672 Adjust jump table label generation macros.
2674 2015-05-21 Florian Weimer <fweimer@redhat.com>
2676 * stdio-common/vfprintf.c (vfprintf): Move local variables
2677 args_malloced, specs, specs_malloced, and the code after
2678 do_positional to the printf_positional function.
2679 (printf_positional): New function.
2681 2015-05-21 Florian Weimer <fweimer@redhat.com>
2683 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2685 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2686 STEP4_TABLE, process_arg): Move macro definitions
2687 out of the vfprintf function. (Cosmetic change only.)
2689 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2691 * benchtests/Makefile (stdio-common-bench): Define.
2692 (benchset): Add stdio-common-bench.
2693 * sprintf-inputs: New file.
2694 * sprintf-source.c: New file.
2696 2015-05-21 Andreas Schwab <schwab@suse.de>
2700 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2701 of struct __res_state.
2702 * resolv/res_send.c (__libc_res_nsend): Likewise.
2703 (get_nsaddr): New function.
2704 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2707 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2709 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2710 -D_POSIX_C_SOURCE=199506L.
2712 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2714 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2715 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2716 Do not mention otherwise.
2717 [POSIX] (_XOPEN_VERSION): Do not expect.
2718 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2719 [POSIX] (_POSIX2_C_BIND): Likewise.
2720 [POSIX] (_POSIX2_VERSION): Likewise.
2721 [POSIX] (_XOPEN_XPG2): Likewise.
2722 [POSIX] (_XOPEN_XPG3): Likewise.
2723 [POSIX] (_XOPEN_XPG4): Likewise.
2724 [POSIX] (_XOPEN_UNIX): Likewise.
2725 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2726 [POSIX] (_POSIX_BARRIERS): Likewise.
2727 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2728 [POSIX] (_POSIX_CPUTIME): Likewise.
2729 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2730 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2731 [POSIX] (_POSIX_SHELL): Likewise.
2732 [POSIX] (_POSIX_SPAWN): Likewise.
2733 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2734 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2735 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2736 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2737 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2738 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2739 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2740 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2741 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2742 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2743 [POSIX] (_POSIX2_PBS): Likewise.
2744 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2745 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2746 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2747 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2748 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2749 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2750 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2751 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2752 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2753 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2754 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2755 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2756 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2757 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2758 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2759 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2760 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2761 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2762 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2763 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2764 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2765 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2766 [POSIX] (_SC_2_C_BIND): Likewise.
2767 [POSIX] (_SC_2_C_VERSION): Likewise.
2768 [POSIX] (_SC_2_PBS): Likewise.
2769 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2770 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2771 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2772 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2773 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2774 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2775 [POSIX] (_SC_BARRIERS): Likewise.
2776 [POSIX] (_SC_BASE): Likewise.
2777 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2778 [POSIX] (_SC_DEVICE_IO): Likewise.
2779 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2780 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2781 [POSIX] (_SC_FD_MGMT): Likewise.
2782 [POSIX] (_SC_FIFO): Likewise.
2783 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2784 [POSIX] (_SC_FILE_LOCKING): Likewise.
2785 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2786 [POSIX] (_SC_IOV_MAX): Likewise.
2787 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2788 [POSIX] (_SC_NETWORKING): Likewise.
2789 [POSIX] (_SC_PAGE_SIZE): Likewise.
2790 [POSIX] (_SC_PASS_MAX): Likewise.
2791 [POSIX] (_SC_PIPE): Likewise.
2792 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2793 [POSIX] (_SC_REGEXP): Likewise.
2794 [POSIX] (_SC_SHELL): Likewise.
2795 [POSIX] (_SC_SIGNALS): Likewise.
2796 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2797 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2798 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2799 [POSIX] (_SC_USER_GROUPS): Likewise.
2800 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2801 [POSIX] (_SC_STREAMS): Likewise.
2802 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2803 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2804 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2805 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2806 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2807 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2808 [POSIX] (_PC_FILESIZEBITS): Likewise.
2809 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2810 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2811 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2812 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2813 [POSIX] (uid_t): Likewise.
2814 [POSIX] (gid_t): Likewise.
2815 [POSIX] (off_t): Likewise.
2816 [POSIX] (pid_t): Likewise.
2817 [POSIX] (cuserid): Allow.
2818 (_SC_2_CHAR_TERM): Require constant.
2819 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2820 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2823 2015-05-20 Roland McGrath <roland@hack.frob.com>
2825 * sysdeps/nacl/pthread-pids.h: New file.
2826 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2827 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2829 * nptl/pthread-pids.h: New file.
2830 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2831 * nptl/nptl-init.c: Include <pthread-pids.h>.
2832 (__pthread_initialize_minimal_internal):
2833 Call __pthread_initialize_pids instead of set_tid_address syscall.
2835 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2836 * sysdeps/posix/usleep.c: ... here.
2838 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2840 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2841 call_pselect6 object.
2842 [$(subdir) = io]: Remove call_sync_file_range object.
2843 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2844 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2845 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2846 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2848 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2850 * math/s_cproj.c: Add include "math_private.h".
2851 * math/s_cprojf.c: Likewise.
2852 * math/s_cprojl.c: Likewise.
2854 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2857 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2858 high mantissa bit when testing whether P is a NaN.
2859 * math/libm-test.inc (remainder_test_data): Add more tests.
2860 (remquo_test_data): Likewise.
2863 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2864 below -32, return the argument, with underflow if subnormal.
2865 * math/auto-libm-test-in: Add more tests of atanh.
2866 * math/auto-libm-test-out: Regenerated.
2868 2015-05-19 Roland McGrath <roland@hack.frob.com>
2871 * nptl/tst-sem15.c: New file.
2872 * nptl/Makefile (tests): Add it.
2873 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2874 s/<</>>/ to fix typo in EOVERFLOW check.
2875 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2877 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2879 * manual/strings.texi (envz_remove): Fix typo in safety
2882 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2883 Steve Ellcey <sellcey@imgtec.com>
2885 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2886 in order to avoid strict alias warnings.
2887 (iruserok_af): Ditto for ra.
2889 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2893 (magicbyte): Convert to a function and avoid returning 0x01.
2894 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2895 (mem2chunk_check): Fix unsigned comparisons to zero.
2896 Hoist defs of sz and magic.
2898 2015-05-19 Richard Henderson <rth@redhat.com>
2900 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2902 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2904 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2907 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2908 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2909 (reused_arena): Find a non-corrupt arena.
2910 (heap_trim): Pass arena to unlink.
2911 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2913 (top_check): Likewise.
2914 (free_check): Likewise.
2915 (realloc_check): Likewise.
2916 * malloc/malloc.c (malloc_printerr): Add arena argument.
2918 (munmap_chunk): Adjust.
2919 (ARENA_CORRUPTION_BIT): New macro.
2920 (arena_is_corrupt): Likewise.
2921 (set_arena_corrupt): Likewise.
2922 (sysmalloc): Use mmap if there are no usable arenas.
2923 (_int_malloc): Likewise.
2924 (__libc_malloc): Don't fail if arena_get returns NULL.
2925 (_mid_memalign): Likewise.
2926 (__libc_calloc): Likewise.
2927 (__libc_realloc): Adjust for additional argument to
2929 (_int_free): Likewise.
2930 (malloc_consolidate): Likewise.
2931 (_int_realloc): Likewise.
2932 (_int_memalign): Don't touch corrupt arenas.
2933 * malloc/tst-malloc-backtrace.c: New test case.
2935 * Makefile (summarize-tests): Fix return value on success.
2937 * manual/string.texi (Envz Functions): Add envz_remove.
2939 2015-05-18 Roland McGrath <roland@hack.frob.com>
2941 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2942 (invalid_name): New function, broken out of ...
2943 (__opendirat): ... here. Call it.
2944 (need_isdir_precheck): New function, broken out of ...
2945 (__opendirat): ... here. Call it.
2946 Use __fxstatat64, not __xstatat64.
2947 (opendir_oflags): New function, broken out of ...
2948 (__opendirat): ... here. Call it.
2949 (opendir_tail): New function, broken out of ...
2950 (__opendirat): ... here. Call it.
2951 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2952 opendir_tail, rather than punting to __opendirat.
2953 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2955 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2957 * .gitignore: Ignore generated *.pyc.
2959 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2961 * include/stdio.h: Define __need_wint_t.
2962 * test-skeleton.c: Avoid `for' loop initial declaration.
2963 * nptl/tst-initializers1.c: Use test-skeleton.c.
2965 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2968 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2970 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2973 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2974 (__ieee754_atanh): Force underflow exception for results with
2975 small absolute value.
2976 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2977 (__ieee754_atanhf): Force underflow exception for results with
2978 small absolute value.
2979 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2980 (__ieee754_atanh): Force underflow exception for results with
2981 small absolute value.
2982 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2983 (__ieee754_atanhf): Force underflow exception for results with
2984 small absolute value.
2985 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2986 (__ieee754_atanhl): Force underflow exception for results with
2987 small absolute value.
2988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2989 (__ieee754_atanhl): Force underflow exception for results with
2990 small absolute value.
2991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2992 (__ieee754_atanhl): Force underflow exception for results with
2993 small absolute value.
2994 * math/auto-libm-test-in: Do not allow missing underflow
2995 exceptions from atanh.
2996 * math/auto-libm-test-out: Regenerated.
2999 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3000 2**-28 as threshold for returning x or +/- 1/x.
3001 * math/auto-libm-test-in: Add more tests of tan.
3002 * math/auto-libm-test-out: Regenerated.
3005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3006 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3007 * math/auto-libm-test-in: Add another test of lgamma.
3008 * math/auto-libm-test-out: Regenerated.
3010 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3012 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3013 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3014 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3015 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3016 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3017 (ADD2A): Use fabs. (SUB2A): Use fabs.
3018 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3021 (log1): Use fabs. (my_log2): Use fabs.
3022 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3023 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3025 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3027 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3028 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3029 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3030 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3031 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3032 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3034 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3037 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3038 as threshold for returning 1 - x.
3039 * math/auto-libm-test-in: Add more tests of erfc.
3040 * math/auto-libm-test-out: Regenerated.
3042 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3045 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3046 threshold for large arguments.
3047 * math/auto-libm-test-in: Add another test of atan.
3048 * math/auto-libm-test-out: Regenerated.
3051 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3052 (__log1p): Force underflow exception for results with small
3054 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3055 (__log1pf): Force underflow exception for results with small
3057 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3058 (__log1p): Force underflow exception for results with small
3060 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3061 (__log1pf): Force underflow exception for results with small
3063 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3064 (__log1pl): Force underflow exception for results with small
3066 * math/auto-libm-test-in: Do not allow missing underflow
3067 exceptions from log1p.
3068 * math/auto-libm-test-out: Regenerated.
3070 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3071 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3074 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3076 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3078 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3079 (libmvec): New variable.
3080 * configure.ac: Added option for mathvec build.
3081 * configure: Regenerated.
3082 * mathvec/Depend: New file.
3083 * mathvec/Makefile: New file.
3084 * shlib-versions: Added libmvec.
3085 * math/Makefile: Added rule for libm.so installation.
3087 * bits/math-vector.h: New file.
3088 * bits/libm-simd-decl-stubs.h: New header.
3089 * math/Makefile (headers): Added new header
3090 libm-simd-decl-stubs.h.
3091 * math/math.h (__MATHCALL_VEC): New macro.
3093 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3094 for conditions in testing functions.
3095 * math/Makefile: Added call of libm-have-vector-test.sh.
3096 * math/libm-test.inc (HAVE_VECTOR): New macros.
3098 * math/libm-test.inc: START refactored.
3099 * math/test-double.c (TEST_MATHVEC): Add define.
3100 * math/test-float.c: Likewise.
3101 * math/test-idouble.c: Likewise.
3102 * math/test-ifloat.c: Likewise.
3103 * math/test-ildoubl.c: Likewise.
3104 * math/test-ldouble.c: Likewise.
3105 * sysdeps/generic/math-tests-arch.h
3106 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3109 * math/test-double.c (FUNC_TEST): New macro.
3110 * math/test-float.c: Likewise.
3111 * math/test-idouble.c: Likewise.
3112 * math/test-ifloat.c: Likewise.
3113 * math/test-ildoubl.c: Likewise.
3114 * math/test-ldouble.c: Likewise.
3115 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3117 2015-05-13 Roland McGrath <roland@hack.frob.com>
3119 * sysdeps/nacl/fdopendir.c: New file.
3121 * dirent/scandir-tail.c: New file.
3122 * dirent/scandir64-tail.c: New file.
3123 * dirent/Makefile (routines): Add them.
3124 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3125 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3126 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3127 [!SCANDIR] (SCANDIR_TAIL): New macro.
3128 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3129 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3130 (SCANDIRAT): Macro removed.
3131 (SCANDIR_TAIL): New macro.
3132 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3133 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3134 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3135 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3136 (READDIR): Macro removed.
3137 (SCANDIR_TAIL): New macro.
3138 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3139 (SCANDIR_TAIL): New macro.
3141 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3142 * dirent/scandir-cancel.c: ... to this new file.
3143 * dirent/Makefile (routines): Add it.
3144 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3145 * sysdeps/unix/sysv/linux/i386/scandir64.c
3146 (SKIP_SCANDIR_CANCEL): Macro removed.
3147 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3149 * dirent/tst-scandir.c: New file.
3150 * dirent/tst-scandir64.c: New file.
3151 * dirent/Makefile (tests): Add them.
3153 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3156 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3158 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3160 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3163 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3165 * benchtests/bench-strcoll.c: New benchmark.
3166 * benchtests/Makefile: Generate locales and run benchmark.
3167 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3168 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3169 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3170 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3171 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3172 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3173 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3174 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3175 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3176 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3177 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3178 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3179 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3180 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3181 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3182 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3183 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3184 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3185 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3186 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3187 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3188 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3189 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3190 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3192 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3194 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3195 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3197 2015-05-12 Roland McGrath <roland@hack.frob.com>
3199 * posix/uname-values.h: New file.
3200 * posix/uname.c: Include that instead of <config-name.h>.
3201 * sysdeps/nacl/uname-values.h: New file.
3202 * sysdeps/arm/nacl/uname-values.h: New file.
3204 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3206 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3207 splitting into fields.
3209 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3211 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3212 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3213 * locale/localeinfo.h: Add enum collation_encoding_type.
3214 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3215 * programs/ld-collate.c (collate_output): Add encoding type info.
3216 * string/strcoll_l.c (STRDIFF): New function.
3217 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3218 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3220 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3223 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3224 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3225 <fpu_control.h> instead of <math/fpu_control.c>.
3226 * sysdeps/mips/mips32/fpu/Makefile: New file.
3228 2015-05-11 Andreas Schwab <schwab@suse.de>
3231 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3233 (_nss_compat_endgrent): Call nss_endgrent.
3234 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3236 (_nss_compat_endpwent): Call nss_endpwent.
3237 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3238 needent, call nss_setspent only if non-zero.
3239 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3240 (internal_endspent): Don't call nss_endspent.
3241 (_nss_compat_endspent): Call nss_endspent.
3242 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3243 Remove. All uses removed.
3244 (internal_setent): Remove parameter stayopen, add parameter
3245 stream. Use it instead of global variable.
3246 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3247 (internal_endent, internal_getent): Add parameter stream. Use it
3248 instead of global variable.
3249 (CONCAT(_nss_files_end,ENTNAME))
3250 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3251 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3252 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3254 (internal_setent, internal_endent): Add parameter stream. Use it
3255 instead of global variable.
3256 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3258 (get_next_alias): Add parameter stream.
3259 (_nss_files_getaliasent_r): Pass global stream.
3260 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3261 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3262 (_nss_files_gethostbyname4_r): Pass local stream to
3263 internal_setent, internal_getent and internal_endent. Remove
3266 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3268 * tst-strfmon1.c (tests): Update expected currency symbol.
3270 2015-05-08 Roland McGrath <roland@hack.frob.com>
3272 * sysdeps/nacl/gethostname.c: New file.
3274 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3276 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3278 * math/auto-libm-test-out: Regenerated.
3279 * sysdeps/i386/fpu/libm-test-ulps: Update.
3280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3282 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3285 * stdlib/tst-setcontext3.c: New file.
3286 * stdlib/tst-setcontext3.sh: New file.
3287 * stdlib/Makefile (tests): Add tst-setcontext3.
3288 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3289 to verify test program created output file.
3290 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3291 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3292 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3293 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3295 2015-05-06 Roland McGrath <roland@hack.frob.com>
3298 * elf/tst-tlsalign.c: New file.
3299 * elf/tst-tlsalign-static.c: New file.
3300 * elf/tst-tlsalign-lib.c: New file.
3301 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3302 (tests-static): Add tst-tlsalign-static.
3303 (modules-names): Add tst-tlsalign-lib.
3304 (test-xfail-tst-tlsalign): New variable.
3305 (test-xfail-tst-tlsalign-static): New variable.
3307 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3308 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3310 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3312 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3313 csqrt, erfc, sin and sincos.
3314 * math/auto-libm-test-out: Regenerated.
3315 * sysdeps/i386/fpu/libm-test-ulps: Update.
3316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3318 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3320 * sysdeps/aarch64/libm-test-ulps: Update.
3322 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3324 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3325 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3326 * math/auto-libm-test-out: Regenerated.
3327 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3330 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3333 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3334 (wcsncpy): Likewise.
3336 2015-05-05 Florian Weimer <fweimer@redhat.com>
3338 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3339 Assume __ASSUME_FALLOCATE is always true.
3340 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3341 (__posix_fallocate64_l64): Likweise.
3342 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3343 (posix_fallocate): Likewise.
3344 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3345 (__posix_fallocate64_l64): Likewise.
3346 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3347 [!__ASSUME_FALLOCATE]: Add comment.
3349 2015-05-05 Florian Weimer <fweimer@redhat.com>
3351 * sysdeps/unix/sysv/linux/i386/Makefile
3352 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3353 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3354 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3355 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3356 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3357 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3358 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3360 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3362 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3363 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3365 * math/auto-libm-test-out: Regenerated.
3366 * sysdeps/i386/fpu/libm-test-ulps: Update.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3369 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3371 * math/auto-libm-test-in: Add more tests of tgamma.
3372 * math/auto-libm-test-out: Regenerated.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376 * math/auto-libm-test-in: Add more tests of tanh.
3377 * math/auto-libm-test-out: Regenerated.
3378 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3381 * math/auto-libm-test-in: Add more tests of tan.
3382 * math/auto-libm-test-out: Regenerated.
3383 * sysdeps/i386/fpu/libm-test-ulps: Update.
3384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3386 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3387 * math/auto-libm-test-out: Regenerated.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3391 * math/auto-libm-test-in: Add another test of pow.
3392 * math/auto-libm-test-out: Regenerated.
3393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3395 * math/auto-libm-test-in: Add more tests of lgamma.
3396 * math/auto-libm-test-out: Regenerated.
3397 * sysdeps/i386/fpu/libm-test-ulps: Update.
3398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3400 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3402 * math/auto-libm-test-out: Regenerated.
3403 * sysdeps/i386/fpu/libm-test-ulps: Update.
3404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3406 2015-05-01 Mark Wielaard <mjw@redhat.com>
3408 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3409 Elf64_Chdr structs and ELFCOMPRESS constants.
3411 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3413 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3415 * math/auto-libm-test-out: Regenerated.
3416 * sysdeps/i386/fpu/libm-test-ulps: Update.
3417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3419 * math/auto-libm-test-in: Add more tests of erf and erfc.
3420 * math/auto-libm-test-out: Regenerated.
3421 * sysdeps/i386/fpu/libm-test-ulps: Update.
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3424 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3426 * config.h.in (HAVE_AARCH64_BE): Add.
3428 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3430 * math/auto-libm-test-in: Add more tests of csqrt.
3431 * math/auto-libm-test-out: Regenerated.
3432 * sysdeps/i386/fpu/libm-test-ulps: Update.
3433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3435 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3436 * math/auto-libm-test-out: Regenerated.
3437 * sysdeps/i386/fpu/libm-test-ulps: Update.
3438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3440 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3442 2015-04-29 Roland McGrath <roland@hack.frob.com>
3444 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3445 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3447 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3448 (euidaccess, eaccess): Define as weak aliases.
3450 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3451 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3452 but __suseconds_t is often 'long int' so some sources assume that
3453 type is being used (e.g. they use %ld to print tv_usec).
3455 2015-04-29 Florian Weimer <fweimer@redhat.com>
3458 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3460 * nss/tst-nss-getpwent.c: New file.
3461 * nss/Makefile (tests): Add new test.
3463 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3466 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3467 exponents less than 48 as cases where high part of mantissa needs
3468 examining to determine whether argument is integral.
3469 * math/libm-test.inc (round_test_data): Add more tests.
3471 2015-04-28 Mark Wielaard <mjw@redhat.com>
3473 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3475 2015-04-27 David S. Miller <davem@davemloft.net>
3477 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3479 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3481 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3484 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3486 2015-04-27 Florian Weimer <fweimer@redhat.com>
3489 * time/tzset.c (parse_tzname): Return error on memory allocation
3491 * test-skeleton.c (struct temp_name_list): Change type of name
3492 member to non-const.
3493 (add_temp_file): Create a copy of the file name.
3494 (delete_temp_files): Deallocate memory.
3495 (create_temp_file): Add comment.
3497 2015-04-24 Florian Weimer <fweimer@redhat.com>
3499 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3500 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3502 2015-04-24 Roland McGrath <roland@hack.frob.com>
3504 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3505 * sysdeps/arm/configure: Regenerated.
3507 2015-04-24 Florian Weimer <fweimer@redhat.com>
3510 * time/tzfile.c (__tzfile_read): Check for large values of
3511 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3512 * time/tzset.c (__tzstring_len): New function, based on the old
3513 __tzstring function.
3514 (__tzstring): Call __tzstring_len.
3515 (parse_tzname): New helper function extracted from
3516 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3518 (parse_offset): New helper function extracted from
3519 __tzset_parse_tz. Replace switch with fallthrough with
3520 initialization before sscanf.
3521 (parse_rule): Likewise.
3522 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3523 new-style function definition.
3524 * timezone/Makefile (tests): Add tst-tzset.
3525 (tst-tzset.out): Dependencies on time zone files.
3526 (tst-tzset-ENV): Set TZDIR.
3527 (testdata/XT%): Copy crafted time zone files.
3528 * timezone/README: Mention crafted time zone files.
3529 * timezone/testdata/XT1, timezone/testdata/XT2,
3530 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3532 * timezone/tst-tzset.c: New test.
3534 2015-04-24 Florian Weimer <fweimer@redhat.com>
3536 * Makeconfig (+gccwarn): Remove -Winline.
3538 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3540 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3542 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3544 * NEWS: Mention sysconf() cache information support for s390.
3545 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3547 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3549 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3551 (__nearbyint): Likewise.
3552 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3553 (copysignl): Likewise.
3555 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3558 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3559 based on padding. (CVE-2015-1781)
3561 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3563 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3565 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3566 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3567 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3568 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3569 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3570 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3571 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3572 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3574 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3575 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3576 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3577 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3578 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3579 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3580 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3581 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3583 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3584 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3585 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3586 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3587 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3589 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3591 * stdlib/setenv.c (__add_to_environ):
3592 Dump core quickly if setenv (..., NULL, ...) is called.
3593 This time, do it the right way, and pacify GCC with a pragma.
3595 2015-04-17 Roland McGrath <roland@hack.frob.com>
3597 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3598 IMAP->l_prev cannot be null, and #if out the code for the contrary
3599 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3600 believe that NS (&_dl_ns[NSID]) could point outside the array.
3602 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3603 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3604 before using NSID as an index.
3606 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3609 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3610 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3611 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3613 2015-04-17 Roland McGrath <roland@hack.frob.com>
3615 Add preliminary port to Google Native Client on ARM.
3616 * abi-tags (.*-.*-nacl.*): New entry.
3617 * sysdeps/arm/nacl: New directory.
3618 * sysdeps/nacl: New directory.
3620 2015-04-16 David S. Miller <davem@davemloft.net>
3622 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3623 lowlevellock-futex.h
3625 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3627 * sysdeps/tile/configure.ac: New file.
3628 * sysdeps/tile/configure: Regenerated.
3630 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3632 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3633 conditionals for weak_alias and libc_hidden_weak.
3634 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3635 libc_hidden_weak and weak_alias.
3636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3637 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3638 and weak_alias for static one.
3640 2015-04-15 David S. Miller <davem@davemloft.net>
3642 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3644 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3647 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3648 Use signed comparision instead of substraction to avoid
3650 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3651 Take the sign of ret.
3652 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3653 Do not expect precise return values. Only the sign matters.
3654 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3655 * wcsmbs/test-wcsncmp.c: New File.
3656 * string/test-strncmp.c: Add wcsncmp support.
3658 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3661 * math/w_log1p.c: New file.
3662 * math/w_log1pf.c: Likewise.
3663 * math/w_log1pl.c: Likewise.
3664 * math/Makefile (libm-calls): Add w_log1p.
3665 * math/s_log1pl.c (log1pl): Remove weak_alias.
3666 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3667 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3668 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3669 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3670 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3671 [NO_LONG_DOUBLE] (log1pl): Likewise.
3672 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3673 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3674 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3675 (log1p): Remove long_double_symbol.
3676 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3677 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3678 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3679 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3680 remove weak_alias for corresponding log1p function.
3681 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3682 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3683 * sysdeps/ia64/fpu/w_log1p.c: New file.
3684 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3685 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3686 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3688 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3692 decimal exponent by 1.
3693 * stdlib/tst-strtod-round-data: Add more tests.
3694 * stdlib/tst-strtod-round.c (tests): Regenerated.
3696 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3698 * math/auto-libm-test-in: Add more tests of clog and clog10.
3699 * math/auto-libm-test-out: Regenerated.
3700 * sysdeps/i386/fpu/libm-test-ulps: Update.
3701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703 2015-04-09 Roland McGrath <roland@hack.frob.com>
3705 * Makeconfig (module-cppflags): Exclude all .v.i files.
3706 (skip-module-cppflags): Variable removed.
3708 * configure.ac (libc_config_ok): Initialize before reading
3709 preconfigure scripts, not after.
3710 * configure: Regenerated.
3712 * test-skeleton.c (TIMEOUT): Move #define to top level.
3713 (main): Grok environment variable TEST_DIRECT. If set, print
3714 test expectation details into that file and then behave as if
3717 2015-04-09 Florian Weimer <fweimer@redhat.com>
3719 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3722 2015-04-08 David S. Miller <davem@davemloft.net>
3724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3726 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3728 * math/auto-libm-test-in: Add more tests of atanh.
3729 * math/auto-libm-test-out: Regenerated.
3730 * sysdeps/i386/fpu/libm-test-ulps: Update.
3731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733 * math/auto-libm-test-in: Add more tests of atan.
3734 * math/auto-libm-test-out: Regenerated.
3735 * sysdeps/i386/fpu/libm-test-ulps: Update.
3736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3738 2015-04-08 Florian Weimer <fweimer@redhat.com>
3740 * elf/pldd.c (main): Rewrite to use struct
3741 scratch_buffer instead of extend_alloca.
3742 * elf/pldd-xx.c (find_maps): Likewise.
3743 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3745 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3746 scratch_buffer instead of extend_alloca.
3747 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3748 grp/compat-initgroups.c.
3749 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3750 Rewrite to use struct scratch_buffer instead of extend_alloca.
3751 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3752 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3754 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3756 * math/auto-libm-test-in: Add more tests of cbrt.
3757 * math/auto-libm-test-out: Regenerated.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3760 * math/auto-libm-test-in: Add more tests of cabs.
3761 * math/auto-libm-test-out: Regenerated.
3762 * sysdeps/i386/fpu/libm-test-ulps: Update.
3763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3767 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3768 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3770 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3772 * math/auto-libm-test-out: Regenerated.
3773 * sysdeps/i386/fpu/libm-test-ulps: Update.
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3778 (atan): Set FE_TONEAREST mode for internal computations.
3779 * math/auto-libm-test-in: Add more tests of atan.
3780 * math/auto-libm-test-out: Regenerated.
3782 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3785 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3787 2015-04-07 Florian Weimer <fweimer@redhat.com>
3789 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3791 2015-04-07 Florian Weimer <fweimer@redhat.com>
3793 * include/scratch_buffer.h: New file.
3794 * malloc/scratch_buffer_grow.c: Likewise.
3795 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3796 * malloc/scratch_buffer_set_array_size.c: Likewise.
3797 * malloc/tst-scratch_buffer.c: Likewise.
3798 * malloc/Makefile (routines): Add scratch_buffer_grow.
3799 (tests): Add test case.
3800 * malloc/Versions (GLIBC_PRIVATE): Export
3801 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3802 __libc_scratch_buffer_set_array_size.
3804 2015-04-06 Richard Henderson <rth@redhat.com>
3806 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3807 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3809 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3810 unsigned int before printing.
3812 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3815 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3816 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3818 2015-04-02 Florian Weimer <fweimer@redhat.com>
3820 * include/libc-internal.h (libc_max_align_t): Define.
3822 2015-04-02 Andreas Schwab <schwab@suse.de>
3825 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3827 2015-04-02 Mel Gorman <mgorman@suse.de>
3830 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3831 as well as the main arena.
3833 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3836 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3837 sharing L2 cache to 2 for Silvermont/Knights Landing.
3839 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3842 * config.make.in (have-protected-data): New.
3843 * configure.ac: Check linker support for protected data symbol.
3844 * configure: Regenerated.
3845 * elf/Makefile (modules-names): Add tst-protected1moda and
3846 tst-protected1modb if $(have-protected-data) is yes.
3847 (tests): Add tst-protected1a and tst-protected1b if
3848 $(have-protected-data) is yes.
3849 ($(objpfx)tst-protected1a): New.
3850 ($(objpfx)tst-protected1b): Likewise.
3851 (tst-protected1modb.so-no-z-defs): Likewise.
3852 * elf/tst-protected1a.c: New file.
3853 * elf/tst-protected1b.c: Likewise.
3854 * elf/tst-protected1mod.h: Likewise.
3855 * elf/tst-protected1moda.c: Likewise.
3856 * elf/tst-protected1modb.c: Likewise.
3858 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3861 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3862 indicates it is called from do_lookup_x on relocation against
3863 protected data, skip the data definion in the executable from
3865 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3866 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3867 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3868 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3869 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3871 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3872 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3873 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3874 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3875 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3876 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3878 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3880 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3881 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3883 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3885 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3887 * sysdeps/x86_64/nptl/tls.h: Ditto.
3889 2015-03-27 Roland McGrath <roland@hack.frob.com>
3891 * dlfcn/tststatic.c (main): Converted to ...
3892 (do_test): ... this.
3893 (TEST_FUNCTION): New macro.
3894 Include test-skeleton.c.
3896 2015-03-26 Alan Modra <amodra@gmail.com>
3898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3899 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3900 zero for undefined weak.
3901 (elf_machine_plt_conflict): Similarly.
3903 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3905 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3907 * math/auto-libm-test-out: Regenerated.
3908 * sysdeps/i386/fpu/libm-test-ulps: Update.
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3911 * math/auto-libm-test-in: Add another test of asin.
3912 * math/auto-libm-test-out: Regenerated.
3913 * sysdeps/i386/fpu/libm-test-ulps: Update.
3914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3916 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3918 (LLL_EBX_REG): Likewise.
3919 (LLL_ENTER_KERNEL): Likewise.
3921 * math/auto-libm-test-in: Add more tests of asin.
3922 * math/auto-libm-test-out: Regenerated.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3928 libc_do_syscall_args): New structure.
3929 (INTERNAL_SYSCALL_MAIN_0): New macro.
3930 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3931 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3932 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3933 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3934 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3935 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3936 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3937 Replace conditional definitions by conditional definitions of ....
3938 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3939 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3940 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3941 (libpthread-sysdep_routines): Add libc-do-syscall.
3942 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3943 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3944 to __NR_futex not 240.
3946 2015-03-25 Alan Modra <amodra@gmail.com>
3948 * NEWS: Advertise TLS optimization.
3949 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3950 (DT_PPC_NUM): Increment.
3951 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3952 (CHECK_STATIC_TLS): Use here.
3953 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3956 * sysdeps/powerpc/dl-tls.c: New file.
3957 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3958 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3959 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3960 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3965 2015-03-25 Alan Modra <amodra@gmail.com>
3967 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3968 for overlapping .opd entries" to "support...".
3969 * sysdeps/powerpc/powerpc64/configure: Regenerate
3971 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3973 * math/auto-libm-test-in: Add more tests of acos.
3974 * math/auto-libm-test-out: Regenerated.
3975 * sysdeps/i386/fpu/libm-test-ulps: Update.
3976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3978 * math/auto-libm-test-in: Add more tests of expm1.
3979 * math/auto-libm-test-out: Regenerated.
3980 * sysdeps/i386/fpu/libm-test-ulps: Update.
3981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3983 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3985 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3986 * math/auto-libm-test-out: Regenerated.
3987 * sysdeps/i386/fpu/libm-test-ulps: Update.
3988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3990 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3993 * math/auto-libm-test-in: Add more tests of log2.
3994 * math/auto-libm-test-out: Regenerated.
3995 * sysdeps/i386/fpu/libm-test-ulps: Update.
3996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3998 2015-03-23 Roland McGrath <roland@hack.frob.com>
4000 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4001 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4002 _IO_IS_APPENDING bit in READ_WRITE instead.
4004 2015-03-23 Florian Weimer <fweimer@redhat.com>
4006 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4007 (__determine_cpumask_size): Replace extend_alloca with a
4008 variable-length array. Do not treat res == 0 as an error.
4010 2015-03-23 Florian Weimer <fweimer@redhat.com>
4013 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4014 and integer overflow.
4015 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4016 (main): Add integer overflow tests.
4017 * manual/pattern.texi (Calling Wordexp): Document additional use
4020 2015-03-23 Alan Modra <amodra@gmail.com>
4022 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4023 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4024 and false branch of conditional.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4028 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4030 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4032 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4033 unused declaration of _hurd_intr_rpc_msg_in_trap.
4034 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4035 defined instead of whether it is non-zero.
4036 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4037 input constraint instead of both input and output constraint. Use ecx
4038 clobber instead of %ecx.
4039 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4040 mutex_unlock): Use a statement expression instead of an expression list.
4041 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4042 type to vm_size_t instead of vm_address_t.
4043 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4044 defined instead of whether it is non-zero.
4045 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4046 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4047 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4048 comparisons with mapaddr.
4049 * nscd/nscd-client.h: Include <time.h>.
4050 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4051 9th parameter to __vm_region instead of int.
4052 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4053 * scripts/check-local-headers.sh (exclude): Add device/,
4054 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4057 2015-03-19 Roland McGrath <roland@hack.frob.com>
4059 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4060 to account for alignment padding.
4061 * sysdeps/arm/memmove.S: Likewise.
4063 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4065 * sysdeps/unix/sysv/linux/generic/README: New file.
4067 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4070 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4071 (futex_abstimed_wait)
4072 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4073 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4074 of lll_futex_timed_wait.
4076 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4079 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4081 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4088 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4089 entries with Static TLS too. Skip entries past the end of the
4090 allocated DTV, from Alan Modra.
4091 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4092 Static TLS DTV entry set up from...
4093 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4094 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4095 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4096 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4098 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4099 that the slot we find is associated with the given map before
4100 using its generation count.
4101 * nptl_db/db_info.c: Include ldsodefs.h.
4102 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4103 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4104 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4105 (link_map::l_tls_offset): New struct field.
4106 (dtv_t::counter): Likewise.
4107 (rtld_global): New struct.
4108 (_rtld_global): New rtld variable.
4109 (dl_tls_dtv_slotinfo_list): New rtld global field.
4110 (dtv_slotinfo_list): New struct.
4111 (dtv_slotinfo): Likewise.
4112 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4113 (td_lookup): Rename to...
4114 (td_mod_lookup): ... this. Use new mod parameter instead of
4116 * nptl_db/td_thr_tlsbase.c: Include link.h.
4117 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4118 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4119 addresses even if the DTV is out of date or missing them.
4120 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4121 index zero-length arrays.
4122 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4123 (td_lookup): Make it a macro implemented in terms of...
4124 (td_mod_lookup): ... this declaration.
4125 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4126 (DB_MAIN_VARIABLE): Likewise.
4128 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4131 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4133 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4135 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4137 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4140 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4141 (atomic_add, atomic_increment_and_test)
4142 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4144 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4146 * stdlib/setenv.c (__add_to_environ):
4147 Dump core quickly if setenv (..., NULL, ...) is called.
4149 2015-03-13 Roland McGrath <roland@hack.frob.com>
4151 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4152 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4153 all the necessary asm magic in one place.
4154 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4157 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4160 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4161 traced file mtime. Use consistent log message.
4162 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4163 (register_traced_file): Call install_watches. Always set mtime.
4164 (invalidate_cache): Iterate over all trace files. Call install_watches.
4165 (inotify_check_files): Don't inline. Handle watching parent
4166 directories and configuration file movement in and out.
4167 (handle_inotify_events): New function.
4168 (main_loop_poll): Call handle_inotify_events.
4169 (main_loop_epoll): Likewise.
4170 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4171 (struct traced_file): Use array of inotify fds. Add parent directory,
4173 (struct database_dyn): Remove unused file_mtime.
4174 (init_traced_file): New inline function.
4175 (define_traced_file): New macro.
4176 * nss/nss_db/db-init.c: Use define_traced_file.
4177 (_nss_db_init): Use init_traced_file.
4178 * nss/nss_files/files-init.c: Use define_traced_file.
4179 (_nss_files_init): Use init_traced_file.
4181 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4183 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4184 [_LIBC]: Do not include <stdlib.h>.
4185 [!_LIBC] (abort): Remove declaration.
4186 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4187 _FP_STATIC_ASSERT instead of conditionally calling abort.
4188 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4189 (_FP_EXTEND_CNAN): Likewise.
4190 (FP_TRUNC): Likewise.
4191 (__FP_CLZ): Likewise.
4192 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4194 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4196 * manual/string.texi (XPG basename): Fix prototype.
4198 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4201 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4202 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4203 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4204 (__setcontext): Likewise.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4206 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4207 Call rt_sigprocmask syscall one time to set new signal mask
4208 and retrieve the current signal mask instead of two calls.
4209 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4210 (__swapcontext): Likewise.
4211 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4212 * stdlib/tst-setcontext2.c: New file.
4214 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4216 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4218 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4221 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4224 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4227 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4229 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4231 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4232 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4234 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4235 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4236 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4237 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4238 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4239 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4241 * nptl_db/td_symbol_list.c (td_lookup): Remove
4242 HAVE_ASM_GLOBAL_DOT_NAME code.
4243 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4244 HAVE_ASM_GLOBAL_DOT_NAME check.
4245 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4246 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4247 (DOT_LABEL): Remove define.
4248 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4249 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4250 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4251 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4252 (__TLS_GET_ADDR): Likewise.
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4254 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4256 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4259 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4260 (_FPU_SETCW): Initialize cw from fpsr before storing.
4261 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4262 (fesetexceptflag): Rewrite using fpu_control.h.
4263 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4265 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4268 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4270 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4272 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4274 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4275 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4277 (_FP_FMA): Likewise.
4278 (_FP_DIV): Likewise.
4280 2015-03-10 Roland McGrath <roland@hack.frob.com>
4282 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4283 with 0 in that case.
4284 * Makefile (summarize-tests): New canned sequence, factored out of
4285 commands for targets tests and xtests. Display summary lines that
4286 don't start with PASS: or XFAIL: rather than ones that do start with
4287 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4288 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4289 do start with ERROR: or FAIL:.
4290 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4291 (except for [$(build-shared) = yes]).
4292 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4293 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4294 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4295 * nptl/Makefile: Revert 2015-03-04 changes.
4296 [$(CXX) empty] (tests-unsupported): New variable.
4297 * debug/Makefile: Likewise.
4299 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4300 gnulib file. Replace __attribute with __attribute__ throughout.
4302 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4304 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4306 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4309 * math/auto-libm-test-in: Add another test of pow.
4310 * math/auto-libm-test-out: Regenerated.
4312 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4314 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4315 $(config-cflags-nofma).
4317 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4319 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4320 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4321 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4322 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4323 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4324 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4325 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4326 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4327 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4328 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4329 Add comment on closing #endif.
4331 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4333 * posix/wordexp.c (CHAR_IN_SET): New macro.
4334 (parse_param): Use it.
4336 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4338 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4340 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4343 * posix/wordexp.c (parse_param): Fix buffer overflow.
4344 * posix/wordexp-test.c (test_case): Add test case.
4346 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4349 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4350 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4352 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4355 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4356 (do_bz18043): Delete.
4358 (testit): Refactor to have words at the edge of unreadable page.
4360 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4363 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4364 Cleanup read-only streams as well.
4365 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4367 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4369 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4372 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4374 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4376 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4377 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4378 * soft-fp/op-common.h (_FP_DECL): Likewise.
4380 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4382 * elf/ifuncdep2.c (global): Replace
4383 __attribute__((visibility("protected"))) with
4384 asm (".protected global").
4385 * elf/ifuncmod1.c (global): Likewise.
4386 * elf/ifuncmod5.c (global): Likewise.
4388 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4390 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4391 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4393 2015-03-06 Roland McGrath <roland@hack.frob.com>
4395 * manual/install.texi (Configuring and compiling):
4396 Document test-wrapper-env-only.
4397 * INSTALL: Regenerated.
4399 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4402 * posix/wordexp.c (parse_param): Fix buffer overflow.
4403 * posix/wordexp-test.c (do_bz18043): Add test case.
4405 2015-03-06 Vincent Bernat <vincent@bernat.im>
4407 * time/tst-strptime2.c (do_test): Ensure failing tests are
4409 * time/tst-strptime3.c (do_test): Likewise.
4411 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4413 Fix aio_error thread-safety.
4414 * sysdeps/pthread/aio_error.c: New file
4415 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4418 2015-03-06 Florian Weimer <fweimer@redhat.com>
4420 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4421 (group_number, vfprintf): Use it.
4422 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4423 (JUMP, REF): Use it.
4424 (WORK_BUFFER_SIZE): New enum constant.
4425 (process_arg, vfprintf): Use it.
4427 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4429 * manual/errno.texi (Error Messages): Complete example function
4430 by adding missing #define.
4431 (program_invocation_name): Add statement indicating GNU
4432 extension and reference which header file declares the variable.
4433 (program_invocation_short_name): Likewise.
4435 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4437 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4440 2015-03-05 Roland McGrath <roland@hack.frob.com>
4442 * Makeconfig (test-wrapper-env-only): New variable.
4443 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4444 then use that with $(test-wrapper-env-only) rather than using
4445 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4447 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4450 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4451 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4452 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4453 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4454 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4455 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4456 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4457 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4459 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4460 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4464 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4466 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4468 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4469 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4473 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4474 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4476 2015-03-04 Roland McGrath <roland@hack.frob.com>
4478 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4479 (ETH_ALEN): New macro.
4480 (struct ether_addr): Use it for length of ether_addr_octet.
4482 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4483 (setdb): Don't call __nss_configure_lookup for "rpc".
4484 (do_test): Don't call test_rpc.
4485 (output_rpcent, test_rpc): Functions moved ...
4486 * sunrpc/test-rpcent.c: ... to this new file.
4487 * sunrpc/Makefile (tests): Add it.
4489 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4491 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4492 * nptl/tst-signal6.c: Likewise.
4493 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4494 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4496 * configure.ac (libc_cv_cxx_link_ok): New check.
4497 Reset CXX to empty if it fails to link.
4498 * configure: Regenerated.
4499 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4500 bug-atexit3-lib only if $(CXX) is nonempty.
4501 * nptl/Makefile (tests): Likewise for tst-cancel24.
4502 (tests, tests-static): Likewise for tst-cancel24-static.
4503 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4504 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4505 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4506 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4508 2015-03-04 Andreas Schwab <schwab@suse.de>
4511 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4512 for non-GCC compilers.
4513 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4516 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4519 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4520 integer before bitwise and assembly operations.
4521 (feclearexcept): Likewise.
4522 * math/test-fenvinline.c: New file.
4523 * math/Makefile: Add test-fenvinline test.
4525 2015-03-03 Alan Modra <amodra@gmail.com>
4528 * scripts/localplt.awk: Strip off symbol version.
4529 * NEWS: Mention bug fix.
4531 2015-03-02 Roland McGrath <roland@hack.frob.com>
4533 * sysdeps/pthread/timer_routines.c
4534 (timer_free_list, thread_free_list, thread_active_list): Make static.
4536 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4539 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4540 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4542 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4543 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4545 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4546 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4549 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4552 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4553 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4555 2015-03-02 Andreas Schwab <schwab@suse.de>
4557 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4560 2015-03-02 Florian Weimer <fweimer@redhat.com>
4562 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4563 Return error status.
4565 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4568 * locale/findlocale.c (_nl_find_locale): Introduce const
4569 version of loc_name and drop unsafe type casts.
4571 2015-02-27 Roland McGrath <roland@hack.frob.com>
4573 * dlfcn/tststatic2.c (main): Converted to ...
4574 (do_test): ... this.
4575 (TEST_FUNCTION): New macro.
4576 Include test-skeleton.c.
4578 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4581 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4582 (tests-pie): Add vismain.
4583 (CFLAGS-vismain.c): New.
4584 * elf/vismain.c: Add comments for PIE requirement.
4586 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4590 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4591 0x1p-56L as threshold for just returning the argument.
4592 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4593 0x1p-32L as threshold for just returning the argument.
4594 * math/auto-libm-test-in: Add more tests of atanh.
4595 * math/auto-libm-test-out: Regenerated.
4596 * sysdeps/i386/fpu/libm-test-ulps: Update.
4597 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4599 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4601 * string/bcopy.c (bcopy): Call memmove for performance.
4603 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4605 * string/bzero.c (__bzero): Call memset for performance.
4607 2015-02-27 John David Anglin <dave.anglin@bell.net>
4610 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4613 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4615 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4617 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4619 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4620 (__kernel_standard): Use CSTR macro when setting exc.name.
4621 * sysdeps/ieee754/Makefile [$(subdir) = math]
4622 (CFLAGS-k_standard.c): Remove variable.
4624 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4625 setting p and q from "else if" to "else".
4627 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4629 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4631 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4633 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4635 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4640 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4641 return pi/2 for arguments below 0x1p-113L.
4642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4643 return pi/2 for arguments below 0x1p-106L.
4644 * math/auto-libm-test-in: Add more tests of acos.
4645 * math/auto-libm-test-out: Regenerated.
4648 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4650 (__ieee754_asin): Force underflow exception for results with small
4652 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4654 (__ieee754_asinf): Force underflow exception for results with
4655 small absolute value.
4656 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4657 (__ieee754_asin): Force underflow exception for results with small
4659 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4660 (__ieee754_asinf): Force underflow exception for results with
4661 small absolute value.
4662 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4663 (__ieee754_asinl): Force underflow exception for results with
4664 small absolute value.
4665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4666 (__ieee754_asinl): Force underflow exception for results with
4667 small absolute value.
4668 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4669 (__ieee754_asinl): Force underflow exception for results with
4670 small absolute value.
4671 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4673 * math/auto-libm-test-in: Do not mark underflow exceptions as
4674 possibly missing for bug 16351.
4675 * math/auto-libm-test-out: Regenerated.
4678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4679 of power of 2 down when low part has opposite sign.
4680 * math/libm-test.inc (logb_test_data): Add more tests.
4682 2015-02-26 Andreas Schwab <schwab@suse.de>
4685 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4686 over collating symbol inside a bracket expression. Minor cleanup.
4687 * posix/tst-fnmatch3.c (do_test): Add test case.
4689 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4692 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4693 Adjust exponent of power of 2 down when low part has opposite
4695 * math/libm-test.inc (ilogb_test_data): Add more tests.
4697 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4700 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4701 the previous change.
4704 * locale/findlocale.c (_nl_find_locale): Retry archive search
4705 after alias expansion.
4707 2015-02-25 Roland McGrath <roland@hack.frob.com>
4709 * iconv/tst-iconv3.c (main): Converted to ...
4710 (do_test): ... this.
4711 (TEST_FUNCTION): New macro.
4712 Include test-skeleton.c.
4714 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4715 (convert): Make function static.
4716 (test_unalign): Likewise. Add const to argument pointee types.
4717 (main): Replace with static function do_test.
4718 Print "Succeeded." only if RET is zero.
4719 (TEST_FUNCTION): New macro.
4720 Include test-skeleton.c.
4722 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4723 returns a null pointer.
4725 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4728 to __memcpy_ppc only for static builds.
4730 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4734 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4735 * math/auto-libm-test-in: Add more tests of asinh.
4736 * math/auto-libm-test-out: Regenerated.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4740 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4743 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4744 and ip6_mtuinfo definitions here.
4745 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4746 in this define too. Update comment.
4748 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4750 * elf/sprof.c (load_shobj): Tweak error message to match others.
4752 2015-02-24 Kevin Easton <kevin@guarana.org>
4754 [BZ #16145] (partial fix)
4755 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4756 to reduce lock contention.
4758 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4760 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4761 (struct timex): Update time comment.
4762 (ADJ_SETOFFSET): Define.
4764 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4768 2**56 not 2**28 as threshold for log (2x) formula.
4769 * math/auto-libm-test-in: Add more tests of acosh.
4770 * math/auto-libm-test-out: Regenerated.
4771 * sysdeps/i386/fpu/libm-test-ulps: Update.
4772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4774 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4776 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4777 parenthesis around the buf assignment.
4778 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4780 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4783 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4784 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4785 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4786 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4787 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4788 * math/libm-test.inc (scalb_test_data): Add more tests.
4790 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4793 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4794 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4796 2015-02-24 Eric Rannaud <e@nanocritical.com>
4799 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4800 * io/bits/fcntl2.h (open): Use it.
4802 * io/open.c (__libc_open): Likewise.
4803 * io/open64.c (__libc_open64): Likewise.
4804 * io/open64_2.c (__open64_2): Likewise.
4805 * io/open_2.c (__open_2): Likewise.
4806 * io/openat.c (__openat): Likewise.
4807 * io/openat64.c (__openat64): Likewise.
4808 * io/openat64_2.c (__openat64_2): Likewise.
4809 * io/openat_2.c (__openat_2): Likewise.
4810 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4811 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4812 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4813 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4814 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4815 (__open_nocancel): Likewise.
4816 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4817 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4818 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4820 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 * resolv/gethnamaddr.c (getanswer): Skip logging if
4824 RES_USE_DNSSEC is set.
4825 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4827 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4829 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4831 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4833 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4834 201304L, for Unicode 7.
4836 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4839 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4840 shared library. Add gmon-start.os otherwise.
4841 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4842 $(objpfx)gmon-start.os if builing shared library.
4843 ($(objpfx)g$(static-start-installed-name)): Likewise.
4845 2015-02-23 Andreas Schwab <schwab@suse.de>
4847 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4849 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4852 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4853 (enlarge_userbuf): Likewise.
4855 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4857 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4858 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4859 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4860 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4862 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4864 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4865 expression inside statement expression.
4867 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4869 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4870 <sysdeps/nptl/lowlevellock.h> and remove macros and
4871 functions that are now defined there.
4872 (SYS_futex): Remove.
4873 (lll_compare_and_swap): Remove.
4874 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4876 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4879 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4880 instead of scandirat.
4881 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4882 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4883 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4885 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4886 (__scandirat): Declare. Use libc_hidden_proto.
4887 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4889 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4891 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4894 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4896 (__ieee754_atan2): For results with small absolute value, force
4897 underflow exception and remove excess range and precision from
4899 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4901 (__ieee754_atan2f): For results with small absolute value, force
4902 underflow exception and remove excess range and precision from
4904 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4906 (__atan): For results with small absolute value, force underflow
4907 exception and remove excess range and precision from return value.
4908 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4910 (__atanf): For results with small absolute value, force underflow
4911 exception and remove excess range and precision from return value.
4912 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4914 (__ieee754_atan2): Force underflow exception for results with
4915 small absolute value.
4916 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4918 (atan): Force underflow exception for results with small absolute
4920 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4921 (__atanf): Force underflow exception for results with small
4923 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4925 (__atanl): Force underflow exception for results with small
4927 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4928 (__atanl): Force underflow exception for results with small
4930 * sysdeps/x86/fpu/bits/mathinline.h
4931 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4932 (__ieee754_atan2): Only define inline for long double.
4933 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4934 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4935 * math/auto-libm-test-in: Do not mark underflow exceptions as
4936 possibly missing for bug 15319. Add more tests of atan2.
4937 * math/auto-libm-test-out: Regenerated.
4938 * math/libm-test.inc (casin_test_data): Do not mark underflow
4939 exceptions as possibly missing for bug 15319.
4940 (casinh_test_data): Likewise.
4941 * sysdeps/i386/fpu/libm-test-ulps: Update.
4943 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4945 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4946 * sysdeps/mips/bits/endian.h: Fix comments.
4948 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4951 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4952 (hdestroy_r): Likewise.
4953 (hsearch_r): Likewise.
4954 (__hcreate_r): Declare and use libc_hidden_proto.
4955 (__hdestroy_r): Likewise.
4956 (__hsearch_r): Likewise.
4957 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4958 (hcreate): Call __hcreate_r instead of hcreate_r.
4959 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4960 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4961 as weak alias of __hcreate_r.
4962 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4964 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4966 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4968 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4969 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4970 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4971 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4973 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4975 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4976 arena_lock into a single arena_get.
4978 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4980 * dl-reloc.c: Inlucde libc-internal.h.
4981 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4982 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4983 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4984 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4985 (grow_heap): Likewise.
4986 * malloc/malloc.c: Include libc-internal.h.
4987 (do_check_malloc): Call powerof2.
4988 (sysmalloc): Use pagesize. Call ALIGN_UP.
4989 (systrim): Use pagesize.
4990 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4991 (__libc_valloc): Use pagesize.
4992 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4994 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4997 * include/sys/resource.h (__getrlimit64): Declare. Use
4999 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5000 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5001 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5003 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5005 [!getrlimit64] (getrlimit64): Define as weak alias of
5006 __getrlimit64. Use libc_hidden_weak.
5007 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5008 using __getrlimit64 not __new_getrlimit64.
5009 (__GI_getrlimit64): Likewise.
5010 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5012 (__GI_getrlimit64): Likewise.
5013 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5015 (getrlimit): Add __getrlimit64 alias.
5016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5018 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5020 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5021 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5023 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5025 * libio/fileops.c: Add missing sys/mman.h
5026 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5028 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5030 * manual/math.texi (Errors in Math Functions): Clarify goals
5031 regarding inexact and underflow exceptions.
5033 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5035 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5036 * sysdeps/mips/memset.S: Ditto.
5038 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5040 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5042 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5044 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5045 (__v1longjmp): Remove versioned symbol.
5046 (__v1siglongjmp): Remove alias and versioned symbol.
5047 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5048 (__v2siglongjmp): Likewise.
5050 2015-02-16 Torvald Riegel <triegel@redhat.com>
5052 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5054 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5056 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5058 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5062 zero result does not depend on the sign resulting from
5064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5066 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5068 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5069 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5070 * math/libm-test.inc (remquo_test_data): Add more tests.
5072 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5074 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5075 Problem reported by J William Piggott.
5077 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5080 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5081 products 4 * y and 2 * y where those would overflow.
5082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5084 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5085 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5086 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5087 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5088 * math/libm-test.inc (remquo_test_data): Add more tests.
5090 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5092 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5093 [defined _COMPILING_NEWLIB].
5094 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5095 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5097 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5098 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5100 2015-02-16 Torvald Riegel <triegel@redhat.com>
5102 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5105 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5108 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5109 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5110 HOST_STACK_END_ADDR): Likewise.
5112 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5114 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5115 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5116 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5118 2015-02-13 Roland McGrath <roland@hack.frob.com>
5120 * sysdeps/generic/c++-types.data: New file.
5121 * sysdeps/generic/ld.abilist: New file.
5122 * sysdeps/generic/libBrokenLocale.abilist: New file.
5123 * sysdeps/generic/libanl.abilist: New file.
5124 * sysdeps/generic/libc.abilist: New file.
5125 * sysdeps/generic/libcrypt.abilist: New file.
5126 * sysdeps/generic/libdl.abilist: New file.
5127 * sysdeps/generic/libm.abilist: New file.
5128 * sysdeps/generic/libpthread.abilist: New file.
5129 * sysdeps/generic/libresolv.abilist: New file.
5130 * sysdeps/generic/librt.abilist: New file.
5132 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5136 Compute absolute value of x as modified by fmod, not original
5138 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5139 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5140 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5141 RUN_TEST_ffI_f1_mod8.
5142 (remquo_test_data): Add more tests.
5144 2015-02-13 Roland McGrath <roland@hack.frob.com>
5146 * sysdeps/init_array/pt-crti.S: New file.
5148 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5151 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5152 __builtin_fmaf instead of relying on contraction of a * b + c.
5154 2015-02-12 J William Piggott <elseifthen@gmx.com>
5157 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5160 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5163 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5164 __builtin_fma instead of relying on contraction of a * b + c.
5166 2015-02-12 Roland McGrath <roland@hack.frob.com>
5168 * Makeconfig (ASFLAGS): Add -Werror=undef.
5169 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5170 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5171 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5173 * Makeconfig (after-link): New variable.
5174 (+link-pie, +link-pie-tests): Use it.
5175 (+link-static, +link-static-tests): Likewise.
5176 (+link, +link-tests): Likewise.
5177 * Makerules (build-module, build-module-asneeded): Likewise.
5178 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5180 * elf/Makefile ($(objpfx)ld.so): Likewise.
5182 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5185 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5186 both struct timeval and struct timespec.
5188 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5191 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5193 (__ieee754_exp2l): Do not multiply small fractional parts by
5195 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5197 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5198 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5199 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5200 * math/auto-libm-test-in: Add more tests of exp2.
5201 * math/auto-libm-test-out: Regenerated.
5203 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5205 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5208 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5210 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5213 2015-02-12 Andreas Schwab <schwab@suse.de>
5216 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5217 Filter out elision flags from value returned in kind.
5218 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5219 * nptl/tst-pthread-mutexattr.c: New file.
5221 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5223 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5224 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5225 into gnu-gnu, and update comment to refer to abi-tags.
5227 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5230 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5231 (__sincos): Set errno to EDOM for infinite argument.
5232 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5233 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5234 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5235 (__sincosl): Set errno to EDOM for infinite argument.
5236 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5237 (__sincosl): Set errno to EDOM for infinite argument.
5238 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5239 (__sincosl): Set errno to EDOM for infinite argument.
5240 * math/libm-test.inc (sincos_test_data): Test errno setting.
5242 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5244 * string/strxfrm_l.c: Remove #define STRCMP.
5245 * string/strcoll_l.c: Remove #define STRLEN.
5246 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5247 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5249 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5251 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5252 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5253 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5254 * sysdeps/mips/mips64/Makefile: ... here.
5255 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5256 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5257 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5258 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5259 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5260 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5261 * sysdeps/mips/mips64/n64/Implies: Likewise.
5263 2015-02-10 Roland McGrath <roland@hack.frob.com>
5265 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5266 <sys/time.h>, <string.h>, and <errno.h>.
5267 (dest_offset, dest_address, value, zero): Remove unused variables.
5268 (ldouble): Remove typedef.
5269 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5270 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5272 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5273 (check): Function removed.
5275 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5276 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5277 Don't call set_sigaction_FP and remove_sigaction_FP here.
5278 (ldouble_test): Just use 'long double' as macro argument, no need for
5279 the 'ldouble' typedef.
5280 (do_test): Set up SIGFPE handler at start, using plain signal rather
5281 than sigaction. Fix code style.
5283 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5289 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5291 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5292 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5294 * sysdeps/powerpc/configure.ac: Remove file.
5295 * sysdeps/powerpc/configure: Likewise.
5297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5298 [sysdep_routines]: Remove wordcopy-power6 object.
5299 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5300 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5301 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5302 (__memmove_ppc32): Likewise.
5303 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5305 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5307 Remove preprocessor.
5309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5310 [sysdep_routines]: Remove wide chars objects.
5311 [wcsmbs]: New rule for wide char objects.
5313 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5314 Remove wordcopy-power6 obejct.
5315 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5316 Use local call for wordcopy and memcpy symbols.
5317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5318 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5319 implementation for loader.
5320 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5322 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5323 Remove wordcopy-power7 object.
5324 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5325 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5326 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5327 (_wordcopy_fwd_dest_aligned): Likewise.
5328 (_wordcopy_bwd_aligned): Likewise.
5329 (_wordcopy_bwd_dest_aligned): Likewise.
5331 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5332 Rewrite to call __memmove_ppc instead of include default
5335 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5336 Remove wide chars objects.
5337 [wcsmbs]: New rule for wide char objects.
5339 2015-02-09 Andreas Schwab <schwab@suse.de>
5342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5343 in terms of __O_DIRECTORY.
5345 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5347 * time/getdate.c: Include <stdbool.h>.
5348 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5350 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5353 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5355 Add ersatz _Static_assert on older C hosts
5356 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5357 pre-C11 C platform that is not known to support _Static_assert.
5359 2015-02-07 Richard Braun <rbraun@sceen.net>
5361 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5363 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5365 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5367 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5368 priority against unexistent AIO_PRIO_DELTA_MAX.
5369 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5371 * misc/fchflags.c (fchflags): Likewise.
5372 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5373 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5374 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5375 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5376 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5378 [__USE_MISC] (chflags, fchflags): Declare functions.
5379 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5380 EINVAL when nfds is greater than FD_SETSIZE.
5381 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5382 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5384 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5385 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5386 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5388 * hurd/hurd/signal.h (_hurd_self_sigstate,
5389 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5390 Explicit casts from void *.
5391 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5392 * abi-tags: Rename gnu-gnu os into gnu.
5395 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5396 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5397 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5398 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5399 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5400 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5403 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5404 duplicates ADDR->sun_path with sockaddr LEN limitation.
5405 * sysdeps/mach/hurd/connect.c: Include <string.h>
5406 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5407 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5408 * sysdeps/mach/hurd/sendto.c: Likewise.
5409 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5410 implementing it by hand.
5412 2015-02-06 Roland McGrath <roland@hack.frob.com>
5414 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5415 Use sfi_breg on ldr.
5416 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5419 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5421 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5422 Test SIGSETXID only if it's defined.
5424 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5426 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5427 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5429 * nptl/tst-align2.c: Moved ...
5430 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5431 * nptl/Makefile (tests): Remove tst-align2.
5432 * sysdeps/unix/sysv/linux/Makefile
5433 [$(subdir) = nptl] (tests): Add tst-align-clone.
5434 * nptl/tst-getpid1.c: Moved ...
5435 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5436 * nptl/tst-getpid2.c: Moved ...
5437 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5438 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5439 * sysdeps/unix/sysv/linux/Makefile
5440 [$(subdir) = nptl] (tests): ... here.
5441 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5442 * sysdeps/unix/sysv/linux/Makefile
5443 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5445 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5446 Drop trailing \n from perror argument. Use return rather than exit.
5448 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5450 * nptl/tst-cancel21.c (do_test): Likewise.
5451 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5452 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5453 [!SA_SIGINFO]: Make it a stub test.
5455 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5456 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5458 * posix/tst-getlogin.c: Move to ...
5459 * login/tst-getlogin.c: ... here.
5460 * posix/Makefile (tests): Move tst-getlogin to ...
5461 * login/Makefile (tests): ... here.
5463 * libio/tst-atime.c (do_test): Move local variables SV and E
5464 inside [ST_NOATIME] conditional.
5466 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5468 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5470 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5471 (wait_code): New function replaces macro.
5472 Call nanosleep rather than syscall.
5474 * nptl/pt-system.c: Rewritten. Put everything under
5475 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5476 Use IFUNC to redirect when possible.
5478 * nptl/pt-longjmp.c: Rewritten. Put everything under
5479 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5480 Use IFUNC to redirect when possible.
5482 * nptl/pt-fork.c: Rewritten. Put everything under
5483 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5484 Use IFUNC to redirect when possible.
5485 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5487 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5488 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5489 unconditionally nowadays. This included the only reference to
5490 __vdso_clock_gettime that appears outside libc proper.
5491 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5492 Remove version set (containing only __vdso_clock_gettime).
5493 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5494 Add attribute_hidden.
5495 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5496 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5497 libc_hidden_data_def.
5498 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5501 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5502 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5503 setrpcent, and getrpcport to ...
5504 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5505 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5506 getrpcbynumber_r, and getrpcent_r to ...
5507 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5508 * inet/getrpcbyname.c: Moved ...
5509 * sunrpc/getrpcbyname.c: ... here.
5510 * inet/getrpcbyname_r.c: Moved ...
5511 * sunrpc/getrpcbyname_r.c: ... here.
5512 * inet/getrpcbynumber.c: Moved ...
5513 * sunrpc/getrpcbynumber.c: ... here.
5514 * inet/getrpcbynumber_r.c: Moved ...
5515 * sunrpc/getrpcbynumber_r.c: ... here.
5516 * inet/getrpcent.c: Moved ...
5517 * sunrpc/getrpcent.c: ... here.
5518 * inet/getrpcent_r.c: Moved ...
5519 * sunrpc/getrpcent_r.c: ... here.
5520 * inet/Makefile (routines): Move those to ...
5521 * sunrpc/Makefile (routines): ... here.
5522 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5523 the $(subdirs) list.
5524 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5525 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5526 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5527 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5529 * elf/Makefile (routines): Include $(all-dl-routines), not just
5531 (rtld-routines): Likewise. Use = rather than :=.
5532 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5533 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5534 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5535 * sysdeps/arm/Makefile: Likewise.
5536 * sysdeps/i386/Makefile: Likewise.
5537 * sysdeps/x86_64/Makefile: Likewise.
5538 * sysdeps/hppa/Makefile [$(subdir) = elf]
5539 (sysdep_routines, sysdep-rtld-routines): Don't add
5540 $(sysdep-dl-routines) to these.
5541 * sysdeps/ia64/Makefile: Likewise.
5542 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5543 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5544 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5545 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5546 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5547 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5548 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5549 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5550 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5551 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5552 these; sysdep-dl-routines alone is enough.
5554 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5557 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5558 where multiplication results in zero and third argument is finite
5560 * math/auto-libm-test-in: Add more tests of fma.
5561 * math/auto-libm-test-out: Regenerated.
5563 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5564 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5565 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5566 (_FP_CMP_EQ): Likewise.
5567 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5569 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5570 extra argument CHECK_NAN. Redefine as wrapper around
5573 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5575 * version.h (RELEASE): Set to "stable".
5576 (VERSION): Set to "2.21"
5577 * include/features.h (__GLIBC_MINOR__): Set to 21.
5579 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5581 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5582 Paul Eggert <eggert@cs.ucla.edu>
5585 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5586 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5587 size in bytes. Store needed elements in wpmax. Use needed size
5588 in bytes for extend_alloca.
5590 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5592 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5593 binutls 2.25, and texinfo 5.2.
5594 * INSTALL: Regenerate.
5595 * sysdeps/nios2/configure: Regenerate.
5596 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5597 * manual/contrib.texi: Update.
5621 * po/pt_BR.po: Update.
5630 * po/zh_CN.po: Update.
5631 * po/zh_TW.po: Update.
5633 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5634 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5635 * sysdeps/hppa/dl-irel.h: Remove #warning.
5636 * sysdeps/hppa/entry.h: Provide prototype for
5637 __canonicalize_funcptr_for_compare and cast argument.
5638 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5639 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5640 * sysdeps/hppa/sotruss-lib.c: New file.
5641 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5642 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5643 (atomic_compare_and_exchange_bool_acq): Likewise.
5644 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5645 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5647 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5648 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5649 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5651 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5653 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5654 called function in non-PIC case.
5656 2015-01-31 David S. Miller <davem@davemloft.net>
5658 * sysdeps/sparc/sparc32/bits/atomic.h
5659 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5660 unlock not after it.
5661 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5662 volatile register usage warnings from the compiler.
5664 * sysdeps/sparc/nptl/sem_init.c: Delete.
5665 * sysdeps/sparc/nptl/sem_post.c: Delete.
5666 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5667 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5668 * sysdeps/sparc/sparc32/sem_init.c: New file.
5669 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5670 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5671 padding explicitly initialized.
5672 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5673 padding for in-semaphore spinlock.
5674 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5675 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5676 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5677 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5678 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5679 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5680 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5681 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5683 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5684 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5686 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5690 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5691 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5693 (index_AVX_Fast_Unaligned_Load): Likewise.
5694 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5695 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5696 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5697 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5698 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5699 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5700 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5701 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5702 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5704 2015-01-29 Andreas Schwab <schwab@suse.de>
5706 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5708 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5711 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5713 2015-01-28 Martin Sebor <msebor@redhat.com>
5715 * math/README.libm-test: Clarify. Add "How to read the test output."
5717 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5719 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5722 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5725 (__HAVE_64B_ATOMICS): Define to 0.
5727 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5730 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5731 value to set as new flag.
5734 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5735 and use _ARCH_PPCSQ instead.
5736 (__ieee754_sqrt): Likewise.
5737 (__ieee754_sqrtf): Likewise.
5738 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5739 _ARCH_PPCSQ is defined.
5740 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5742 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5743 _ARCH_PPCSQ is defined.
5744 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5746 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5748 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5750 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5751 bug (GCC BZ #64739).
5753 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5755 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5756 Mark _retval as used.
5757 (lll_futex_wake_unlock): Likewise.
5758 (lll_futex_timed_wait_requeue_pi): Likewise.
5760 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5761 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5764 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5767 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5768 (__bswap_64): Mark as __always_inline.
5770 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5773 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5774 when none of the search directories exist.
5776 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5779 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5780 power8 in .machine directive.
5783 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5784 set dependency from opd value.
5786 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5789 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5792 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5795 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5797 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5799 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5800 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5801 Replace 1UL with (uint64_t) 1.
5802 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5805 2015-01-23 Roland McGrath <roland@hack.frob.com>
5807 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5808 (if_freenameindex): Likewise.
5810 * resource/getrlimit64.c: Add missing libc_hidden_def.
5812 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5814 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5816 (_FP_FMA): Likewise.
5817 (_FP_TO_INT_ROUND): Likewise.
5818 (_FP_FROM_INT): Likewise.
5820 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5823 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5824 Make code racy and cancel safe.
5826 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5828 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5829 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5832 * pwd/tst-getpw.c: Rewrite.
5835 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5836 (modules-names): Add moddummy1 and moddummy2.
5837 ($(objpfx)tst-rec-dlopen): Define.
5838 * dlfcn/moddummy1.c: New file.
5839 * dlfcn/moddummy2.c: New file.
5840 * dlfcn/tst-rec-dlopen.c: New file.
5841 * elf/dl-cache.c (_dl_load_cache_lookup):
5842 Return char*. Copy result with alloca/strcpy/strdup.
5843 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5844 returns char*. Free cached. If not saving realname
5846 * elf/dl-open.c (dl_open_worker): Do not assert that
5847 _r_debug->r_state is RT_CONSISTENT.
5848 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5851 2015-01-21 Torvald Riegel <triegel@redhat.com>
5852 Carlos O'Donell <carlos@redhat.com>
5855 * nptl/sem_waitcommon.c: New file.
5856 * nptl/sem_wait.c: Include sem_waitcommon.c.
5857 (__sem_wait_cleanup, do_futex_wait): Remove.
5858 (__new_sem_wait): Adapt.
5859 (__new_sem_trywait): New function.
5860 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5861 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5862 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5863 (sem_timedwait): Adapt.
5864 * nptl/sem_post.c (__new_sem_post): Adapt.
5865 (futex_wake): New function.
5866 (__old_sem_post): Add release MO fence.
5867 * nptl/sem_open.c (sem_open): Adapt.
5868 * nptl/sem_init.c (__new_sem_init): Adapt.
5869 (futex_private_if_supported): New function.
5870 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5871 (__old_sem_getvalue): Add using previous code.
5872 * sysdeps/nptl/internaltypes.h: Adapt.
5873 * nptl/tst-sem13.c (do_test): Adapt.
5874 * nptl/tst-sem11.c (main): Adapt.
5875 * nptl/sem_trywait.c: Remove.
5876 * nptl/DESIGN-sem.txt: Remove.
5877 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5878 (gen-as-const-headers): Remove structsem.sym.
5879 * nptl/structsem.sym: Remove.
5880 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5881 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5882 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5883 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5884 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5885 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5886 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5887 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5888 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5889 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5890 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5891 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5892 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5893 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5894 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5895 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5896 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5897 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5898 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5899 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5900 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5901 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5903 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5905 * INSTALL: Regenerated.
5907 * po/libc.pot: Regenerated.
5909 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5910 Sandra Loosemore <sandra@codesourcery.com>
5911 Andrew Jenner <andrew@codesourcery.com>
5912 Joseph Myers <joseph@codesourcery.com>
5913 Nathan Sidwell <nathan@codesourcery.com>
5915 * NEWS: Mention new Nios II port.
5916 * sysdeps/nios2/Implies: New file.
5917 * sysdeps/nios2/Makefile: New file.
5918 * sysdeps/nios2/Subdirs: New file.
5919 * sysdeps/nios2/Versions: New file.
5920 * sysdeps/nios2/__longjmp.S: New file.
5921 * sysdeps/nios2/abort-instr.h: New file.
5922 * sysdeps/nios2/backtrace.c: New file.
5923 * sysdeps/nios2/bits/endian.h: New file.
5924 * sysdeps/nios2/bits/fenv.h: New file.
5925 * sysdeps/nios2/bits/link.h: New file.
5926 * sysdeps/nios2/bits/setjmp.h: New file.
5927 * sysdeps/nios2/bsd-_setjmp.S: New file.
5928 * sysdeps/nios2/bsd-setjmp.S: New file.
5929 * sysdeps/nios2/configure: New generated file.
5930 * sysdeps/nios2/configure.ac: New file.
5931 * sysdeps/nios2/crti.S: New file.
5932 * sysdeps/nios2/crtn.S: New file.
5933 * sysdeps/nios2/dl-init.c: New file.
5934 * sysdeps/nios2/dl-machine.h: New file.
5935 * sysdeps/nios2/dl-sysdep.h: New file.
5936 * sysdeps/nios2/dl-tls.h: New file.
5937 * sysdeps/nios2/dl-trampoline.S: New file.
5938 * sysdeps/nios2/gccframe.h: New file.
5939 * sysdeps/nios2/gmp-mparam.h: New file.
5940 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5941 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5942 * sysdeps/nios2/ldsodefs.h: New file.
5943 * sysdeps/nios2/libc-tls.c: New file.
5944 * sysdeps/nios2/libm-test-ulps: New file.
5945 * sysdeps/nios2/machine-gmon.h: New file.
5946 * sysdeps/nios2/math-tests.h: New file.
5947 * sysdeps/nios2/math_private.h: New file.
5948 * sysdeps/nios2/memusage.h: New file.
5949 * sysdeps/nios2/nptl/Makefile: New file.
5950 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5951 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5952 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5953 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5954 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5955 * sysdeps/nios2/nptl/tls.h: New file.
5956 * sysdeps/nios2/preconfigure: New file.
5957 * sysdeps/nios2/s_fma.c: New file.
5958 * sysdeps/nios2/s_fmaf.c: New file.
5959 * sysdeps/nios2/setjmp.S: New file.
5960 * sysdeps/nios2/sfp-machine.h: New file.
5961 * sysdeps/nios2/sotruss-lib.c: New file.
5962 * sysdeps/nios2/stackguard-macros.h: New file.
5963 * sysdeps/nios2/stackinfo.h: New file.
5964 * sysdeps/nios2/start.S: New file.
5965 * sysdeps/nios2/sysdep.h: New file.
5966 * sysdeps/nios2/tls-macros.h: New file.
5967 * sysdeps/nios2/tst-audit.h: New file.
5968 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5969 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5970 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5971 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5972 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5973 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5974 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5975 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5976 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5977 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5978 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5979 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5980 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5981 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5982 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5983 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5984 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5985 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5986 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5987 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5988 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5989 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5990 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5991 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5992 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5993 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5994 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5995 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5996 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5997 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5998 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6000 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6001 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6002 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6003 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6004 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6005 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6006 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6007 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6008 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6009 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6010 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6011 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6013 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6016 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6017 (getutent): Use weak_alias in non SHARED case
6018 and default_symbol_version in SHARED case.
6019 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6020 (getutent_r, pututline): Likewise.
6021 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6022 (getutid): Likewise.
6023 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6024 (getutid_r): Likewise.
6025 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6026 (getutline): Likewise.
6027 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6028 (getutline_r): Likewise.
6029 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6030 (updwtmp): Likewise.
6032 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6035 * sysdeps/s390/s390-32/memcmp.S
6036 (memcmp_g5): Rename to __memcmp_g5.
6037 * sysdeps/s390/s390-32/memcpy.S
6038 (memcpy_g5): Rename to __memcpy_g5.
6039 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6040 (memcpy_mvcle) Rename to __memcpy_mvcle.
6041 * sysdeps/s390/s390-32/memset.S
6042 (memset_g5): Rename to __memset_g5.
6043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6044 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6045 and use prefixed functions.
6046 * sysdeps/s390/s390-32/multiarch/memcmp.S
6047 (memcmp_z196): Rename to __memcmp_z196.
6048 (memcmp_z10): Rename to __memcmp_z10.
6049 (memcmp): Set alias to __memcmp_g5.
6050 (bcmp): Set alias to __memcmp_g5.
6051 * sysdeps/s390/s390-32/multiarch/memcpy.S
6052 (memcpy_z196): Rename to __memcpy_z196.
6053 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6054 (memcpy_z10): Rename to __memcpy_z10.
6055 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6056 (memcpy): Set alias to __memcpy_g5.
6057 * sysdeps/s390/s390-32/multiarch/memset.S
6058 (memset_z196): Rename to __memset_z196.
6059 Jump to __memset_mvcle instead of memset_mvcle.
6060 (memset_z10): Rename to __memset_z10.
6061 Jump to __memset_mvcle instead of memset_mvcle.
6062 (memset_mvcle) Rename to __memset_mvcle.
6063 (memset): Set alias to __memset_g5.
6064 * sysdeps/s390/s390-64/memcmp.S
6065 (memcmp_z900): Rename to __memcmp_z900.
6066 * sysdeps/s390/s390-64/memcpy.S
6067 (memcpy_z900): Rename to __memcpy_z900.
6068 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6069 (memcpy_mvcle) Rename to __memcpy_mvcle.
6070 * sysdeps/s390/s390-64/memset.S
6071 (memset_z900): Rename to __memset_z900.
6072 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6073 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6074 and use prefixed functions.
6075 * sysdeps/s390/s390-64/multiarch/memcmp.S
6076 (memcmp_z196): Rename to __memcmp_z196.
6077 (memcmp_z10): Rename to __memcmp_z10.
6078 (memcmp): Set alias to __memcmp_z900.
6079 (bcmp): Set alias to __memcmp_z900.
6080 * sysdeps/s390/s390-64/multiarch/memcpy.S
6081 (memcpy_z196): Rename to __memcpy_z196.
6082 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6083 (memcpy_z10): Rename to __memcpy_z10.
6084 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6085 (memcpy): Set alias to __memcpy_z900.
6086 * sysdeps/s390/s390-64/multiarch/memset.S
6087 (memset_z196): Rename to __memset_z196.
6088 Jump to __memset_mvcle instead of memset_mvcle.
6089 (memset_z10): Rename to __memset_z10.
6090 Jump to __memset_mvcle instead of memset_mvcle.
6091 (memset_mvcle) Rename to __memset_mvcle.
6092 (memset): Set alias to __memset_z900.
6094 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6097 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6098 __fesetenv instead of fesetenv.
6100 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6102 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6105 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6110 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6111 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6112 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6113 strncmp-power8 object.
6114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6115 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6116 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6119 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6120 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6122 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6123 trailing byte check.
6125 2015-01-13 David S. Miller <davem@davemloft.net>
6127 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6129 2015-01-13 Roland McGrath <roland@hack.frob.com>
6131 * login/logout.c (logout): Use memset rather than bzero.
6132 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6133 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6134 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6135 (_gethtbyaddr): Likewise.
6136 * locale/programs/simple-hash.c (bcopy): Macro removed.
6138 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6141 Add strcmp-power8 object.
6142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6143 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6144 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6145 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6146 __strcmp_power8 implementation.
6147 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6151 Add strncpy-power8 and stpncpy-power8 objects.
6152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6153 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6155 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6156 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6157 __stpncpy_power8 implementation.
6158 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6159 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6160 __strncpy_power8 implementation.
6161 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6162 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6165 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6166 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6167 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6169 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6170 strncat-power8 object.
6171 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6172 __strcat_power8 implementation.
6173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6174 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6175 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6176 optimized strcat for power8.
6178 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6179 strcpy-power8 and stpcpy-power8 objects.
6180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6181 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6183 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6184 multiarch stpcpy implementation for POWER8.
6185 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6186 multiarch strcpy implementation for POWER8.
6187 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6188 __strcpy_power8 function.
6189 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6191 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6195 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6198 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6199 weights and rules. Use do_xfrm_cached if data fits in cache,
6200 do_xfrm otherwise. Moved former main loop to...
6201 * (do_xfrm_cached): New function.
6202 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6203 find_idx, find_position and stack_push.
6204 * (find_idx): New function.
6205 * (find_position): Likewise.
6206 * localedata/sort-test.sh: Added test run for do_xfrm.
6207 * localedata/xfrm-test.c (main): Added command line option
6208 -nocache to run the test with strings that are too large for
6211 2015-01-13 Torvald Riegel <triegel@redhat.com>
6213 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6214 variable to lll_futex_wake call, not the value itself.
6216 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6220 twom64. Adjust value to 0x1p-64L.
6221 (__scalblnl): Only return standard underflowing result for K <=
6222 -64 not K <= -63; adjust exponent for underflowing result by 64
6224 * math/libm-test.inc (scalbn_test_data): Add more tests.
6225 (scalbln_test_data): Likewise.
6228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6230 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6232 * math/libm-test.inc (scalbn_test_data): Add more tests.
6233 (scalbln_test_data): Likewise.
6235 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 Stefani Seibold <stefani@seibold.net>
6238 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6239 (sysdep_routines): Add dl-vdso here, ...
6240 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6241 (sysdep_routines): ... not here.
6242 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6243 fallback when vDSO is not presented.
6244 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6245 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6246 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6247 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6248 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6249 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6250 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6251 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6252 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6254 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6255 fallback configurable symbol when vDSO is not available.
6256 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6257 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6258 be able to redefine fallback symbol when vDSO is not available.
6259 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6260 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6262 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6265 (TLS_INIT_TP): Add tm_capable initialization.
6266 (TLS_DEFINE_INIT_TP): Likewise.
6267 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6269 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6270 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6272 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6273 transactoion is lock elision is built and TCB tm_capable is set.
6274 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6276 (INTERNAL_SYSCALL_NCS): Likewise.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6278 (INTERNAL_SYSCALL_NCS): Likewise.
6279 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6281 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6283 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6284 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6285 and remove it for 32 bits case.
6286 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6289 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6290 Disable lock elision with rdlocks if elision is not available.
6292 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6293 (sysdep_routines): Add lock elision objects.
6294 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6295 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6296 [pthread_mutex_t] (__elision): Add field.
6297 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6298 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6299 elision definitions for powerpc.
6300 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6301 implementation of lock elision for powerpc.
6302 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6303 implementation of timed lock elision for powerpc.
6304 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6305 implementation of trylock with lock elision for powerpc.
6306 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6307 implementaion of unlock for lock elision for powerpc.
6308 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6309 automatic enable lock elision for mutexes.
6310 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6311 transaction execution definitions for powerpc.
6312 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6314 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6315 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6316 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6317 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6320 2015-01-09 Roland McGrath <roland@hack.frob.com>
6322 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6323 for #include of <shm-directory.h>.
6325 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6327 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6328 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6330 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6333 * NEWS: Mention bug fix.
6334 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6335 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6336 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6338 2015-01-09 Torvald Riegel <triegel@redhat.com>
6340 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6342 2015-01-09 Torvald Riegel <triegel@redhat.com>
6344 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6346 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6348 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6349 pointer and cast to uintptr_t.
6351 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6353 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6355 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6357 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6359 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6362 2015-01-08 Roland McGrath <roland@hack.frob.com>
6364 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6365 <nptl/pthreadP.h> instead.
6366 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6368 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6370 [__SIGRTMIN] (init): Function removed.
6371 [__SIGRTMIN] (initialized): Variable removed.
6372 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6373 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6374 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6375 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6376 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6377 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6378 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6379 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6380 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6381 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6382 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6383 * sysdeps/nptl/allocrtsig.c: New file.
6384 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6385 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6386 * sysdeps/generic/testrtsig.h: File removed.
6388 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6389 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6391 * nptl/nptl-init.c (pthread_functions): Conditionalize
6392 .ptr__nptl_setxid initialization on [SIGSETXID].
6394 * sysdeps/nptl/sys/procfs.h: New file.
6395 * nptl_db/Makefile (headers): Add it.
6396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6398 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6399 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6400 * nptl/pthread_attr_setaffinity.c: Include it.
6401 * nptl/pthread_setattr_default_np.c: Likewise.
6402 * nptl/check-cpuset.h: New file.
6404 2015-01-08 Richard Henderson <rth@redhat.com>
6406 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6407 (CFLAGS-tst-execstack-prog.c): Likewise.
6408 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6410 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6411 Sandra Loosemore <sandra@codesourcery.com>
6412 Andrew Jenner <andrew@codesourcery.com>
6413 Joseph Myers <joseph@codesourcery.com>
6414 Nathan Sidwell <nathan@codesourcery.com>
6416 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6417 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6418 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6419 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6420 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6421 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6422 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6423 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6424 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6425 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6426 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6427 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6428 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6429 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6430 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6431 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6432 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6434 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6436 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6437 timespec struct member in syscall macro.
6438 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6439 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6440 first timeval struct member in syscall macro.
6441 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6443 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6446 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6447 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6448 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6449 __feupdateenv and define as weak alias of __feupdateenv. Use
6451 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6453 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6454 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6455 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6456 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6458 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6459 __feupdateenv and define as weak alias of __feupdateenv. Use
6461 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6463 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6464 __feupdateenv and define as weak alias of __feupdateenv. Use
6466 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6468 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6469 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6470 (__feupdateenv): Likewise.
6471 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6472 __feupdateenv and define as weak alias of __feupdateenv. Use
6474 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6475 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6477 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6479 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6481 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6482 __feupdateenv instead of feupdateenv.
6483 (default_libc_feupdateenv_test): Likewise.
6484 (libc_feresetround_ctx): Likewise.
6486 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6491 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6493 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6494 COLL_SYM in a couple of places to avoid uninitialized variable
6495 wanings on tilegx gcc 4.8.2.
6497 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6499 * sysdeps/aarch64/strcpy.S: New file.
6500 * sysdeps/aarch64/stpcpy.S: New file.
6503 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6505 * sysdeps/aarch64/strrchr.S: New file.
6508 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6511 * stdlib/setenv.c: Fix memory leak when setting large,
6514 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6517 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6518 and tabs from buffer before parsing fstab entry.
6519 * misc/tst-mntent.c (main): Add test for mount entry with
6520 trailing spaces and tabs.
6522 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6525 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6526 * math/fesetround.c (fesetround): Rename to __fesetround and
6527 define as weak alias of __fesetround. Use libm_hidden_weak.
6528 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6529 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6530 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6531 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6532 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6533 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6534 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6535 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6536 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6537 __fesetround_inline.
6538 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6539 __fesetround_inline instead of __fesetround.
6540 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6541 __fesetround and define as weak alias of __fesetround. Use
6542 libm_hidden_weak. Call __fesetround_inline instead of
6544 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6545 __fesetround and define as weak alias of __fesetround. Use
6547 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6549 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6550 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6551 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6552 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6553 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6554 __fesetround and define as weak alias of __fesetround. Use
6556 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6557 __fesetround instead of fesetround.
6558 (default_libc_feholdexcept_setround): Likewise.
6559 (libc_feholdsetround_ctx): Likewise.
6560 (libc_feholdsetround_noex_ctx): Likewise.
6563 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6564 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6565 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6566 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6567 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6568 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6569 define as weak alias of __fesetenv. Use libm_hidden_weak.
6570 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6571 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6572 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6573 define as weak alias of __fesetenv. Use libm_hidden_weak.
6574 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6575 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6576 define as weak alias of __fesetenv. Use libm_hidden_weak.
6577 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6579 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6580 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6582 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6583 define as weak alias of __fesetenv. Use libm_hidden_weak.
6584 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6585 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6586 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6587 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6588 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6589 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6590 __fesetenv instead of fesetenv.
6591 (libc_feresetround_noex_ctx): Likewise.
6592 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6593 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6594 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6595 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6596 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6597 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6598 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6599 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6600 (__feupdateenv): Likewise.
6601 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6602 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6603 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6604 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6606 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6609 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6610 addresses have been freed.
6612 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6614 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6617 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6619 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6620 Clean up check_pf allocation pattern. addresses
6622 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6624 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6625 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6626 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6627 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6628 * nptl/pthread_join.c (pthread_join): Likewise.
6629 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6630 * sysdeps/posix/waitid.c (__waitid): Likewise.
6631 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6632 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6633 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6634 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6635 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6637 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6638 (__libc_pread64): Likewise.
6639 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6640 (__libc_pwrite): Likewise.
6641 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6642 (__libc_pwrite64): Likewsie.
6643 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6644 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6645 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6646 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6647 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6648 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6649 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6653 (__libc_pread64): Likewise.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6657 (__libc_pwrite64): Likewise.
6658 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6659 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6660 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6661 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6662 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6663 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6664 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6665 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6666 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6667 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6668 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6669 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6670 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6671 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6672 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6673 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6676 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6678 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6679 (CFLAGS-test-double.c): Likewise.
6680 (CFLAGS-test-ldouble.c): Likewise.
6681 (CPPFLAGS-test-ifloat.c): Likewise.
6682 (CPPFLAGS-test-idouble.c): Likewise.
6683 (CPPFLAGS-test-ildoubl.c): Likewise.
6684 (CFLAGS-test-test-fenv.c): Remove variable.
6685 (CFLAGS-test-misc.c): Likewise.
6687 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6690 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6691 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6692 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6693 CLOCKS_PER_SEC == 1000000.
6694 * time/clocktest.c (main): Replace %ld with %jd and cast to
6697 2015-01-05 Roland McGrath <roland@hack.frob.com>
6699 * sysdeps/generic/unwind-resume.h: New file.
6700 * sysdeps/gnu/unwind-resume.c: Include it.
6701 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6702 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6704 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6705 global rather than static.
6706 (_Unwind_Resume): Update user.
6707 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6708 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6709 rather than static. Add __attribute__ ((cold)).
6710 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6711 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6712 * sysdeps/arm/arm-unwind-resume.S: New file.
6713 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6714 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6715 * sysdeps/arm/Makefile [$(subdir) = csu]
6716 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6717 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6718 Add rt-arm-unwind-resume.
6720 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6721 Add pt-arm-unwind-resume.
6722 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6723 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6725 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6728 * include/fenv.h (__feholdexcept): Declare. Use
6730 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6731 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6732 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6733 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6734 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6735 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6736 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6737 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6738 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6739 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6740 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6741 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6742 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6743 (feholdexcept): Likewise.
6744 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6745 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6746 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6747 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6748 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6749 __feholdexcept instead of feholdexcept.
6750 (default_libc_feholdexcept_setround): Likewise.
6752 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6754 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6755 to avoid using stl/str to align destination.
6757 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6759 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6761 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6764 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6765 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6766 Define as weak alias not strong alias.
6768 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6770 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6771 bltzal with addiupc.
6772 (RTLD_START): Ditto.
6774 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6776 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6777 for __vdso_* functions in declarations.
6778 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6780 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6781 INTERNAL_VSYSCALL): Use struct return types to check for error.
6783 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6784 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6785 function with cast from llround().
6786 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6787 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6790 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6793 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6794 Define as weak alias not strong alias.
6797 * ctype/ctype-c99.c: New file. isblank implementation moved from
6799 * ctype/ctype-extn.c: ... here.
6800 (__isblank_l): Move to ...
6801 * ctype/ctype-c99_l.c: ... here. New file.
6802 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6803 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6805 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6806 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6807 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6808 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6809 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6812 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6813 (posix_fadvise64): Define as weak alias not strong alias.
6814 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6815 (posix_fallocate64): Likewise.
6816 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6818 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6819 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6820 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6821 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6822 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6824 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6827 * NEWS: Mention bug fix.
6828 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6829 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6830 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6831 (HOST_STACK_END_ADDR): Likewise.
6833 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6836 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6837 * math/fegetround.c (fegetround): Rename to __fegetround and
6838 define as weak alias of __fegetround. Use libm_hidden_weak.
6839 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6840 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6841 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6842 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6843 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6844 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6845 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6846 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6847 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6848 Undefine after rather than before function definition; use
6849 parentheses around function name in definition.
6850 (__fegetround): Also undefine macro after function definition.
6851 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6852 __fegetround and define as weak alias of __fegetround. Use
6853 libm_hidden_weak. Do not undefine as macro.
6854 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6856 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6857 __fegetround and define as weak alias of __fegetround. Use
6859 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6860 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6861 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6862 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6863 __fegetround and define as weak alias of __fegetround. Use
6865 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6866 __fegetround instead of fegetround.
6869 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6870 Condition macro definition on [__USE_MISC].
6873 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6874 (struct sigaction): Change type of sa_flags field to int.
6877 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6878 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6881 * nptl/version.c (banner): Use single year in copyright notice.
6883 * NEWS: Update copyright dates.
6884 * catgets/gencat.c (print_version): Likewise.
6885 * csu/version.c (banner): Likewise.
6886 * debug/catchsegv.sh: Likewise.
6887 * debug/pcprofiledump.c (print_version): Likewise.
6888 * debug/xtrace.sh (do_version): Likewise.
6889 * elf/ldconfig.c (print_version): Likewise.
6890 * elf/ldd.bash.in: Likewise.
6891 * elf/pldd.c (print_version): Likewise.
6892 * elf/sotruss.sh: Likewise.
6893 * elf/sprof.c (print_version): Likewise.
6894 * iconv/iconv_prog.c (print_version): Likewise.
6895 * iconv/iconvconfig.c (print_version): Likewise.
6896 * locale/programs/locale.c (print_version): Likewise.
6897 * locale/programs/localedef.c (print_version): Likewise.
6898 * login/programs/pt_chown.c (print_version): Likewise.
6899 * malloc/memusage.sh (do_version): Likewise.
6900 * malloc/memusagestat.c (print_version): Likewise.
6901 * malloc/mtrace.pl: Likewise.
6902 * manual/libc.texinfo: Likewise.
6903 * nptl/version.c (banner): Likewise.
6904 * nscd/nscd.c (print_version): Likewise.
6905 * nss/getent.c (print_version): Likewise.
6906 * nss/makedb.c (print_version): Likewise.
6907 * posix/getconf.c (main): Likewise.
6908 * scripts/test-installation.pl: Likewise.
6909 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6911 2015-01-02 Will Newton <will.newton@linaro.org>
6913 * sysdeps/arm/armv7/configure: Removed.
6914 * sysdeps/arm/armv7/configure.ac: Likewise.
6916 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6918 * All files with FSF copyright notices: Update copyright dates
6919 using scripts/update-copyrights.
6920 * intl/plural.c: Regenerated.
6921 * locale/programs/charmap-kw.h: Likewise.
6922 * locale/programs/locfile-kw.h: Likewise.
6924 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6926 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6928 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6931 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6932 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6933 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6934 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6935 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6936 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6937 define as weak alias of __fegetenv. Use libm_hidden_weak.
6938 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6939 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6940 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6941 define as weak alias of __fegetenv. Use libm_hidden_weak.
6942 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6943 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6944 define as weak alias of __fegetenv. Use libm_hidden_weak.
6945 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6947 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6948 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6950 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6951 define as weak alias of __fegetenv. Use libm_hidden_weak.
6952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6953 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6954 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6955 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6956 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6957 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6958 __fegetenv instead of fegetenv.
6959 (libc_feholdsetround_noex_ctx): Likewise.
6961 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6963 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6964 (Elf_MIPS_ABIFlags_v0): New structure.
6965 (EF_MIPS_FP64): Define.
6966 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6967 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6968 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6969 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6970 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6971 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6972 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6973 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6974 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6975 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6976 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6977 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6978 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6979 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6980 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6981 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6982 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6983 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6984 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6985 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6986 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6987 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6989 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6991 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6992 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6993 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6994 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6995 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6996 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6997 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6998 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6999 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7000 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7001 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7002 record the current FP ABI extension.
7003 (mips-mode-switch): Define to show if kernel headers support mode
7005 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7006 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7007 supported SYSV ABI version to 3.
7008 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7011 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7012 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7016 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7018 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7020 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7021 __fegetround and redefine to call __fegetround. Remove condition
7022 on [!__NO_MATH_INLINES].
7023 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7025 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7026 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7028 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7029 instead of <fenv_libc.h>.
7030 (__llrintl): Call fegetround instead of __fegetround.
7031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7032 instead of <fenv_libc.h>.
7033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7034 (__lrintl): Call fegetround instead of __fegetround.
7035 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7036 instead of <fenv_libc.h>.
7037 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7038 (__rintl): Call fegetround instead of __fegetround.
7040 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7042 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7045 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7048 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7049 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7050 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7052 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7054 * sysdeps/i386/tls-macros.h: Include <features.h>.
7055 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7059 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7060 define for GCC >= 5.0.
7062 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7064 * math/test-fenv.c (test_single_exception, set_single_exc,
7065 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7066 feexcp_mask_test, feenable_test, fe_single_test): Add
7067 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7068 case where they are not used.
7069 * math/libm-test.inc: Likewise.
7070 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7071 unused in the absence of FP rounding/exception support.
7072 * stdio-common/tst-printf-round.c: Likewise.
7073 * stdlib/tst-strtod-round.c: Likewise.
7074 * stdlib/tst-strtod-underflow.c: Likewise.
7076 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7079 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7080 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7081 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7082 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7084 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7085 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7086 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7088 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7089 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7091 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7093 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7094 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7095 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7097 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7099 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7100 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7101 (__feraiseexcept): Likewise.
7102 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7103 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7105 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7106 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7108 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7109 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7110 Use libm_hidden_def.
7111 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7113 (feraiseexcept): Define as weak not strong alias. Use
7115 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7116 New inline function. Factored out of ...
7117 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7118 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7119 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7121 * math/w_acos.c (__acos): Likewise.
7122 * math/w_asin.c (__asin): Likewise.
7123 * math/w_ilogb.c (__ilogb): Likewise.
7124 * math/w_j0.c (y0): Likewise.
7125 * math/w_j1.c (y1): Likewise.
7126 * math/w_jn.c (yn): Likewise.
7127 * math/w_log.c (__log): Likewise.
7128 * math/w_log10.c (__log10): Likewise.
7129 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7130 * sysdeps/aarch64/fpu/math_private.h
7131 (libc_feupdateenv_test_aarch64): Likewise.
7132 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7133 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7134 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7135 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7136 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7137 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7138 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7139 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7140 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7141 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7143 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7146 * io/test-utime.c (main): Replace %ld with %jd and cast to
7148 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7149 * nptl/tst-mutex5.c: Include <stdint.h>.
7150 (do_test): Replace %ld with %jd and cast to intmax_t.
7151 * posix/tst-regex.c (run_test): Likewise.
7152 (run_test_backwards): Likewise.
7153 * rt/tst-clock.c: Include <stdint.h>.
7154 (clock_test): Replace %ld with %jd and cast to intmax_t.
7155 * rt/tst-cpuclock1.c: Include <stdint.h>.
7156 (do_test): Replace %lu with %ju and cast to uintmax_t.
7157 * rt/tst-cpuclock2.c: Include <stdint.h>.
7158 (do_test): Replace %lu with %ju and cast to uintmax_t.
7159 * rt/tst-mqueue1.c: Include <stdint.h>.
7160 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7161 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7163 * rt/tst-mqueue4.c (do_test): Likewise.
7164 * rt/tst-timer4.c: Include <stdint.h>.
7165 (check_ts): Replace %ld with %jd and cast to intmax_t.
7166 (do_test): Likewise.
7167 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7168 and cast to intmax_t.
7169 * sysdeps/pthread/tst-timer.c (main): Likewise.
7170 * time/clocktest.c (main): Likewise.
7171 * time/tst-posixtz.c (do_test): Likewise.
7172 * timezone/tst-timezone.c (main): Likewise.
7174 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7175 H.J. Lu <hongjiu.lu@intel.com>
7177 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7178 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7182 version if bit_Fast_Unaligned_Load is set.
7183 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7190 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7191 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7192 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7194 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7195 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7196 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7197 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7199 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7201 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7202 instead of #if to avoid a Wundef warning.
7203 * stdlib/tst-limits.c (do_test): Likewise.
7205 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7206 parallel other exception macros.
7207 (fegetenv): Convert from macro to extern inline so that it applies
7208 retroactively to inline functions already seen by the compiler.
7209 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7211 * posix/Makefile (before-compile): Use $(objpfx) for
7212 posix-conf-vars-def.h.
7214 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7216 * posix/getconf.c (main): Use size_t for type of I.
7217 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7220 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7221 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7222 * posix/posix-envs.def: Likewise.
7223 * sysdeps/posix/sysconf.c: Likewise.
7224 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7225 (specs): Remove array.
7226 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7229 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7230 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7231 (__sysconf): Use CONF_IS_* macros.
7233 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7234 ($(objpfx)posix-conf-vars-def.h): New target.
7235 * posix/posix-conf-vars.list: New file.
7236 * posix/posix-conf-vars.h: New file.
7237 * posix/confstr.c: Include posix-conf-vars.h.
7238 (confstr): Use CONF_IS_* macros.
7239 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7241 * scripts/gen-posix-conf-vars.awk: New file.
7243 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7245 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7246 fegetround): Add no-op macros to avoid linknamespace issues.
7248 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7249 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7251 * sysdeps/unix/sysv/linux/tile/sysdep.h
7252 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7253 assembly-specific section to avoid a redefinition warning.
7255 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7256 long before casting to pointer to avoid a cast warning.
7258 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7260 * sysdeps/tile/tilegx/Implies: New file.
7262 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7264 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7266 2014-12-23 Florian Weimer <fweimer@redhat.com>
7268 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7270 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7274 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7275 <kernel-features.h>.
7276 (__utimes) [__NR_utimes]: Make code unconditional.
7277 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7278 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7279 (__ASSUME_UTIMES): Do not undefine.
7280 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7281 (__ASSUME_UTIMES): Likewise.
7282 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7283 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7284 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7285 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7287 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7289 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7291 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7294 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7295 alias to weak alias for j0l, y0l.
7296 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7297 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7300 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7303 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7305 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7306 to zero if not already defined.
7308 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7311 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7312 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7313 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7314 (char *) casts added.
7315 * sysdeps/ieee754/k_standardf.c: New file.
7316 * sysdeps/ieee754/k_standardl.c: Likewise.
7317 * math/Makefile (libm-support): Remove k_standard.
7318 (libm-calls): Add k_standard.
7320 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7322 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7323 Optimize to avoid an unnecessary FPCR read.
7325 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7327 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7328 Optimize to reduce FPCR/FPSR accesses.
7330 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7332 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7333 Call libc_fetestexcept_aarch64.
7335 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7337 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7338 Call libc_fesetround_aarch64.
7340 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7343 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7344 (__bind): Do not define as weak alias.
7345 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7347 (__getsockname): Do not define as weak alias.
7349 2014-12-22 Will Newton <will.newton@linaro.org>
7351 * manual/install.texi: Document that we require bison 2.7
7353 * INSTALL: Regenerate.
7354 * configure.ac: Use AC_CHECK_PROG_VER instead of
7355 AC_PATH_PROG when checking for bison and check for
7356 version 2.7 or above.
7357 * configure: Regenerate.
7359 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7362 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7363 * sysdeps/tile/ffsll.c (ffsll): To here.
7365 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7367 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7369 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7371 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7373 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7374 hidden ___tls_get_addr.
7375 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7376 hidden __tls_get_addr.
7377 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7378 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7381 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7383 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7386 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7388 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7389 from "call _dl_init@PLT".
7390 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7392 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7394 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7397 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7399 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7401 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7404 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7407 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7409 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7411 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7412 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7413 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7414 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7415 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7417 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7419 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7420 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7421 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7422 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7423 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7425 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7427 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7429 * string/strncat.c (STRNCAT): Simplify implementation.
7431 2014-12-19 David S. Miller <davem@davemloft.net>
7433 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7434 access the quad as both a long double and as a series of 4 words.
7436 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7437 link_map->l_info array access.
7439 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7441 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7443 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7444 * math/atest-exp2.c (TIMEOUT): Likewise.
7445 * math/atest-sincos.c (TIMEOUT): Likewise.
7447 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7449 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7450 -Wno-error with -fno-builtin-lround.
7452 2014-12-19 Torvald Riegel <triegel@redhat.com>
7454 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7455 Contains futex constants and functions moved over from ...
7456 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7457 <lowlevellock-futex.h>.
7458 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7459 (lll_timedwait_tid): Add comments and parentheses around macro
7462 2014-12-19 Torvald Riegel <triegel@redhat.com>
7464 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7465 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7466 (__lll_private_flag): Remove.
7467 (lll_futex_wait): Likewise.
7468 (lll_futex_timed_wait): Likewise.
7469 (lll_futex_wake): Likewise.
7470 (lll_futex_requeue): Likewise.
7471 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7472 (__lll_timedwait_tid): Spell out argument names.
7473 (lll_timedwait_tid): Add comments and parentheses around macro
7475 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7476 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7478 2014-12-19 Torvald Riegel <triegel@redhat.com>
7480 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7481 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7482 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7483 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7484 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7485 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7486 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7487 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7488 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7489 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7490 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7491 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7492 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7493 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7494 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7495 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7496 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7497 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7498 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7500 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7502 * sysdeps/x86_64/x32/Makefile: New file.
7504 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7506 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7507 1L with (mp_limb_t) 1.
7509 2014-12-17 Roland McGrath <roland@hack.frob.com>
7511 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7512 * nptl/libc_pthread_init.c: ... here.
7513 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7514 * nptl/register-atfork.c: ... here.
7516 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7517 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7518 Use assert_perror to check its return value.
7519 (__gai_create_helper_thread): Likewise.
7521 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7523 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7525 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7530 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7532 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7534 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7536 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7537 (profil_counter): Likewise.
7538 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7539 (profil_counter): Likewise.
7540 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7542 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7544 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7545 (profil_counter): Likewise.
7546 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7548 [!__profil_counter] (profil_counter): Define as weak alias of
7550 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7551 (profil_counter): Rename to __profil_counter.
7552 [!__profil_counter] (profil_counter): Define as weak alias of
7554 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7555 (profil_counter): Rename to __profil_counter.
7556 [!__profil_counter] (profil_counter): Define as weak alias of
7558 * sysdeps/posix/profil.c: Update comment referring to
7560 (__profil): Use __profil_counter instead of profil_counter.
7561 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7562 __profil_counter. Use __profil_counter_ushort and
7563 __profil_counter_uint in definitions.
7564 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7565 instead of profil_counter_uint and profil_counter_ushort.
7568 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7569 define as weak alias of __inet_makeaddr.
7570 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7571 as weak alias of __inet_addr.
7572 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7573 as weak alias of __inet_pton. Use libc_hidden_weak.
7574 * include/arpa/inet.h (__inet_pton): Declare. Use
7576 (inet_makeaddr): Don't use libc_hidden_proto.
7577 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7578 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7579 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7580 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7582 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7583 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7585 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7587 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7589 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7591 * stdio-common/bug-vfprintf-nargs.c (do_test):
7592 Cast value to intptr_t to avoid format warning
7593 for usage with PRIdPTR printing macro.
7595 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7597 * libio/tst-widetext.c (do_test):
7598 Use format type %td instead of %Zd for ptrdiff_t
7599 in order to avoid format warning.
7601 2014-12-17 Andreas Schwab <schwab@suse.de>
7603 * nscd/mem.c (gc): Add size_t cast to match printf format.
7605 2014-12-16 Roland McGrath <roland@hack.frob.com>
7607 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7608 (init): Apply PTR_MANGLE to pointers before storing them.
7609 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7612 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7615 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7616 define as weak alias of __memrchr.
7617 (__memrchr): Do not define as strong alias of memrchr.
7618 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7620 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7621 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7622 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7625 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7626 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7627 (if_indextoname): Rename to __if_indextoname and define as weak
7628 alias of __if_indextoname. Use libc_hidden_weak.
7629 (if_freenameindex): Rename to __if_freenameindex and define as
7630 weak alias of __if_freenameindex.
7631 (if_nameindex): Rename to __if_nameindex and define as weak alias
7633 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7634 __if_nametoindex and define as weak alias of __if_nametoindex.
7635 Use libc_hidden_weak.
7636 (if_freenameindex): Rename to __if_freenameindex and define as
7637 weak alias of __if_freenameindex.
7638 (if_nameindex): Rename to __if_nameindex and define as weak alias
7640 (if_indextoname): Rename to __if_indextoname and define as weak
7641 alias of __if_indextoname. Use libc_hidden_weak.
7642 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7643 __if_nametoindex and define as weak alias of __if_nametoindex.
7644 Use libc_hidden_weak.
7645 (if_freenameindex): Rename to __if_freenameindex and define as
7646 weak alias of __if_freenameindex. Use libc_hidden_weak.
7647 (if_nameindex_netlink): Use __if_freenameindex instead of
7649 (if_nameindex): Rename to __if_nameindex and define as weak alias
7650 of __if_nameindex. Use libc_hidden_weak.
7651 (if_indextoname): Rename to __if_indextoname and define as weak
7652 alias of __if_indextoname. Use libc_hidden_weak.
7653 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7655 [!_ISOMAC] (__if_freenameindex): Likewise.
7656 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7658 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7660 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7661 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7662 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7663 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7664 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7665 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7666 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7668 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7670 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7671 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7673 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7675 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7676 subscript above bounds'
7678 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7681 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7683 * libio/tst-fopenloc.c: Use test-skeleton.c.
7685 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7686 (entry): Rename to ITEM.
7687 (do_test, comp): Adjust.
7689 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7691 2014-12-16 Torvald Riegel <triegel@redhat.com>
7693 * string/tester.c: Include <libc-internal.h>.
7694 (test_memset): Ignore -Wmemset-transposed-args.
7696 2014-12-16 Torvald Riegel <triegel@redhat.com>
7698 * misc/tst-mntent2.c (do_test): Fix warning.
7700 2014-12-16 Torvald Riegel <triegel@redhat.com>
7702 * elf/tst-unique4lib.cc(a): Mark as used.
7704 2014-12-16 Florian Weimer <fweimer@redhat.com>
7707 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7710 2014-12-16 Allan McRae <allan@archlinux.org>
7712 * stdio-common/Makefile (tests): Re-add bug26.
7714 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7717 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7720 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7722 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7723 (__lll_lock_wait): Likewise.
7724 (__lll_timedlock_wait): Likewise.
7725 (__lll_timedwait_tid): Likewise.
7726 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7727 (__lll_robust_timedlock_wait): Likewise.
7728 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7729 (lll_cond_trylock): Likewise.
7730 (__lll_lock): Likewise.
7731 (__lll_robust_lock): Likewise.
7732 (__lll_cond_lock): Likewise.
7733 (lll_robust_cond_lock): Likewise.
7734 (__lll_timedlock): Likewise.
7735 (__lll_robust_timedlock): Likewise.
7736 (__lll_unlock): Likewise.
7737 (__lll_robust_unlock): Likewise.
7738 (lll_wait_tid): Likewise.
7739 (lll_timedwait_tid): Likewise.
7741 2014-12-15 Torvald Riegel <triegel@redhat.com>
7743 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7745 2014-12-15 Torvald Riegel <triegel@redhat.com>
7747 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7749 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7751 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7752 * stdio-common/tst-sprintf.c: Likewise.
7754 2014-12-15 Torvald Riegel <triegel@redhat.com>
7756 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7758 2014-12-15 Jeff Law <law@redhat.com>
7761 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7762 on the heap. (CVE-2012-3406)
7763 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7764 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7765 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7767 2014-12-15 Will Newton <will.newton@linaro.org>
7769 * manual/install.texi: Bump required version of texinfo
7771 * INSTALL: Regenerated.
7772 * configure.ac: Check for makeinfo version 4.7 and above.
7773 * configure: Regenerated.
7775 2014-12-12 Roland McGrath <roland@hack.frob.com>
7777 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7778 PREFIX, string constant to insert between directory and name.
7779 * sysdeps/posix/shm_open.c: Update caller.
7780 * sysdeps/posix/shm_unlink.c: Likewise.
7781 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7782 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7783 (SEM_SHM_PREFIX): New macro.
7784 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7785 [$(have-thread-library) = no].
7786 * nptl/Makefile (libpthread-routines): Add shm-directory.
7787 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7788 * sysdeps/nptl/shm-directory.h: New file.
7789 * sysdeps/posix/shm-directory.c
7790 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7791 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7792 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7794 (__where_is_shmfs): Function removed.
7795 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7797 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7799 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7801 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7802 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7803 unconditional for use inside libpthread.
7804 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7806 2014-12-12 Roland McGrath <roland@hack.frob.com>
7808 * nptl/pthread_getaffinity.c: New file.
7809 * nptl/pthread_setaffinity.c: New file.
7810 * nptl/pthread_getname.c: New file.
7811 * nptl/pthread_setname.c: New file.
7813 * nptl/pthread_create.c (START_THREAD_DEFN)
7814 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7816 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7817 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7819 * resolv/res_send.c (send_vc): Disable warning resplen may
7820 be used uninitialized.
7822 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7825 (ATTR_NULL): New define checks ATTR against NULL.
7826 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7827 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7829 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7833 (mem2mem_check): Revert my previous change.
7834 (malloc_check_get_size): Revert my previous change.
7835 (mem2chunk_check): Revert my previous change.
7837 2014-12-11 Roland McGrath <roland@hack.frob.com>
7839 * sysdeps/posix/shm-directory.c: New file.
7840 * sysdeps/posix/shm-directory.h: New file.
7841 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7842 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7843 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7844 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7845 Transmute EPERM to EACCES.
7846 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7848 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7849 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7851 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7853 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7854 pointer and cast to uintptr_t.
7855 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7856 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7857 Add cast to avoid warning.
7858 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7860 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7862 * nptl/semaphore.h: Move to ...
7863 * sysdeps/pthread/semaphore.h: ... here.
7864 * Makefile (installed-headers): Change nptl/semaphore.h to
7865 sysdeps/pthread/semaphore.h.
7867 2014-12-11 Roland McGrath <roland@hack.frob.com>
7869 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7870 generated error format strings.
7872 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7873 -Wformat-extra-args warnings for scanf formats.
7874 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7875 test of zero-length format (duh).
7876 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7877 corner-case scanf format test.
7878 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7879 generated fprintf format string.
7880 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7881 corner-case sprintf format tests.
7882 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7883 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7884 -Wformat-extra-args warnings throughout.
7885 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7886 (CFLAGS-scanf4.c): Likewise.
7887 (CFLAGS-scanf7.c): Likewise.
7888 (CFLAGS-tst-sprintf.c): Likewise.
7889 (CFLAGS-tst-printf.c): Likewise.
7890 (CFLAGS-tst-printfsz.c): Likewise.
7892 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7894 * include/cpio.h: New file.
7895 * include/fmtmsg.h: Likewise.
7897 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7898 corresponding format argument to size_t.
7899 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7901 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7902 corresponding format argument to size_t.
7903 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7905 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7906 corresponding format argument to size_t.
7907 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7908 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7909 (CFLAGS-tst-mbswcs2.c): Likewise.
7910 (CFLAGS-tst-mbswcs3.c): Likewise.
7911 (CFLAGS-tst-mbswcs4.c): Likewise.
7912 (CFLAGS-tst-mbswcs5.c): Likewise.
7913 (CFLAGS-tst-trans.c): Likewise
7915 2014-12-11 Roland McGrath <roland@hack.frob.com>
7917 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7918 rather than assuming they won't contain any '%'s.
7920 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7922 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7923 inhibit_loop_to_libcall to avoid recursive calls.
7924 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7925 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7927 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7929 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7932 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7934 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7935 integer value instead of boolean.
7937 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7939 * malloc/malloc.c: Fix powerof2 check.
7941 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7943 * locale/programs/locfile.h (maybe_swap_uint32):
7944 Remove inline and add unused attribute.
7946 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7948 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7949 Truncating assembler expression to a .long expression.
7951 2014-12-11 Andreas Schwab <schwab@suse.de>
7953 * elf/rtld.c (struct map_args): Constify str member.
7954 (do_preload): Constify fname argument.
7956 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7959 constants definition.
7961 2014-12-11 Andreas Schwab <schwab@suse.de>
7964 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7965 FORCE_ELISION instead of DO_ELISION.
7966 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7968 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7971 * iconvdata/gconv-modules: Remove duplicate entry.
7973 2014-12-11 Will Newton <will.newton@linaro.org>
7975 Merge gettext 0.19.3 into intl/.
7977 This involves a number of cosmetic changes to comments
7978 and ANSI function definitions and prototypes throughout
7979 all the files. The gettext copyright header is used but
7980 with the date ranges taken from the glibc copy.
7982 * NEWS: Add gettext merge to 2.21.
7983 * intl/bindtextdom.c: Switch to gettext copyright.
7984 Use ANSI definitions and prototypes.
7985 Use gl_* locking primitives rather than __libc_* ones.
7986 Use __builtin_expect rather than __glibc_likely/unlikely.
7987 * intl/dcgettext.c: Switch to gettext copyright.
7988 Use ANSI definitions and prototypes.
7989 * intl/dcigettext.c: Switch to gettext copyright.
7990 Use ANSI definitions and prototypes.
7991 (INTDIV0_RAISES_SIGFPE): New define.
7992 Use gl_* locking primitives rather than __libc_* ones.
7993 Include eval-plural.h instead of plural-eval.c.
7994 Use __builtin_expect rather than __glibc_likely/unlikely.
7995 * intl/dcngettext.c: Switch to gettext copyright.
7996 Use ANSI definitions and prototypes.
7997 * intl/dgettext.c: Likewise.
7998 * intl/dngettext.c: Likewise.
7999 * intl/plural-eval.c: Renamed to...
8000 * intl/eval-plural.h: ...this.
8001 * intl/explodename.c: Switch to gettext copyright.
8002 Use ANSI definitions and prototypes.
8003 (_nl_explode_name): Use strchr instead of __rawmemchr.
8004 * intl/finddomain.c: Switch to gettext copyright.
8005 Use ANSI definitions and prototypes.
8006 Use gl_* locking primitives rather than __libc_* ones.
8007 (_nl_find_domain): Use malloc rather than alloca for
8008 allocation of temporary locale name.
8009 * intl/gettext.c: Switch to gettext copyright.
8010 Use ANSI definitions and prototypes.
8011 * intl/gettextP.h: Switch to gettext copyright.
8012 Use ANSI definitions and prototypes.
8013 Use gl_* locking primitives rather than __libc_* ones.
8014 * intl/gmo.h: Switch to gettext copyright.
8015 (struct sysdep_string): Move struct segment_pair outside of
8017 * intl/hash-string.c: Use ANSI definitions and prototypes.
8018 * intl/hash-string.h: Switch to gettext copyright.
8019 Use ANSI definitions and prototypes.
8020 * intl/l10nflist.c: Switch to gettext copyright.
8021 Use ANSI definitions and prototypes.
8022 (_nl_normalize_codeset): Avoid integer overflow.
8023 * intl/loadinfo.h: Switch to gettext copyright.
8024 Use ANSI definitions and prototypes.
8025 (LIBINTL_DLL_EXPORTED): New define.
8026 (PATH_SEPARATOR): New define.
8027 * intl/loadmsgcat.c: Switch to gettext copyright.
8028 * intl/localealias.c: Switch to gettext copyright.
8029 Use ANSI definitions and prototypes.
8030 (_nl_expand_alias): Use PATH_SEPARATOR.
8031 * intl/ngettext.c: Switch to gettext copyright.
8032 Use ANSI definitions and prototypes.
8033 * intl/plural-exp.c: Likewise.
8034 * intl/plural-exp.h: Switch to gettext copyright.
8035 Use ANSI definitions and prototypes.
8036 (struct expression): Move definition of enum operator outside
8037 of struct definition.
8038 * intl/plural.c: Regenerate.
8039 * intl/plural.y: Switch to gettext copyright.
8040 Use ANSI definitions and prototypes.
8042 * intl/textdomain.c: Switch to gettext copyright.
8043 Use ANSI definitions and prototypes.
8044 Use gl_* locking primitives rather than __libc_* ones.
8046 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8048 * debug/warning-nop.c: Add used atrribute.
8050 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8052 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8054 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8055 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8056 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8058 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8059 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8062 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8063 Undefine after defining function. Define as weak alias of
8064 __wcschr. Use libc_hidden_weak.
8065 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8066 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8067 (libc_hidden_def): Also define __GI___wcschr alias.
8068 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8069 __wcschr and define as weak alias of __wcschr.
8070 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8072 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8073 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8074 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8075 libc_hidden_weak. Do not use libc_hidden_def.
8076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8077 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8078 __GI___wcschr alias.
8079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8080 [IS_IN (libc)] (wcschr): Define as macro expanding to
8082 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8083 [IS_IN (libc)] (__wcschr_power6): Likewise.
8084 [IS_IN (libc)] (__wcschr_power7): Likewise.
8085 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8087 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8089 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8090 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8091 __wcschr and define as weak alias of __wcschr. Use
8092 libc_hidden_builtin_def.
8093 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8094 as weak alias of __wcschr. Use libc_hidden_weak.
8095 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8097 * time/era.c (_nl_init_era_entries): Likewise.
8098 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8100 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8101 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8103 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8105 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8106 format for long int variable.
8108 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8111 * manual/search.texi: (Array Sort Function): Remove claim how to make
8114 2014-12-10 Andreas Schwab <schwab@suse.de>
8117 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8118 user-controlled locks.
8120 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8122 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8125 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8127 * configure.ac (--disable-werror): New configure option.
8128 (enable_werror): New AC_SUBST.
8129 * configure: Regenerated.
8130 * config.make.in (enable-werror): New variable.
8131 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8133 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8134 * manual/install.texi (Configuring and compiling): Document
8136 * INSTALL: Regenerated.
8137 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8138 (CFLAGS-tst-chk2.c): Likewise.
8139 (CFLAGS-tst-chk3.c): Likewise.
8140 (CFLAGS-tst-chk4.cc): Likewise.
8141 (CFLAGS-tst-chk5.cc): Likewise.
8142 (CFLAGS-tst-chk6.cc): Likewise.
8143 (CFLAGS-tst-lfschk1.c): Likewise.
8144 (CFLAGS-tst-lfschk2.c): Likewise.
8145 (CFLAGS-tst-lfschk3.c): Likewise.
8146 (CFLAGS-tst-lfschk4.cc): Likewise.
8147 (CFLAGS-tst-lfschk5.cc): Likewise.
8148 (CFLAGS-tst-lfschk6.cc): Likewise.
8150 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8151 (main): Disable -Wdeprecated-declarations around calls to
8152 register_printf_function.
8154 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8155 (do_test): Disable -Wdiv-by-zero around some calls to
8156 fwrite_unlocked and fread_unlocked.
8158 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8159 (DIAG_POP_NEEDS_COMMENT): Likewise.
8160 (_DIAG_STR1): Likewise.
8161 (_DIAG_STR): Likewise.
8162 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8163 * stdio-common/bug21.c: Include <libc-internal.h>.
8164 (do_test): Disable -Wformat around call to sscanf.
8165 * stdio-common/scanf14.c: Include <libc-internal.h>.
8166 (main): Disable -Wformat around some calls to scanf functions.
8168 2014-12-09 Torvald Riegel <triegel@redhat.com>
8170 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8172 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8174 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8175 stack variable alignment.
8177 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8180 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8181 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8182 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8183 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8184 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8185 __getrlimit instead of getrlimit.
8186 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8187 __gettimeofday instead of gettimeofday.
8188 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8190 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8192 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8193 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8195 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8196 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8198 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8200 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8201 for wide-character tests.
8203 2014-12-04 Roland McGrath <roland@hack.frob.com>
8205 * io/openat64.c: #include <libc-internal.h>
8206 (__openat64): Prototypify. Use ignore_value on MODE.
8207 * io/openat.c: Likewise.
8208 * misc/reboot.c: #include <libc-internal.h>
8209 (reboot): Prototypify. Use ignore_value on HOWTO.
8210 * misc/ptrace.c: #include <libc-internal.h>
8211 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8213 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8215 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8216 XPG4, UNIX98 and XOPEN2K.
8217 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8219 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8221 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8223 * libio/fileops.c: Use ISO C style for function definitions.
8224 * libio/iofopen.c: Likewise.
8225 * libio/wfileops.c: Likewise.
8228 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8230 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8231 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8232 (fgets_func): Function pointer to fgets and fgetws.
8233 (do_ftell_test): Add test to verify ftell value after read
8235 (do_test): Set fgets_func.
8237 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8238 O_TRUNC flag for w and w+ modes.
8239 (do_rewind_test): Likewise.
8240 (do_ftell_test): Likewise.
8241 (do_write_test): Likewise.
8244 * libio/fileops.c (do_ftell): Seek only when there are
8246 * libio/wfileops.c (do_ftell_wide): Likewise.
8247 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8249 (do_one_test): Call it.
8251 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8253 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8254 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8255 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8257 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8258 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8259 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8261 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8263 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8265 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8268 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8269 as weak alias of __getifaddrs. Use libc_hidden_weak.
8270 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8271 __freeifaddrs. Use libc_hidden_weak.
8272 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8273 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8274 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8275 __freeifaddrs. Use libc_hidden_weak.
8276 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8277 __getifaddrs and define as weak alias of __getifaddrs. Use
8279 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8280 __freeifaddrs. Use libc_hidden_weak.
8281 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8283 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8284 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8286 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8289 * sysdeps/mips/start.S (__start): Use indirect jump to call
8292 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8294 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8296 * nptl/tst-mutex1.c: Include <stdbool.h>.
8297 [!ATTR] (ATTR_NULL): New macro.
8298 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8299 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8300 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8302 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8306 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8307 Change conditional to [__USE_MISC].
8310 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8312 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8314 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8316 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8318 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8319 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8320 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8321 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8322 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8323 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8324 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8325 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8326 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8328 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8330 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8333 Remove strpbrk objects.
8334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8335 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8336 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8337 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8338 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8339 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8341 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8342 Remove strcspn objects.
8343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8344 (__libc_ifunc_impl_list): Remove strcspn implementation.
8345 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8346 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8347 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8348 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8351 Remove strspn objetcs.
8352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8353 (__libc_ifunc_impl_list): Remove strspn implementation.
8354 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8355 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8356 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8357 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8359 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8363 (mem2mem_check): Add a terminator to the chain of checking blocks.
8364 (malloc_check_get_size): Use it here.
8365 (mem2chunk_check): Ditto.
8367 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8369 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8370 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8372 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8374 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8376 * nptl/nptl-init.c: Include libc-internal.h.
8377 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8379 * elf/ldconfig.c (search_dir): Expand comment.
8381 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8383 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8385 (linknamespace-symlist-stdlibs-tests): Likewise.
8386 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8387 instead of $(objpfx)symlist-stdlibs.
8388 (linknamespace-libs-isoc): New variable.
8389 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8390 (linknamespace-libs-ISO): New variable.
8391 (linknamespace-libs-ISO99): Likewise.
8392 (linknamespace-libs-ISO11): Likewise.
8393 (linknamespace-libs-XPG3): Likewise.
8394 (linknamespace-libs-XPG4): Likewise.
8395 (linknamespace-libs-POSIX): Likewise.
8396 (linknamespace-libs-UNIX98): Likewise.
8397 (linknamespace-libs-XOPEN2K): Likewise.
8398 (linknamespace-libs-POSIX2008): Likewise.
8399 (linknamespace-libs-XOPEN2K8): Likewise.
8400 ($(objpfx)symlist-stdlibs): Replace by
8401 $(linknamespace-symlist-stdlibs-tests). Use
8402 $(linknamespace-libs-$*) as set of libraries.
8403 ($(linknamespace-header-tests)): Update dependencies. Use
8404 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8405 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8406 * conform/linknamespace.pl: Remove comment about considering
8407 definitions of symbols from irrelevant libraries.
8409 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8412 * elf/dl-tls.c: Include <atomic.h>.
8413 (oom): Remove #ifdef SHARED/#endif.
8414 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8415 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8416 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8418 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8419 * nptl/Makefile (tests): Add tst-stack4.
8420 (modules-names): Add tst-stack4mod.
8421 ($(objpfx)tst-stack4): New.
8422 (tst-stack4mod.sos): Likewise.
8423 ($(objpfx)tst-stack4.out): Likewise.
8424 ($(tst-stack4mod.sos)): Likewise.
8426 * nptl/tst-stack4.c: New file.
8427 * nptl/tst-stack4mod.c: Likewise.
8429 2014-11-27 J. Brown <jb999@gmx.de>
8431 * sysdeps/x86/bits/string.h: Add recent CPUs.
8433 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8435 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8438 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8441 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8444 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8446 * nscd/connections.c: Include libc-internal.h because of macro
8449 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8451 * string/bits/string3.h (__warn_memset_zero_len): Don't
8452 declare for gcc newer than 5.0.
8453 (memset): Don't test for zero-length __LEN for gcc newer than
8456 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8458 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8459 size_t for %zu format.
8461 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8462 difference, not %ju.
8464 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8466 * include/libc-internal.h (ignore_value): New macro.
8467 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8470 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8473 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8474 pthread_cleanup_push to void *.
8476 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8481 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8482 instead of 1L << 52.
8484 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8485 * libio/bug-rewind2.c (do_test): Likewise.
8487 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8488 * debug/test-strcpy_chk-ifunc.c: Likewise.
8489 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8490 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8491 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8492 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8493 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8494 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8495 * Rules [$(multi-arch) = no] (tests): Do not filter out
8497 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8498 * debug/Makefile (tests-ifunc): Remove variable.
8499 (tests): Do not add $(tests-ifunc).
8500 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8501 (tests): Do not add $(tests-ifunc).
8502 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8503 [TEST_IFUNC]: Remove conditionals.
8504 * string/test-string.h (TEST_IFUNC): Remove macro.
8505 [TEST_IFUNC]: Remove conditionals.
8507 * string/test-strchr.c [!WIDE] (L): New macro.
8508 [WIDE] (L): Likewise.
8509 (check1): Use CHAR instead of char. Use L on string and character
8512 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8514 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8516 * sysdeps/powerpc/bits/atomic.h
8517 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8518 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8519 (atomic_exchange_and_add_acq): Likewise.
8520 (atomic_exchange_and_add_rel): Likewise.
8521 * sysdeps/powerpc/powerpc32/bits/atomic.h
8522 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8523 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8524 * sysdeps/powerpc/powerpc64/bits/atomic.h
8525 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8526 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8528 2014-11-26 Torvald Riegel <triegel@redhat.com>
8530 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8531 Change synchronization of __sched_fifo_min_prio and
8532 __sched_fifo_max_prio.
8533 * nptl/pthread_mutexattr_getprioceiling.c
8534 (pthread_mutexattr_getprioceiling): Likewise.
8535 * nptl/pthread_mutexattr_setprioceiling.c
8536 (pthread_mutexattr_setprioceiling): Likewise.
8537 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8538 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8541 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8543 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8546 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8548 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8549 third argument const.
8551 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8553 fnmatch: work around GCC compiler warning bug with uninit var
8554 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8555 This works around a bug with x86-64 GCC 4.9.2 and earlier
8556 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8557 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8558 used uninitialized in this function [-Wmaybe-uninitialized]".
8560 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8562 * posix/bug-regex31.c (main): Return RES not 0.
8564 2014-11-25 Anton Blanchard <anton@samba.org>
8566 * sysdeps/powerpc/bits/atomic.h
8567 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8569 2014-11-24 Sterling Augustine <saugustine@google.com>
8571 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8573 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8576 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8578 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8581 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8582 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8584 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8585 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8587 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8589 * string/strncpy.c (strncpy): Improve performance by using memset.
8591 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8593 * string/strcpy.c (strcpy):
8594 Improve performance by using strlen and memcpy.
8596 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8598 * string/strcoll_l.c (get_next_seq): __always_inline.
8599 * string/strcoll_l.c (do_compare): __always_inline.
8601 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8603 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8605 * include/mqueue.h: Likewise.
8606 * include/stdlib.h: Likewise.
8608 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8609 (get_null_defines): Adjust.
8610 * sunrpc/Makefile: Adjust comment.
8611 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8612 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8613 (CFLAGS-interp.c): Likewise.
8614 (CFLAGS-ldconfig.c): Likewise.
8615 (CPPFLAGS-.os): Likewise.
8616 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8617 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8618 * extra-modules.mk (extra-modules.mk): Likewise.
8619 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8620 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8621 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8622 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8623 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8624 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8625 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8626 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8627 * iconvdata/Makefile (CPPFLAGS): Likewise.
8628 (cpp-srcs-left): Add libof for all iconvdata routines.
8629 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8630 * include/assert.h: Likewise.
8631 * include/ctype.h: Likewise.
8632 * include/errno.h: Likewise.
8633 * include/libc-symbols.h: Likewise.
8634 * include/math.h: Likewise.
8635 * include/netdb.h: Likewise.
8636 * include/resolv.h: Likewise.
8637 * include/stdio.h: Likewise.
8638 * include/stdlib.h: Likewise.
8639 * include/string.h: Likewise.
8640 * include/sys/stat.h: Likewise.
8641 * include/wctype.h: Likewise.
8642 * intl/l10nflist.c: Likewise.
8643 * libidn/idn-stub.c: Likewise.
8644 * libio/libioP.h: Likewise.
8645 * nptl/libc_multiple_threads.c: Likewise.
8646 * nptl/pthreadP.h: Likewise.
8647 * posix/regex_internal.h: Likewise.
8648 * resolv/res_hconf.c: Likewise.
8649 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8650 * sysdeps/arm/memmove.S: Likewise.
8651 * sysdeps/arm/sysdep.h: Likewise.
8652 * sysdeps/generic/_itoa.h: Likewise.
8653 * sysdeps/generic/symbol-hacks.h: Likewise.
8654 * sysdeps/gnu/errlist.awk: Likewise.
8655 * sysdeps/gnu/errlist.c: Likewise.
8656 * sysdeps/i386/i586/memcpy.S: Likewise.
8657 * sysdeps/i386/i586/memset.S: Likewise.
8658 * sysdeps/i386/i686/memcpy.S: Likewise.
8659 * sysdeps/i386/i686/memmove.S: Likewise.
8660 * sysdeps/i386/i686/mempcpy.S: Likewise.
8661 * sysdeps/i386/i686/memset.S: Likewise.
8662 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8663 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8664 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8665 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8666 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8667 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8668 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8669 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8670 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8671 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8672 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8673 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8674 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8675 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8676 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8677 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8678 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8679 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8680 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8681 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8682 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8709 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8714 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8717 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8720 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8723 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8724 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8725 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8726 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8727 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8728 * sysdeps/posix/closedir.c: Likewise.
8729 * sysdeps/posix/opendir.c: Likewise.
8730 * sysdeps/posix/readdir.c: Likewise.
8731 * sysdeps/posix/rewinddir.c: Likewise.
8732 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8733 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8734 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8735 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8736 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8737 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8740 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8742 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8744 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8746 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8747 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8749 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8755 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8757 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8759 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8769 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8771 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8772 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8773 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8774 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8776 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8777 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8778 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8779 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8780 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8781 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8782 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8783 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8785 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8788 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8789 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8790 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8791 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8793 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8794 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8795 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8796 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8797 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8798 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8799 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8801 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8802 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8803 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8804 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8805 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8806 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8807 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8808 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8809 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8810 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8811 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8812 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8813 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8814 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8815 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8816 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8817 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8818 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8819 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8820 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8821 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8822 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8823 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8824 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8825 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8828 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8830 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8831 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8833 * sysdeps/unix/alpha/sysdep.S: Likewise.
8834 * sysdeps/unix/alpha/sysdep.h: Likewise.
8835 * sysdeps/unix/make-syscalls.sh: Likewise.
8836 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8838 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8839 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8840 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8841 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8842 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8843 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8844 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8845 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8846 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8847 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8848 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8849 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8850 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8851 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8852 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8853 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8854 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8855 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8856 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8857 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8858 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8859 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8860 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8861 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8862 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8865 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8866 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8870 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8874 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8875 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8876 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8877 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8878 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8879 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8880 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8883 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8886 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8887 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8888 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8889 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8890 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8891 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8892 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8894 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8895 * sysdeps/x86_64/memcpy.S: Likewise.
8896 * sysdeps/x86_64/memmove.c: Likewise.
8897 * sysdeps/x86_64/memset.S: Likewise.
8898 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8899 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8900 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8901 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8902 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8903 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8905 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8906 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8907 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8908 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8909 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8910 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8911 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8912 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8913 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8914 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8915 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8917 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8918 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8919 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8922 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8923 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8924 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8925 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8926 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8927 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8928 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8929 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8930 * sysdeps/x86_64/strcmp.S: Likewise.
8932 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8934 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8935 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8936 * elf/rtld-Rules: Likewise.
8937 * elf/setup-vdso.h: Likewise.
8938 * include/assert.h: Likewise.
8939 * include/bits/stdlib-float.h: Likewise.
8940 * include/errno.h: Likewise.
8941 * include/sys/stat.h: Likewise.
8942 * include/unistd.h: Likewise.
8943 * sysdeps/aarch64/setjmp.S: Likewise.
8944 * sysdeps/alpha/setjmp.S: Likewise.
8945 * sysdeps/arm/__longjmp.S: Likewise.
8946 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8947 * sysdeps/arm/setjmp.S: Likewise.
8948 * sysdeps/arm/sysdep.h: Likewise.
8949 * sysdeps/generic/_itoa.h: Likewise.
8950 * sysdeps/generic/dl-sysdep.h: Likewise.
8951 * sysdeps/generic/ldsodefs.h: Likewise.
8952 * sysdeps/i386/dl-tls.h: Likewise.
8953 * sysdeps/i386/setjmp.S: Likewise.
8954 * sysdeps/m68k/setjmp.c: Likewise.
8955 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8956 * sysdeps/mach/hurd/opendir.c: Likewise.
8957 * sysdeps/posix/getcwd.c: Likewise.
8958 * sysdeps/posix/opendir.c: Likewise.
8959 * sysdeps/posix/profil.c: Likewise.
8960 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8961 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8962 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8963 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8964 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8965 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8966 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8967 * sysdeps/s390/dl-tls.h: Likewise.
8968 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8969 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8970 * sysdeps/sh/sh3/setjmp.S: Likewise.
8971 * sysdeps/sh/sh4/setjmp.S: Likewise.
8972 * sysdeps/unix/alpha/sysdep.h: Likewise.
8973 * sysdeps/unix/arm/sysdep.S: Likewise.
8974 * sysdeps/unix/i386/sysdep.S: Likewise.
8975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8976 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8977 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8978 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8979 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8980 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8981 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8982 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8983 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8984 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8985 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8986 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8987 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8990 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8993 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8994 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8995 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8998 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8999 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9000 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9002 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9003 * sysdeps/x86_64/setjmp.S: Likewise.
9005 * include/math.h: Use IS_IN instead of IS_IN_libm.
9006 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9018 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9026 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9027 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9028 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9029 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9030 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9031 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9033 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9034 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9035 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9036 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9037 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9038 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9049 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9050 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9051 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9052 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9053 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9060 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9061 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9062 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9063 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9065 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9066 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9067 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9068 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9069 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9070 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9071 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9072 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9073 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9075 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9077 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9078 * nptl/pthreadP.h: Likewise.
9079 * nptl_db/structs.def: Likewise.
9080 * sysdeps/arm/sysdep.h: Likewise.
9081 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9082 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9083 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9084 * sysdeps/unix/alpha/sysdep.h: Likewise.
9085 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9086 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9087 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9088 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9089 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9090 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9091 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9092 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9093 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9094 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9095 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9096 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9097 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9098 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9103 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9106 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9107 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9108 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9109 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9112 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9113 * nptl/pthreadP.h: Likewise.
9114 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9115 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9116 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9117 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9118 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9119 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9120 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9121 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9122 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9123 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9124 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9125 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9132 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9135 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9136 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9137 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9139 * dlfcn/dladdr.c: Use IS_IN.
9140 * dlfcn/dladdr1.c: Likewise.
9141 * dlfcn/dlclose.c: Likewise.
9142 * dlfcn/dlerror.c: Likewise.
9143 * dlfcn/dlinfo.c: Likewise.
9144 * dlfcn/dlmopen.c: Likewise.
9145 * dlfcn/dlopen.c: Likewise.
9146 * dlfcn/dlsym.c: Likewise.
9147 * dlfcn/dlvsym.c: Likewise.
9149 * include/ifaddrs.h: Use IS_IN.
9150 * inet/check_pf.c: Likewise.
9151 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9152 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9154 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9156 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9157 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9159 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9160 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9163 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9165 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9166 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9167 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9168 * include/libc-symbols.h (IS_IN_LIB): New macro.
9169 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9170 * include/netdb.h: Likewise.
9171 * include/stap-probe.h: Remove all uses of IN_LIB.
9173 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9174 instead of IN_MODULE.
9175 * include/libc-symbols.h (IN_MODULE): Define using
9177 (PASTE_NAME, PASTE_NAME1): New macros.
9178 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9180 (STAP_PROBE_ASM): Likewise.
9182 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9184 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9185 __mach_init in dlopened libc.
9187 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9189 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9190 * sysdeps/arm/preconfigure: Regenerate.
9192 2014-11-21 Roland McGrath <roland@hack.frob.com>
9194 * nptl/pthread_create.c (__pthread_create_2_1): Set
9195 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9196 when copying values from IATTR into PD.
9198 2014-11-21 Will Newton <will.newton@linaro.org>
9199 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9201 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9202 Refactor inline-asm. Also add comment.
9204 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9205 ElfW macro instead of hardcoded Elf64 types.
9206 (la_aarch64_gnu_pltenter): Likewise.
9207 * sysdeps/aarch64/dl-machine.h
9208 (elf_machine_runtime_setup): Use ElfW(Addr).
9210 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9211 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9212 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9213 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9214 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9215 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9216 (R_AARCH64_TLS_DTPMOD): This.
9217 (R_AARCH64_TLS_DTPREL64): Rename to ...
9218 (R_AARCH64_TLS_DTPREL): This.
9219 (R_AARCH64_TLS_TPREL64): Rename to ...
9220 (R_AARCH64_TLS_TPREL): This.
9221 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9222 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9223 R_AARCH64_TLS_TPREL64.
9224 (elf_machine_rela): Likewise.
9226 2014-11-21 Torvald Riegel <triegel@redhat.com>
9228 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9229 by setting it to 0. 64b atomics are not supported currently.
9231 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9234 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9235 search domain names.
9237 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9241 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9243 * posix/tst-getaddrinfo5.c: New.
9244 * posix/Makefile (tests): Add it.
9246 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9250 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9251 after parsing line but before break_if_match.
9252 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9253 if there is a protocol mismatch.
9255 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9257 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9258 because the potential race is on the user-supplied stream.
9260 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9262 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9263 string literal if not passed a buffer.
9264 * manual/job.texi (ctermid): Update reasoning, note deviation
9265 from posix, suggest mtasurace when not passed a buffer, for
9266 future non-preliminary safety notes.
9268 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9270 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9271 of not passing it a buffer.
9272 Reported by Peng Haitao.
9274 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9276 * manual/Makefile ($(objpfx)stamp-summary): Require
9277 check-safety.sh to pass.
9278 * manual/check-safety.sh: Wish for verification that every
9279 @deftypefn and @deftypefun is followed by a @safety remark.
9281 2014-11-20 Roland McGrath <roland@hack.frob.com>
9283 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9285 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9286 PTHREAD_CANCEL_ASYNCHRONOUS.
9287 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9290 * nptl/default-sched.h: New file.
9291 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9292 * nptl/pthread_create.c: Include it.
9293 (__pthread_create_2_1): Use collect_default_sched instead of making
9294 Linux syscalls here directly.
9296 2014-11-20 Torvald Riegel <triegel@redhat.com>
9298 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9299 __pthread_once): Use C11 atomics.
9301 2014-11-20 Torvald Riegel <triegel@redhat.com>
9303 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9305 2014-11-20 Torvald Riegel <triegel@redhat.com>
9307 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9308 atomic_thread_fence_acquire, atomic_thread_fence_release,
9309 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9310 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9311 atomic_compare_exchange_weak_relaxed,
9312 atomic_compare_exchange_weak_acquire,
9313 atomic_compare_exchange_weak_release,
9314 atomic_exchange_acquire, atomic_exchange_release,
9315 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9316 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9317 atomic_fetch_and_acquire,
9318 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9320 2014-11-20 Torvald Riegel <triegel@redhat.com>
9322 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9323 USE_ATOMIC_COMPILER_BUILTINS): Define.
9324 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9325 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9326 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9327 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9328 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9329 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9330 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9331 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9332 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9333 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9334 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9335 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9336 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9337 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9338 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9339 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9340 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9341 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9342 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9343 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9344 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9345 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9346 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9347 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9348 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9349 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9350 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9351 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9352 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9353 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9354 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9355 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9356 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9357 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9358 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9359 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9360 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9361 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9362 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9363 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9365 2014-11-19 Roland McGrath <roland@hack.frob.com>
9367 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9368 the sched_priority value here. It was already checked when the user
9369 called pthread_attr_setschedparam.
9371 * nptl/tst-bad-schedattr.c: New file.
9372 * nptl/Makefile (tests): Add it.
9374 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9375 Florian Weimer <fweimer@redhat.com>
9376 Joseph Myers <joseph@codesourcery.com>
9377 Adam Conrad <adconrad@0c3.net>
9378 Andreas Schwab <schwab@suse.de>
9379 Brooks <bmoses@google.com>
9382 * wordexp-test.c (__dso_handle): Add prototype.
9383 (__register_atfork): Likewise.
9384 (__app_register_atfork): New function.
9385 (registered_forks): New global.
9386 (register_fork): New function.
9387 (test_case): Add 3 new tests for WRDE_CMDSUB.
9388 (main): Call __app_register_atfork.
9389 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9390 fork count is non-zero fail the test.
9391 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9393 (parse_dollars): Remove check for WRDE_NOCMD.
9394 (parse_dquote): Likewise.
9396 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9398 * Makeconfig (built-modules): List non-library modules to be
9400 (module-cppflags): Include libc-modules.h for
9401 everything except shlib-versions.v.i.
9403 (before-compile): Add libc-modules.h.
9404 ($(common-objpfx)libc-modules.h,
9405 $(common-objpfx)libc-modules.stmp): New targets.
9406 (common-generated): Add libc-modules.h and libc-modules.stmp.
9407 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9408 * include/libc-symbols.h: Don't include libc-modules.h.
9409 * include/libc-modules.h: Remove file.
9410 * scripts/gen-libc-modules.awk: New script to generate
9412 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9413 Depend on libc-modules.stmp.
9415 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9417 * Makeconfig (in-module): Get value of libof set for the
9419 (CPPFLAGS): Use $(in-module).
9420 * Makerules: Don't suffix routine names for nonlib.
9421 * include/libc-modules.h: New file.
9422 * include/libc-symbols.h: Include libc-modules.h
9423 (IS_IN): New macro to replace IS_IN_* macros.
9424 * elf/Makefile: Set libof-* for each routine.
9425 * elf/rtld-Rules: Likewise.
9426 * extra-modules.mk: Likewise.
9427 * iconv/Makefile: Likewise.
9428 * iconvdata/Makefile: Likewise.
9429 * locale/Makefile: Likewise.
9430 * malloc/Makefile: Likewise.
9431 * nss/Makefile: Likewise.
9432 * sysdeps/gnu/Makefile: Likewise.
9433 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9434 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9435 * sysdeps/s390/s390-64/Makefile: Likewise.
9436 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9437 CPPFLAGS for nscd instead of nonlib.
9439 2014-11-18 Roland McGrath <roland@hack.frob.com>
9441 * nptl/createthread.c: New file.
9443 * nptl/createthread.c: Moved ...
9444 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9446 * nptl/createthread.c: Add proper top-line comment.
9447 (do_clone): Folded into ...
9448 (create_thread): ... here. Take new arguments STOPPED_START and
9449 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9450 increment __nptl_threads, do event-reporting logic, do
9451 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9452 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9453 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9454 just send SIGCANCEL.
9455 * nptl/pthread_create.c: Forward-declare create_thread before
9456 including createthread.c.
9457 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9458 declaration, and new macro START_THREAD_SELF to replace argument.
9459 Remove return statement.
9460 (report_thread_creation): New function.
9461 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9462 synchronization logic, and __nptl_nthreads increment here, around
9463 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9464 PD->parent_cancelhandling here, before create_thread. When
9465 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9466 __deallocate_stack, and ENOMEM translation here.
9468 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9471 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9472 (mptwo): Rename to __mptwo.
9473 (__inv): Use __mptwo instead of mptwo.
9474 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9475 (mptwo): Rename to __mptwo.
9476 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9477 of mpone and __mptwo instead of mptwo.
9478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9481 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9482 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9483 of mpone and __mptwo instead of mptwo.
9484 (__mpranred): Use __mpone instead of mpone.
9485 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9487 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9488 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9489 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9490 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9491 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9492 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9493 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9494 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9495 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9496 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9497 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9498 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9499 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9500 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9501 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9502 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9503 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9504 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9505 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9507 2014-11-18 Tom de Vries <tom@codesoucery.com>
9509 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9510 replace BSD Handler xref with BSD Signal Handling.
9512 2014-11-17 Richard Henderson <rth@redhat.com>
9514 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9515 (_FP_PACK_RAW_2): Remove.
9516 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9517 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9518 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9519 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9520 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9521 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9522 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9523 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9524 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9525 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9526 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9527 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9528 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9529 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9530 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9531 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9533 2014-11-14 Roland McGrath <roland@hack.frob.com>
9535 * signal/signal.h [__USE_MISC]
9536 (struct sigvec): Remove type.
9537 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9538 (sigvec): Remove declaration.
9539 * sysdeps/posix/sigvec.c: Moved ...
9540 * signal/sigvec.c: ... here, replacing old file.
9541 (struct sigvec): New type, copied from old signal.h definition.
9542 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9543 (__sigvec): Convert definition to prototype.
9544 (sigvec): Replace weak_alias with compat_symbol.
9545 * signal/Versions (libc: GLIBC_2.21): New version set.
9546 * include/signal.h: Remove __sigvec declaration.
9547 * sysdeps/unix/bsd/sigvec.c: Remove file.
9548 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9549 * manual/signal.texi (BSD Handler): Remove subsection.
9550 Move siginterrupt up to ...
9551 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9552 (Blocking in BSD): Fold subsection into its parent.
9553 * NEWS: Mention sigvec removal.
9555 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9557 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9558 (DLA_FMS): Make definition conditional only on [__FMA4__].
9559 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9562 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9563 Make definition conditional only on [PROF].
9564 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9566 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9567 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9569 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9571 * include/signal.h (__sigpause): Move declaration above call to
9573 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9575 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9576 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9578 2014-11-14 David S. Miller <davem@davemloft.net>
9580 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9581 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9583 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9585 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9586 * configure: Regenerated.
9587 * manual/install.texi (Tools for Compilation): Document a
9588 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9589 compiler verified to work.
9590 * INSTALL: Regenerated.
9592 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9593 redeclare with asm name.
9594 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9595 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9596 including <string.h>.
9597 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9598 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9599 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9600 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9601 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9602 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9603 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9605 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9607 * stdlib/strtol.c (__strtol): Use prototype definition.
9610 * stdlib/strtol.c (SYM__): New macro.
9612 (__strtol): Likewise.
9613 (strtol): Rename to __strtol and define as weak alias of
9614 __strtol. Use libc_hidden_weak.
9616 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9618 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9619 Use numbered labels in inline assembly.
9621 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9623 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9624 Add setjmp LIBC_PROBE.
9625 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9627 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9628 Add longjmp, longjmp_target LIBC_PROBE.
9629 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9632 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9634 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9635 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9636 to get rid of unused variable warning.
9638 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9640 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9641 Check for unwind_backtrace == NULL only in SHARED case.
9642 (__backchain_backtrace): Compile only in SHARED case.
9643 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9645 (__backchain_backtrace): Declare as static.
9647 2014-11-12 Roland McGrath <roland@hack.frob.com>
9649 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9650 (__libc_multiple_threads_ptr): Variable moved ...
9651 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9653 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9655 * conform/GlibcConform.pm: New file.
9656 * conform/conformtest.pl: Use GlibcConform module.
9657 * conform/linknamespace.pl: New file.
9658 * conform/list-header-symbols.pl: Likewise.
9659 * conform/Makefile (linknamespace-symlists-base): New variable.
9660 (linknamespace-symlists-tests): Likewise.
9661 (linknamespace-header-base): Likewise.
9662 (linknamespace-header-tests): Likewise.
9663 (tests-special): Add new tests.
9664 ($(linknamespace-symlists-tests)): New rule.
9665 (linknamespace-libs): New variable.
9666 ($(objpfx)symlist-stdlibs): New rule.
9667 ($(linknamespace-header-tests)): Likewise.
9668 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9669 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9670 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9671 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9672 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9673 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9674 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9675 (test-xfail-ISO/math.h/linknamespace): Likewise.
9676 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9677 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9678 (test-xfail-ISO/time.h/linknamespace): Likewise.
9679 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9680 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9681 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9682 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9683 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9684 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9685 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9686 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9687 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9688 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9689 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9690 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9691 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9692 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9693 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9694 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9695 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9696 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9697 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9698 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9699 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9700 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9701 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9702 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9703 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9704 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9705 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9706 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9707 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9708 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9709 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9710 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9711 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9712 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9713 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9714 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9715 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9716 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9717 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9718 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9719 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9720 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9721 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9722 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9723 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9724 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9725 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9726 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9727 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9728 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9729 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9730 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9731 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9732 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9733 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9734 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9735 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9736 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9737 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9738 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9739 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9740 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9741 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9742 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9743 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9744 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9745 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9746 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9747 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9748 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9749 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9750 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9751 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9752 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9753 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9754 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9755 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9756 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9757 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9758 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9759 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9760 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9761 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9762 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9763 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9764 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9765 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9766 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9767 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9768 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9769 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9770 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9771 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9772 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9773 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9774 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9775 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9776 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9777 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9778 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9779 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9780 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9781 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9782 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9783 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9784 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9785 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9786 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9787 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9788 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9789 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9790 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9791 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9792 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9793 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9794 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9795 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9796 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9797 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9798 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9799 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9800 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9801 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9802 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9803 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9804 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9805 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9806 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9807 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9808 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9809 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9810 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9811 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9812 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9813 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9814 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9815 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9816 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9817 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9818 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9819 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9820 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9821 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9822 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9823 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9824 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9825 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9826 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9827 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9828 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9831 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9835 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9836 (memmem): Rename to __memmem and define as weak alias of
9837 __memmem. Use libc_hidden_weak.
9838 (__memmem): Use libc_hidden_def.
9839 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9840 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9844 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9845 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9846 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9847 and define as weak alias of __fgets_unlocked. Use
9849 (__fgets_unlocked): Use libc_hidden_def.
9850 * include/stdio.h (__fgets_unlocked): Declare. Use
9852 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9853 __fgets_unlocked instead of fgets_unlocked.
9854 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9855 (GET_NPROCS_CONF_PARSER): Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9857 (GET_NPROCS_CONF_PARSER): Likewise.
9860 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9861 weak alias of __wmemset. Use libc_hidden_weak.
9862 (__wmemset): Use libc_hidden_def.
9863 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9864 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9868 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9869 with asm name __mempcpy.
9870 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9873 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9874 and define as weak alias of __rawmemchr.
9875 (__rawmemchr): Do not define as strong alias of rawmemchr.
9878 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9880 (qsort): Call __qsort_r instead of qsort_r.
9881 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9882 (__qsort_r): Declare. Call libc_hidden_proto.
9883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9885 * nscd/gai.c (__qsort_r): Define to qsort_r.
9886 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9887 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9888 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9891 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9892 define as weak alias of __malloc_info.
9895 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9896 as weak alias of __rewinddir. Don't use libc_hidden_def.
9897 (__rewinddir): Use libc_hidden_def.
9898 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9899 as weak alias of __rewinddir. Don't use libc_hidden_def.
9900 (__rewinddir): Use libc_hidden_def.
9901 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9902 weak alias of __rewinddir. Don't use libc_hidden_def.
9903 (__rewinddir): Use libc_hidden_def.
9904 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9905 (__rewinddir): Use libc_hidden_proto.
9906 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9908 (__getcwd): Use __rewinddir instead of rewinddir.
9911 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9912 alias of __fileno. Use libc_hidden_weak.
9913 (__fileno): Use libc_hidden_def.
9914 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9915 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9917 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9919 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9920 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9922 (fread_unlocked): Don't use libc_hidden_ver.
9923 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9924 and define as weak alias of __fread_unlocked. Don't use
9926 (__fread_unlocked): Use libc_hidden_def.
9927 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9928 (ftello): Don't use libc_hidden_proto.
9929 (__ftello): Declare. Use libc_hidden_proto.
9930 (fread_unlocked): Don't use libc_hidden_proto.
9931 (__fread_unlocked): Declare. Use libc_hidden_proto.
9932 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9933 and __ftello instead of fileno, fread_unlocked and ftello.
9935 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9937 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9941 (_dl_start_user): Likewise.
9942 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9944 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9945 Siddhesh Poyarekar <siddhesh@redhat.com>
9947 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9948 Move argv and envp down instead of moving argc up.
9949 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9951 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9954 * test-skeleton.c (main): Return successful if one of
9955 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9956 * string/tst-strcoll-overflow.c: Define expected status.
9958 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9961 * locale/iso-639.def: Define Bhili and Tulu language codes.
9963 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9965 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9967 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9970 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9972 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9974 * configure.ac: Updated check of minimal required version to
9976 * manual/install.texi (Tools for Compilation): Updated version
9978 * configure: Regenerated.
9979 * INSTALL: Likewise.
9981 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9983 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9986 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9988 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9989 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9990 (__waitpid): Don't define as alias. Use libc_hidden_def not
9992 (waitpid): Define as alias of __waitpid.
9993 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9995 (__waitpid): Don't define as alias. Use libc_hidden_def not
9997 (waitpid): Define as alias of __waitpid.
9998 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9999 __libc_waitpid alias.
10000 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10001 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10003 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10004 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10005 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10007 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10009 (__waitpid): Don't define as alias. Use libc_hidden_def not
10011 (waitpid): Define as alias of __waitpid.
10013 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10015 * manual/llio.texi: Add comment that write safety has been
10018 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10019 (localplt-build-dso): Add elf/ld.so.
10020 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10021 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10022 and free for ld.so.
10023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10024 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10029 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10030 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10031 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10032 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10033 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10034 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10035 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10036 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10037 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10038 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10041 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10044 * include/libc-symbols.h (INTUSE): Remove macro.
10045 (INTDEF): Likewise.
10046 (INTVARDEF): Likewise.
10047 (_INTVARDEF): Likewise.
10048 (INTDEF2): Likewise.
10049 (INTVARDEF2): Likewise.
10050 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10051 rtld_hidden_def instead of INTVARDEF.
10052 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10053 (_dl_starting_up_internal): Remove declaration.
10054 (_dl_starting_up): Use rtld_hidden_proto.
10055 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10057 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10058 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10060 * elf/dl-writev.h (_dl_writev): Likewise.
10061 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10062 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10063 _dl_starting_up_internal.
10065 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10067 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10070 2014-11-05 Will Newton <will.newton@linaro.org>
10072 * benchtests/Makefile: (bench-malloc): Add malloc thread
10073 scalability benchmark.
10074 * benchtests/bench-malloc-threads.c: New file.
10076 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10078 * sysdeps/aarch64/strchrnul.S: New file.
10080 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10082 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10084 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10086 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10090 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10092 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10095 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10097 * catgets/test-gencat.c: Use test-skeleton.c.
10098 * catgets/tst-catgets.c: Likewise.
10099 * csu/tst-empty.c: Likewise.
10100 * elf/tst-audit2.c: Likewise.
10101 * elf/tst-global1.c: Likewise.
10102 * elf/tst-pathopt.c: Likewise.
10103 * elf/tst-piemod1.c: Likewise.
10104 * elf/tst-tls10.c: Likewise.
10105 * elf/tst-tls11.c: Likewise.
10106 * elf/tst-tls12.c: Likewise.
10107 * gnulib/tst-gcc.c: Likewise.
10108 * iconvdata/tst-e2big.c: Likewise.
10109 * iconvdata/tst-loading.c: Likewise.
10110 * iconv/tst-iconv1.c: Likewise.
10111 * iconv/tst-iconv2.c: Likewise.
10112 * inet/test-inet6_opt.c: Likewise.
10113 * inet/tst-gethnm.c: Likewise.
10114 * inet/tst-network.c: Likewise.
10115 * inet/tst-ntoa.c: Likewise.
10116 * intl/tst-codeset.c: Likewise.
10117 * intl/tst-gettext2.c: Likewise.
10118 * intl/tst-gettext3.c: Likewise.
10119 * intl/tst-ngettext.c: Likewise.
10120 * intl/tst-translit.c: Likewise.
10121 * io/test-stat.c: Likewise.
10122 * libio/test-fmemopen.c: Likewise.
10123 * libio/tst-freopen.c: Likewise.
10124 * libio/tst-sscanf.c: Likewise.
10125 * libio/tst-ungetwc1.c: Likewise.
10126 * libio/tst-ungetwc2.c: Likewise.
10127 * libio/tst-widetext.c: Likewise.
10128 * localedata/tst-ctype.c: Likewise.
10129 * localedata/tst-digits.c: Likewise.
10130 * localedata/tst-leaks.c: Likewise.
10131 * localedata/tst-mbswcs1.c: Likewise.
10132 * localedata/tst-mbswcs2.c: Likewise.
10133 * localedata/tst-mbswcs3.c: Likewise.
10134 * localedata/tst-mbswcs4.c: Likewise.
10135 * localedata/tst-mbswcs5.c: Likewise.
10136 * localedata/tst-setlocale.c: Likewise.
10137 * localedata/tst-trans.c: Likewise.
10138 * localedata/tst-wctype.c: Likewise.
10139 * localedata/tst-xlocale1.c: Likewise.
10140 * login/tst-grantpt.c: Likewise.
10141 * malloc/tst-calloc.c: Likewise.
10142 * malloc/tst-malloc.c: Likewise.
10143 * malloc/tst-mallocstate.c: Likewise.
10144 * malloc/tst-mcheck.c: Likewise.
10145 * malloc/tst-mtrace.c: Likewise.
10146 * malloc/tst-obstack.c: Likewise.
10147 * math/atest-exp2.c: Likewise.
10148 * math/atest-exp.c: Likewise.
10149 * math/atest-sincos.c: Likewise.
10150 * math/test-matherr.c: Likewise.
10151 * math/test-misc.c: Likewise.
10152 * math/test-powl.c: Likewise.
10153 * math/tst-definitions.c: Likewise.
10154 * misc/tst-dirname.c: Likewise.
10155 * misc/tst-efgcvt.c: Likewise.
10156 * misc/tst-fdset.c: Likewise.
10157 * misc/tst-hsearch.c: Likewise.
10158 * misc/tst-mntent2.c: Likewise.
10159 * nptl/tst-sem7.c: Likewise.
10160 * nptl/tst-sem8.c: Likewise.
10161 * nptl/tst-sem9.c: Likewise.
10162 * nss/test-netdb.c: Likewise.
10163 * posix/tst-fnmatch.c: Likewise.
10164 * posix/tst-getlogin.c: Likewise.
10165 * posix/tst-gnuglob.c: Likewise.
10166 * posix/tst-mmap.c: Likewise.
10167 * pwd/tst-getpw.c: Likewise.
10168 * resolv/tst-inet_ntop.c: Likewise.
10169 * rt/tst-timer.c: Likewise.
10170 * stdio-common/test-fseek.c: Likewise.
10171 * stdio-common/test-popen.c: Likewise.
10172 * stdio-common/test-vfprintf.c: Likewise.
10173 * stdio-common/tst-cookie.c: Likewise.
10174 * stdio-common/tst-fileno.c: Likewise.
10175 * stdio-common/tst-gets.c: Likewise.
10176 * stdio-common/tst-obprintf.c: Likewise.
10177 * stdio-common/tst-perror.c: Likewise.
10178 * stdio-common/tst-sprintf2.c: Likewise.
10179 * stdio-common/tst-sprintf3.c: Likewise.
10180 * stdio-common/tst-sprintf.c: Likewise.
10181 * stdio-common/tst-swprintf.c: Likewise.
10182 * stdio-common/tst-tmpnam.c: Likewise.
10183 * stdio-common/tst-unbputc.c: Likewise.
10184 * stdio-common/tst-wc-printf.c: Likewise.
10185 * stdlib/tst-environ.c: Likewise.
10186 * stdlib/tst-fmtmsg.c: Likewise.
10187 * stdlib/tst-limits.c: Likewise.
10188 * stdlib/tst-rand48-2.c: Likewise.
10189 * stdlib/tst-rand48.c: Likewise.
10190 * stdlib/tst-random2.c: Likewise.
10191 * stdlib/tst-random.c: Likewise.
10192 * stdlib/tst-strtol.c: Likewise.
10193 * stdlib/tst-strtoll.c: Likewise.
10194 * stdlib/tst-tls-atexit.c: Likewise.
10195 * stdlib/tst-xpg-basename.c: Likewise.
10196 * string/test-ffs.c: Likewise.
10197 * string/tst-bswap.c: Likewise.
10198 * string/tst-inlcall.c: Likewise.
10199 * string/tst-strtok.c: Likewise.
10200 * string/tst-strxfrm.c: Likewise.
10201 * sysdeps/x86_64/tst-audit10.c: Likewise.
10202 * sysdeps/x86_64/tst-audit3.c: Likewise.
10203 * sysdeps/x86_64/tst-audit4.c: Likewise.
10204 * sysdeps/x86_64/tst-audit5.c: Likewise.
10205 * time/tst-ftime_l.c: Likewise.
10206 * time/tst-getdate.c: Likewise.
10207 * time/tst-mktime3.c: Likewise.
10208 * time/tst-mktime.c: Likewise.
10209 * time/tst-posixtz.c: Likewise.
10210 * time/tst-strptime2.c: Likewise.
10211 * time/tst-strptime3.c: Likewise.
10212 * wcsmbs/tst-btowc.c: Likewise.
10213 * wcsmbs/tst-mbrtowc.c: Likewise.
10214 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10215 * wcsmbs/tst-wchar-h.c: Likewise.
10216 * wcsmbs/tst-wcpncpy.c: Likewise.
10217 * wcsmbs/tst-wcrtomb.c: Likewise.
10218 * wcsmbs/tst-wcsnlen.c: Likewise.
10219 * wcsmbs/tst-wcstof.c: Likewise.
10221 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10224 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10226 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10228 (_dl_mcount): Use rtld_hidden_proto.
10229 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10231 * elf/rtld.c (_rtld_global_ro): Likewise.
10234 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10235 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10236 of _dl_init_internal.
10237 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10238 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10239 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10240 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10241 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10242 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10243 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10244 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10245 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10246 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10247 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10248 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10249 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10250 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10251 * sysdeps/tile/dl-start.S (_start): Likewise.
10252 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10253 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10256 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10257 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10258 (rtld_progname): Make macro definition unconditional.
10259 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10261 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10262 (dl_main): Likewise.
10263 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10264 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10265 instead of _dl_argv_internal.
10266 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10267 __GI__dl_argv instead of INTUSE(_dl_argv).
10268 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10269 __GI__dl_argv instead of _dl_argv_internal.
10271 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10272 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10274 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10275 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10277 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10278 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10280 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10281 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10283 2014-11-04 Andreas Schwab <schwab@suse.de>
10285 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10287 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10290 mtvsrd instruction in binary form.
10292 2014-11-03 Andreas Schwab <schwab@suse.de>
10295 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10296 for less than MB_LEN_MAX use a local buffer of that size.
10297 * libio/tst-fputws.c: New file.
10298 * libio/Makefile (tests): Add tst-fputws.
10300 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10302 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10303 the size of the fpu_fr.fpu_dregs[] array.
10305 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10307 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10308 (__nanosleep): Do not define as alias.
10309 (nanosleep): Define as alias of __nanosleep.
10310 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10311 __libc_nanosleep name.
10313 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10315 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10316 install.texi in comment.
10318 2014-10-31 Torvald Riegel <triegel@redhat.com>
10320 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10321 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10322 ... add here and use lwsync or sync ...
10323 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10324 ... and add here using lwsync.
10326 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10328 * elf/dl-machine-reject-phdr.h: New file.
10329 * elf/dl-load.c: #include that.
10330 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10331 if that returned true.
10333 2014-10-31 Roland McGrath <roland@hack.frob.com>
10336 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10337 gen-as-const-headers chunk. Add a big scare comment after the last
10338 safe place to touch before-compile.
10340 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10342 * manual/install.texi (Tools for Compilation): Update autoconf
10343 version requirements.
10344 * INSTALL: Regenerated.
10346 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10347 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10348 (__libc_pselect): Likewise.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10356 2014-10-31 Torvald Riegel <triegel@redhat.com>
10358 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10359 correct barrier instruction.
10360 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10362 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10365 2014-10-30 Roland McGrath <roland@hack.frob.com>
10367 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10368 after defining inlines. Instead, just use parens to defeat macro
10369 expansion of __isctype in its declaration.
10371 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10373 * include/sys/uio.h (__libc_readv): Remove declaration.
10374 (__libc_writev): Likewise.
10375 * misc/readv.c (__libc_readv): Rename to __readv.
10376 (__readv): Do not define as alias.
10377 (readv): Define as alias of __readv.
10378 * misc/writev.c (__libc_writev): Rename to __writev.
10379 (__writev): Do not define as alias.
10380 (writev): Define as alias of __writev.
10381 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10382 (__readv): Do not define as alias.
10383 (readv): Define unconditionally as alias of __readv.
10384 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10385 (__writev): Do not define as alias.
10386 (writev): Define unconditionally as alias of __writev.
10387 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10389 (writev): Do not define __libc_writev name.
10391 2014-10-30 Roland McGrath <roland@hack.frob.com>
10393 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10394 (convert_charseq): New function, broken out of ...
10395 (use_from_charmap): ... here. Call it.
10396 (use_to_charmap): Use convert_charseq and free instead of duplicating
10397 its code with a variable-length stack struct.
10399 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10401 * include/fcntl.h (__libc_creat): Remove declaration.
10402 * io/creat.c (__libc_creat): Rename to creat.
10403 (creat): Do not define as alias.
10404 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10405 of creat instead of __libc_creat.
10406 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10408 (creat): Do not define as alias.
10409 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10411 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10413 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10416 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10418 * manual/llio.texi: Add comments discussing why write() may be
10419 considered MT-unsafe on Linux.
10421 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10423 * dl-load.c (local_strdup): Remove.
10424 (expand_dynamic_string_token): Use __strdup.
10425 (decompose_rpath): Likewise.
10426 (_dl_map_object): Likewise.
10428 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10431 * sysdeps/generic/unwind-dw2-fde.c
10432 (__register_frame_info_bases_internal): Do not declare.
10433 (__register_frame_info_table_bases_internal): Likewise.
10434 (__deregister_frame_info_bases_internal): Likewise.
10435 (__register_frame_info_bases): Declare and use hidden_proto before
10436 definition. Use hidden_def instead of INTDEF.
10437 (__register_frame_info_table_bases): Likewise.
10438 (__deregister_frame_info_bases): Likewise.
10439 (__register_frame_info): Do not use INTUSE.
10440 (__register_frame): Likewise.
10441 (__register_frame_info_table): Likewise.
10442 (__register_frame_table): Likewise.
10443 (__deregister_frame_info): Likewise.
10444 (__deregister_frame): Likewise.
10446 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10448 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10449 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10451 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10453 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10456 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10459 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10460 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10461 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10462 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10463 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10464 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10465 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10466 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10467 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10468 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10469 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10470 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10471 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10473 (setfsuid): Likewise.
10474 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10475 (setfsuid): Likewise.
10476 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10477 (setfsuid): Likewise.
10478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10480 (setfsuid): Likewise.
10481 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10482 (setfsuid): Likewise.
10483 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10485 (setfsuid): Likewise.
10487 2014-10-27 Andreas Schwab <schwab@suse.de>
10490 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10491 check for Slow_SSE4_2 feature bit.
10492 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10493 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10494 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10495 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10497 2014-10-24 Roland McGrath <roland@hack.frob.com>
10499 * configure.ac: Validate compiler version with a empirical test of
10500 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10502 * configure: Regenerated.
10504 * inet/htons.c (htons): Prototypify.
10505 * inet/htonl.c (htonl): Likewise.
10507 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10509 * string/strncat.c (strncat): Improve performance by using strlen.
10511 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10513 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10515 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10517 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10518 Call libc_fetestexcept_aarch64.
10520 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10522 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10523 Call libc_feholdexcept_aarch64.
10525 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10527 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10528 Call get_rounding_mode.
10530 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10532 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10535 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10537 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10540 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10543 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10544 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10545 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10546 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10547 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10548 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10549 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10550 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10551 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10552 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10553 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10554 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10555 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10556 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10557 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10558 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10559 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10560 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10561 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10562 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10563 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10564 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10565 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10566 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10567 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10568 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10569 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10570 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10571 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10572 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10573 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10574 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10575 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10576 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10577 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10578 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10580 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10581 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10583 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10585 (geteuid): Likewise.
10586 (getgid): Likewise.
10587 (getuid): Likewise.
10588 (getresgid): Likewise.
10589 (getresuid): Likewise.
10590 (getgroups): Likewise.
10591 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10592 (geteuid): Likewise.
10593 (getgid): Likewise.
10594 (getuid): Likewise.
10595 (getresgid): Likewise.
10596 (getresuid): Likewise.
10597 (getgroups): Likewise.
10598 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10599 (geteuid): Likewise.
10600 (getgid): Likewise.
10601 (getuid): Likewise.
10602 (getresgid): Likewise.
10603 (getresuid): Likewise.
10604 (getgroups): Likewise.
10605 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10607 (geteuid): Likewise.
10608 (getgid): Likewise.
10609 (getuid): Likewise.
10610 (getresgid): Likewise.
10611 (getresuid): Likewise.
10612 (getgroups): Likewise.
10613 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10614 (geteuid): Likewise.
10615 (getgid): Likewise.
10616 (getuid): Likewise.
10617 (getresgid): Likewise.
10618 (getresuid): Likewise.
10619 (getgroups): Likewise.
10620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10622 (geteuid): Likewise.
10623 (getgid): Likewise.
10624 (getuid): Likewise.
10625 (getgroups): Likewise.
10628 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10629 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10630 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10631 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10632 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10633 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10634 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10635 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10636 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10637 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10638 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10639 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10640 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10642 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10643 (lchown): Likewise.
10644 (fchown): Likewise.
10645 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10647 (lchown): Likewise.
10648 (fchown): Likewise.
10649 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10650 (lchown): Likewise.
10651 (fchown): Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10654 (lchown): Likewise.
10655 (fchown): Likewise.
10657 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10659 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10662 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10664 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10667 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10669 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10670 Remove unused include.
10672 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10674 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10675 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10676 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10677 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10679 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10680 Helge Deller <deller@gmx.de>
10683 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10684 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10685 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10687 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10690 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10691 Remove macro definition.
10692 (__ashrdi3_v_glibc20): Likewise.
10693 (__lshrdi3_v_glibc20): Likewise.
10694 (__cmpdi2_v_glibc20): Likewise.
10695 (__ucmpdi2_v_glibc20): Likewise.
10696 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10697 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10698 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10699 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10700 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10701 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10703 2014-10-22 Roland McGrath <roland@hack.frob.com>
10705 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10706 old GNU extension [0] syntax.
10707 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10708 alloca rather than an array member with variable length.
10709 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10710 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10711 (parse_opt): ... here. Likewise use alloca there.
10712 Validate the -i argument before checking for rootness.
10713 (send_shutdown): New function, broken out of ...
10714 (parse_opt): ... here.
10716 2014-10-22 Roland McGrath <roland@hack.frob.com>
10718 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10719 macro to get at the _rt_local_ro field.
10720 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10721 ([PIC] case) or _dl_hwcap ([!PIC] case).
10722 * sysdeps/arm/setjmp.S: Likewise.
10724 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10725 * sysdeps/arm/configure.ac: New check to define it.
10726 * sysdeps/arm/configure: Regenerated.
10727 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10728 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10729 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10730 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10731 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10732 Use move/movt pair instead of a load.
10733 (LDST_GLOBAL): Macro removed.
10734 (LDR_GLOBAL): New macro replaces it.
10735 (LDR_HIDDEN): New macro.
10736 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10737 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10739 * setjmp/tst-setjmp-static.c: New file.
10740 * setjmp/Makefile (tests): Add it.
10741 (tests-static): New variable.
10743 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10746 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10748 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10751 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10753 2014-10-21 Roland McGrath <roland@hack.frob.com>
10755 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10757 2014-10-20 Roland McGrath <roland@hack.frob.com>
10759 * io/fts.c (dirent_not_directory): New function.
10760 (fts_build): Call it.
10762 2014-10-20 Roland McGrath <roland@hack.frob.com>
10764 * nptl/version.c (__nptl_main): Use normal __write rather than
10766 (banner): Update copyright years.
10768 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10770 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10771 * nptl/pthread_cond_timedwait.c: Likewise.
10772 * nptl/pthread_mutex_timedlock.c: Likewise.
10773 * nptl/sem_timedwait.c: Likewise.
10775 * sysdeps/nptl/bits/libc-lock.h
10776 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10777 (__libc_lock_init_recursive): Return void, not 0.
10778 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10779 (__libc_rwlock_init): Likewise.
10780 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10782 2014-10-20 Torvald Riegel <triegel@redhat.com>
10785 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10786 (__pthread_once_slow): ... here.
10787 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10788 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10790 2014-10-20 Torvald Riegel <triegel@redhat.com>
10793 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10794 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10795 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10796 * nptl/pthread_once.c (__pthread_once): Likewise.
10799 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10802 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10804 (writev): Use __libc_writev as strong name.
10805 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10806 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10808 2014-10-17 Roland McGrath <roland@hack.frob.com>
10810 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10812 * sysdeps/i386/nptl/tls.h
10813 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10814 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10816 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10817 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10818 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10819 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10820 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10821 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10823 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10824 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10826 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10828 (__pthread_mutex_init): ... here. Call it.
10829 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10830 Conditionalize PI cases on [__NR_futex].
10831 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10832 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10833 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10835 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10836 conditional on [SIGSETXID].
10837 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10838 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10839 is defined. Likewise for SIGSETXID.
10840 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10841 Conditionalize definitions on [SIGSETXID].
10842 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10843 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10844 unblocking on [SIGCANCEL].
10846 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10847 [__NR_set_robust_list].
10849 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10851 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10852 (do_compare): Likewise.
10854 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10857 * string/strcoll_l.c: Don't include stdio.h.
10858 (coll_seq): Remove members idxarr and rulearr.
10859 (get_next_seq_cached): Remove function.
10860 (get_next_seq): Likewise.
10861 (get_next_seq_nocache): Rename to get_next_seq.
10862 (do_compare): Remove function.
10863 (do_compare_nocache): Rename to do_compare.
10864 (STRCOLL): Remove weight and rules cache.
10866 2014-10-16 Roland McGrath <roland@hack.frob.com>
10868 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10869 * sysdeps/arm/sfp-machine.h: ... to here.
10870 * sysdeps/arm/Implies: Remove arm/soft-fp.
10872 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10874 * conform/data/sys/utsname.h-data (*_t): Allow.
10875 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10876 [POSIX] (WEXITED): Do not expect constant.
10877 [POSIX] (WSTOPPED): Likewise.
10878 [POSIX] (WNOHANG): Likewise.
10879 [POSIX] (WNOWAIT): Likewise.
10880 [POSIX] (siginfo_t): Do not expect type or elements.
10881 [POSIX] (pid_t): Do not expect type.
10882 [POSIX] (signal.h): Do not allow header.
10883 [POSIX] (sys/resource.h): Likewise.
10884 [POSIX] (si_*): Do not allow pattern.
10885 [POSIX] (W*): Likewise.
10886 [POSIX] (P_*): Likewise.
10887 [POSIX] (BUS_*): Likewise.
10888 [POSIX] (CLD_*): Likewise.
10889 [POSIX] (FPE_*): Likewise.
10890 [POSIX] (ILL_*): Likewise.
10891 [POSIX] (POLL_*): Likewise.
10892 [POSIX] (SEGV_*): Likewise.
10893 [POSIX] (SI_*): Likewise.
10894 [POSIX] (TRAP_*): Likewise.
10895 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10898 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10902 infinite loop when __recvmsg returns 0.
10904 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10906 * CANCEL-FCT-WAIVE: Remove file.
10907 * CANCEL-FILE-WAIVE: Likewise.
10910 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10911 instead of INTVARDEF.
10912 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10913 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10914 rtld_hidden_data_def instead of INTVARDEF.
10915 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10916 * elf/dl-deps.c (expand_dst): Likewise.
10917 * elf/dl-load.c (_dl_dst_count): Likewise.
10918 (_dl_dst_substitute): Likewise.
10919 (decompose_rpath): Likewise.
10920 (_dl_init_paths): Likewise.
10921 (open_path): Likewise.
10922 (_dl_map_object): Likewise.
10923 * elf/rtld.c (dl_main): Likewise.
10924 (process_dl_audit): Likewise.
10925 (process_envvars): Likewise.
10926 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10927 Remove declaration.
10928 (__libc_enable_secure): Use rtld_hidden_proto.
10930 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10933 (add_path): New function broken out of _dl_rtld_di_serinfo.
10934 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10936 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10938 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10939 parentheses around macro arguments.
10940 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10941 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10942 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10943 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10944 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10945 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10946 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10947 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10948 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10949 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10950 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10951 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10952 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10953 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10954 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10955 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10956 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10957 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10958 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10959 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10960 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10961 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10962 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10963 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10964 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10965 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10966 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10967 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10968 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10969 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10970 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10971 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10972 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10973 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10974 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10975 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10977 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10978 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10979 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10980 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10981 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10982 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10983 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10984 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10985 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10986 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10987 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10988 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10989 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10990 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10991 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10992 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10993 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10994 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10995 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10996 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10997 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10998 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10999 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11000 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11001 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11002 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11003 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11004 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11005 (_FP_FRAC_SRS_1): Likewise.
11006 (_FP_FRAC_CLZ_1): Likewise.
11007 (_FP_MUL_MEAT_1_imm): Likewise.
11008 (_FP_MUL_MEAT_1_wide): Likewise.
11009 (_FP_MUL_MEAT_1_hard): Likewise.
11010 (_FP_SQRT_MEAT_1): Likewise.
11011 (_FP_FRAC_ASSEMBLE_1): Likewise.
11012 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11013 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11014 (__FP_CLZ_2): Likewise.
11015 (_FP_MUL_MEAT_2_wide): Likewise.
11016 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11017 (_FP_MUL_MEAT_2_gmp): Likewise.
11018 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11019 (_FP_SQRT_MEAT_2): Likewise.
11020 (_FP_FRAC_ASSEMBLE_2): Likewise.
11021 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11022 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11023 (_FP_FRAC_CLZ_4): Likewise.
11024 (_FP_MUL_MEAT_4_wide): Likewise.
11025 (_FP_MUL_MEAT_4_gmp): Likewise.
11026 (_FP_SQRT_MEAT_4): Likewise.
11027 (_FP_FRAC_ASSEMBLE_4): Likewise.
11028 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11029 * soft-fp/op-common.h (_FP_CMP): Likewise.
11030 (_FP_CMP_EQ): Likewise.
11031 (_FP_CMP_UNORD): Likewise.
11032 (_FP_TO_INT): Likewise.
11033 (_FP_FROM_INT): Likewise.
11034 [!__FP_CLZ] (__FP_CLZ): Likewise.
11035 (_FP_DIV_HELP_imm): Likewise.
11036 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11038 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11039 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11040 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11041 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11042 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11043 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11044 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11045 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11046 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11047 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11048 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11049 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11050 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11051 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11052 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11053 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11054 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11055 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11056 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11057 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11058 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11059 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11060 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11061 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11062 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11063 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11064 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11065 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11066 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11067 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11068 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11069 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11070 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11071 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11072 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11073 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11074 (FP_UNPACK_RAW_SP): Likewise.
11075 (FP_PACK_RAW_S): Likewise.
11076 (FP_PACK_RAW_SP): Likewise.
11077 (FP_UNPACK_S): Likewise.
11078 (FP_UNPACK_SP): Likewise.
11079 (FP_UNPACK_SEMIRAW_S): Likewise.
11080 (FP_UNPACK_SEMIRAW_SP): Likewise.
11081 (FP_PACK_S): Likewise.
11082 (FP_PACK_SP): Likewise.
11083 (FP_PACK_SEMIRAW_S): Likewise.
11084 (FP_PACK_SEMIRAW_SP): Likewise.
11085 (_FP_SQRT_MEAT_S): Likewise.
11086 (FP_CMP_S): Likewise.
11087 (FP_CMP_EQ_S): Likewise.
11088 (FP_CMP_UNORD_S): Likewise.
11089 (FP_TO_INT_S): Likewise.
11090 (FP_FROM_INT_S): Likewise.
11092 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11094 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11095 (FP_EX_INVALID_IMZ): Likewise.
11096 (FP_EX_INVALID_IMZ_FMA): Likewise.
11097 (FP_EX_INVALID_ISI): Likewise.
11098 (FP_EX_INVALID_ZDZ): Likewise.
11099 (FP_EX_INVALID_IDI): Likewise.
11100 (FP_EX_INVALID_SQRT): Likewise.
11101 (FP_EX_INVALID_CVI): Likewise.
11102 (FP_EX_INVALID_VC): Likewise.
11103 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11104 "invalid" exceptions.
11105 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11106 (_FP_ADD_INTERNAL): Likewise.
11107 (_FP_MUL): Likewise.
11108 (_FP_FMA): Likewise.
11109 (_FP_DIV): Likewise.
11110 (_FP_CMP_CHECK_NAN): Likewise.
11111 (_FP_SQRT): Likewise.
11112 (_FP_TO_INT): Likewise.
11113 (FP_EXTEND): Likewise.
11115 2014-10-09 Allan McRae <allan@archlinux.org>
11117 * po/fr.po: Update French translation from translation project.
11119 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11122 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11124 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11125 (__cxa_atexit): Use libc_hidden_proto.
11126 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11129 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11131 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11132 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11133 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11134 [!_ISOMAC] (__iswctype_internal): Likewise.
11135 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11136 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11138 (fcntl): Remove __fcntl_internal alias.
11139 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11140 __connect_internal alias.
11141 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11144 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11145 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11147 (_FP_CHECK_FLUSH_ZERO): New macro.
11148 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11149 (_FP_CMP): Likewise.
11150 (_FP_CMP_EQ): Likewise.
11151 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11153 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11154 (FP_TRUNC): Likewise.
11156 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11157 treated as invalid conversion, not as normal exponent.
11159 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11160 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11161 (_FP_CMP_EQ): Likewise.
11162 (_FP_CMP_UNORD): Likewise.
11163 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11164 (FP_CMP_EQ_D): Likewise.
11165 (FP_CMP_UNORD_D): Likewise.
11166 * soft-fp/extended.h (FP_CMP_E): Likewise.
11167 (FP_CMP_EQ_E): Likewise.
11168 (FP_CMP_UNORD_E): Likewise.
11169 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11170 (FP_CMP_EQ_Q): Likewise.
11171 (FP_CMP_UNORD_Q): Likewise.
11172 * soft-fp/single.h (FP_CMP_S): Likewise.
11173 (FP_CMP_EQ_S): Likewise.
11174 (FP_CMP_UNORD_S): Likewise.
11175 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11176 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11177 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11178 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11179 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11180 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11181 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11182 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11183 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11184 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11185 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11186 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11187 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11189 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11191 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11192 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11194 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11196 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11197 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11198 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11199 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11201 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11203 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11204 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11206 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11208 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11209 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11210 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11211 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11214 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11215 a subnormal result, set the underflow exception if trapping on
11216 underflow is enabled.
11217 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11218 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11219 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11221 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11222 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11223 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11224 * soft-fp/extendxftf2.c (__extendxftf2): Use
11225 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11227 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11228 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11229 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11230 FP_HANDLE_EXCEPTIONS.
11231 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11232 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11233 FP_HANDLE_EXCEPTIONS.
11234 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11235 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11236 FP_HANDLE_EXCEPTIONS.
11237 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11238 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11239 FP_HANDLE_EXCEPTIONS.
11241 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11244 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11245 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11247 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11248 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11250 (__adjtimex): Define using libc_hidden_ver.
11251 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11252 Remove declaration.
11253 (ntp_gettime): Call __adjtimex directly.
11254 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11255 Remove declaration.
11256 (ntp_gettimex): Call __adjtimex directly.
11257 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11258 __adjtimex_internal alias.
11260 2014-10-08 Roland McGrath <roland@hack.frob.com>
11263 * nscd/nscd.c (more_help): Rewrite list of tables collection
11264 using xstrdup and asprintf.
11266 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11268 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11269 Roland McGrath <roland@hack.frob.com>
11271 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11272 (do_lookup_unique): ... local function 'enter' here; update callers.
11274 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11276 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11277 compat_symbol calls on [SHARED].
11278 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11279 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11281 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11282 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11283 (oldsetrlimit): Remove.
11284 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11286 (lchown): New syscall entry.
11287 (oldsetrlimit): Remove.
11288 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11289 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11290 (oldsetrlimit): Remove.
11291 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11294 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11295 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11296 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11297 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11298 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11299 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11300 (fchown): Likewise.
11301 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11302 (fchown): Likewise.
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11306 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11309 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11310 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11311 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11312 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11314 (__old_sem_post): Likewise.
11316 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11318 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11319 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11320 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11321 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11322 Use INLINE_VSYSCALL macro.
11323 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11324 __vdso_clock_gettime.
11325 * sysdeps/unix/sysv/linux/tile/init-first.c
11326 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11327 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11328 __vdso_clock_gettime.
11330 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11331 to set up frame more cleanly.
11333 * sysdeps/tile/memcmp.c: New file.
11335 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11337 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11338 * sysdeps/tile/tilegx/strcasestr.c: New file.
11339 * sysdeps/tile/tilegx/strnlen.c: New file.
11340 * sysdeps/tile/tilegx/strstr.c: New file.
11342 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11344 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11346 * nptl/tst-setuid3.c: Write errors to stdout.
11348 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11351 (preload): New functions broken out of _dl_map_object_deps.
11352 (_dl_map_object_deps): Remove a nested function. Update call sites.
11354 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11357 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11358 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11360 2014-10-01 Steve Ellcey <sellcey@mips.com>
11362 * sysdeps/mips/strcmp.S: New.
11364 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11367 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11368 (linkat): Likewise.
11369 (mkdirat): Likewise.
11370 (readlinkat): Likewise.
11371 (renameat): Likewise.
11372 (symlinkat): Likewise.
11373 (unlinkat): Likewise.
11374 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11375 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11376 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11377 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11378 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11379 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11380 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11382 2014-09-30 Will Newton <will.newton@linaro.org>
11384 * math/math.h: Define long double math functions if
11385 _LIBC_TEST is defined.
11386 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11388 * localedata/Makefile: Move assignment to tests-special
11389 into an ifdef testing run-built-tests.
11390 * timezone/Makefile: Likewise.
11392 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11394 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11395 with $(BASH) not $(SHELL).
11397 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11398 Matthew LeGendre <legendre1@llnl.gov>
11401 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11404 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11406 * stdio-common/printf_fp.c
11407 (hack_digit): New function, broken out of ...
11408 (__printf_fp): ... local function here. Update call sites.
11409 hack_digit now takes an additional parameter that is a pointer
11410 to a struct of the referenced locals. Those locals moved inside
11411 the struct and references updated.
11413 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11415 * aclocal.m4: Require autoconf 2.69.
11416 * configure: Regenerated.
11417 * sysdeps/aarch64/configure: Likewise.
11418 * sysdeps/alpha/configure: Likewise.
11419 * sysdeps/arm/armv7/configure: Likewise.
11420 * sysdeps/arm/configure: Likewise.
11421 * sysdeps/ia64/configure: Likewise.
11422 * sysdeps/mach/configure: Likewise.
11423 * sysdeps/mips/configure: Likewise.
11424 * sysdeps/s390/configure: Likewise.
11425 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11428 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11430 * sysdeps/ia64/configure.ac: Likewise.
11432 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11435 specify symbol version for ld.so. Do not include entry for
11437 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11438 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11442 * Makeconfig [$(build-shared) = yes]
11443 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11445 [$(build-shared) = yes && $(soversions.mk-done) = t]
11446 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11447 [$(build-shared) = yes && $(soversions.mk-done) = t]
11448 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11450 [$(build-shared) = yes && $(soversions.mk-done) = t]
11451 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11453 [$(build-shared) = yes && $(soversions.mk-done) = t]
11454 (common-generated): Don't append gnu/lib-names.h and
11455 gnu/lib-names.stmp here.
11456 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11457 (lib-names-h-abi): New variable.
11458 [$(build-shared) = yes && $(soversions.mk-done) = t]
11459 (lib-names-stmp-abi): Likewise.
11460 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11461 abi-variants] (before-compile): Append
11462 $(common-objpfx)$(lib-names-h-abi).
11463 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11464 abi-variants] (common-generated): Append gnu/lib-names.h.
11465 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11466 abi-variants] (install-others-nosubdir): Depend on
11467 $(inst_includedir)/$(lib-names-h-abi).
11468 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11469 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11470 [$(build-shared) = yes && $(soversions.mk-done) = t]
11471 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11472 [$(build-shared) = yes && $(soversions.mk-done) = t]
11473 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11474 [$(build-shared) = yes && $(soversions.mk-done) = t]
11475 (common-generated): Append $(lib-names-h-abi) and
11476 $(lib-names-stmp-abi).
11477 * scripts/lib-names.awk: Do not handle multi being set.
11478 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11480 (abi-lp64_be-ld-soname): Likewise.
11481 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11483 (abi-hard-ld-soname): Likewise.
11484 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11485 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11487 (abi-o32_hard-ld-soname): Likewise.
11488 (abi-o32_soft_2008-ld-soname): Likewise.
11489 (abi-o32_hard_2008-ld-soname): Likewise.
11490 (abi-n32_soft-ld-soname): Likewise.
11491 (abi-n32_hard-ld-soname): Likewise.
11492 (abi-n32_soft_2008-ld-soname): Likewise.
11493 (abi-n32_hard_2008-ld-soname): Likewise.
11494 (abi-n64_soft-ld-soname): Likewise.
11495 (abi-n64_hard-ld-soname): Likewise.
11496 (abi-n64_soft_2008-ld-soname): Likewise.
11497 (abi-n64_hard_2008-ld-soname): Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11500 (abi-64-v2-ld-soname): Likewise.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11503 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11505 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11507 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11509 (abi-64-ld-soname): Likewise.
11510 (abi-x32-ld-soname): Likewise.
11511 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11513 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11515 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11519 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11520 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11521 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11522 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11523 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11524 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11525 syscall entry for GLIBC_2.2 symbol version.
11526 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11529 (setrlimit): Likewise.
11530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11533 2014-09-23 Will Newton <will.newton@linaro.org>
11535 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11536 _LINUX_ARM_SYSDEP_H include guard too.
11537 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11540 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11542 * sysdeps/unix/sysv/linux/eventfd.c:
11543 Make first argument unsigned.
11544 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11547 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11549 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11550 * socket/sys/socket.h: Likewise
11551 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11553 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11555 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11557 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11559 * time/tst-ftime.c: New test.
11560 * time/Makefile (tests): Add tst-ftime.
11562 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11564 * soft-fp/extended.h: Fix comment formatting.
11565 * soft-fp/op-1.h: Likewise.
11566 * soft-fp/op-2.h: Likewise.
11567 * soft-fp/op-4.h: Likewise.
11568 * soft-fp/op-8.h: Likewise.
11569 * soft-fp/op-common.h: Likewise.
11570 * soft-fp/soft-fp.h: Likewise.
11572 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11574 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11577 * Makeconfig (soversions-default-setname): Remove variable.
11578 ($(common-objpfx)soversions.i): Don't pass default_setname to
11580 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11581 oldest_abi to abi-versions.awk.
11582 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11583 * config.make.in (oldest-abi): Remove variable.
11584 * configure.ac (--enable-oldest-abi): Remove configure option.
11585 * configure: Regenerated.
11586 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11588 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11589 * scripts/soversions.awk: Do not handle default_setname variable.
11590 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11592 * sysdeps/mach/hurd/configure: Regenerated.
11593 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11595 * sysdeps/unix/sysv/linux/configure: Regenerated.
11597 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11599 * elf/Makefile (CFLAGS-interp.c): Remove.
11600 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11602 * elf/interp.c: Include generated runtime-linker.h
11604 * Makerules (lib%.so): Don't include $(+interp) in
11606 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11607 * dlfcn/eval.c: Remove file.
11609 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11613 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11617 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11619 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11620 Jakub Jelinek <jakub@redhat.com>
11623 * libio/stdio.h: Check definition of __fortify_function
11624 instead of __extern_always_inline to include bits/stdio2.h.
11625 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11626 check if __extern_always_inline is defined.
11627 [__USE_MISC || __USE_XOPEN]: Likewise.
11628 [__USE_ISOC99] Likewise.
11629 * misc/sys/cdefs.h (__fortify_function): Define only if
11630 __extern_always_inline is defined.
11631 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11632 __extern_always_inline and __extern_inline only for g++-4.3
11633 and newer or a compatible gcc.
11635 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11638 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11639 last change to handle zero prefix length.
11641 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11643 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11646 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11647 _POSIX_RAW_SOCKETS.
11649 2014-09-13 Allan McRae <allan@archlinux.org>
11651 * po/ru.po: Update Russian translation from translation project.
11653 2014-09-12 Roland McGrath <roland@hack.frob.com>
11655 * locale/programs/locale.c (show_locale_vars): Inline local function
11656 into its sole call site. Clean up some style nits.
11657 (print_item): New function, broken out of ...
11658 (show_info): ... local function here. Clean up style nits.
11660 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11662 (set_class_defaults): ... local function set_default here.
11663 Define set_default as a macro locally to pass constant parameters.
11664 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11665 rather than a shared local.
11667 * stdlib/rpmatch.c (try): New function, broken out of ...
11668 (rpmatch): ... local function here. Also, prototypify definition.
11670 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11672 * scripts/soversions.awk: Do not handle configuration names.
11673 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11674 vendor and os variables to soversions.awk.
11675 * configure.ac: Do not modify gnu-* host_os.
11676 * configure: Regenerated
11677 * shlib-versions: Remove first column with configuration names.
11678 * nptl/shlib-versions: Likewise.
11679 * nptl_db/shlib-versions: Likewise.
11680 * sysdeps/hppa/shlib-versions: Likewise.
11681 * sysdeps/m68k/shlib-versions: Likewise.
11682 * sysdeps/mach/hurd/shlib-versions: Likewise.
11683 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11684 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11685 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11686 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11687 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11688 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11689 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11690 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11693 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11694 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11695 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11696 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11697 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11698 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11699 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11700 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11703 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11706 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11708 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11710 * shlib-versions: Remove OS-specific entries. Moved to files in
11712 * sysdeps/mach/hurd/shlib-versions: New file.
11713 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11715 * nptl/shlib-versions: Remove architecture-specific entries.
11716 Moved to files in sysdeps.
11717 * shlib-versions: Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11720 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11721 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11722 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11725 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11726 (UDP_NO_CHECK6_RX): Likewise.
11728 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11730 * sysdeps/posix/sysconf.c (__sysconf): Spell
11731 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11733 2014-08-12 Florian Weimer <fweimer@redhat.com>
11735 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11737 * iconv/Versions (__gconv_transliterate): Export for use from
11739 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11740 (struct __gconv_trans_data, __gconv_trans_fct,
11741 __gconv_trans_context_fct, __gconv_trans_query_fct,
11742 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11744 (struct __gconv_step_data): Remove __trans member.
11745 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11746 longer hidden. Remove unused trans_data argument.
11747 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11748 (__gconv_translit_find): Remove declaration.
11749 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11751 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11752 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11753 trans_data argument. Add hidden definition.
11754 (__gconv_translit_find): Remove.
11755 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11756 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11757 * iconv/skeleton.c: Remove transliteration initialization.
11758 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11759 __gconv_step_data initialization.
11760 * libio/iofwide.c (__libio_translit_): Remove.
11761 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11762 * wcsmbs/btowc.c (__btowc): Likewise.
11763 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11764 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11765 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11766 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11767 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11768 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11769 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11770 * wcsmbs/wctob.c (wctob): Likewise.
11772 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11775 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11776 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11778 * sysdeps/x86/Makefile: Adjust.
11780 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11781 Roland McGrath <roland@hack.frob.com>
11783 * locale/weight.h: Add include guard.
11784 (findidx): Make static rather than auto; take new parameters
11785 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11786 * locale/weightwc.h: Likewise.
11787 * posix/fnmatch_loop.c
11788 (FCT): Change type of EXTRA from int32_t to wint_t.
11789 Don't include either header inside the function.
11790 Call FINDIDX rather than findidx, and pass new arguments.
11791 #undef FINDIDX at the end of the file.
11792 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11793 FINDIDX before including fnmatch_loop.c for the non-wide version.
11794 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11795 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11796 for the wide version.
11797 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11798 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11799 Pass new arguments to findidx.
11800 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11801 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11802 Don't #include it inside the function. Pass new arguments to findidx.
11803 * posix/regex_internal.h
11804 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11805 (re_string_elem_size_at): Don't #include it inside the function.
11806 Pass new arguments to findidx.
11807 * string/strcoll_l.c: #include WEIGHT_H at top level.
11808 (get_next_seq): Don't #include it inside the function.
11809 Pass new arguments to findidx.
11810 (get_next_seq_nocache): Likewise.
11811 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11812 (STRXFRM): Don't #include it inside the function.
11813 Pass new arguments to findidx.
11815 2014-09-11 Florian Weimer <fweimer@redhat.com>
11818 * malloc/malloc.c (unlink): Turn asserts into a call to
11821 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11824 * libio/wfileops (do_ftell_wide): Free OUT.
11826 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11828 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11830 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11833 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11834 group if the current group is empty.
11836 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11838 * benchtests/bench-memset.c (test_main): Add more test from size
11839 from 32 to 512 bytes.
11840 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11841 Add POWER8 memset object.
11842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11843 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11844 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11846 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11848 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11849 multiarch POWER8 memset optimization.
11850 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11851 POWER8 memset optimization.
11853 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11854 Remove bzero multiarch objects.
11855 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11856 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11857 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11858 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11860 [__bzero]: Redefine to specific name.
11861 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11862 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11863 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11865 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11866 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11868 2014-09-10 Florian Weimer <fweimer@redhat.com>
11870 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11871 warnings into errors.
11873 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11874 __cxa_thread_atexit_impl prototype.
11876 2014-09-09 Steve Ellcey <sellcey@mips.com>
11878 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11879 Fix capitalization of error message.
11881 2014-09-09 Steve Ellcey <sellcey@mips.com>
11883 * sysdeps/mips/preconfigure: Modify ABI tests.
11885 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11887 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11889 2014-09-07 Roland McGrath <roland@hack.frob.com>
11890 Carlos O'Donell <carlos@systemhalted.org>
11892 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11893 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11894 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11895 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11896 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11897 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11898 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11899 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11900 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11901 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11902 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11903 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11904 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11905 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11906 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11907 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11908 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11909 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11910 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11911 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11912 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11913 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11914 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11915 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11916 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11917 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11918 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11919 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11920 Deconditionalize the code that was previously under [RESET_PID].
11921 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11922 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11923 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11924 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11927 2014-09-08 Allan McRae <allan@archlinux.org>
11929 * version.h (RELEASE): Set to "development".
11930 (VERSION): Set to "2.20.90"
11932 2014-09-07 Allan McRae <allan@archlinux.org
11934 * version.h (RELEASE): Set to "stable".
11935 (VERSION): Set to "2.20"
11936 * include/features.h (__GLIBC_MINOR__): Set to 20.
11938 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11941 * po/ko.po: Update Korean translation from translation project.
11943 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11946 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11947 macro for handling signed relocations.
11949 2014-09-03 Florian Weimer <fweimer@redhat.com>
11952 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11953 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11955 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11956 * iconvdata/ibm935.c (BODY): Likewise.
11957 * iconvdata/ibm937.c (BODY): Likewise.
11958 * iconvdata/ibm939.c (BODY): Likewise.
11959 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11961 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11963 * iconvdata/run-iconv-test.sh: New test loop for checking for
11966 2014-09-02 Khem Raj <raj.khem@gmail.com>
11968 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11971 2014-09-01 Allan McRae <allan@archlinux.org>
11973 * po/eo.po: Update Esperanto translation from translation project.
11975 * po/ca.po: Update Catalan translation from translation project.
11977 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11979 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11980 __proc_dostop call.
11982 2014-08-27 Mark Wielaard <mjw@redhat.com>
11985 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11986 to call set_thread_area instead of hand written asm.
11987 (__NR_set_thread_area): Removed define.
11988 (TLS_FLAG_WRITABLE): Likewise.
11989 (__ASSUME_SET_THREAD_AREA): Remove check.
11990 (TLS_EBX_ARG): Remove define.
11991 (TLS_LOAD_EBX): Likewise.
11993 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11995 Simplify atomicity of socket creation in bind.
11997 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11998 looking up the name after linking the file.
12000 2014-08-27 Allan McRae <allan@archlinux.org>
12002 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12004 2014-08-26 Florian Weimer <fweimer@redhat.com>
12007 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12008 trans_compare, open_translit, __gconv_translit_find):
12009 Remove module loading code.
12011 2014-08-26 Allan McRae <allan@archlinux.org>
12013 * po/vi.po: Update Vietnamese translation from translation project.
12015 * po/uk.po: Update Ukrainian translation from translation project.
12017 * po/fr.po: Update French translation from translation project.
12019 * po/ru.po: Update Russian translation from translation project.
12021 * po/pl.po: Update Polish translation from translation project.
12023 * po/cs.po: Update Czech translation from translation project.
12025 * po/de.po: Update German translation from translation project.
12027 * po/bg.po: Update Bulgarian translation from translation project.
12029 * po/sv.po: Update Sweedish translation from translation project.
12031 * po/nl.po: Update Dutch translation from translation project.
12033 * po/es.po: Update Spanish translation from translation project.
12035 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12037 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12039 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12040 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12041 (CPPFLAGS-iconvconfig): Likewise.
12042 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12044 * include/libc-symbols.h: Remove unnecessary check for
12046 * nptl/pthreadP.h: Likewise.
12047 * sysdeps/aarch64/setjmp.S: Likewise.
12048 * sysdeps/alpha/setjmp.S: Likewise.
12049 * sysdeps/arm/sysdep.h: Likewise.
12050 * sysdeps/i386/setjmp.S: Likewise.
12051 * sysdeps/m68k/setjmp.c: Likewise.
12052 * sysdeps/posix/getcwd.c: Likewise.
12053 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12055 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12056 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12057 * sysdeps/sh/sh3/setjmp.S: Likewise.
12058 * sysdeps/sh/sh4/setjmp.S: Likewise.
12059 * sysdeps/unix/alpha/sysdep.h: Likewise.
12060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12062 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12063 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12066 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12071 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12073 * sysdeps/x86_64/setjmp.S: Likewise.
12075 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12078 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12080 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12081 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12083 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12085 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12088 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12089 and __x86_64__ when disabling x87 inline functions.
12091 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12094 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12095 asm statement with __cpuid_count.
12097 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12099 * configure.ac: Change __ehdr_start code to dereference the struct.
12100 Run readelf on the output to look for relocations.
12101 * configure: Regenerated.
12103 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12106 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12108 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12110 2014-08-12 Roland McGrath <roland@hack.frob.com>
12112 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12114 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12117 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12118 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12120 2014-08-12 Sean Anderson <seanga2@gmail.com>
12122 * malloc/malloc.c: Fix typo in comment.
12124 2014-08-09 Allan McRae <allan@archlinux.org>
12126 * Regenerate libc.po.
12128 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12130 * intl/tst-gettext2.sh: Check every lang file for creation.
12132 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12134 * sysdeps/aarch64/fpu/math_private.h
12135 (libc_feholdsetround_noex_aarch64_ctx): New function.
12137 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12139 * sysdeps/arm/armv6/strcpy.S (strcpy):
12140 Fix performance issue in misaligned cases.
12142 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12144 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12145 Move definition from termios.h.
12146 (struct termio): Likewise.
12147 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12148 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12149 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12150 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12153 Move definition to ioctl-types.h
12154 (struct termio): Likewise.
12155 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12156 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12157 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12158 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12161 2014-08-05 Richard Henderson <rth@redhat.com>
12163 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12165 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12167 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12168 Use __feraiseexcept.
12169 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12170 Protect libm symbols with IS_IN_libm.
12172 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12174 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12176 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12178 2014-08-04 Will Newton <will.newton@linaro.org>
12180 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12183 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12185 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12186 variants for each function.
12188 2014-08-04 Roland McGrath <roland@hack.frob.com>
12190 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12192 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12193 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12195 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12196 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12197 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12198 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12199 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12200 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12201 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12202 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12203 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12204 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12205 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12206 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12207 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12208 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12209 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12210 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12211 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12212 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12213 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12214 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12215 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12216 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12217 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12218 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12219 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12220 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12221 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12222 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12223 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12224 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12225 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12226 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12227 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12228 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12229 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12230 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12231 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12232 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12233 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12234 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12235 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12236 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12237 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12238 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12239 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12240 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12241 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12242 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12243 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12244 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12245 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12246 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12247 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12249 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12250 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12252 2014-08-04 Roland McGrath <roland@hack.frob.com>
12254 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12255 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12256 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12257 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12258 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12259 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12261 2014-08-04 Roland McGrath <roland@hack.frob.com>
12263 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12264 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12265 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12266 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12268 2014-08-04 Roland McGrath <roland@hack.frob.com>
12270 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12271 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12272 (__libc_vfork): Define function under this name.
12273 (__vfork): Define as an alias.
12274 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12275 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12277 2014-08-04 Roland McGrath <roland@hack.frob.com>
12279 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12280 that was previously under [RESET_PID].
12281 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12283 2014-08-04 Andreas Schwab <schwab@suse.de>
12285 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12287 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12289 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12292 2014-08-01 Roland McGrath <roland@hack.frob.com>
12294 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12296 2014-08-01 Richard Henderon <rth@redhat.com>
12298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12299 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12300 typo in exact zero test.
12301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12302 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12305 2014-08-01 Roland McGrath <roland@hack.frob.com>
12307 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12308 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12309 * sysdeps/arm/sysdep.h: ... here.
12310 [!__ASSEMBLER__]: Include <stdint.h>.
12312 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12314 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12315 (HAVE_WCTYPE_H): Likewise.
12316 (HAVE_ISWCTYPE): Likewise.
12317 (ENABLE_NLS): Likewise.
12318 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12319 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12321 * posix/regex_internal.c: Check if DEBUG is defined and is
12324 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12325 (HAVE_MBSRTOWCS): Likewise.
12326 * posix/fnmatch.c: Include string.h unconditionally.
12328 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12330 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12333 2014-07-31 Roland McGrath <roland@hack.frob.com>
12335 * sysdeps/generic/safe-fatal.h: New file.
12336 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12337 * nptl/forward.c: Include it.
12338 (__pthread_unwind): Use __safe_fatal as default action, rather
12339 than a bogus use of INTERNAL_SYSCALL that could never work.
12341 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12342 * configure.ac (libc_cv_builtin_trap): New test.
12343 * configure: Regenerated.
12344 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12345 (ABORT_INSTRUCTION): Define using __builtin_trap.
12347 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12348 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12349 * sysdeps/nptl/nptl-signals.h: New file.
12350 * nptl/pthreadP.h: Include <nptl-signals.h>.
12352 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12354 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12355 (ONE_DIRECTION): Define.
12356 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12357 (ONE_DIRECTION): Define.
12358 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12359 (ONE_DIRECTION): Define.
12361 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12363 * sysdeps/s390/Makefile: Delete file.
12364 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12365 * sysdeps/s390/__longjmp.c: Delete file.
12366 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12367 Remove fields __flags and __reserved.
12368 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12369 and add versioning.
12370 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12371 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12372 * sysdeps/s390/rtld-setjmp.S: Likewise.
12373 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12374 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12375 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12376 * sysdeps/s390/s390-32/setjmp.S: ... here.
12378 (__sigsetjmp): Remove setting __flags field.
12379 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12380 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12381 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12382 * sysdeps/s390/s390-64/setjmp.S: ... here.
12384 (__sigsetjmp): Remove setting __flags field.
12385 * sysdeps/s390/setjmp.S: Delete file.
12386 * sysdeps/s390/sigjmp.c: Likewise.
12387 * sysdeps/s390/v1-longjmp.c: Likewise.
12388 * sysdeps/s390/v1-setjmp.h: Likewise.
12389 * sysdeps/s390/v1-sigjmp.c: Likewise.
12390 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12391 Remove v1-longjmp_chk.
12392 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12393 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12394 Include debug/longjmp_chk.c and add versioning.
12395 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12396 Include nptl/pt-longjmp.c and add versioning.
12397 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12398 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12399 Include __longjmp.c.
12400 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12403 (__getcontext): Remove setting __flags field.
12405 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12406 Don't restore upper high grps.
12407 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12409 (__swapcontext): Remove setting uc_flags field.
12410 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12412 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12413 Include __longjmp.c.
12414 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12416 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12417 (__getcontext): Remove setting __flags field.
12419 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12420 (__swapcontext): Remove setting uc_flags field.
12421 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12422 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12423 Remove fields uc_high_gprs and __reserved.
12424 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12425 New file with reverted content.
12426 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12432 2014-07-31 Andreas Schwab <schwab@suse.de>
12434 * config.h.in (HAVE_IFUNC): Define to 0.
12435 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12438 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12441 memmove-avx-unaligned, memcpy-avx-unaligned and
12442 mempcpy-avx-unaligned.
12443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12444 Add tests for AVX memcpy functions.
12445 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12446 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12448 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12449 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12451 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12452 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12454 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12455 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12456 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12458 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12461 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12464 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12467 * manual/llio.texi: Add section about open file description locks.
12468 * manual/examples/ofdlocks.c: Example of open file description
12470 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12471 F_OFD_SETLK, and F_OFD_SETLKW.
12473 2014-07-23 Allan McRae <allan@archlinux.org>
12475 * po/es.po: Update Spanish translation from translation project.
12477 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12479 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12481 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12484 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12485 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12486 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12488 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12491 * math/fesetenv.c (__fesetenv)
12492 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12493 * math/feupdateenv.c (__feupdateenv)
12494 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12497 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12498 (__ASSUME_SOCKETCALL): Do not define.
12500 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12501 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12502 (__ASSUME_SOCKETCALL): Do not define.
12503 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12504 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12505 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12506 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12507 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12508 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12509 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12510 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12513 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12514 (__ASSUME_SOCKETCALL): Do not define.
12515 (__ASSUME_IPC64): Define unconditionally.
12516 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12517 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12518 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12519 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12520 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12521 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12522 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12525 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12526 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12527 (__ASSUME_SOCKETCALL): Do not define.
12528 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12529 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12530 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12531 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12532 (__ASSUME_REQUEUE_PI): Define unconditionally.
12533 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12534 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12535 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12536 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12537 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12538 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12540 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12541 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12542 (__ASSUME_SOCKETCALL): Do not define.
12543 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12544 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12545 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12546 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12547 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12548 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12550 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12551 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12552 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12553 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12554 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12555 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12556 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12557 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12558 (__ASSUME_GETCPU_SYSCALL): Likewise.
12560 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12561 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12562 cases for individual architectures.
12563 * sysdeps/gnu/configure: Regenerated.
12564 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12565 LIBC_SLIBDIR_RTLDDIR.
12566 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12567 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12568 LIBC_SLIBDIR_RTLDDIR.
12569 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12571 LIBC_SLIBDIR_RTLDDIR.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12574 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12575 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12577 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12578 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12580 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12581 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12582 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12583 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12585 * sysdeps/aarch64/shlib-versions: Move to ...
12586 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12587 * sysdeps/alpha/shlib-versions: Move to ...
12588 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12589 * sysdeps/arm/shlib-versions: Move to ...
12590 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12591 * sysdeps/hppa/shlib-versions: Move all contents except for
12592 libgcc_s entry to ...
12593 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12595 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12596 * sysdeps/ia64/shlib-versions: Move to ...
12597 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12599 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12600 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12601 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12602 * sysdeps/microblaze/shlib-versions: Move to ...
12603 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12604 * sysdeps/mips/shlib-versions: Move to ...
12605 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12607 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12608 * sysdeps/tile/shlib-versions: Move to ...
12609 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12610 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12612 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12613 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12615 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12617 2014-07-17 Will Newton <will.newton@linaro.org>
12619 * sysdeps/arm/bits/atomic.h
12620 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12621 (__arch_compare_and_exchange_bool_16_int): Likewise.
12622 (__arch_compare_and_exchange_bool_64_int): Likewise.
12624 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12625 into an #else block.
12627 2014-07-16 Roland McGrath <roland@hack.frob.com>
12629 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12630 just Linux configurations. Test empirically that the compiler sets
12631 __ARM_EABI__, rather than using the tuple to decide.
12632 * sysdeps/arm/preconfigure: Regenerated.
12633 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12634 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12635 contents appended ...
12636 * sysdeps/arm/configure.ac: ... here.
12637 * sysdeps/arm/configure: Regenerated.
12639 2014-07-15 Roland McGrath <roland@hack.frob.com>
12641 * nptl/pthread_kill.c: New file.
12642 * nptl/pthread_sigmask.c: New file.
12643 * nptl/pthread_sigqueue.c: New file.
12645 * sysdeps/nptl/lowlevellock.h: New file.
12646 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12647 * sysdeps/nptl/lowlevellock-futex.h: New file.
12649 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12650 Remove dead declarations.
12652 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12654 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12655 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12656 config-cflags-avx2.
12657 * sysdeps/x86_64/configure.ac: Likewise.
12658 * sysdeps/i386/configure: Regenerated.
12659 * sysdeps/x86_64/configure: Likewise.
12660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12661 memset-avx2 only if config-cflags-avx2 is yes.
12662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12663 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12665 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12666 only if HAVE_AVX2_SUPPORT is defined.
12667 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12669 2014-07-14 Alan Modra <amodra@gmail.com>
12672 * elf/elf.h (DT_PPC64_NUM): Correct value.
12673 * NEWS: Add to fixed bug list.
12675 2014-07-13 Jim Meyering <meyering@fb.com>
12678 regex: don't deref NULL upon heap allocation failure
12679 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12680 failure in one more place.
12681 To trigger the segfault, configure grep -with-included-regex,
12682 build it, and run these commands:
12683 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12685 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12687 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12689 2014-07-11 Richard Henderson <rth@redhat.com>
12691 * sysdeps/aarch64/libm-test-ulps: Update.
12693 2014-07-10 Florian Weimer <fweimer@redhat.com>
12696 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12697 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12698 (__nptl_setxid): Initialize error member. Call
12699 __nptl_setxid_error.
12700 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12701 * nptl/descr.h (struct xid_command): Add error member.
12702 * nptl/tst-setuid3.c: New file.
12703 * nptl/Makefile (tests): Add it.
12705 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12707 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12709 (__lll_trylock): Use __lll_base_trylock.
12710 (__lll_cond_trylock): Likewise.
12712 2014-07-10 Roland McGrath <roland@hack.frob.com>
12714 * nptl/pthread_create.c (start_thread): Use atomic_or and
12715 lll_futex_wake directly rather than lll_robust_dead.
12716 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12717 (lll_robust_dead): Macro removed.
12718 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12719 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12720 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12721 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12722 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12723 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12724 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12725 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12726 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12727 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12728 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12730 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12731 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12732 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12734 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12735 Use atomic_compare_and_exchange_val_acq directly rather than
12736 lll_robust_trylock.
12737 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12738 (__lll_robust_trylock, lll_robust_trylock): Removed.
12739 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12740 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12741 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12742 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12743 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12744 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12745 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12746 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12747 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12748 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12749 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12750 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12751 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12752 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12754 2014-07-02 Florian Weimer <fweimer@redhat.com>
12756 * manual/locale.texi (Locale Names): New section documenting
12757 locale name syntax. Adjust menu and node chaining accordingly.
12758 (Choosing Locale): Reference Locale Names, Locale Categories.
12759 Mention setting LC_ALL=C. Reflect that name syntax is now
12761 (Locale Categories): New section title. Reference Locale Names.
12762 LC_ALL is an environment variable, but not a category.
12763 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12764 description, now in Locale Name. Reference that section. Locale
12765 name syntax is now documented.
12767 2014-07-02 Florian Weimer <fweimer@redhat.com>
12770 * locale/findlocale.c (name_present, valid_locale_name): New
12772 (_nl_find_locale): Use the loc_name variable to store name
12773 candidates. Call name_present and valid_locale_name to check and
12774 validate locale names. Return an error if the locale is invalid.
12776 2014-07-02 Florian Weimer <fweimer@redhat.com>
12778 * locale/setlocale.c (setlocale): Use strdup for allocating
12779 composite name copy.
12781 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12783 Sync up with gnulib.
12784 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12785 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12786 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12787 and _GL_ARG_NONNULL.
12788 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12789 [!_LIBC]: Include code for Windows and Cygwin.
12790 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12791 Include prototype for int strerror_r.
12792 [!_LIBC] (is_open): New function.
12793 (flush_stdout): New function.
12794 (print_errno_message): Use it.
12796 (error_at_line): Likewise.
12797 (error_tail) Add function attribute macros. Use
12800 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12802 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12804 * io/ftw.c: Include sys/param.h unconditionally.
12806 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12809 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12811 (freecache): New function to free CACHE on exit.
12813 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12816 2014-07-09 David S. Miller <davem@davemloft.net>
12818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12820 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12821 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12822 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12823 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12824 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12825 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12826 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12827 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12828 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12829 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12830 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12831 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12832 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12834 2014-07-09 Andreas Schwab <schwab@suse.de>
12836 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12838 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12839 (do_test): Likewise.
12841 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12843 2014-07-09 Will Newton <will.newton@linaro.org>
12845 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12846 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12847 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12848 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12849 * sysdeps/hppa/start.S (_start): Likewise.
12851 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12853 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12855 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12858 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12860 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12861 after checking that it is non-NULL.
12863 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12865 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12867 * sysdeps/powerpc/memmove.c: Remove file.
12868 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12869 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12870 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12871 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12872 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12873 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12874 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12875 string memmove instead of removed powerpc one.
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12878 [weak_alias]: Fix compiler warning due trailing data.
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12880 [weak_alias]: Likewise.
12881 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12882 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12885 (__libc_ifunc_impl_list): Add memmove functions.
12887 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12889 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12891 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12893 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12895 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12897 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12899 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12901 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12903 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12905 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12907 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12909 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12911 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12913 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12915 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12917 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12919 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12921 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12924 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12927 to avoid alignment traps in non-cacheable memory.
12928 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12932 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12933 file: multiarch power7 memmove.
12934 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12935 multiarch default memmove.
12936 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12937 multiarch memove for powerpc32/power4.
12939 * string/bcopy.c: Use full path to include memmove.c.
12940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12942 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12943 bcopy for powerpc64.
12944 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12945 bcopy for powerpc64.
12946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12947 and memmove implementations.
12948 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12949 optimized multiarch memmove for POWER7/powerpc64.
12950 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12951 default multiarch memmove for powerpc64.
12952 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12953 multiarch for powerpc64.
12954 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12955 for POWER7/powerpc64.
12956 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12957 memmove for POWER7/powerpc64.
12959 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12962 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12963 __ELF_NATIVE_CLASS equal to 64.
12965 2014-07-07 Roland McGrath <roland@hack.frob.com>
12967 * sysdeps/nptl/lowlevellock.h: File removed.
12969 * NEWS: NPTL is no longer an add-on!
12970 * nptl/internaltypes.h: Moved ...
12971 * sysdeps/nptl/internaltypes.h: ... here.
12972 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12973 * sysdeps/nptl/fork.c: Likewise.
12974 * sysdeps/nptl/gai_misc.h: Likewise.
12975 * sysdeps/nptl/librt-cancellation.c: Likewise.
12976 * sysdeps/nptl/jmp-unwind.c: Likewise.
12977 * sysdeps/nptl/setxid.h: Likewise.
12978 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12979 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12980 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12981 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12982 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12983 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12984 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12985 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12986 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12987 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12988 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12989 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12990 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12991 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12992 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12993 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12994 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12995 * nptl/Makeconfig: Moved ...
12996 * sysdeps/nptl/Makeconfig: ... here.
12997 * nptl/configure: File removed.
12998 * nptl/ANNOUNCE: File removed.
12999 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13000 * sysdeps/unix/sysv/linux/configure: Regenerated.
13002 * nptl/Makefile (routines): Add libc_pthread_init,
13003 libc_multiple_threads, register-atfork and unregister-atfork.
13004 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13005 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13006 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13007 pthread-pi-defines.sym, structsem.sym.
13008 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13009 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13010 [$(subdir) = nptl] (tests): Add tst-setgetname.
13011 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13012 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13013 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13014 [!LIBC_SIGACTION]: Remove aliases.
13015 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13016 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13017 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13018 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13019 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13020 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13023 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13024 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13025 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13026 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13027 __libc_allocate_rtsig_private.
13028 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13029 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13030 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13031 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13032 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13033 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13034 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13035 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13036 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13037 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13038 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13039 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13040 * nptl/internaltypes.h: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13042 * sysdeps/nptl/jmp-unwind.c: ... here.
13043 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13044 * nptl/libc-lowlevellock.c: ... here.
13045 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13046 * nptl/libc_multiple_threads.c: ... here.
13047 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13048 * nptl/libc_pthread_init.c: ... here.
13049 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13050 * nptl/lowlevelbarrier.sym: ... here.
13051 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13052 * nptl/lowlevelcond.sym: ... here.
13053 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13054 * nptl/lowlevellock.c: ... here.
13055 * nptl/lowlevellock.h: Moved ...
13056 * sysdeps/nptl/lowlevellock.h: ... here.
13057 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13058 * nptl/lowlevelrobustlock.c: ... here.
13059 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13060 * nptl/lowlevelrobustlock.sym: ... here.
13061 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13062 * nptl/lowlevelrwlock.sym: ... here.
13063 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13064 * nptl/pt-fork.c: ... here.
13065 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13066 * nptl/pthread-pi-defines.sym: ... here.
13067 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13068 * nptl/pthread_attr_getaffinity.c: ... here.
13069 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13070 * nptl/pthread_attr_setaffinity.c: ... here.
13071 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13072 * nptl/pthread_mutex_cond_lock.c: ... here.
13073 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13075 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13076 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13077 * nptl/pthread_once.c: ... here, replacing old file.
13078 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13079 * nptl/pthread_yield.c: ... here.
13080 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13081 * nptl/register-atfork.c: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13083 * nptl/sem_post.c: ... here.
13084 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13085 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13086 * nptl/sem_timedwait.c: ... here.
13087 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13088 * nptl/sem_trywait.c: ... here.
13089 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13090 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13091 * nptl/sem_wait.c: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13093 * nptl/structsem.sym: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13095 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13096 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13097 * nptl/unregister-atfork.c: ... here.
13098 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13099 * nptl/unwindbuf.sym: ... here.
13100 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13101 * sysdeps/nptl/fork.c: ... here.
13102 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13103 * sysdeps/nptl/fork.h: ... here.
13104 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13105 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13106 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13107 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13108 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13109 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13110 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13111 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13112 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13113 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13114 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13115 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13116 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13117 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13118 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13119 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13120 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13121 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13122 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13123 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13124 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13125 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13126 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13127 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13128 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13130 * sysdeps/unix/sysv/linux/raise.c: ... here.
13131 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13132 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13133 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13134 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13135 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13136 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13137 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13138 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13139 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13140 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13141 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13142 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13143 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13144 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13145 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13147 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13149 * sysdeps/generic/memcopy.h: Add comment for
13150 MEMCPY_OK_FOR_FWD_MEMMOVE.
13152 2014-07-04 Will Newton <will.newton@linaro.org>
13154 * string/memchr.c: Merge from gnulib.
13155 [_LIBC]: Remove conditionals.
13156 (__ptr_t): Remove define.
13157 (LONG_MAX_32_BITS): Likewise.
13158 (LONG_MAX): Likewise.
13159 (MEMCHR): Use ANSI prototype and optimize algorithm.
13161 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13163 2014-07-03 Roland McGrath <roland@hack.frob.com>
13165 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13166 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13168 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13169 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13170 in a bare environment with no <stdlib.h> installed.
13171 * sysdeps/nptl/configure: Regenerated.
13173 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13175 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13176 AC_EGREP_CPP for kernel header checks, so they only succeed if
13177 including <linux/version.h> actually works right.
13178 * sysdeps/unix/sysv/linux/configure: Regenerated.
13180 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13181 value so it's not diagnosed as unused.
13183 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13184 thing) with "ifeq ($(subdir),rt)".
13186 2014-07-03 Richard Henderson <rth@redhat.com>
13188 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13189 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13190 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13192 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13193 (math_force_eval): New.
13195 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13196 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13198 * sysdeps/alpha/fpu/s_round.c: Remove file.
13199 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13201 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13202 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13203 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13204 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13205 (_dl_start, print_statistics): Likewise.
13206 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13207 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13209 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13210 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13211 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13212 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13213 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13214 (HP_SMALL_TIMING_AVAIL): Define.
13215 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13217 (HP_SMALL_TIMING_AVAIL): Define.
13218 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13219 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13221 * sysdeps/aarch64/hp-timing.h: New file.
13223 * sysdeps/generic/hp-timing.h: Remove dead comment.
13224 * sysdeps/generic/hp-timing-common.h: New file.
13225 * sysdeps/alpha/hp-timing.h: Include it.
13226 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13227 * sysdeps/i386/i686/hp-timing.h: Likewise.
13228 * sysdeps/ia64/hp-timing.h: Likewise.
13229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13230 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13231 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13232 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13233 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13234 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13235 (hp_timing_t): New.
13237 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13238 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13239 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13240 * elf/rtld.c (_dl_start_final): Likewise.
13241 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13242 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13243 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13244 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13245 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13246 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13247 (HP_TIMING_DIFF_INIT): Remove.
13248 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13249 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13250 (HP_TIMING_DIFF_INIT): Remove.
13251 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13252 * sysdeps/i386/i686/hp-timing.c: Remove file.
13253 * sysdeps/x86_64/hp-timing.c: Remove file.
13254 * sysdeps/ia64/hp-timing.c: Remove file.
13255 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13256 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13257 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13258 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13260 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13261 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13262 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13263 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13265 (HP_TIMING_ACCUM): Remove.
13266 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13267 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13268 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13270 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13271 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13272 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13273 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13275 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13276 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13277 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13279 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13281 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13283 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13285 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13287 Sync up with gettext.
13288 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13289 [_MSC_VER]: Include malloc.h
13290 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13291 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13292 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13293 TEMP_FAILURE_RETRY. Cast return of alloca.
13294 [!_LIBC] Call gl_rwlock_init.
13295 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13297 2014-07-02 Roland McGrath <roland@hack.frob.com>
13299 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13300 before checking its value.
13302 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13304 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13306 * debug/memcpy_chk.c: Don't include pagecopy.h.
13307 * debug/mempcpy_chk.c: Likewise.
13308 * string/memcpy.c: Likewise.
13309 * string/memmove.c: Likewise.
13310 * sysdeps/powerpc/memmove.c: Likewise.
13311 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13312 definition of PAGE_COPY_FWD_MAYBE here...
13313 * sysdeps/generic/pagecopy.h: ... from here.
13314 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13316 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13317 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13323 (__libc_ifunc_impl_list): Likewise.
13324 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13325 multiarch strcat for PPC64.
13326 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13327 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13329 2014-07-02 Roland McGrath <roland@hack.frob.com>
13331 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13333 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13335 * intl/loadmsgcat.c: Remove declaration of
13336 get_sysdep_segment_value.
13337 (get_sysdep_segment_value): Use ISO C style.
13338 (_nl_load_domain): Use ISO C style. Get rid of redundant
13339 semicolon. Fix typo and formatting in comment.
13340 (_nl_unload_domain): Use ISO C style.
13342 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13344 2014-07-02 Will Newton <will.newton@linaro.org>
13346 * malloc/obstack.c: Merge from gnulib master.
13347 [HAVE_CONFIG_H]: Remove conditional code.
13348 [!_LIBC]: Include config.h.
13349 [!ELIDE_CODE]: Don't include inttypes.h, include
13350 stdint.h unconditionally.
13351 (print_and_abort): Mark as _Noreturn.
13352 (_obstack_allocated_p): Mark as __attribute_pure__.
13353 (obstack_free): Rename to __obstack_free.
13354 [!__attribute__]: Remove conditional code.
13355 * malloc/obstack.h: Merge from gnulib master.
13356 [__cplusplus]: Move conditional down.
13357 [!__attribute_pure__]: Define __attribute_pure__ here
13358 if it is not already defined.
13359 (_obstack_memory_used): Mark as __attribute_pure__.
13360 [!__obstack_free]: Define as obstack_free.
13361 [__GNUC__]: Remove check for ancient NeXT gcc.
13363 2014-07-02 Will Newton <will.newton@linaro.org>
13364 Paul Eggert <eggert@cs.ucla.edu>
13366 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13368 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13370 * resolv/gethnamaddr.c: Add comment warning that the file is
13373 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13375 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13378 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13379 entry for aio_cancel and aio_cancel64.
13380 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13381 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13382 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13383 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13384 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13385 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13386 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13387 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13388 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13389 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13390 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13391 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13392 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13394 2014-07-01 Roland McGrath <roland@hack.frob.com>
13396 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13397 * nptl/pthread_mutex_lock.c: Likewise.
13398 * nptl/pthread_mutex_timedlock.c: Likewise.
13399 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13401 2014-07-01 Richard henderson <rth@redhat.com>
13403 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13404 (__isnan, __isnanl): Remove.
13405 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13407 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13409 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13411 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13413 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13415 * resolv/nss_dns/dns-host.c (getanswer_r)
13416 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13418 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13421 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13423 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13424 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13426 2014-07-01 Roland McGrath <roland@hack.frob.com>
13428 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13429 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13431 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13432 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13434 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13435 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13437 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13438 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13440 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13441 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13442 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13443 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13445 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13446 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13447 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13451 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13453 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13456 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13460 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13461 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13462 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13463 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13464 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13465 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13466 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13467 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13468 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13469 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13470 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13471 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13472 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13474 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13475 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13477 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13478 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13479 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13480 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13481 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13483 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13485 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13486 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13487 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13490 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13494 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13496 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13497 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13499 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13501 * sysdeps/arm/libm-test-ulps: Regenerated.
13503 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13504 Roland McGrath <roland@hack.frob.com>
13506 * test-skeleton.c (signal_handler): Kill the whole process group
13507 before killing the child individually.
13508 (main): Report any failure on `setpgid'.
13510 2014-06-30 Roland McGrath <roland@hack.frob.com>
13512 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13513 from _TLS_H to _ARM_NPTL_TLS_H.
13514 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13515 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13517 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13520 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13521 (__expm1l): Return argument unchanged when small but not
13524 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13525 include macro name.
13526 (_FP_UNPACK_RAW_1_P): Likewise.
13527 (_FP_PACK_RAW_1): Likewise.
13528 (_FP_PACK_RAW_1_P): Likewise.
13529 (_FP_MUL_MEAT_1_wide): Likewise.
13530 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13531 (_FP_MUL_MEAT_1_hard): Likewise.
13532 (_FP_DIV_MEAT_1_imm): Likewise.
13533 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13534 (_FP_DIV_MEAT_1_udiv): Likewise.
13535 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13536 (_FP_UNPACK_RAW_2): Likewise.
13537 (_FP_UNPACK_RAW_2_P): Likewise.
13538 (_FP_PACK_RAW_2): Likewise.
13539 (_FP_PACK_RAW_2_P): Likewise.
13540 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13541 (_FP_MUL_MEAT_2_wide): Likewise.
13542 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13543 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13544 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13545 (_FP_MUL_MEAT_2_gmp): Likewise.
13546 (_FP_DIV_MEAT_2_udiv): Likewise.
13547 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13548 (_FP_FRAC_SRL_4): Likewise.
13549 (_FP_FRAC_SRST_4): Likewise.
13550 (_FP_FRAC_SRS_4): Likewise.
13551 (_FP_UNPACK_RAW_4): Likewise.
13552 (_FP_UNPACK_RAW_4_P): Likewise.
13553 (_FP_PACK_RAW_4): Likewise.
13554 (_FP_PACK_RAW_4_P): Likewise.
13555 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13556 (_FP_MUL_MEAT_4_wide): Likewise.
13557 (_FP_MUL_MEAT_4_gmp): Likewise.
13558 (umul_ppppmnnn): Likewise.
13559 (_FP_DIV_MEAT_4_udiv): Likewise.
13560 (__FP_FRAC_ADD_4): Likewise.
13561 (__FP_FRAC_SUB_3): Likewise.
13562 (__FP_FRAC_SUB_4): Likewise.
13563 (__FP_FRAC_DEC_3): Likewise.
13564 (__FP_FRAC_DEC_4): Likewise.
13565 (__FP_FRAC_ADDI_4): Likewise.
13566 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13567 (_FP_FRAC_SRL_8): Likewise.
13568 (_FP_FRAC_SRS_8): Likewise.
13570 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13571 include macro name.
13572 (FP_UNPACK_RAW_EP): Likewise.
13573 (FP_PACK_RAW_E): Likewise.
13574 (FP_PACK_RAW_EP): Likewise.
13575 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13576 (_FP_ISSIGNAN): Likewise.
13577 (_FP_ADD_INTERNAL): Likewise.
13578 (_FP_FMA): Likewise.
13579 (_FP_CMP): Likewise.
13580 (_FP_SQRT): Likewise.
13581 (_FP_TO_INT): Likewise.
13582 (_FP_FROM_INT): Likewise.
13583 (FP_EXTEND): Likewise.
13584 (_FP_DIV_MEAT_N_loop): Likewise.
13586 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13588 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13591 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13594 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13595 result with correct sign in case of exponents that produce
13596 overflow except for X very close to 1.
13598 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13600 mktime: merge #if/#ifdef usage from glibc
13601 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13602 as that works with both Glibc's and Gnulib's style.
13603 See thread starting at Siddhesh Poyarekar's bug report at:
13604 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13606 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13608 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13609 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13610 * sysdeps/tile/tilegx/memmove.c: Remove file.
13612 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13614 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13615 abi-name definition.
13616 * scripts/soversions.awk: Do not handle or generate ABI lines.
13617 * shlib-versions: Remove ABI entries.
13618 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13619 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13621 2014-06-27 Roland McGrath <roland@hack.frob.com>
13623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13624 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13625 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13626 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13628 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13631 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13634 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13635 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13636 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13638 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13640 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13642 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13644 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13647 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13654 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13657 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13658 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13659 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13662 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13664 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13665 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13666 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13668 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13671 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13673 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13674 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13676 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13677 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13679 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13681 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13682 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13684 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13686 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13687 Identical file removed.
13688 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13690 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13692 Identical file removed.
13693 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13694 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13695 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13697 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13698 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13699 Identical file removed.
13700 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13701 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13703 Identical file removed.
13704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13706 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13707 Identical file removed.
13708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13711 Identical file removed.
13712 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13714 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13715 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13716 Identical file removed.
13717 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13719 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13720 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13721 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13722 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13723 Identical file removed.
13724 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13726 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13728 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13729 Identical file removed.
13730 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13732 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13733 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13734 Identical file removed.
13735 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13737 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13738 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13739 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13740 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13744 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13745 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13746 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13748 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13749 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13750 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13751 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13752 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13754 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13757 * nscd/nscd.c (monitor_child): Return exit status of child
13758 instead of return value from wait syscall.
13760 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13762 * configure.ac (libc_commonpagesize): Remove variable.
13763 (libc_relro_required): Likewise.
13764 (libc_cv_z_relro): Remove configure test.
13765 * configure: Regenerated.
13766 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13768 (libc_relro_required): Likewise.
13769 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13770 (libc_relro_required): Likewise.
13771 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13772 (libc_relro_required): Likewise.
13773 * sysdeps/arm/preconfigure: Regenerated.
13774 * sysdeps/ia64/preconfigure: Remove file.
13775 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13777 (libc_relro_required): Likewise.
13781 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13782 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13783 recompute overflowing results in original rounding mode.
13784 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13785 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13786 recompute overflowing results in original rounding mode.
13787 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13788 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13789 recompute overflowing results in original rounding mode.
13790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13791 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13792 recompute overflowing results in original rounding mode.
13793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13794 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13795 recompute overflowing results in original rounding mode.
13796 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13797 (libc_feholdsetround_ctx): New macro.
13798 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13799 * sysdeps/i386/fpu/libm-test-ulps: Update.
13800 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13802 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13804 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13805 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13806 corresponding .cpsetup call.
13808 2014-06-26 Roland McGrath <roland@hack.frob.com>
13810 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13811 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13812 * sysdeps/arm/Makefile [$(subdir) = csu]
13813 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13814 (static-only-routines): Add aeabi_read_tp here.
13815 (shared-only-routines): Add libc-aeabi_read_tp here.
13816 (CFLAGS-libc-start.c): Add -fexceptions here.
13817 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13818 (sysdep_routines, static-only-routines, shared-only-routines):
13819 Don't add to these here.
13820 (CFLAGS-libc-start.c): Likewise.
13822 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13823 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13824 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13825 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13826 * sysdeps/arm/Makefile [$(subdir) = rt]
13827 (librt-sysdep_routines, librt-shared-only-routines):
13828 Append rt-aeabi_unwind_cpp_pr1 here.
13829 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13830 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13831 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13832 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13833 Append nptl-aeabi_unwind_cpp_pr1 here.
13834 (tests): Filter out tst-cleanupx4 here.
13835 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13836 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13837 Don't do those here.
13839 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13841 * scripts/list-sources.sh: Do not handle ports specially.
13843 2014-06-26 Roland McGrath <roland@hack.frob.com>
13845 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13846 * sysdeps/arm/feupdateenv.c: Likewise.
13848 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13850 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13852 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13853 trailing whitespace removed.
13854 * scripts/config.guess: Update to version 2014-03-23.
13855 * scripts/config.sub: Update to version 2014-05-01
13856 * scripts/install-sh: Update to version 2013-12-25.23.
13857 * scripts/move-if-change: Update from gnulib.
13859 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13861 * debug/memmove_chk.c: Remove pagecopy.h include.
13863 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13865 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13866 identical to gnulib mktime.
13868 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13870 * configure.ac: Do not test for machine being rs6000. Do not test
13871 for powerpc*-*soft.
13872 * configure: Regenerated.
13875 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13877 * configure: Regenerated.
13878 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13879 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13880 Remove configure test.
13881 * sysdeps/arm/configure: Regenerated.
13882 * sysdeps/nptl/configure.ac: Do not check
13883 libc_cv_asm_cfi_directives.
13884 * sysdeps/nptl/configure: Regenerated.
13885 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13886 * sysdeps/x86_64/nptl/configure: Remove generated file.
13887 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13889 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13891 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13893 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13894 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13895 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13898 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13899 instead of whether it is defined.
13900 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13901 * sysdeps/hppa/dl-machine.h: Likewise.
13902 * sysdeps/ia64/dl-machine.h: Likewise.
13903 * sysdeps/m68k/dl-machine.h: Likewise.
13904 * sysdeps/microblaze/dl-machine.h: Likewise.
13905 * sysdeps/mips/dl-machine.: Likewise.
13906 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13907 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13908 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13909 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13910 * sysdeps/sh/dl-machine.h: Likewise.
13911 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13912 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13913 * sysdeps/tile/dl-machine.h: Likewise.
13914 * sysdeps/x86_64/dl-machine.h: Likewise.
13916 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13918 (verify_persistent_db): Likewise.
13920 2014-06-26 Roland McGrath <roland@hack.frob.com>
13922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13923 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13925 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13928 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13931 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13933 Identical file removed.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13935 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13937 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13939 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13941 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13943 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13946 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13948 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13950 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13953 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13955 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13957 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13959 Identical file removed.
13960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13961 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13963 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13966 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13969 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13971 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13973 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13975 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13977 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13980 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13983 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13985 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13988 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13990 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13992 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13994 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13995 * sysdeps/unix/sysv/linux/s390/Versions
13996 (libpthread: GLIBC_2.19): New version set.
13997 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13998 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13999 (librt: GLIBC_2.3.3): New version set.
14000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14001 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14002 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14003 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14004 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14005 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14006 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14007 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14008 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14009 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14010 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14011 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14012 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14013 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14014 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14015 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14016 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14017 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14018 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14019 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14020 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14021 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14022 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14024 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14025 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14026 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14028 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14029 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14030 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14031 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14033 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14035 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14036 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14038 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14040 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14041 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14042 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14044 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14046 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14047 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14048 (__libc_vfork): Define the function under this name.
14049 [!NOT_IN_libc] (__vfork): Make this an alias.
14050 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14051 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14052 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14053 (__libc_vfork): Define the function under this name.
14054 [!NOT_IN_libc] (__vfork): Make this an alias.
14055 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14056 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14057 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14060 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14062 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14063 code that was previously under [RESET_PID].
14064 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14065 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14068 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14069 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14070 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14071 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14072 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14073 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14074 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14075 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14076 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14077 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14078 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14080 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14081 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14082 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14083 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14084 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14085 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14086 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14087 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14088 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14089 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14091 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14092 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14093 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14094 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14095 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14096 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14097 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14098 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14099 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14100 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14101 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14102 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14103 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14104 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14105 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14106 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14107 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14108 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14110 2014-06-25 Roland McGrath <roland@hack.frob.com>
14112 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14113 that was previously under [RESET_PID].
14114 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14116 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14118 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14119 not undefine and redefine.
14120 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14121 [O_CLOEXEC]: Make code unconditional.
14122 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14123 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14124 <kernel-features.h>.
14125 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14126 conditional variable definition.
14127 (shm_open) [O_CLOEXEC]: Make code unconditional.
14128 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14131 * configure.ac (USE_REGPARMS): Don't define here.
14132 * configure: Regenerated.
14133 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14134 * sysdeps/i386/configure: Regenerated.
14136 * nptl/createthread.c: Don't include kernel-features.h.
14137 * nptl/pthread_cancel.c: Likewise.
14138 * nptl/pthread_condattr_setclock.c: Likewise.
14139 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14140 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14141 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14142 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14143 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14144 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14145 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14146 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14147 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14148 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14149 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14150 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14151 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14152 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14153 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14154 * nscd/gai.c: Likewise.
14155 * nss/nss_db/db-open.c: Likewise.
14156 * sysdeps/generic/ldsodefs.h: Likewise.
14157 * sysdeps/sh/nptl/tls.h: Likewise.
14158 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14159 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14160 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14161 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14162 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14163 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14164 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14165 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14167 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14168 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14169 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14170 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14171 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14172 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14173 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14174 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14175 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14176 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14177 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14178 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14179 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14180 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14181 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14182 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14183 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14184 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14185 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14186 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14187 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14188 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14190 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14191 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14192 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14193 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14194 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14195 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14196 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14197 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14198 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14199 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14200 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14201 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14202 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14203 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14204 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14205 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14206 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14207 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14208 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14209 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14210 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14211 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14212 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14213 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14214 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14215 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14238 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14239 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14240 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14241 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14242 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14243 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14244 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14245 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14246 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14247 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14248 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14249 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14250 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14251 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14252 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14253 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14255 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14256 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14257 * sysdeps/unix/sysv/linux/system.c: Likewise.
14258 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14259 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14260 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14261 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14262 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14264 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14266 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14267 * configure: Regenerated.
14268 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14270 * configure.ac (base_machine): Do not set specially for particular
14272 * configure: Regenerated.
14273 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14274 settings from configure.ac.
14275 * sysdeps/i386/preconfigure: New file.
14276 * sysdeps/s390/preconfigure: Likewise.
14277 * sysdeps/sh/preconfigure: Likewise.
14278 * sysdeps/sparc/preconfigure: Likewise.
14280 2014-06-25 Roland McGrath <roland@hack.frob.com>
14282 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14283 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14284 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14285 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14286 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14287 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14288 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14289 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14290 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14291 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14292 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14293 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14294 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14295 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14296 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14297 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14298 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14299 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14300 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14302 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14303 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14304 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14305 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14306 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14307 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14308 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14309 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14310 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14311 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14312 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14313 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14314 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14315 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14316 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14317 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14318 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14319 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14320 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14321 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14322 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14323 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14324 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14325 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14326 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14327 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14328 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14329 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14330 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14331 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14332 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14333 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14334 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14335 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14336 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14337 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14338 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14339 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14342 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14344 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14347 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14350 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14352 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14355 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14357 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14359 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14361 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14364 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14369 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14372 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14374 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14376 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14378 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14380 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14383 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14386 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14388 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14391 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14393 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14397 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14403 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14405 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14408 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14410 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14412 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14414 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14416 * timezone/checktab.awk: Update from tzcode 2014e.
14417 * timezone/private.h: Likewise.
14418 * timezone/tzfile.h: Likewise.
14419 * timezone/zdump.c: Likewise.
14420 * timezone/zic.c: Likewise.
14422 * sysdeps/unix/sysv/linux/kernel-features.h
14423 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14424 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14425 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14426 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14427 Remove conditional code.
14429 2014-06-25 Will Newton <will.newton@linaro.org>
14431 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14432 (_dl_arm_cap_flags): Add HWCAP2 values.
14433 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14434 (_DL_HWCAP_COUNT): Increase to 37.
14435 (_DL_HWCAP_LAST): New define.
14436 (_DL_HWCAP2_LAST): New define.
14437 (_dl_procinfo): Add support for printing
14439 (_dl_string_hwcap): Use _dl_hwcap_string.
14441 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14445 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14447 * README: Do not mention ports directory.
14449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14451 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14452 <kernel-features.h>.
14453 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14454 conditional variable definition.
14455 (__futimes): Update comment.
14456 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14457 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14460 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14461 arguments close to 0.
14462 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14464 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14466 * math/auto-libm-test-in: Add more tests of exp10.
14467 * math/auto-libm-test-out: Regenerated.
14468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14470 * sysdeps/unix/sysv/linux/kernel-features.h
14471 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14472 * sysdeps/unix/sysv/linux/readv.c: Do not include
14473 <kernel-features.h>.
14474 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14475 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14476 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14478 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14480 * sysdeps/unix/sysv/linux/writev.c: Do not include
14481 <kernel-features.h>.
14482 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14483 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14484 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14486 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14489 2014-06-25 Will Newton <will.newton@linaro.org>
14491 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14492 comment changes throughout the file. Remove checks
14493 for HAVE_*_H definitions that are not required.
14494 (__gen_tempname): Call abort if an unknown kind value is
14497 2014-06-25 Andreas Schwab <schwab@suse.de>
14500 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14501 scalbln, scalblnf, scalblnl in libc.
14503 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14506 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14507 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14508 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14510 2014-06-24 Roland McGrath <roland@hack.frob.com>
14512 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14513 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14514 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14515 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14517 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14518 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14520 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14521 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14522 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14523 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14524 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14525 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14526 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14527 * sysdeps/x86/bits/semaphore.h: ... here.
14528 * sysdeps/x86/nptl/elide.h: Moved ...
14529 * sysdeps/x86/elide.h: ... here.
14530 * sysdeps/x86_64/nptl/Implies: File removed.
14531 * sysdeps/i386/nptl/Implies: File removed.
14533 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14536 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14537 return the argument for normal arguments with exponent below -64.
14538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14540 * math/auto-libm-test-in: Add another test of expm1.
14541 * math/auto-libm-test-out: Regenerated.
14544 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14545 calling __erfcl for arguments at least 16.
14546 * math/auto-libm-test-in: Add more tests of erf.
14547 * math/auto-libm-test-out: Regenerated.
14549 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14550 individual architectures.
14551 * sysdeps/unix/sysv/linux/configure: Regenerated.
14552 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14553 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14554 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14555 (ldd_rewrite_script): Define variable.
14556 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14561 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14562 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14563 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14564 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14565 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14566 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14567 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14568 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14570 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14573 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14574 Rename member __data.d to __data.__elision_data.
14576 2014-06-24 Wilco <wdijkstr@arm.com>
14578 * NEWS: Add 16918 to fixed bug list.
14580 2014-06-24 Wilco <wdijkstr@arm.com>
14582 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14584 2014-06-24 Wilco <wdijkstr@arm.com>
14586 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14587 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14588 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14589 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14590 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14591 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14592 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14595 2014-06-24 Wilco <wdijkstr@arm.com>
14597 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14599 2014-06-24 Wilco <wdijkstr@arm.com>
14601 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14602 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14603 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14604 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14606 2014-06-24 Wilco <wdijkstr@arm.com>
14609 * sysdeps/arm/feupdateenv.c (feupdateenv):
14610 Rewrite to reduce FPSCR accesses and fix return value.
14612 2014-06-24 Wilco <wdijkstr@arm.com>
14614 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14615 Optimize to avoid unnecessary FPSCR writes.
14616 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14617 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14618 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14619 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14621 2014-06-24 Wilco <wdijkstr@arm.com>
14623 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14624 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14625 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14626 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14627 Call libc_fetestexcept_vfp.
14628 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14629 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14630 __SOFTFP__ ifdef so that they can be built for softfp.
14632 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14634 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14635 argument type signed char.
14637 * Makerules (check-abi): Dump diff of symlist if the test
14640 2014-06-23 Roland McGrath <roland@hack.frob.com>
14642 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14645 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14646 Remove unused variable ST.
14648 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14652 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14653 small arguments before calling __expm1.
14654 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14655 small arguments before calling __expm1f.
14656 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14657 small arguments before calling __expm1l.
14658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14660 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14661 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14662 spurious underflow for some cosh tests.
14663 * math/auto-libm-test-out: Regenerated.
14664 * sysdeps/i386/fpu/libm-test-ulps: Update.
14667 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14668 (__ieee754_y1): Set errno if return value overflows.
14669 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14670 (__ieee754_y1f): Set errno if return value overflows.
14671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14672 (__ieee754_y1l): Set errno if return value overflows.
14673 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14674 (__ieee754_y1l): Set errno if return value overflows.
14675 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14676 * math/auto-libm-test-out: Regenerated.
14678 * math/gen-auto-libm-tests.c: Document use of
14679 ignore-zero-inf-sign.
14680 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14681 (input_flags): Add ignore-zero-inf-sign.
14682 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14683 * math/gen-libm-test.pl (generate_testfile): Handle
14684 ignore-zero-inf-sign.
14685 * math/auto-libm-test-in: Mark some cpow tests with
14686 ignore-zero-inf-sign and some with xfail-rounding.
14687 * math/auto-libm-test-out: Regenerated.
14688 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14689 * sysdeps/i386/fpu/libm-test-ulps: Update.
14690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14693 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14694 overflowing or underflowing operations take place with sign of
14696 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14697 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14699 (__ieee754_pow): Recompute overflowing and underflowing results in
14700 original rounding mode.
14701 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14702 (__powl_helper): Allow negative argument X and scale negated value
14703 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14704 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14705 overflowing or underflowing operations take place with sign of
14707 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14709 * math/auto-libm-test-in: Add more tests of pow.
14710 * math/auto-libm-test-out: Regenerated.
14711 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14712 (pow_tonearest_test_data): Remove.
14713 (pow_test_tonearest): Likewise.
14714 (pow_towardzero_test_data): Likewise.
14715 (pow_test_towardzero): Likewise.
14716 (pow_downward_test_data): Likewise.
14717 (pow_test_downward): Likewise.
14718 (pow_upward_test_data): Likewise.
14719 (pow_test_upward): Likewise.
14720 (main): Don't call removed functions.
14721 * sysdeps/i386/fpu/libm-test-ulps: Update.
14722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724 2014-06-23 Roland McGrath <roland@hack.frob.com>
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14900 2014-06-23 Will Newton <will.newton@linaro.org>
14901 Wilco <wdijkstr@arm.com>
14903 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14904 implementation. Include get-rounding-mode.h.
14905 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14906 [!libc_feholdsetround_noex_ctx]: Define
14907 libc_feholdsetround_noex_ctx.
14908 [!libc_feholdsetround_noexf_ctx]: Define
14909 libc_feholdsetround_noexf_ctx.
14910 [!libc_feholdsetround_noexl_ctx]: Define
14911 libc_feholdsetround_noexl_ctx.
14912 (libc_feholdsetround_ctx): New function.
14913 (libc_feresetround_ctx): New function.
14914 (libc_feholdsetround_noex_ctx): New function.
14915 (libc_feresetround_noex_ctx): New function.
14917 2014-06-23 Roland McGrath <roland@hack.frob.com>
14919 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14920 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14921 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14922 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14923 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14924 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14926 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14927 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14928 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14929 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14930 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14931 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14933 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14935 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14938 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14941 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14942 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14943 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14944 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14946 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14947 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14948 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14949 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14950 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14951 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14952 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14953 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14955 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14956 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14958 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14959 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14960 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14961 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14963 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14964 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14965 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14966 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14967 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14968 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14969 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14970 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14971 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14972 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14974 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14976 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14977 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14978 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14979 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14980 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14981 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14982 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14983 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14984 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14985 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14986 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14987 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14988 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14990 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14991 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14992 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14993 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14994 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14995 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14997 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14998 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14999 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15000 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15001 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15003 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15004 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15005 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15006 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15007 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15008 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15009 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15010 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15012 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15013 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15014 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15015 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15016 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15017 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15018 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15019 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15020 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15021 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15022 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15023 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15024 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15025 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15026 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15027 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15028 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15029 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15030 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15032 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15035 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15036 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15037 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15038 (IPV6_PMTUDISC_INTERFACE): Likewise.
15039 (IPV6_PMTUDISC_OMIT): Likewise.
15041 2014-06-23 Andreas Schwab <schwab@suse.de>
15043 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15044 Remove unused errout label.
15046 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15048 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15049 macro: hardware supports Vector Crypto instructions.
15051 2014-06-23 Will Newton <will.newton@linaro.org>
15053 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15054 rather than __builtin_expect.
15056 * elf/dl-lookup.c (undefined_msg): Remove variable.
15057 (_dl_lookup_symbol_x): Replace undefined_msg with string
15060 * elf/dl-lookup.c (do_lookup_unique): New function.
15061 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15062 to a separate function.
15064 2014-06-23 Andreas Schwab <schwab@suse.de>
15067 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15068 before reading the next line.
15070 2014-06-23 Will Newton <will.newton@linaro.org>
15072 * test-skeleton.c (signal_handler): Use printf and %m
15073 rather than perror. Use printf rather than fprintf to
15074 stderr. Use puts rather than fputs to stderr.
15077 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15079 * nscd/nscd.c (thread_info_t): Remove typedef.
15080 (thread_info): Remove variable.
15082 2014-06-21 Allan McRae <allan@archlinux.org>
15084 * NEWS: Mention CVE-2014-4043.
15086 2014-06-20 Roland McGrath <roland@hack.frob.com>
15088 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15089 * nptl/smp.h: ... here.
15091 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15093 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15094 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15095 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15096 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15098 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15099 * nptl/stack-aliasing.h: New file.
15100 * sysdeps/i386/i686/stack-aliasing.h: New file.
15101 * sysdeps/i386/i686/nptl/Makefile: File removed.
15102 * sysdeps/x86_64/stack-aliasing.h: New file.
15103 * sysdeps/x86_64/nptl/Makefile
15104 (CFLAGS-pthread_create.c): Variable removed.
15106 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15107 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15109 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15110 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15113 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15115 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15116 (__ASSUME_SIGFRAME_V2): Remove macro.
15117 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15118 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15119 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15120 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15121 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15122 Declare as function. Remove conditional macro definitions.
15123 (__default_rt_sa_restorer): Likewise.
15124 (__default_sa_restorer_v1): Remove declaration.
15125 (__default_sa_restorer_v2): Likewise.
15126 (__default_rt_sa_restorer_v1): Likewise.
15127 (__default_rt_sa_restorer_v2): Likewise.
15128 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15129 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15130 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15132 2014-06-20 Roland McGrath <roland@hack.frob.com>
15134 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15135 (libpthread-routines): Add sysdep.
15136 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15137 * sysdeps/unix/sysv/linux/sparc/Versions
15138 (libpthread: GLIBC_2.3.3): New version set.
15139 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15140 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15141 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15142 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15143 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15144 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15146 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15147 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15148 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15149 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15150 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15151 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15152 * sysdeps/sparc/nptl/sem_init.c: ... here.
15153 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15154 * sysdeps/sparc/nptl/sem_post.c: ... here.
15155 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15156 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15157 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15158 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15159 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15160 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15161 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15162 (libpthread-routines): Add cpu_relax.
15163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15165 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15166 (librt: GLIBC_2.3.3): New version set.
15167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15168 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15169 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15170 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15173 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15176 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15178 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15180 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15182 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15184 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15187 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15191 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15195 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15199 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15203 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15207 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15210 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15215 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15216 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15218 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15223 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15227 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15229 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15230 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15231 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15232 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15233 * nscd/nscd.c: Likewise.
15234 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15235 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15236 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15237 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15239 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15240 <kernel-features.h>.
15241 (init_mq_netlink): Remove conditional have_sock_cloexec
15242 definitions. Remove code conditional on have_sock_cloexec < 0.
15243 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15244 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15245 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15246 <kernel-features.h>.
15247 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15248 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15250 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15253 Add tests for memset_chk and memset.
15255 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15258 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15261 * elf/tst-dl-iter-static.c: New file.
15262 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15264 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15267 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15269 * sysdeps/unix/sysv/linux/kernel-features.h
15270 (__ASSUME_F_GETOWN_EX): Remove macro.
15271 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15272 <kernel-features.h>.
15273 (miss_F_GETOWN_EX): Remove variable or macro.
15274 (do_fcntl): Do not check miss_F_GETOWN_EX.
15275 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15280 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15281 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15283 * sysdeps/unix/sysv/linux/kernel-features.h
15284 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15285 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15286 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15287 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15289 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15292 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15293 Fix calculation of the symbol's value.
15294 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15295 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15296 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15297 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15298 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15299 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15300 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15301 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15302 (modules-names): Add `tst-armtlsdescmod',
15303 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15304 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15305 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15306 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15307 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15308 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15309 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15310 ($(objpfx)tst-armtlsdescloc): New dependency.
15311 ($(objpfx)tst-armtlsdescextnow): Likewise.
15312 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15313 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15314 TLS scheme support.
15315 * sysdeps/arm/configure: Regenerate.
15317 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15319 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15320 (__atfct_seterrno_2): Likewise.
15321 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15322 <kernel-features.h>.
15323 (__ASSUME_ATFCTS): Do not undefine and redefine.
15324 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15325 (__have_atfcts): Remove conditional definition.
15326 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15327 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15328 unreachable if [__ASSUME_ATFCTS].
15329 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15330 not undefine and redefine.
15331 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15332 <kernel-features.h>.
15333 (faccessat) [__NR_faccessat]: Make code unconditional.
15334 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15335 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15336 <kernel-features.h>.
15337 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15338 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15339 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15340 <kernel-features.h>.
15341 (fchownat) [__NR_fchownat]: Make code unconditional.
15342 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15343 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15344 <kernel-features.h>.
15345 (futimesat) [__NR_futimesat]: Make code unconditional.
15346 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15347 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15348 <kernel-features.h>.
15349 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15350 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15351 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15352 <kernel-features.h>.
15353 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15354 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15355 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15356 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15357 <kernel-features.h>.
15358 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15359 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15360 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15361 <kernel-features.h>.
15362 (linkat) [__NR_linkat]: Make code unconditional.
15363 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15364 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15365 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15366 <kernel-features.h>.
15367 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15368 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15369 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15370 <kernel-features.h>.
15371 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15372 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15373 * sysdeps/unix/sysv/linux/openat.c: Do not include
15374 <kernel-features.h>.
15375 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15376 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15377 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15378 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15379 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15380 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15381 <kernel-features.h>.
15382 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15383 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15384 result of INLINE_SYSCALL directly, not via int variable.
15385 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15386 <kernel-features.h>.
15387 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15388 (renameat) [__NR_renameat]: Make code unconditional.
15389 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15390 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15391 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15392 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15393 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15394 (__ASSUME_ATFCTS): Do not undefine and redefine.
15395 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15396 <kernel-features.h>.
15397 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15398 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15399 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15400 <kernel-features.h>.
15401 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15402 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15403 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15404 (__ASSUME_ATFCTS): Do not undefine and redefine.
15405 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15406 <kernel-features.h>.
15407 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15408 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15409 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15410 <kernel-features.h>.
15411 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15412 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15414 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15416 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15418 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15421 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15422 constructed tree before returning error.
15423 * posix/bug-regexp36.c: Expand test case.
15425 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15428 * math/libm-test.inc (scalbln_test_date):
15429 Add errno expectations.
15430 * math/w_scalblnf.c: New File.
15431 Add wrapper which checks for setting errno to ERANGE.
15432 Add weak_alias for corresponding scalbln function.
15433 * math/w_scalbln.c: Likewise.
15434 * math/w_scalblnl.c: Likewise.
15435 * math/Makefile (libm-calls): Add w_scalbln.
15436 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15437 Remove weak_alias for corresponding scalbln function.
15438 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15442 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15443 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15444 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15445 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15446 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15447 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15448 Remove long_double_symbol for scalblnl function in libm, libc.
15449 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15450 Add wrapper which checks for setting errno to ERANGE.
15451 Add long_double_symbol for scalblnl function in libm, libc.
15452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15453 Remove long_double_symbol for scalblnl in libm.
15454 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15455 Add wrapper which checks for setting errno to ERANGE.
15456 Add long_double_symbol for scalblnl function in libm.
15457 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15458 Do not use wrapper because of own implementation.
15460 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15462 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15463 3 bytes for __pad1 for x32.
15464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15466 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15467 H.J. Lu <hongjiu.lu@intel.com>
15469 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15470 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15471 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15472 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15473 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15475 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15478 * posix/regcomp.c (parse_expression): Deallocate partially
15479 constructed tree before returning error.
15480 * posix/Makefile.c (tests): Add bug-regex36.
15481 (generated): Add bug-regex36.mtrace.
15482 (tests-special): Add $(objpfx)bug-regex36-mem.out
15483 (bug-regex36-ENV): New variable.
15484 ($(objpfx)bug-regex36-mem.out): New rule.
15485 * posix/bug-regex36.c: New file.
15487 2014-06-19 Will Newton <will.newton@linaro.org>
15489 * malloc/malloc.c (systrim): If extra is zero then return
15492 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15494 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15496 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15498 * sysdeps/aarch64/strchr.S: New file.
15500 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15503 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15504 from arguments -2 or below.
15505 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15506 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15508 2014-06-18 Andreas Schwab <schwab@suse.de>
15511 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15512 of a bracket expr not to run off the end of the string.
15513 * posix/Makefile (tests): Add tst-fnmatch3.
15514 * posix/tst-fnmatch3.c: New file.
15516 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15518 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15519 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15520 [$(cross-compiling) = no]: Likewise.
15521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15522 [$(cross-compiling) = no]: Likewise.
15524 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15528 double, adjusted for any remainder from the high double.
15529 * math/libm-test.inc (nearbyint): Add tests.
15532 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15534 * nptl/sysdeps/powerpc/Makefile: Moved ...
15535 * sysdeps/powerpc/nptl/Makefile: ... here.
15536 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15537 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15538 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15539 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15540 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15541 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15542 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15543 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15544 * nptl/sysdeps/powerpc/tls.h: Moved ...
15545 * sysdeps/powerpc/nptl/tls.h: ... here.
15547 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15550 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15551 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15552 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15553 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15554 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15555 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15556 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15557 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15558 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15560 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15562 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15564 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15566 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15569 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15572 2014-06-16 Florian Weimer <fweimer@redhat.com>
15575 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15576 non-executed part of the test.
15578 2014-06-16 Andreas Schwab <schwab@suse.de>
15580 * string/bits/string2.h (strdup, strndup): Update feature guard.
15582 2014-06-14 David S. Miller <davem@davemloft.net>
15584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15586 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15588 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15589 that was previously under [RESET_PID].
15590 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15592 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15593 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15594 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15595 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15596 (__libc_vfork): New strong alias.
15597 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15599 2014-06-14 Andi Kleen <ak@linux.intel.com>
15601 * sysdeps/generic/elide.h: New file.
15603 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15605 * Makefile (installed-headers): Adjust path of pthread.h header.
15607 2014-06-13 Roland McGrath <roland@hack.frob.com>
15609 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15610 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15611 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15612 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15614 * nptl/sysdeps/s390/Makefile: Moved ...
15615 * sysdeps/s390/nptl/Makefile: ... here.
15616 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15617 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15618 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15619 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15620 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15621 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15622 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15623 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15624 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15625 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15626 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15627 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15628 * nptl/sysdeps/s390/tls.h: Moved ...
15629 * sysdeps/s390/nptl/tls.h: ... here.
15631 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15632 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15634 2014-06-13 David S. Miller <davem@davemloft.net>
15636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15639 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15643 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15644 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15645 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15646 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15647 Remove RESET_PID cpp guards.
15648 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15649 Remove RESET_PID cpp guards.
15650 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15652 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15654 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15657 2014-06-13 Andi Kleen <ak@linux.intel.com>
15659 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15660 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15661 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15662 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15663 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15664 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15665 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15666 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15667 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15668 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15669 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15670 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15671 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15672 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15673 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15674 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15675 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15677 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15678 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15680 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15681 (pthread_rwlock_rdlock): Add elision.
15682 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15683 (pthread_rwlock_wrlock): Add elision.
15684 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15685 (pthread_rwlock_trywrlock): Add elision.
15686 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15687 (pthread_rwlock_tryrdlock): Add elision.
15688 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15689 (pthread_rwlock_tryrdlock): Add elision unlock.
15690 * nptl/sysdeps/pthread/pthread.h:
15691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15692 (PTHREAD_RWLOCK_INITIALIZER,
15693 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15694 Handle new elision field.
15695 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15696 * sysdeps/arm/nptl/bits/pthreadtypes.h
15697 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15698 * sysdeps/sh/nptl/bits/pthreadtypes.h
15699 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15700 * sysdeps/tile/nptl/bits/pthreadtypes.h
15701 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15702 * sysdeps/a/nptl/bits/pthreadtypes.h
15703 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15705 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15706 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15707 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15708 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15709 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15711 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15712 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15713 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15714 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15715 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15716 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15717 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15718 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15719 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15720 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15721 (elision_init): Set try_xbegin to zero when no RTM.
15722 * sysdeps/x86/nptl/bits/pthreadtypes.h
15723 (pthread_rwlock_t): Change __pad1 to __rwelision.
15724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15726 2014-06-13 Andi Kleen <ak@linux.intel.com>
15728 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15729 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15730 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15731 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15733 2014-06-13 Meador Inge <meadori@codesourcery.com>
15736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15737 that the cached result has been set before returning it.
15739 2014-06-12 Roland McGrath <roland@hack.frob.com>
15741 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15742 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15743 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15744 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15745 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15746 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15748 * nptl/sysdeps/sparc/Makefile: Moved ...
15749 * sysdeps/sparc/nptl/Makefile: ... here.
15750 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15751 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15752 * nptl/sysdeps/sparc/tls.h: Moved ...
15753 * sysdeps/sparc/nptl/tls.h: ... here.
15754 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15755 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15756 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15757 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15758 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15759 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15760 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15761 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15762 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15763 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15764 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15765 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15766 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15767 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15768 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15769 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15770 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15771 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15773 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15776 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15777 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15779 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15780 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15783 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15785 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15786 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15788 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15789 (struct list_links): Type removed.
15790 (struct thread_node, struct timer_node): Replace struct list_links
15791 with struct list_head.
15792 (list_unlink_ip): Likewise.
15793 * sysdeps/pthread/timer_routines.c
15794 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15795 (list_append, list_insbefore): Likewise.
15796 (list_init): Function removed.
15797 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15798 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15799 * sysdeps/pthread/Makefile: ... here, new file.
15801 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15802 * sysdeps/nptl/Implies: ... here.
15803 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15804 * nptl/sysdeps/pthread/list.h: Moved ...
15805 * include/list.h: ... here.
15806 * nptl/sysdeps/pthread/createthread.c: Moved ...
15807 * nptl/createthread.c: ... here.
15808 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15809 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15810 * nptl/pt-longjmp.c: ... here.
15811 * nptl/sysdeps/pthread/Makefile: Moved ...
15812 * sysdeps/nptl/Makefile: ... here.
15813 * nptl/sysdeps/pthread/Subdirs: Moved ...
15814 * sysdeps/nptl/Subdirs: ... here.
15815 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15816 * sysdeps/nptl/aio_misc.h: ... here.
15817 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15818 * sysdeps/nptl/bits/libc-lock.h: ... here.
15819 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15820 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15821 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15822 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15823 * nptl/sysdeps/pthread/configure: Moved ...
15824 * sysdeps/nptl/configure: ... here.
15825 * nptl/sysdeps/pthread/configure.ac: Moved ...
15826 * sysdeps/nptl/configure.ac: ... here.
15827 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15828 * sysdeps/nptl/gai_misc.h: ... here.
15829 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15830 * sysdeps/nptl/librt-cancellation.c: ... here.
15831 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15832 * sysdeps/nptl/malloc-machine.h: ... here.
15833 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15834 * sysdeps/nptl/pthread-functions.h: ... here.
15835 * nptl/sysdeps/pthread/pthread.h: Moved ...
15836 * sysdeps/nptl/pthread.h: ... here.
15837 * nptl/sysdeps/pthread/setxid.h: Moved ...
15838 * sysdeps/nptl/setxid.h: ... here.
15839 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15840 * sysdeps/nptl/sigfillset.c: ... here.
15841 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15842 * sysdeps/nptl/tcb-offsets.h: ... here.
15843 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15844 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15845 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15846 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15847 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15848 * sysdeps/pthread/allocalim.h: ... here.
15849 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15850 * sysdeps/pthread/bits/sigthread.h: ... here.
15851 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15852 * sysdeps/pthread/flockfile.c: ... here.
15853 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15854 * sysdeps/pthread/ftrylockfile.c: ... here.
15855 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15856 * sysdeps/pthread/funlockfile.c: ... here.
15857 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15858 * sysdeps/pthread/posix-timer.h: ... here.
15859 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15860 * sysdeps/pthread/timer_create.c: ... here.
15861 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15862 * sysdeps/pthread/timer_delete.c: ... here.
15863 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15864 * sysdeps/pthread/timer_getoverr.c: ... here.
15865 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15866 * sysdeps/pthread/timer_gettime.c: ... here.
15867 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15868 * sysdeps/pthread/timer_routines.c: ... here.
15869 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15870 * sysdeps/pthread/timer_settime.c: ... here.
15871 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15872 * sysdeps/pthread/tst-timer.c: ... here.
15873 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15874 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15876 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15877 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15879 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15880 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15881 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15882 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15883 Update #include target.
15884 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15885 * sysdeps/i386/i686/nptl/Makefile: ... here.
15886 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15887 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15888 Update #include target.
15889 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15890 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15891 * nptl/sysdeps/i386/Makefile: Moved ...
15892 * sysdeps/i386/nptl/Makefile: ... here.
15893 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15894 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15895 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15896 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15897 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15898 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15899 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15900 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15901 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15902 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15903 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15904 * nptl/sysdeps/i386/tls.h: Moved ...
15905 * sysdeps/i386/nptl/tls.h: ... here.
15907 * sysdeps/sh/Makefile [$(subdir) = csu]
15908 (gen-as-const-headers): Add tcb-offsets.sym.
15909 * nptl/sysdeps/sh/Makefile: File removed.
15910 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15911 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15912 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15913 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15914 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15915 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15916 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15917 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15918 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15919 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15920 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15921 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15922 * nptl/sysdeps/sh/tls.h: Moved ...
15923 * sysdeps/sh/nptl/tls.h: ... here.
15924 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15925 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15926 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15927 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15928 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15929 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15930 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15931 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15932 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15933 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15934 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15935 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15936 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15937 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15938 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15939 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15940 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15941 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15942 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15943 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15944 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15945 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15946 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15947 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15948 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15950 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15951 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15953 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15954 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15955 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15956 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15957 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15958 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15959 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15960 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15961 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15962 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15963 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15964 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15965 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15966 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15967 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15968 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15969 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15970 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15971 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15973 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15975 * posix/spawn_faction_addopen.c: Include string.h.
15977 2014-06-11 Roland McGrath <roland@hack.frob.com>
15979 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15980 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15981 * nptl/sysdeps/x86_64/Makefile: Moved ...
15982 * sysdeps/x86_64/nptl/Makefile: ... here.
15983 * nptl/sysdeps/x86_64/configure: Moved ...
15984 * sysdeps/x86_64/nptl/configure: ... here.
15985 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15986 * sysdeps/x86_64/nptl/configure.ac: ... here.
15987 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15988 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15989 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15990 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15991 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15992 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15993 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15994 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15995 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15996 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15997 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15998 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15999 * nptl/sysdeps/x86_64/tls.h: Moved ...
16000 * sysdeps/x86_64/nptl/tls.h: ... here.
16001 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16002 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16003 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16004 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16006 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16008 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16012 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16014 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16016 [POSIX] (off_t): Likewise.
16017 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16018 [POSIX] (S_ISBLK): Require macro.
16019 [POSIX] (S_ISCHR): Likewise.
16020 [POSIX] (S_ISDIR): Likewise.
16021 [POSIX] (S_ISFIFO): Likewise.
16022 [POSIX] (S_ISREG): Likewise.
16023 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16025 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16027 [POSIX] (time_t): Likewise.
16028 [POSIX] (timer_t): Likewise.
16030 2014-06-11 Florian Weimer <fweimer@redhat.com>
16033 * posix/spawn_int.h (struct __spawn_action): Make the path string
16034 non-const to support deallocation.
16035 * posix/spawn_faction_addopen.c
16036 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16037 * posix/spawn_faction_destroy.c
16038 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16039 path in all spawn_do_open actions.
16040 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16041 posix_spawn_file_actions_addopen.
16043 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16045 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16046 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16047 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16048 conditional code always true.
16049 (__libc_vfork): New alias.
16051 2014-06-11 Roland McGrath <roland@hack.frob.com>
16053 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16054 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16056 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16058 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16059 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16061 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16062 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16064 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16065 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16067 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16069 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16070 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16071 multiarch strcmp for PPC64.
16072 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16073 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16075 multiarch optimizations.
16076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16077 (__libc_ifunc_impl_list): Likewise.
16079 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16081 * benchtests/scripts/validate_benchout.py: New script.
16082 * benchtests/Makefile (bench-func): Call it.
16083 * benchtests/scripts/benchout.schema.json: New file.
16085 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16087 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16088 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16089 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16090 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16091 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16092 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16093 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16094 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16095 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16096 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16097 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16098 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16099 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16100 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16101 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16102 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16206 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16207 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16208 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16209 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16210 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16212 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16214 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16215 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16216 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16217 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16218 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16219 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16220 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16221 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16222 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16225 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16226 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16228 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16229 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16231 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16232 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16233 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16234 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16236 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16237 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16238 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16239 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16240 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16241 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16242 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16244 2014-06-10 Wilco <wdijkstr@arm.com>
16246 * math/test-fenv-return.c: New file.
16247 * math/Makefile: Add new test test-fenv-return.
16249 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16252 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16253 when x - 1 is zero.
16254 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16255 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16256 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16257 0.0L for an argument of 1.0L.
16258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16260 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16261 value when x - 1 is zero.
16262 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16263 * sysdeps/i386/fpu/libm-test-ulps: Update.
16264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16266 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16269 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16271 2014-06-09 Roland McGrath <roland@hack.frob.com>
16273 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16274 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16276 2014-06-09 Roland McGrath <roland@hack.frob.com>
16278 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16279 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16281 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16282 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16284 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16285 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16287 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16288 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16290 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16291 if not already defined.
16292 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16293 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16294 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16295 (TLS_INIT_TP): Use it.
16296 (TLS_DEFINE_INIT_TP): New macro.
16297 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16299 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16301 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16303 [POSIX] (IXANY): Likewise.
16304 [POSIX] (OLCUC): Likewise.
16305 [POSIX || POSIX2008] (CBAUD): Do not allow.
16306 [POSIX || POSIX2008] (DEFECHO): Likewise.
16307 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16308 [POSIX || POSIX2008] (ECHOKE): Likewise.
16309 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16310 [POSIX || POSIX2008] (EXTA): Likewise.
16311 [POSIX || POSIX2008] (EXTB): Likewise.
16312 [POSIX || POSIX2008] (FLUSHO): Likewise.
16313 [POSIX || POSIX2008] (LOBLK): Likewise.
16314 [POSIX || POSIX2008] (PENDIN): Likewise.
16315 [POSIX || POSIX2008] (SWTCH): Likewise.
16316 [POSIX || POSIX2008] (VDISCARD): Likewise.
16317 [POSIX || POSIX2008] (VDSUSP): Likewise.
16318 [POSIX || POSIX2008] (VLNEXT): Likewise.
16319 [POSIX || POSIX2008] (VREPRINT): Likewise.
16320 [POSIX || POSIX2008] (VSTATUS): Likewise.
16321 [POSIX || POSIX2008] (VWERASE): Likewise.
16322 (B*): Change to B[0123456789]*.
16323 * conform/data/time.h-data [POSIX || UNIX98]
16324 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16325 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16326 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16327 [POSIX] (tm_*): Do not allow.
16329 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16331 * Makefile (install): Don't set LANGUAGE.
16332 * Makefile.in (install): Likewise.
16333 * assert/Makefile (test-assert-ENV): Remove variable.
16334 (test-assert-perr-ENV): Likewise.
16335 * elf/Makefile (neededtest4-ENV): Likewise.
16336 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16337 [$(cross-compiling) = no]: Don't set LANGUAGE.
16338 * io/ftwtest-sh (LANG): Remove variable.
16339 * libio/Makefile (tst-widetext-ENV): Likewise.
16340 * manual/install.texi (Running make install): Don't refer to
16341 environment settings for make install.
16342 * INSTALL: Regenerated.
16343 * nptl/tst-tls6.sh: Don't set LANG.
16344 * posix/globtest.sh (LANG): Remove variable.
16345 * string/Makefile (tester-ENV): Likewise.
16346 (inl-tester-ENV): Likewise.
16347 (noinl-tester-ENV): Likewise.
16348 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16349 [$(cross-compiling) = no]: Don't set LANGUAGE.
16350 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16351 without explicit environment settings.
16353 2014-06-06 Roland McGrath <roland@hack.frob.com>
16355 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16356 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16357 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16358 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16360 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16362 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16363 other files in the crypt directory.
16364 * crypt/crypt.c: Remove duplicate includes.
16365 * crypt/crypt-entry.c: Likewise.
16366 * crypt/crypt_util.c: Likewise.
16368 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16370 * Makeconfig (run-program-env): New variable.
16371 (run-program-prefix-before-env): Likewise.
16372 (run-program-prefix-after-env): Likewise.
16373 (run-program-prefix): Define in terms of new variables.
16374 (built-program-cmd-before-env): New variable.
16375 (built-program-cmd-after-env): Likewise.
16376 (built-program-cmd): Define in terms of new variables.
16377 (test-program-prefix-before-env): New variable.
16378 (test-program-prefix-after-env): Likewise.
16379 (test-program-prefix): Define in terms of new variables.
16380 (test-program-cmd-before-env): New variable.
16381 (test-program-cmd-after-env): Likewise.
16382 (test-program-cmd): Define in terms of new variables.
16383 * Rules (make-test-out): Use $(run-program-env).
16384 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16385 (help): Do not mention environment variables. Mention
16386 --timeoutfactor option.
16387 (timeoutfactor): New variable.
16388 (blacklist_exports): Remove function.
16389 (exports): Remove variable.
16390 (command): Do not include ${exports}.
16391 * manual/install.texi (Configuring and compiling): Do not mention
16392 test wrappers preserving environment variables. Mention that last
16393 assignment to a variable must take precedence.
16394 * INSTALL: Regenerated.
16395 * benchtests/Makefile (run-bench): Use $(run-program-env).
16396 * catgets/Makefile ($(objpfx)test1.cat): Use
16397 $(built-program-cmd-before-env), $(run-program-env) and
16398 $(built-program-cmd-after-env).
16399 ($(objpfx)test2.cat): Do not specify environment variables
16401 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16402 $(run-program-env) and $(built-program-cmd-after-env).
16403 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16404 $(run-program-env) and $(test-program-cmd-after-env).
16405 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16407 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16408 run_program_env and test_program_cmd_after_env arguments.
16409 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16410 * elf/tst-pathopt.sh: Use run_program_env argument.
16411 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16412 $(test-wrapper-env) and $(run-program-env).
16413 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16414 run_program_env arguments.
16415 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16416 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16417 $(test-program-prefix-before-env), $(run-program-env) and
16418 $(test-program-prefix-after-env).
16419 ($(objpfx)tst-gettext2.out): Likewise.
16420 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16421 run_program_env and test_program_prefix_after_env arguments.
16422 * intl/tst-gettext2.sh: Likewise.
16423 * intl/tst-gettext4.sh: Do not set environment variables
16425 * intl/tst-gettext6.sh: Likewise.
16426 * intl/tst-translit.sh: Likewise.
16427 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16428 $(test-program-prefix-before-env), $(run-program-env) and
16429 $(test-program-prefix-after-env).
16430 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16431 run_program_env and test_program_prefix_after_env arguments.
16432 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16433 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16434 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16435 explicitly with each use of ${test_wrapper_env}.
16436 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16437 $(test-program-prefix-before-env), $(run-program-env) and
16438 $(test-program-prefix-after-env).
16439 * posix/tst-getconf.sh: Do not set environment variables
16441 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16442 run_program_env and test_program_prefix_after_env arguments.
16443 * stdio-common/tst-printf.sh: Do not set environment variables
16445 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16446 $(test-program-prefix-before-env), $(run-program-env) and
16447 $(test-program-prefix-after-env).
16448 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16449 run_program_env and test_program_prefix_after_env arguments.
16450 Split $test calls into $test_pre and $test.
16451 * timezone/Makefile (build-testdata): Use
16452 $(built-program-cmd-before-env), $(run-program-env) and
16453 $(built-program-cmd-after-env).
16455 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16457 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16458 strlen for non SHARED builds.
16460 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16462 * nptl/allocatestack.c (check_list): Inlined function...
16463 (__reclaim_stacks): ... here.
16465 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16468 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16471 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16473 * Rules (make-test-out): Include
16474 LOCPATH=$(common-objpfx)localedata in default environment.
16475 * debug/Makefile (tst-chk1-ENV): Remove variable.
16476 (tst-chk2-ENV): Likewise.
16477 (tst-chk3-ENV): Likewise.
16478 (tst-chk4-ENV): Likewise.
16479 (tst-chk5-ENV): Likewise.
16480 (tst-chk6-ENV): Likewise.
16481 (tst-lfschk1-ENV): Likewise.
16482 (tst-lfschk2-ENV): Likewise.
16483 (tst-lfschk3-ENV): Likewise.
16484 (tst-lfschk4-ENV): Likewise.
16485 (tst-lfschk5-ENV): Likewise.
16486 (tst-lfschk6-ENV): Likewise.
16487 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16488 (tst-iconv7-ENV): Likewise.
16489 * intl/Makefile (LOCPATH-ENV): Likewise.
16490 (tst-codeset-ENV): Likewise.
16491 (tst-gettext3-ENV): Likewise.
16492 (tst-gettext5-ENV): Likewise.
16493 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16494 (tst-fopenloc-ENV): Likewise.
16495 (tst-fgetws-ENV): Remove variable.
16496 (tst-ungetwc1-ENV): Likewise.
16497 (tst-ungetwc2-ENV): Likewise.
16498 (bug-ungetwc2-ENV): Likewise.
16499 (tst-swscanf-ENV): Likewise.
16500 (bug-ftell-ENV): Likewise.
16501 (tst-fgetwc-ENV): Likewise.
16502 (tst-fseek-ENV): Likewise.
16503 (tst-ftell-partial-wide-ENV): Likewise.
16504 (tst-ftell-active-handler-ENV): Likewise.
16505 (tst-ftell-append-ENV): Likewise.
16506 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16507 (tst-regexloc-ENV): Likewise.
16508 (bug-regex1-ENV): Likewise.
16509 (tst-regex-ENV): Likewise.
16510 (tst-regex2-ENV): Likewise.
16511 (bug-regex5-ENV): Likewise.
16512 (bug-regex6-ENV): Likewise.
16513 (bug-regex17-ENV): Likewise.
16514 (bug-regex18-ENV): Likewise.
16515 (bug-regex19-ENV): Likewise.
16516 (bug-regex20-ENV): Likewise.
16517 (bug-regex22-ENV): Likewise.
16518 (bug-regex23-ENV): Likewise.
16519 (bug-regex25-ENV): Likewise.
16520 (bug-regex26-ENV): Likewise.
16521 (bug-regex30-ENV): Likewise.
16522 (bug-regex32-ENV): Likewise.
16523 (bug-regex33-ENV): Likewise.
16524 (bug-regex34-ENV): Likewise.
16525 (bug-regex35-ENV): Likewise.
16526 (tst-rxspencer-ENV): Likewise.
16527 (tst-rxspencer-no-utf8-ENV): Likewise.
16528 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16529 (tst-sscanf-ENV): Likewise.
16530 (tst-swprintf-ENV): Likewise.
16531 (tst-swscanf-ENV): Likewise.
16532 (test-vfprintf-ENV): Likewise.
16533 (scanf13-ENV): Likewise.
16534 (bug14-ENV): Likewise.
16535 (tst-grouping-ENV): Likewise.
16536 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16537 (tst-strtod3-ENV): Likewise.
16538 (tst-strtod4-ENV): Likewise.
16539 (tst-strtod5-ENV): Likewise.
16540 (testmb2-ENV): Likewise./
16541 * string/Makefile (tst-strxfrm-ENV): Likewise.
16542 (tst-strxfrm2-ENV): Likewise.
16543 (bug-strcoll1-ENV): Likewise.
16544 (test-strcasecmp-ENV): Likewise.
16545 (test-strncasecmp-ENV): Likewise.
16546 * time/Makefile (tst-strptime-ENV): Likewise.
16547 (tst-ftime_l-ENV): Likewise.
16548 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16549 (tst-mbrtowc-ENV): Likewise.
16550 (tst-wcrtomb-ENV): Likewise.
16551 (tst-mbrtowc2-ENV): Likewise.
16552 (tst-c16c32-1-ENV): Likewise.
16553 (tst-mbsnrtowcs-ENV): Likewise.
16555 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16557 * manual/resource.texi (How to get information about the memory
16558 subsystem?): Fix typo.
16559 Reported by Peon de la Parra Ivan <peon@keba.com>
16561 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16564 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16565 (pthread_spin_lock): Branch out of spin loop to proper location.
16566 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16567 (pthread_spin_lock): Likewise.
16569 * nptl/tst-spin4.c: New test.
16570 * nptl/Makefile (tests): Add tst-spin4.
16572 2014-06-03 Andreas Schwab <schwab@suse.de>
16575 * resolv/res_send.c (send_dg): Reload file descriptor after
16578 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16580 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16582 2014-06-03 Richard Henderson <rth@redhat.com>
16584 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16585 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16586 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16587 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16588 in the SAVE_PID block.
16589 (__libc_vfork): New alias.
16590 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16592 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16593 child in registers, not on the stack. Remove RESET_PID conditionals.
16594 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16596 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16598 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16600 2014-06-03 Wilco <wdijkstr@arm.com>
16602 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16603 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16604 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16605 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16606 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16609 2014-06-03 Wilco <wdijkstr@arm.com>
16611 * sysdeps/aarch64/fpu/math_private.h
16612 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16613 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16614 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16615 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16618 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16620 * crypt/crypt-private.h: Include ufc-crypt.h.
16621 (__b64_from_24bit): Declare extern.
16622 * crypt/crypt_util.c(__b64_from_24bit): New function.
16623 (b64t): New static const variable.
16624 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16625 (b64t): Remove variable.
16626 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16627 * crypt/sha256-crypt.c: Include crypt-private.h.
16628 (b64t): Remove variable.
16629 (__sha256_crypt_r): Remove b64_from_24bit and replace
16630 with __b64_from_24bit.
16631 * crypt/sha512-crypt.c: Likewise.
16633 2014-06-02 Roland McGrath <roland@hack.frob.com>
16635 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16636 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16637 Label the code __libc_vfork rather than __vfork.
16638 [!NOT_IN_libc] (vfork): Define as weak alias.
16639 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16640 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16641 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16643 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16645 * malloc/malloc.c (malloc_info): Fix format specifier for
16648 2014-06-02 Wilco <wdijkstr@arm.com>
16650 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16653 2014-06-02 Wilco <wdijkstr@arm.com>
16656 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16657 Rewrite to reduce FPCR/FPSR accesses.
16659 2014-06-01 David S. Miller <davem@davemloft.net>
16661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16663 2014-05-31 David S. Miller <davem@davemloft.net>
16665 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16666 to occur in round to nearest mode when |x| >= 2.0
16668 2014-05-30 Richard Henderson <rth@twiddle.net>
16670 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16671 (PSEUDO_RET_NOERRNO): Remove.
16672 (ret): Don't redefine.
16673 (ret_NOERRNO): Define in terms of ret.
16674 (ret_ERRVAL): Likewise.
16676 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16677 use of PSEUDO_RET; perform the error check directly.
16679 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16681 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16684 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16686 * malloc/malloc (malloc_info): Fix formatting.
16688 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16689 Roland McGrath <roland@hack.frob.com>
16691 * malloc/malloc (malloc_info): Also print mmapped statistics.
16693 2014-05-30 Roland McGrath <roland@hack.frob.com>
16695 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16696 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16698 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16700 * malloc/malloc.c (malloc_info): Inline mi_arena.
16702 2014-05-29 Richard Henderson <rth@twiddle.net>
16704 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16705 Remove comma before expanding ASM_ARGS_##nr.
16706 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16707 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16709 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16710 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16711 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16712 (ASM_ARGS_1): Add leading comma.
16714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16715 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16716 to __errno_location.
16717 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16718 Remove the expected plt for __errno_location.
16720 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16721 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16724 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16725 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16726 it and break it down.
16727 (DOCARGS_0, DOCARGS_1): Do nothing.
16728 (DOCARGS_2): Update to store into the new stack frame.
16729 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16730 (UNDOCARGS_1): Update to restore from the new stack frame.
16731 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16732 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16734 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16735 (SINGLE_THREAD_P): New parameter for result regno.
16736 (PSEUDO): Update to match; use cbz instead of beq.
16738 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16739 Use ENTRY to define the _nocancel entry point. Share the syscall
16740 and syscall error check paths with the cancel path.
16743 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16744 whitespace; tabs before and after asm mnemonics.
16746 2014-05-29 Eric Wong <normalperson@yhbt.net>
16749 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16750 Call fstat64 or stat64 internally, depending on arguments passed.
16751 Replace stat buffer argument with file descriptor argument.
16752 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16753 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16754 Pass fd to __internal_statvfs instead of calling fstat64.
16755 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16756 Pass fd to __internal_statvfs64 instead of calling fstat64.
16757 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16758 Pass -1 to __internal_statvfs instead of calling stat64.
16759 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16760 Pass -1 to __internal_statvfs64 instead of calling stat64.
16762 2014-05-28 Roland McGrath <roland@hack.frob.com>
16764 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16765 that was previously under [RESET_PID].
16766 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16768 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16769 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16771 2014-05-27 Roland McGrath <roland@hack.frob.com>
16773 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16775 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16776 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16778 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16780 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16782 2014-05-27 Andreas Schwab <schwab@suse.de>
16784 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16786 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16787 * elf/rtld.c (init_tls, dl_main): Likewise.
16788 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16789 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16790 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16791 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16792 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16793 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16794 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16795 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16796 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16797 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16798 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16799 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16800 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16801 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16802 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16803 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16804 * sysdeps/generic/tls.h: Update description.
16806 2014-05-27 Will Newton <will.newton@linaro.org>
16809 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16810 and restore r2 rather than just restoring.
16812 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16815 * libio/tst-ftell-append.c: New test case.
16816 * libio/Makefile (tests): Add test case.
16817 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16819 * libio/wfileops.c (do_ftell_wide): Likewise.
16821 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16825 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16829 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16830 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16831 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16832 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16833 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16834 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16838 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16841 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16842 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16843 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16844 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16845 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16847 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16848 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16850 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16852 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16854 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16855 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16856 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16858 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16859 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16860 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16861 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16869 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16872 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16876 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16879 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16884 conditional [RESET_PID].
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16888 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16893 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16894 (__libc_vfork): New strong alias.
16895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16897 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16902 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16903 (__libc_vfork): New strong alias.
16904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16909 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16911 * malloc/malloc.c (mi_arena): New function.
16912 (malloc_info): Remove nested function mi_arena. Call non-nosted
16915 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16917 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16919 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16920 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16921 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16922 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16924 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16927 2014-05-26 Andreas Schwab <schwab@suse.de>
16930 * locale/programs/repertoire.c (repertoire_read): Add slash
16931 between I18NPATH element and file name.
16932 * locale/programs/locfile.c (locfile_read): Likewise.
16934 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16936 * nptl/pthread_mutexattr_settype.c
16937 (__pthread_mutexattr_settype):
16938 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16940 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16942 * nptl/tst-mutex5 (do_test):
16943 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16945 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16947 * benchtests/README: Document 'init' directive.
16948 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16950 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16951 (parse_file): Recognize 'init' directive.
16953 2014-05-26 Kyle McMartin <kyle@redhat.com>
16956 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16957 alignment of struct pthread.
16959 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16962 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16963 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16964 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16965 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16967 2014-05-25 Richard Henderson <rth@twiddle.net>
16969 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16970 (SINGLE_THREAD_P_PIC): Remove.
16971 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16972 (SINGLE_THREAD_P_PIC): Remove.
16974 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16975 branch to syscall error ...
16976 (PSEUDO): ... here.
16977 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16978 from __local_syscall_error to .Lsyscall_error.
16979 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16980 (SYSCALL_ERROR): Update label name.
16982 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16983 Do not use DOARGS/UNDOARGS.
16984 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16985 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16986 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16987 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16988 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16990 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16993 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16994 define if !NOT_IN_libc.
16995 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16996 define with non-default symbol versions.
16998 2014-05-23 Richard Henderson <rth@twiddle.net>
17000 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17001 (vfork, __vfork): Define via compat_symbol.
17003 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17004 [!HAVE_IFUNC] (vfork_compat): Remove.
17005 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17007 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17010 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17011 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17014 2014-05-23 Richard Henderson <rth@twiddle.net>
17016 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17017 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17018 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17019 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17021 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17022 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17023 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17024 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17025 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17026 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17027 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17028 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17029 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17030 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17031 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17032 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17033 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17034 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17035 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17036 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17037 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17038 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17039 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17040 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17041 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17042 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17043 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17044 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17045 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17046 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17047 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17048 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17049 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17050 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17051 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17052 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17053 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17054 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17055 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17056 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17057 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17058 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17059 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17060 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17061 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17062 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17063 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17064 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17065 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17067 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17068 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17069 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17070 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17071 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17072 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17073 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17074 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17075 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17076 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17078 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17079 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17080 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17081 before exiting on error.
17082 (__libc_vfork): New strong alias.
17083 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17084 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17086 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17087 that was previously under [RESET_PID].
17088 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17090 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17092 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17095 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17096 value when x - 1 is zero.
17097 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17098 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17099 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17100 0.0L for an argument of 1.0L.
17101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17103 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17104 value when x - 1 is zero.
17105 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17106 * sysdeps/i386/fpu/libm-test-ulps: Update.
17107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17109 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17111 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17112 alphasort and versionsort.
17114 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17116 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17118 [copysignf]: Likewise.
17120 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17122 * crypt/md5-crypt.c: Fix formatting.
17124 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17126 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17127 (b64_from_24bit): New function.
17129 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17131 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17132 libc_hidden_builtin_def to ifunc.
17133 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17134 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17136 2014-05-21 Roland McGrath <roland@hack.frob.com>
17138 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17139 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17141 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17143 * nscd/Depend (linuxthreads): Remove.
17145 * resolv/Depend (linuxthreads): Remove.
17146 * rt/Depend (linuxthreads): Remove.
17148 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17149 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17150 $(common-objpfx)elf/.
17151 (link-libc-before-gnulib): Likewise.
17152 (elfobjdir): Remove variable.
17153 * Makefile (install): Use $(elf-objpfx) instead of
17154 $(common-objpfx)elf/.
17155 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17157 (link-libc-deps): Likewise.
17158 ($(common-objpfx)libc.so): Likewise.
17159 ($(common-objpfx)linkobj/libc.so): Likewise.
17160 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17161 instead of $(common-objpfx)elf/.
17162 (symbolic-link-list): Likewise.
17163 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17164 [$(cross-compiling) = no]: Likewise.
17165 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17167 (static-gnulib-arch): Likewise.
17168 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17169 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17170 $(common-objpfx)elf/.
17172 2014-05-21 Richard Henderson <rth@redhat.com>
17174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17175 (SINGLE_THREAD_P): Use the correct width load. Fold
17176 into the ldr offset.
17178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17179 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17181 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17183 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17184 (libgcc_s_resume): Use __attribute_used__.
17185 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17188 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17190 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17191 optimization when used with float constants.
17193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17195 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17198 * locale/nl_langinfo_l.c: Make direct reference to every
17199 _nl_current_CATEGORY symbol.
17200 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17201 (tests-static): Add tst-langinfo-static.
17202 (tests-special): Add tst-langinfo-static.out.
17203 ($(objpfx)tst-langinfo.out): Redirect output.
17204 ($(objpfx)tst-langinfo-static.out): New.
17205 * localedata/tst-langinfo.sh: Send output to stdout.
17206 * localedata/tst-langinfo-static.c: New file.
17209 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17210 when the shift amount is modulo the limb size.
17212 2014-05-20 Richard Henderson <rth@redhat.com>
17215 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17216 Change type of sa_flags from unsigned int to int.
17219 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17221 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17223 2014-05-20 Will Newton <will.newton@linaro.org>
17225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17226 Test the return value of the system call in the nocancel case.
17228 2014-05-20 Will Newton <will.newton@linaro.org>
17229 Yvan Roux <yvan.roux@linaro.org>
17231 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17232 #include of asm/ptrace.h.
17233 (PTRACE_GET_THREAD_AREA): Remove #undef.
17234 (PTRACE_GETHBPREGS): Likewise.
17235 (PTRACE_SETHBPREGS): Likewise.
17236 (struct user_regs_struct): New structure.
17237 (struct user_fpsimd_struct): New structure.
17238 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17239 #include of asm/ptrace.h and second #include of sys/user.h.
17240 (PTRACE_GET_THREAD_AREA): Remove #undef.
17241 (PTRACE_GETHBPREGS): Likewise.
17242 (PTRACE_SETHBPREGS): Likewise.
17243 (ELF_NGREG): Use new struct user_regs_struct.
17244 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17246 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17251 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17255 membar to avoid block loads/stores to overlap previous stores.
17257 2014-05-17 Richard Henderson <rth@redhat.com>
17259 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17260 Create the __##syscall_name##_nocancel entry point.
17261 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17262 Remove; let the sysdep-cancel.h code create it.
17264 2014-05-17 David S. Miller <davem@davemloft.net>
17266 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17267 Protect with __USE_GNU.
17268 (TIOCSET_TEMPT): Likewise.
17269 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17270 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17271 these are already provided in bits/ioctl-types.h
17273 2014-05-16 Roland McGrath <roland@hack.frob.com>
17275 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17276 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17278 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17279 Use wait4 regardless of [__NR_waitpid].
17281 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17284 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17285 (_FP_NANSIGN_Q): Set the quiet bit.
17287 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17289 * benchtests/Makefile
17290 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17291 not $(common-objpfx)math/libm.so.
17292 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17293 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17294 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17295 $(common-objpfx)dlfcn/libdl.so.
17296 ($(objpfx)tst-audit8): Depend on $(libm), not
17297 $(common-objpfx)math/libm.so.
17298 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17299 not $(common-objpfx)dlfcn/libdl.so.
17301 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17302 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17303 [$(build-shared) = yes].
17304 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17305 $(common-objpfx)nptl/libpthread.so.
17306 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17307 $(common-objpfx)math/libm.so$(libm.so-version) or
17308 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17309 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17310 $(common-objpfx)dlfcn/libdl.so.
17311 * setjmp/Makefile (link-libm): Remove variable.
17312 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17313 * stdio-common/Makefile (link-libm): Remove variable.
17314 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17315 * stdlib/Makefile (link-libm): Remove variable.
17316 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17317 ($(objpfx)tst-strtod-round): Likewise.
17318 ($(objpfx)tst-tininess): Likewise.
17319 ($(objpfx)tst-strtod-underflow): Likewise.
17320 ($(objpfx)tst-strtod6): Likewise.
17321 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17322 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17323 $(common-objpfx)dlfcn/libdl.so.
17325 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17327 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17328 BSD terminal modes definitions.
17330 2014-05-16 Roland McGrath <roland@hack.frob.com>
17332 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17333 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17335 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17336 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17337 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17338 Don't do #include_next.
17339 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17340 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17341 Don't do #include_next.
17342 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17343 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17344 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17345 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17347 2014-05-16 Allan McRae <allan@archlinux.org>
17349 * po/sv.po: Update Swedish translation from translation project.
17351 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17354 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17357 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17358 errno if the TIOCGPTN ioctl fails with an error different than
17360 * login/tst-ptsname.c: New file.
17361 * login/Makefile (tests): Add tst-ptsname.
17364 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17367 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17371 herrno to return EAI_AGAIN.
17373 2014-05-14 Roland McGrath <roland@hack.frob.com>
17375 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17376 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17377 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17378 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17379 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17380 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17381 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17382 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17384 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17385 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17386 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17387 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17388 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17389 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17390 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17391 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17392 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17393 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17394 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17395 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17396 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17397 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17398 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17399 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17400 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17401 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17402 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17403 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17404 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17406 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17408 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17411 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17413 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17415 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17417 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17419 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17421 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17423 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17425 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17427 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17429 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17431 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17433 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17435 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17437 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17440 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17442 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17446 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17448 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17450 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17452 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17454 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17456 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17458 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17461 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17463 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17465 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17466 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17467 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17468 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17469 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17470 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17471 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17472 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17473 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17474 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17475 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17476 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17477 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17478 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17479 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17480 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17481 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17482 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17483 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17484 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17485 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17486 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17487 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17488 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17489 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17490 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17491 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17492 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17493 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17494 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17495 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17497 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17498 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17500 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17501 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17502 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17503 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17504 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17505 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17507 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17510 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17513 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17514 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17517 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17518 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17519 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17521 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17522 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17523 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17524 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17525 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17526 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17527 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17530 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17531 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17535 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17536 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17537 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17538 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17539 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17541 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17543 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17545 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17546 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17547 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17548 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17549 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17550 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17552 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17555 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17558 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17561 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17562 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17563 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17564 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17566 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17567 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17568 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17569 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17570 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17571 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17572 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17575 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17576 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17578 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17580 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17581 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17582 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17583 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17584 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17586 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17588 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17590 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17591 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17592 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17593 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17594 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17595 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17596 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17597 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17598 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17604 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17605 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17607 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17608 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17610 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17611 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17612 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17613 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17614 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17615 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17617 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17618 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17619 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17621 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17622 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17623 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17626 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17627 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17631 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17632 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17633 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17634 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17635 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17639 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17641 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17642 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17643 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17644 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17645 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17646 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17647 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17648 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17649 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17650 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17651 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17653 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17654 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17656 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17657 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17659 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17660 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17661 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17662 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17663 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17664 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17665 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17666 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17667 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17668 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17669 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17670 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17671 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17672 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17673 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17674 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17675 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17676 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17678 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17680 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17683 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17685 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17687 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17688 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17689 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17692 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17693 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17695 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17696 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17697 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17698 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17699 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17700 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17701 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17702 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17703 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17704 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17705 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17706 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17707 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17708 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17709 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17710 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17711 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17713 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17714 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17715 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17716 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17717 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17719 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17720 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17721 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17722 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17723 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17724 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17725 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17726 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17727 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17728 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17730 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17733 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17734 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17735 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17736 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17737 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17738 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17739 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17740 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17741 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17742 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17743 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17744 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17745 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17746 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17767 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17769 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17772 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17774 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17775 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17776 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17777 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17778 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17779 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17780 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17781 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17783 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17784 that was previously under [RESET_PID].
17785 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17786 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17787 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17789 * sysdeps/i386/nptl/Implies: New file.
17790 * sysdeps/x86_64/nptl/Implies: New file.
17791 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17792 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17793 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17794 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17796 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17797 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17798 (__libc_vfork): New strong alias.
17799 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17800 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17802 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17803 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17804 (__libc_vfork): New strong alias.
17805 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17806 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17808 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17809 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17810 (__libc_vfork): New strong alias.
17811 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17812 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17813 * nptl/pt-vfork.c: New file.
17814 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17815 (libpthread: GLIBC_2.20): New version set (empty).
17817 2014-05-14 Will Newton <will.newton@linaro.org>
17819 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17822 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17825 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17826 arguments with exponent 65 or above.
17827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17828 arguments 0x1p113L or above.
17829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17830 to arguments 0x1p107L or above.
17831 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17832 positive arguments with exponent 65 or above.
17833 * math/auto-libm-test-in: Add more tests of log1p.
17834 * math/auto-libm-test-out: Regenerated.
17837 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17838 non-finite arguments is +0.
17839 * math/s_cacosf.c (__cacosf): Likewise.
17840 * math/s_cacosl.c (__cacosl): Likewise.
17841 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17846 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17848 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17849 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17850 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17851 for explicit high bit of mantissa when testing for argument equal
17853 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17854 * sysdeps/i386/fpu/libm-test-ulps: Update.
17855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17859 (__erf): Scale by 16 instead of 8 in potentially underflowing
17860 case. Ensure exception if result actually underflows.
17861 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17862 (__erff): Scale by 16 instead of 8 in potentially underflowing
17863 case. Ensure exception if result actually underflows.
17864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17865 (efx8): Remove variable.
17866 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17867 case. Ensure exception if result actually underflows.
17868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17869 (efx8): Remove variable.
17870 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17871 case. Ensure exception if result actually underflows.
17872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17873 (efx8): Remove variable.
17874 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17875 case. Ensure exception if result actually underflows.
17876 * math/auto-libm-test-in: Add more tests of erf.
17877 * math/auto-libm-test-out: Regenerated.
17879 2014-05-14 Andreas Schwab <schwab@suse.de>
17881 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17882 Remove code conditionalized on USE___THREAD.
17884 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17885 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17888 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17891 Define unconditionally.
17892 (__ASSUME_O_CLOEXEC): Likewise.
17893 (__ASSUME_SOCK_CLOEXEC): Likewise.
17894 (__ASSUME_IN_NONBLOCK): Likewise.
17895 (__ASSUME_PIPE2): Likewise.
17896 (__ASSUME_EVENTFD2): Likewise.
17897 (__ASSUME_SIGNALFD4): Likewise.
17898 (__ASSUME_DUP3): Likewise.
17899 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17900 (__ASSUME_DUP3): Do not define.
17901 (__ASSUME_EVENTFD2): Likewise.
17902 (__ASSUME_IN_NONBLOCK): Likewise.
17903 (__ASSUME_O_CLOEXEC): Likewise.
17904 (__ASSUME_PIPE2): Likewise.
17905 (__ASSUME_SIGNALFD4): Likewise.
17906 (__ASSUME_SOCK_CLOEXEC): Likewise.
17907 (__ASSUME_UTIMES): Undefine.
17908 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17909 (__ASSUME_UTIMES): Do not define.
17910 (__ASSUME_O_CLOEXEC): Likewise.
17911 (__ASSUME_SOCK_CLOEXEC): Likewise.
17912 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17913 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17915 (__ASSUME_PIPE2): Likewise.
17916 (__ASSUME_EVENTFD2): Likewise.
17917 (__ASSUME_SIGNALFD4): Likewise.
17918 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17919 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17921 (__ASSUME_EVENTFD2): Likewise.
17922 (__ASSUME_SIGNALFD4): Likewise.
17923 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17924 (__ASSUME_32BITUIDS): Likewise.
17925 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17926 (__ASSUME_IPC64): Likewise.
17927 (__ASSUME_ST_INO_64_BIT): Likewise.
17928 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17929 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17930 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17931 (__ASSUME_UTIMES): Do not define.
17932 (__ASSUME_PSELECT): Likewise.
17933 (__ASSUME_PPOLL): Likewise.
17934 (__ASSUME_O_CLOEXEC): Likewise.
17935 (__ASSUME_SOCK_CLOEXEC): Likewise.
17936 (__ASSUME_IN_NONBLOCK): Likewise.
17937 (__ASSUME_PIPE2): Likewise.
17938 (__ASSUME_EVENTFD2): Likewise.
17939 (__ASSUME_SIGNALFD4): Likewise.
17940 (__ASSUME_DUP3): Likewise.
17941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17942 (__ASSUME_UTIMES): Likewise.
17943 (__ASSUME_O_CLOEXEC): Likewise.
17944 (__ASSUME_SOCK_CLOEXEC): Likewise.
17945 (__ASSUME_IN_NONBLOCK): Likewise.
17946 (__ASSUME_PIPE2): Likewise.
17947 (__ASSUME_EVENTFD2): Likewise.
17948 (__ASSUME_SIGNALFD4): Likewise.
17949 (__ASSUME_DUP3): Likewise.
17950 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17951 (__ASSUME_UTIMES): Likewise.
17952 (__ASSUME_O_CLOEXEC): Likewise.
17953 (__ASSUME_SOCK_CLOEXEC): Likewise.
17954 (__ASSUME_IN_NONBLOCK): Likewise.
17955 (__ASSUME_PIPE2): Likewise.
17956 (__ASSUME_EVENTFD2): Likewise.
17957 (__ASSUME_SIGNALFD4): Likewise.
17958 (__ASSUME_DUP3): Likewise.
17959 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17961 (__ASSUME_UTIMES): Likewise.
17962 (__ASSUME_EVENTFD2): Likewise.
17963 (__ASSUME_SIGNALFD4): Likewise.
17964 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17965 (__ASSUME_O_CLOEXEC): Likewise.
17966 (__ASSUME_SOCK_CLOEXEC): Likewise.
17967 (__ASSUME_IN_NONBLOCK): Likewise.
17968 (__ASSUME_PIPE2): Likewise.
17969 (__ASSUME_EVENTFD2): Likewise.
17970 (__ASSUME_SIGNALFD4): Likewise.
17971 (__ASSUME_DUP3): Likewise.
17972 (__ASSUME_UTIMES): Undefine.
17974 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17975 feclearexcept. Remove symbol versioning code.
17976 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17977 symbol versioning code.
17978 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17979 symbol versioning code.
17980 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17981 feupdateenv. Remove symbol versioning code.
17982 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17983 fegetexceptflag. Remove symbol versioning code.
17984 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17985 fesetexceptflag. Remove symbol versioning code.
17986 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17987 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17988 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17989 (__posix_fadvise64_l32): Remove prototype.
17990 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17993 2014-05-13 Roland McGrath <roland@hack.frob.com>
17995 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17996 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17997 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17998 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18000 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18002 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18003 current working directory
18005 2014-05-13 Roland McGrath <roland@hack.frob.com>
18007 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18008 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18009 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18010 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18011 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18012 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18013 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18014 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18015 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18016 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18017 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18018 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18019 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18020 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18021 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18022 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18023 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18024 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18025 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18026 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18027 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18028 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18029 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18030 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18031 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18032 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18033 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18034 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18035 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18036 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18037 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18038 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18039 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18040 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18041 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18042 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18043 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18044 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18045 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18046 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18047 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18048 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18050 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18051 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18053 * sysdeps/unix/sysv/linux/arm/Makefile
18054 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18055 Add rt-aeabi_unwind_cpp_pr1.
18056 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18057 Add nptl-aeabi_unwind_cpp_pr1.
18058 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18059 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18060 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18061 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18062 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18063 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18065 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18066 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18067 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18068 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18070 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18071 Deconditionalize the code that was previously under [RESET_PID].
18072 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18074 * sysdeps/generic/exit-thread.h: New file.
18075 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18076 * include/unistd.h (__exit_thread): Remove declaration.
18077 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18078 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18079 * csu/libc-start.c: Include <exit-thread.h>.
18080 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18081 * nptl/pthread_create.c: Include <exit-thread.h>.
18082 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18083 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18084 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18085 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18086 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18087 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18088 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18089 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18090 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18091 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18092 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18093 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18094 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18095 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18096 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18097 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18098 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18100 2014-05-13 Andreas Schwab <schwab@suse.de>
18102 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18104 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18106 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18107 (__ASSUME_UTIMES): Do not condition on kernel version.
18108 (__ASSUME_PSELECT): Define unconditionally.
18109 (__ASSUME_PPOLL): Likewise.
18110 (__ASSUME_ATFCTS): Likewise.
18111 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18112 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18113 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18114 (__ASSUME_UTIMENSAT): Define unconditionally.
18115 (__ASSUME_PRIVATE_FUTEX): Likewise.
18116 (__ASSUME_FALLOCATE): Likewise.
18117 (__ASSUME_O_CLOEXEC): Likewise.
18118 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18119 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18120 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18121 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18122 (__ASSUME_IN_NONBLOCK): Likewise.
18123 (__ASSUME_PIPE2): Likewise.
18124 (__ASSUME_EVENTFD2): Likewise.
18125 (__ASSUME_SIGNALFD4): Likewise.
18126 (__ASSUME_DUP3): Likewise.
18127 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18128 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18129 (__ASSUME_AT_RANDOM): Likewise.
18130 (__ASSUME_PREADV): Likewise.
18131 (__ASSUME_PWRITEV): Likewise.
18132 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18133 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18134 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18135 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18136 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18137 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18138 (__ASSUME_O_CLOEXEC): Define unconditionally.
18139 (__ASSUME_PSELECT): Do not undefine conditionally.
18140 (__ASSUME_PPOLL): Likewise.
18141 (__ASSUME_ATFCTS): Likewise.
18142 (__ASSUME_SET_ROBUST_LIST): Likewise.
18143 (__ASSUME_UTIMENSAT): Likewise.
18144 (__ASSUME_FDATASYNC): Define unconditionally.
18145 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18146 (__ASSUME_SIGFRAME_V2): Likewise.
18147 )__ASSUME_EVENTFD2): Likewise.
18148 (__ASSUME_SIGNALFD4): Likewise.
18149 (__ASSUME_PSELECT): Do not undefine conditionally.
18150 (__ASSUME_PPOLL): Likewise.
18151 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18152 (__ASSUME_PSELECT): Define unconditionally.
18153 (__ASSUME_PPOLL): Likewise.
18154 (__ASSUME_O_CLOEXEC): Likewise.
18155 (__ASSUME_SOCK_CLOEXEC): Likewise.
18156 (__ASSUME_IN_NONBLOCK): Likewise.
18157 (__ASSUME_PIPE2): Likewise.
18158 (__ASSUME_EVENTFD2): Likewise.
18159 (__ASSUME_SIGNALFD4): Likewise.
18160 (__ASSUME_DUP3): Likewise.
18161 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18162 (__ASSUME_O_CLOEXEC): Likewise.
18163 (__ASSUME_SOCK_CLOEXEC): Likewise.
18164 (__ASSUME_IN_NONBLOCK): Likewise.
18165 (__ASSUME_PIPE2): Likewise.
18166 (__ASSUME_EVENTFD2): Likewise.
18167 (__ASSUME_SIGNALFD4): Likewise.
18168 (__ASSUME_DUP3): Likewise.
18169 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18170 (__ASSUME_EVENTFD2): Likewise.
18171 (__ASSUME_SIGNALFD4): Likewise.
18172 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18174 2014-05-12 Andreas Schwab <schwab@suse.de>
18177 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18178 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18179 than maximum RPC packet size.
18180 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18181 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18182 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18183 (_nss_nis_getservbyport_r): Likewise.
18185 2014-05-12 Will Newton <will.newton@linaro.org>
18187 * malloc/Makefile (tests): Add tst-mallopt.
18188 * malloc/tst-mallopt.c: New file.
18190 2014-05-09 Roland McGrath <roland@hack.frob.com>
18192 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18193 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18195 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18197 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18198 (tst-tlsmod6.so): Likewise.
18200 2014-05-09 Roland McGrath <roland@hack.frob.com>
18202 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18204 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18207 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18208 and <dl-procinfo.h>.
18209 (__fegetenv): Save SSE state in envp->__eip if supported.
18210 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18211 envp->__eip if supported.
18212 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18213 and <dl-procinfo.h>.
18214 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18215 __data_offset and __data_selector in environment to 0. Set SSE
18216 state if supported.
18217 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18219 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18221 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18223 2014-05-09 Will Newton <will.newton@linaro.org>
18225 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18226 and libc_relro_required for ARM.
18227 * sysdeps/arm/preconfigure: Regenerate.
18229 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18230 Stefan Liebler <stli@linux.vnet.ibm.com>
18232 * config.make.in (enable-lock-elision): New Makefile variable.
18233 * configure.ac: Likewise.
18234 * configure: Regenerate.
18235 * sysdeps/s390/configure.ac:
18236 Add check for gcc transactions support.
18237 * sysdeps/s390/configure: Regenerate.
18238 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18239 Build elision files if enabled.
18240 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18241 Add lock elision support for s390.
18242 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18243 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18244 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18245 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18246 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18247 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18248 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18250 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18252 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18256 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18257 (__lll_timedlock_elision, __lll_lock_elision)
18258 (__lll_unlock_elision, __lll_trylock_elision)
18259 (lll_timedlock_elision, lll_lock_elision)
18260 (lll_unlock_elision, lll_trylock_elision): Add.
18261 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18262 (pthread_mutex_t): Add lock elision support for s390.
18264 2014-05-14 Wilco <wdijkstr@arm.com>
18266 * sysdeps/arm/fclrexcpt.c: Cleanup.
18267 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18268 * sysdeps/arm/feenablxcpt.c: Cleanup.
18269 * sysdeps/arm/fegetenv.c: Cleanup.
18270 * sysdeps/arm/fegetexcept.c: Cleanup.
18271 * sysdeps/arm/fegetround.c: Cleanup.
18272 * sysdeps/arm/feholdexcpt.c: Cleanup.
18273 * sysdeps/arm/fesetenv.c: Cleanup.
18274 * sysdeps/arm/fesetround.c: Cleanup.
18275 * sysdeps/arm/feupdateenv.c: Cleanup.
18276 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18277 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18278 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18279 * sysdeps/arm/ftestexcept.c: Cleanup.
18280 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18281 * sysdeps/arm/setfpucw.c: Cleanup.
18283 2014-05-09 Will Newton <will.newton@linaro.org>
18285 * sysdeps/arm/armv7/strcmp.S: New file.
18286 * NEWS: Mention addition of ARMv7 optimized strcmp.
18288 2014-05-08 Roland McGrath <roland@hack.frob.com>
18290 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18291 look for %.ac rather than %.in.
18293 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18294 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18295 * sysdeps/mach/hurd/configure: Regenerated.
18296 * sysdeps/unix/sysv/linux/configure: Regenerated.
18298 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18300 2014-05-07 Steve Ellcey <sellcey@mips.com>
18303 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18307 2014-05-07 Andreas Schwab <schwab@suse.de>
18309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18310 when skipping over non-matching result from nscd.
18312 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18315 * nptl/sockperf.c (client): Check socket return value.
18318 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18319 nscd security class.
18321 2014-05-06 Roland McGrath <roland@hack.frob.com>
18323 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18324 * sysdeps/arm/unwind.h: ... here.
18326 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18332 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18334 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18335 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18336 multiarch strncpy for PPC64.
18337 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18338 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18340 multiarch optimizations.
18341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18342 (__libc_ifunc_impl_list): Likewise.
18343 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18344 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18345 multiarch stpncpy for PPC64.
18346 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18347 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18349 2014-05-06 Andreas Schwab <schwab@suse.de>
18352 * gmon/mcount.c (_MCOUNT_DECL): Use
18353 atomic_compare_and_exchange_bool_acq instead of
18354 catomic_compare_and_exchange_bool_acq.
18356 2014-05-05 Roland McGrath <roland@hack.frob.com>
18358 * elf/Makefile (others, install-bin): Remove pldd.
18359 (pldd-modules): Variable removed.
18360 ($(objpfx)pldd): Target removed.
18361 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18362 (others, install-bin): Append pldd here.
18363 ($(objpfx)pldd): New target.
18365 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18366 to 0, so the first #if test emitted later doesn't see it undefined.
18367 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18368 * sysdeps/gnu/errlist.c: Regenerated.
18370 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18372 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18373 [libc_hidden_builtin_def]: Define to empty value.
18374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18375 [libc_hidden_builtin_def]: Likewise.
18376 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18377 [libc_hidden_builtin_def]: Likewise.
18378 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18379 [libc_hidden_builtin_def]: Likewise.
18380 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18381 __redirect_memcpy and define ifunc as default hidden symbol.
18382 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18383 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18385 2014-05-04 Adam Conrad <adconrad@0c3.net>
18387 * locale/iso-4217.def: Reintroduce XDR currency.
18389 2014-05-04 Allan McRae <allan@archlinux.org>
18391 * po/eo.po: Update Esperanto translation from translation project.
18393 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18395 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18396 and FEATURE_INDEX_MAX to 1.
18397 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18399 2014-05-01 Steve Ellcey <sellcey@mips.com>
18401 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18402 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18403 * iconvdata/big5.c (ONE_DIRECTION): Define.
18404 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18405 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18406 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18407 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18408 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18409 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18410 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18411 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18412 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18413 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18414 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18415 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18416 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18417 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18418 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18419 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18420 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18421 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18422 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18423 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18424 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18425 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18426 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18427 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18428 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18429 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18430 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18431 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18432 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18433 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18434 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18435 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18436 * iconvdata/johab.c (ONE_DIRECTION): Define.
18437 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18438 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18439 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18440 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18441 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18442 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18443 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18444 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18445 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18446 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18448 2014-05-01 Roland McGrath <roland@hack.frob.com>
18450 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18451 (_IO_JUMPS_OFFSET): Define to 0.
18453 * nptl/sysdeps/pthread/bits/libc-lock.h
18454 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18455 (__libc_lock_define_initialized_recursive): Always define using
18456 initializer. Modern compilers treat uninitialized (implicit zero) and
18457 explicit zero initializers the same (i.e. put the datum in bss).
18459 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18461 * nscd/nscd-client.h: Include <string.h>.
18463 2014-05-01 David S. Miller <davem@davemloft.net>
18466 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18467 multiple zero bytes exist at the end of a string.
18468 Reported by Aurelien Jarno <aurelien@aurel32.net>
18470 * string/test-strcmp.c (check): Add explicit test for situations where
18471 there are multiple zero bytes after the first.
18473 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18476 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18477 when compiling wprintf.
18478 * stdio-common/tstdiomisc.c (t3): New function.
18481 2014-05-01 Steve Ellcey <sellcey@mips.com>
18483 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18484 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18485 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18486 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18488 2014-05-01 Steve Ellcey <sellcey@mips.com>
18490 * stdlib/longlong.h: Updated from GCC.
18492 2014-05-01 Will Newton <will.newton@linaro.org>
18493 Bernard Ogden <bernie.ogden@linaro.org>
18495 * NEWS: Update fixed bug list.
18498 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18500 2014-04-30 David S. Miller <davem@davemloft.net>
18502 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18503 (libc_feholdexcept_setround_sparc_ctx): New function.
18504 (libc_fesetenv_sparc_ctx): Likewise.
18505 (libc_feupdateenv_sparc_ctx): Likewise.
18506 (libc_feholdsetround_sparc_ctx): Likewise.
18507 (libc_feholdexcept_setround_ctx): Define.
18508 (libc_feholdexcept_setroundf_ctx): Likewise.
18509 (libc_feholdexcept_setroundl_ctx): Likewise.
18510 (libc_fesetenv_ctx): Likewise.
18511 (libc_fesetenvf_ctx): Likewise.
18512 (libc_fesetenvl_ctx): Likewise.
18513 (libc_feupdateenv_ctx): Likewise.
18514 (libc_feupdateenvf_ctx): Likewise.
18515 (libc_feupdateenvl_ctx): Likewise.
18516 (libc_feresetround_ctx): Likewise.
18517 (libc_feresetroundf_ctx): Likewise.
18518 (libc_feresetroundl_ctx): Likewise.
18519 (libc_feholdsetround_ctx): Likewise.
18520 (libc_feholdsetroundf_ctx): Likewise.
18521 (libc_feholdsetroundl_ctx): Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18524 with __USE_GNU instead of XOPEN cpp guards.
18526 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18530 with XOPEN cpp guards.
18532 2014-04-30 Julian Brown <julian@codesourcery.com>
18535 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18538 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18541 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18543 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18544 * sysdeps/unix/sysv/linux/configure: Regenerated.
18545 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18546 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18547 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18548 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18549 * README: Update reference to required Linux kernel version.
18550 * manual/install.texi (Linux): Update reference to required Linux
18551 kernel headers version.
18552 * INSTALL: Regenerated.
18554 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18556 [POSIX] (limits.h): Likewise.
18557 [POSIX] (math.h): Likewise.
18558 [POSIX] (sys/wait.h): Likewise.
18559 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18561 [POSIX] (stddef.h): Do not allow header inclusion.
18563 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18565 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18567 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18569 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18570 Return immediately after lll_futex_wake.
18572 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18575 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18577 (datahead_init_pos): Call datahead_init_common early.
18578 (datahead_init_neg): Likewise.
18580 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18581 datahead_init_neg): New functions.
18582 * nscd/aicache.c (addhstaiX): Use them.
18583 * nscd/grpcache.c (cache_addgr): Likewise.
18584 * nscd/hstcache.c (cache_addhst): Likewise.
18585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18586 * nscd/netgroupcache.c (do_notfound): Likewise.
18587 (addgetnetgrentX): Likewise.
18588 (addinnetgrX): Likewise.
18589 * nscd/pwdcache.c (cache_addpw): Likewise.
18590 * nscd/servicescache.c (cache_addserv): Likewise.
18592 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18593 Atsushi Onoe <atsushi@onoe.org>
18598 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18599 one response is valid.
18600 * resolv/res_send.c (send_dg): Check for validity of other
18601 response if the current response is a referral.
18603 2014-04-29 Steve Ellcey <sellcey@mips.com>
18605 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18607 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18610 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18611 Always divide by positive zero when computing -Inf result.
18612 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18613 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18615 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18617 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18618 FPSCR if value do not change.
18619 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18620 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18621 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18622 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18623 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18624 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18627 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18629 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18630 * sysdeps/unix/sysv/linux/hppa: Move directory from
18631 ports/systeps/unix/sysv/linux/hppa.
18632 * README: Update listing for hppa-*-linux-gnu.
18634 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18637 * manual/stdio.texi (Hook functions): Fix types of stream hook
18640 * socket/sys/socket.h: Fix typo in comment.
18642 2014-04-28 Wilco <wdijkstr@arm.com>
18644 * sysdeps/arm/fenv_private.h: New file.
18645 * sysdeps/arm/math_private.h: New file.
18646 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18648 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18650 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18652 (La_x86_64_retval): Likewise.
18654 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18656 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18657 fpsr if value didn't change.
18658 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18659 to fpcr if value didn't change.
18660 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18661 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18662 fpsr or fpcr if value didn't change.
18663 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18664 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18665 fpcr if value didn't change.
18666 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18667 to fpsr if value didn't change.
18669 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18671 * nptl/tst-sem3.c: Use test-skeleton.c
18672 (main): Rename to do_test. Use return instead of
18674 * nptl/tst-sem4.c: Use test-skeleton.c
18675 (main): Rename to do_test.
18677 2014-04-22 David S. Miller <davem@davemloft.net>
18679 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18680 (struct sigaction): New struct member __glibc_reserved0, change
18681 type of sa_flags to int.
18683 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18685 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18686 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18688 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18690 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18691 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18693 2014-04-22 Will Newton <will.newton@linaro.org>
18694 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18696 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18697 (__longjmp): Add longjmp and longjmp_target SystemTap
18699 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18700 (__sigsetjmp): Add setjmp SystemTap probe.
18702 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18704 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18705 match manual order.
18707 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18709 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18711 * sysdeps/powerpc/fpu/fenv_private.h
18712 (libc_feholdexcept_setroundl_ctx): Define to
18713 libc_feholdexcept_setround_ppc_ctx.
18714 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18715 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18716 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18717 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18719 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18721 * sysdeps/aarch64/math-tests.h: New file.
18723 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18725 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18728 Check and set bit_AVX2_Usable.
18729 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18731 (bit_AVX2): Likewise.
18732 (index_AVX2_Usable): Likewise.
18733 (CPUID_AVX2): Likewise.
18734 (HAS_AVX2): Likewise.
18736 2014-04-17 Will Newton <will.newton@linaro.org>
18738 * manual/setjmp.texi (System V contexts): Add note that
18739 calling setcontext on a context created by a call to a
18740 signal handler is undefined. Update text to note that
18741 setcontext from a signal handler is possible but not
18745 * stdlib/tst-setcontext.c: Include signal.h.
18746 (main): Check that the signal stack before and
18747 after swapcontext is the same.
18749 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18750 Re-implement to restore registers in user code and avoid
18751 rt_sigreturn system call.
18753 2014-04-17 Wilco <wdijkstr@arm.com>
18755 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18756 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18757 * math/test-fenv.c: Skip exception trap tests on targets which only
18758 support non-stop mode.
18760 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18761 Wilco Dijkstra <wilco.dijkstra@arm.com>
18763 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18764 (libc_feholdsetround_aarch64_ctx)
18765 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18766 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18767 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18768 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18769 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18770 (libc_feresetround_noexl_ctx): Define.
18772 2014-04-16 Richard Henderson <rth@redhat.com>
18774 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18776 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18779 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18780 const from the non-libc, non-ldso copy.
18782 * sysdeps/alpha/libm-test-ulps: Regenerate.
18784 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18785 Wilco Dijkstra <wilco.dijkstra@arm.com>
18787 * sysdeps/aarch64/fpu/math_private.h: New file.
18789 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18791 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18793 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18796 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18797 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18799 Intel MPX bound registers before _dl_profile_fixup.
18800 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18801 registers after _dl_profile_fixup. Save and restore bound
18802 registers bnd0/bnd1 when calling _dl_call_pltexit.
18803 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18804 (LR_BND_OFFSET): Likewise.
18805 (LRV_BND0_OFFSET): Likewise.
18806 (LRV_BND1_OFFSET): Likewise.
18808 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18810 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18812 * sysdeps/mach/hurd/i386/tls.h: ... here.
18813 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18814 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18817 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18819 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18821 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18823 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18825 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18828 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18829 * sysdeps/s390/configure: Regenerate.
18832 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18833 Set round-to-nearest internally to reduce error accumulation.
18835 2014-04-16 Alan Modra <amodra@gmail.com>
18839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18840 * math/libm-test.inc (frexp_test_data): Add tests.
18841 * NEWS: Update fixed bug list.
18843 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18845 * benchtests/Makefile: Depend on libraries in build directory.
18846 (bench-math): Separate out math tests.
18847 (bench-pthread): Separate out pthread tests.
18848 (bench): Include math and pthread tests.
18850 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18853 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18854 _dl_debug_initialize.
18856 * configure.ac: Remove SELinux header check.
18857 * configure: Regenerate.
18858 * nscd/selinux.c (perms): Array of const char* to permission names.
18859 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18860 default policy. Call string_to_security_class and string_to_av_perm to
18861 translate strings. Enforce default policy and call avs_has_perm with
18862 results of translated strings.
18864 2014-04-13 David S. Miller <davem@davemloft.net>
18866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18868 2014-04-12 Allan McRae <allan@archlinux.org>
18871 * manual/string.texi (Collation Functions): Fix qsort argument
18873 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18875 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18877 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18878 Make the test a no-op if there are no exceptions defined.
18880 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18882 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18883 enable-hardcoded-path-in-tests
18885 2014-04-11 Will Newton <will.newton@linaro.org>
18887 * benchtests/Makefile (extra-objs): Add json-lib.o.
18888 (bench-func): Tidy up JSON output.
18889 * benchtests/bench-skeleton.c: Include json-lib.h.
18890 (main): Use JSON library functions to do output of
18892 * benchtests/bench-timing-type.c (main): Output the
18893 timing type simply, leaving formatting to the user.
18894 * benchtests/json-lib.c: New file.
18895 * benchtests/json-lib.h: Likewise.
18897 2014-04-11 Torvald Riegel <triegel@redhat.com>
18900 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18901 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18902 memory barriers. Add comments.
18903 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18904 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18905 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18906 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18907 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18908 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18910 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18912 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18913 * sysdeps/s390/s390-64/configure.ac: ... this ...
18914 * sysdeps/s390/configure.ac: ... to here.
18915 * sysdeps/s390/s390-32/configure: Delete file.
18916 * sysdeps/s390/s390-64/configure: Delete file.
18917 * sysdeps/s390/configure: Regenerate.
18919 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18921 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18923 2014-04-11 Will Newton <will.newton@linaro.org>
18925 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18926 to zero if it is not defined elsewhere. (mtrim): Test
18927 the value of MALLOC_DEBUG with #if rather than #ifdef.
18929 2014-04-10 Torvald Riegel <triegel@redhat.com>
18931 * benchtests/pthread_once-inputs: New file.
18932 * benchtests/pthread_once-source.c: New file.
18933 * benchtests/README: Update documentation.
18935 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18936 H.J. Lu <hongjiu.lu@intel.com>
18939 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18940 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18941 * sysdeps/x86_64/configure: Regenerated.
18942 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18944 (REGISTER_SAVE_RAX): Likewise.
18945 (REGISTER_SAVE_RCX): Likewise.
18946 (REGISTER_SAVE_RDX): Likewise.
18947 (REGISTER_SAVE_RSI): Likewise.
18948 (REGISTER_SAVE_RDI): Likewise.
18949 (REGISTER_SAVE_R8): Likewise.
18950 (REGISTER_SAVE_R9): Likewise.
18951 (REGISTER_SAVE_BND0): Likewise.
18952 (REGISTER_SAVE_BND1): Likewise.
18953 (REGISTER_SAVE_BND2): Likewise.
18954 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18955 bound registers when calling _dl_fixup.
18957 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18959 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18960 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18962 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18963 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18964 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18965 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18966 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18967 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18968 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18970 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18973 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18974 pathconf(_PC_NAME_MAX).
18976 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18978 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18979 Remove macro usage.
18980 (__PTHREAD_SPINS): Move definition to ...
18981 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18982 (__PTHREAD_SPINS): ... here.
18983 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18984 (__PTHREAD_SPIN): Likewise.
18985 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18986 (__PTHREAD_SPIN): Likewise.
18987 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18988 (__PTHREAD_SPIN): Likewise.
18989 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18990 (__PTHREAD_SPIN): Likewise.
18991 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18992 (__PTHREAD_SPIN): Likewise.
18993 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18994 (__PTHREAD_SPIN): Likewise.
18995 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18996 (__PTHREAD_SPIN): Likewise.
18997 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18998 (__PTHREAD_SPIN): Likewise.
18999 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19000 (__PTHREAD_SPIN): Likewise.
19001 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19002 (__PTHREAD_SPIN): Likewise.
19003 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19004 (__PTHREAD_SPIN): Likewise.
19005 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19006 (__PTHREAD_SPIN): Likewise.
19008 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19009 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19010 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19011 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19013 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19014 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19015 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19016 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19017 correct imply path.
19018 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19019 strlen symbol for non multi-arch builds.
19020 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19021 missing hidden_def and weak_alias.
19023 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19025 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19027 2014-04-07 Will Newton <will.newton@linaro.org>
19029 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19030 and contents. [!_LIBC] Remove #ifndef and contents.
19031 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19032 * string/memccpy.c (__memccpy): Use ANSI prototype.
19033 * string/memfrob.c (memfrob): Likewise.
19034 * string/strcoll.c (STRCOLL): Likewise.
19035 * string/strlen.c (strlen): Likewise.
19036 * string/strtok.c (STRTOK): Likewise.
19037 * string/strcat.c: Remove unused #include of memcopy.h.
19038 (strcat): Use ANSI prototype.
19039 * string/strchr.c: Remove unused #include of memcopy.h.
19040 (strchr): Use ANSI prototype.
19041 * string/strcmp.c: Remove unused #include of memcopy.h.
19042 (strcmp): Use ANSI prototype.
19043 * string/strcpy.c: Remove unused #include of memcopy.h.
19044 (strcpy): Use ANSI prototype.
19046 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19048 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19049 * config.make.in (config-extra-cppflags): Set it from
19050 libc_extra_cppflags.
19051 * configure.ac (libc_extra_cflags): Make it accumulate over
19052 configure fragments.
19053 (libc_extra_cppflags): New flag.
19054 * configure. Regenerate.
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19056 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19057 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19062 result for FE_DOWNWARD rounding mode.
19063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19067 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19069 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19070 in function argument name.
19072 2014-04-03 David Svoboda <svoboda@cert.org>
19075 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19078 2014-04-03 Roland McGrath <roland@hack.frob.com>
19080 * elf/dl-unmap-segments.h: New file.
19081 * sysdeps/generic/ldsodefs.h
19082 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19083 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19084 * elf/dl-fptr.c: Likewise.
19085 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19086 * sysdeps/aarch64/tlsdesc.c: Likewise.
19087 * sysdeps/arm/tlsdesc.c: Likewise.
19088 * sysdeps/i386/tlsdesc.c: Likewise.
19089 * sysdeps/tile/dl-runtime.c: Likewise.
19090 * sysdeps/x86_64/tlsdesc.c: Likewise.
19091 * elf/dl-load.h: New file.
19092 * elf/dl-load.c: Include it.
19093 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19094 Macros moved to dl-load.h.
19095 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19096 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19097 Use _dl_unmap_segments in place of __munmap.
19098 Break out segment-mapping loop into ...
19099 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19101 2014-04-03 Will Newton <will.newton@linaro.org>
19103 * elf/dl-lookup.c (do_lookup_x): Remove comment
19104 referring to nested function and move variable
19105 declarations down to before first use.
19107 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19111 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19113 * math/s_catanf.c (__catanf): Likewise.
19114 * math/s_catanh.c (__catanh): Likewise.
19115 * math/s_catanhf.c (__catanhf): Likewise.
19116 * math/s_catanhl.c (__catanhl): Likewise.
19117 * math/s_catanl.c (__catanl): Likewise.
19118 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19119 by positive zero when computing -Inf result.
19120 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19121 (catanh_test): Likewise.
19122 * sysdeps/i386/fpu/libm-test-ulps: Update.
19123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19126 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19127 instead of using underflowing value in computing result.
19128 * math/s_clog10.c (__clog10): Likewise.
19129 * math/s_clog10f.c (__clog10f): Likewise.
19130 * math/s_clog10l.c (__clog10l): Likewise.
19131 * math/s_clogf.c (__clogf): Likewise.
19132 * math/s_clogl.c (__clogl): Likewise.
19133 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19134 (clog10_test): Likewise.
19135 * sysdeps/i386/fpu/libm-test-ulps: Update.
19136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19138 2014-04-02 Alan Modra <amodra@gmail.com>
19141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19142 output when value is near a power of two. Use int64_t for lx and
19143 remove casts. Use decimal rather than hex exponent constants.
19144 Don't use long double multiplication when double will suffice.
19145 * math/libm-test.inc (nextafter_test_data): Add tests.
19146 * NEWS: Add 16739 and 16786 to bug list.
19148 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19150 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19152 2014-04-01 Will Newton <will.newton@linaro.org>
19154 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19155 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19157 2014-04-01 Florian Weimer <fweimer@redhat.com>
19160 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19161 * nptl/tst-setuid2.c: New file.
19162 * nptl/Makefile (xtests): Add tst-setuid2.
19164 2014-04-01 Alan Modra <amodra@gmail.com>
19167 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19169 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19173 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19174 set errno as appropriate.
19175 * math/w_scalbf.c (__scalbf): Likewise.
19176 * math/w_scalbl.c (__scalbl): Likewise.
19177 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19178 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19179 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19180 Add more NaN tests.
19183 * math/w_atan2.c: Include <errno.h>.
19184 (__atan2): Set errno for result underflowing to zero.
19185 * math/w_atan2f.c: Include <errno.h>.
19186 (__atan2f): Set errno for result underflowing to zero.
19187 * math/w_atan2l.c: Include <errno.h>.
19188 (__atan2l): Set errno for result underflowing to zero.
19189 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19191 * math/auto-libm-test-out: Regenerated.
19193 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19195 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19196 Encode instruction correctly in little endian.
19197 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19199 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19201 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19203 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19206 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19209 * sysdeps/unix/sysv/linux/kernel-features.h
19210 [__sparc__ && !__arch64__ && !__sparc_v9__]
19211 (__ASSUME_SET_ROBUST_LIST): Do not define.
19212 [__sparc__ && !__arch64__ && !__sparc_v9__]
19213 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19214 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19216 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19217 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19218 (__ASSUME_REQUEUE_PI): Likewise.
19219 (__ASSUME_SET_ROBUST_LIST): Likewise.
19220 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19221 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19224 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19226 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19228 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19231 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19233 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19234 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19239 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19240 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19242 2014-03-31 Will Newton <will.newton@linaro.org>
19244 * benchtests/Makefile (bench): Add ffs and ffsll to list
19246 * benchtests/ffs-inputs: New file.
19247 * benchtests/ffsll-inputs: Likewise.
19249 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19252 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19253 too large before casting to int.
19254 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19255 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19256 * math/libm-test.inc (scalb_test_data): Add more tests.
19258 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19260 * benchtests/Makefile (DETAILED_OPT): New make option.
19261 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19263 * benchtests/bench-skeleton.c: Include stdbool.h.
19264 (main): Store and print timings per input.
19265 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19266 member to each argument value.
19267 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19268 (_print_arg_data): Initialize per-input timing to 0.
19270 * benchtests/Makefile (timing-type): New binary.
19271 (bench-clean): Also remove bench-timing-type.
19272 (bench): New target for timing-type.
19273 (bench-func): Print output in JSON format.
19274 * benchtests/bench-skeleton.c (main): Print output in JSON
19276 * benchtests/bench-timing-type.c: New file.
19277 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19278 (TIMING_PRINT_STATS): Remove.
19279 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19282 * benchtests/bench-modf.c: Remove.
19283 * benchtests/modf-inputs: New inputs file.
19285 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19288 * math/s_clog10.c (M_PI_LOG10E): New macro.
19289 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19290 imaginary parts are 0.
19291 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19292 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19293 imaginary parts are 0.
19294 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19295 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19296 imaginary parts are 0.
19297 * math/libm-test.inc (clog10_test_data): Update expected results
19298 for when real and imaginary parts are 0.
19300 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19302 * elf/dl-load.c: Finish conversion of __builtin_expect into
19303 __glibc_{un}likely.
19305 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19308 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19309 1+x for argument with exponent below -67.
19310 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19312 * math/auto-libm-test-in: Add more tests of exp.
19313 * math/auto-libm-test-out: Regenerated.
19315 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19318 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19319 (nscd_getnetgrent): Use it.
19322 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19325 2014-03-27 Andi Kleen <ak@linux.intel.com>
19327 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19328 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19329 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19330 (lll_robust_unlock): Remove out of line section. Use cfi
19332 (LLL_STUB_UNWIND_INFO*): Remove.
19333 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19334 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19335 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19336 (lll_robust_unlock): Remove out of line section. Use cfi
19338 (LLL_STUB_UNWIND_INFO*): Remove.
19340 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19343 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19346 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19348 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19350 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19353 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19355 * math/test-fenv-preserve.c: New file.
19356 * math/Makefile (tests): Add test-fenv-preserve.
19358 2014-03-26 Will Newton <will.newton@linaro.org>
19360 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19362 2014-03-25 Roland McGrath <roland@hack.frob.com>
19364 * scripts/versionlist.awk: Partition the version sets and emit all
19365 GLIBC_* (sorted) before all others (sorted).
19367 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19369 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19370 GLIBC_2.2.5 version.
19372 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19374 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19382 2014-03-25 Andreas Schwab <schwab@suse.de>
19384 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19385 label to be used after in6ailist is initialized.
19387 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19389 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19390 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19392 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19396 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19398 (fp_formats): Update initializers.
19399 (init_fp_formats): Initialize new field.
19400 (output_for_one_input_case): Allow underflow for results up to
19402 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19403 * math/auto-libm-test-in: Don't mark some underflows from asin and
19405 * math/auto-libm-test-out: Regenerated.
19406 * sysdeps/i386/fpu/libm-test-ulps: Update.
19407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19409 2014-03-25 Andreas Schwab <schwab@suse.de>
19411 * libio/Makefile (tst-ftell-partial-wide-ENV)
19412 (tst-ftell-active-handler-ENV): Define.
19414 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19416 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19418 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19420 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19422 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19425 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19426 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19428 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19431 * elf/dl-load.c (open_verify): Add mode parameter.
19432 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19433 (open_path): Change from boolean 'secure' to complete flag 'mode'
19434 (_dl_map_object): Adjust.
19435 * elf/Makefile (tests): Add tst-dlopen-aout.
19436 * elf/tst-dlopen-aout.c: New test.
19438 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19441 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19442 (struct stat): Rename member pad0 to __glibc_reserved0.
19445 * sysdeps/s390/s390-32/bits/wordsize.h
19446 (__WORDSIZE32_SIZE_ULONG): New define.
19447 * sysdeps/s390/s390-64/bits/wordsize.h
19448 (__WORDSIZE32_SIZE_ULONG): Likewise.
19449 * sysdeps/generic/stdint.h (SIZE_MAX):
19450 Define as UL if __WORDSIZE32_SIZE_ULONG.
19453 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19454 (__glibc_reserved0): New variable.
19455 (sa_flags): Change type to int.
19457 * posix/Makefile (before-compile): Use += before-compile instead
19460 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19461 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19463 2014-03-20 Andreas Schwab <schwab@suse.de>
19466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19467 non-matching result from nscd.
19469 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19471 * scripts/bench.py: Moved to ...
19472 * benchtests/scripts/bench.py: ... here.
19473 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19475 2014-03-24 Andreas Schwab <schwab@suse.de>
19478 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19479 alloca_account and account alloca use for struct in6ailist.
19481 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19484 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19485 rounding mode to recompute results that overflow to infinity or
19487 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19489 * math/auto-libm-test-out: Regenerated.
19490 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19491 (ccosh_test): Likewise.
19492 (csin_test_data): Use plus_oflow.
19493 (csin_test): Use ALL_RM_TEST.
19494 (csinh_test_data): Use plus_oflow.
19495 (csinh_test): Use ALL_RM_TEST.
19496 * sysdeps/i386/fpu/libm-test-ulps: Update.
19497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19499 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19501 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19502 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19503 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19506 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19507 when x - 1 is zero.
19508 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19509 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19510 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19511 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19513 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19514 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19516 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19517 * sysdeps/i386/fpu/libm-test-ulps: Update.
19518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19522 * scripts/bench.pl: Remove file.
19523 * scripts/bench.py: New benchmark script.
19524 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19525 * benchtests/README: Mention python dependency.
19526 * scripts/pylintrc: New file.
19527 * scripts/pylint: New file.
19529 * bits/mathdef.h: Use #ifdef instead of #if.
19530 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19531 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19532 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19533 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19534 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19535 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19537 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19538 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19540 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19542 and strpbrk-ppc64 objects.
19543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19544 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19545 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19546 multiarch strpbrk for POWER7.
19547 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19548 multiarch strpbrk for PPC64.
19549 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19551 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19552 strpbrk for POWER7.
19554 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19556 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19557 (atan_test): Likewise.
19558 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19559 (atanh_test): Use ALL_RM_TEST.
19560 (atan2_test_data): Likewise.
19561 (cabs_test): Likewise.
19562 (cacosh_test): Likewise.
19563 (carg_test): Likewise.
19564 (casin_test): Likewise.
19565 (casinh_test): Likewise.
19566 (cbrt_test): Likewise.
19567 (csqrt_test): Likewise.
19568 (erf_test): Likewise.
19569 (erfc_test): Likewise.
19570 (pow10_test): Likewise.
19571 (exp2_test): Likewise.
19572 (hypot_test): Likewise.
19573 (j0_test): Likewise.
19574 (j1_test): Likewise.
19575 (lgamma_test): Likewise.
19576 (gamma_test): Likewise.
19577 (sincos_test): Likewise.
19578 (tanh_test): Likewise.
19579 (y0_test): Likewise.
19580 (y1_test): Likewise.
19581 * sysdeps/i386/fpu/libm-test-ulps: Update.
19582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19584 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19586 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19588 and strcspn-ppc64 objects.
19589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19590 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19591 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19592 multiarch strcspn for POWER7.
19593 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19594 multiarch strcspn for PPC64.
19595 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19597 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19598 strcspn for POWER7.
19600 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19602 * math/gen-libm-test.pl (generate_testfile): Expect only function
19603 name as argument to AUTO_TESTS_* and pass results for all rounding
19604 modes to parse_args.
19605 (parse_auto_input): Separate inputs of automatic tests from
19606 outputs before storing in %auto_tests.
19607 * math/libm-test.inc (acos_test_data): Update call to
19609 (acos_test): Use ALL_RM_TEST.
19610 (acos_tonearest_test_data): Remove.
19611 (acos_test_tonearest): Likewise.
19612 (acos_towardzero_test_data): Likewise.
19613 (acos_test_towardzero): Likewise.
19614 (acos_downward_test_data): Likewise.
19615 (acos_test_downward): Likewise.
19616 (acos_upward_test_data): Likewise.
19617 (acos_test_upward): Likewise.
19618 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19619 (asin_test_data): Likewise.
19620 (asin_test): Use ALL_RM_TEST.
19621 (asin_tonearest_test_data): Remove.
19622 (asin_test_tonearest): Likewise.
19623 (asin_towardzero_test_data): Likewise.
19624 (asin_test_towardzero): Likewise.
19625 (asin_downward_test_data): Likewise.
19626 (asin_test_downward): Likewise.
19627 (asin_upward_test_data): Likewise.
19628 (asin_test_upward): Likewise.
19629 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19630 (atan_test_data): Likewise.
19631 (atanh_test_data): Likewise.
19632 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19633 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19634 (carg_test_data): Likewise.
19635 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19636 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19637 (ccosh_test_data): Likewise.
19638 (cexp_test_data): Likewise.
19639 (clog_test_data): Likewise.
19640 (clog10_test_data): Likewise.
19641 (cos_test_data): Update call to AUTO_TESTS_f_f.
19642 (cos_test): Use ALL_RM_TEST.
19643 (cos_tonearest_test_data): Remove.
19644 (cos_test_tonearest): Likewise.
19645 (cos_towardzero_test_data): Likewise.
19646 (cos_test_towardzero): Likewise.
19647 (cos_downward_test_data): Likewise.
19648 (cos_test_downward): Likewise.
19649 (cos_upward_test_data): Likewise.
19650 (cos_test_upward): Likewise.
19651 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19652 (cosh_test): Use ALL_RM_TEST.
19653 (cosh_tonearest_test_data): Remove.
19654 (cosh_test_tonearest): Likewise.
19655 (cosh_towardzero_test_data): Likewise.
19656 (cosh_test_towardzero): Likewise.
19657 (cosh_downward_test_data): Likewise.
19658 (cosh_test_downward): Likewise.
19659 (cosh_upward_test_data): Likewise.
19660 (cosh_test_upward): Likewise.
19661 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19662 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19663 (ctan_test_data): Likewise.
19664 (ctan_test): Use ALL_RM_TEST.
19665 (ctan_tonearest_test_data): Remove.
19666 (ctan_test_tonearest): Likewise.
19667 (ctan_towardzero_test_data): Likewise.
19668 (ctan_test_towardzero): Likewise.
19669 (ctan_downward_test_data): Likewise.
19670 (ctan_test_downward): Likewise.
19671 (ctan_upward_test_data): Likewise.
19672 (ctan_test_upward): Likewise.
19673 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19674 (ctanh_test): Use ALL_RM_TEST.
19675 (ctanh_tonearest_test_data): Remove.
19676 (ctanh_test_tonearest): Likewise.
19677 (ctanh_towardzero_test_data): Likewise.
19678 (ctanh_test_towardzero): Likewise.
19679 (ctanh_downward_test_data): Likewise.
19680 (ctanh_test_downward): Likewise.
19681 (ctanh_upward_test_data): Likewise.
19682 (ctanh_test_upward): Likewise.
19683 (erf_test_data): Update call to AUTO_TESTS_f_f.
19684 (erfc_test_data): Likewise.
19685 (exp_test_data): Likewise.
19686 (exp_test): Use ALL_RM_TEST.
19687 (exp_tonearest_test_data): Remove.
19688 (exp_test_tonearest): Likewise.
19689 (exp_towardzero_test_data): Likewise.
19690 (exp_test_towardzero): Likewise.
19691 (exp_downward_test_data): Likewise.
19692 (exp_test_downward): Likewise.
19693 (exp_upward_test_data): Likewise.
19694 (exp_test_upward): Likewise.
19695 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19696 (exp10_test): Use ALL_RM_TEST.
19697 (exp10_tonearest_test_data): Remove.
19698 (exp10_test_tonearest): Likewise.
19699 (exp10_towardzero_test_data): Likewise.
19700 (exp10_test_towardzero): Likewise.
19701 (exp10_downward_test_data): Likewise.
19702 (exp10_test_downward): Likewise.
19703 (exp10_upward_test_data): Likewise.
19704 (exp10_test_upward): Likewise.
19705 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19706 (expm1_test_data): Likewise.
19707 (expm1_test): Use ALL_RM_TEST.
19708 (expm1_tonearest_test_data): Remove.
19709 (expm1_test_tonearest): Likewise.
19710 (expm1_towardzero_test_data): Likewise.
19711 (expm1_test_towardzero): Likewise.
19712 (expm1_downward_test_data): Likewise.
19713 (expm1_test_downward): Likewise.
19714 (expm1_upward_test_data): Likewise.
19715 (expm1_test_upward): Likewise.
19716 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19717 (fma_test): Use ALL_RM_TEST.
19718 (fma_towardzero_test_data): Remove.
19719 (fma_test_towardzero): Likewise.
19720 (fma_downward_test_data): Likewise.
19721 (fma_test_downward): Likewise.
19722 (fma_upward_test_data): Likewise.
19723 (fma_test_upward): Likewise.
19724 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19725 (j0_test_data): Update call to AUTO_TESTS_f_f.
19726 (j1_test_data): Likewise.
19727 (jn_test_data): Update call to AUTO_TESTS_if_f.
19728 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19729 (log_test_data): Update call to AUTO_TESTS_f_f.
19730 (log10_test_data): Likewise.
19731 (log1p_test_data): Likewise.
19732 (log2_test_data): Likewise.
19733 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19734 (pow_tonearest_test_data): Likewise.
19735 (sin_test_data): Update call to AUTO_TESTS_f_f.
19736 (sin_test): Use ALL_RM_TEST.
19737 (sin_tonearest_test_data): Remove.
19738 (sin_test_tonearest): Likewise.
19739 (sin_towardzero_test_data): Likewise.
19740 (sin_test_towardzero): Likewise.
19741 (sin_downward_test_data): Likewise.
19742 (sin_test_downward): Likewise.
19743 (sin_upward_test_data): Likewise.
19744 (sin_test_upward): Likewise.
19745 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19746 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19747 (sinh_test): Use ALL_RM_TEST.
19748 (sinh_tonearest_test_data): Remove.
19749 (sinh_test_tonearest): Likewise.
19750 (sinh_towardzero_test_data): Likewise.
19751 (sinh_test_towardzero): Likewise.
19752 (sinh_downward_test_data): Likewise.
19753 (sinh_test_downward): Likewise.
19754 (sinh_upward_test_data): Likewise.
19755 (sinh_test_upward): Likewise.
19756 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19757 (sqrt_test): Use ALL_RM_TEST.
19758 (sqrt_tonearest_test_data): Remove.
19759 (sqrt_test_tonearest): Likewise.
19760 (sqrt_towardzero_test_data): Likewise.
19761 (sqrt_test_towardzero): Likewise.
19762 (sqrt_downward_test_data): Likewise.
19763 (sqrt_test_downward): Likewise.
19764 (sqrt_upward_test_data): Likewise.
19765 (sqrt_test_upward): Likewise.
19766 (tan_test_data): Update call to AUTO_TESTS_f_f.
19767 (tan_test): Use ALL_RM_TEST.
19768 (tan_tonearest_test_data): Remove.
19769 (tan_test_tonearest): Likewise.
19770 (tan_towardzero_test_data): Likewise.
19771 (tan_test_towardzero): Likewise.
19772 (tan_downward_test_data): Likewise.
19773 (tan_test_downward): Likewise.
19774 (tan_upward_test_data): Likewise.
19775 (tan_test_upward): Likewise.
19776 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19777 (tgamma_test_data): Likewise.
19778 (y0_test_data): Likewise.
19779 (y1_test_data): Likewise.
19780 (yn_test_data): Update call to AUTO_TESTS_if_f.
19781 (main): Do not call removed functions.
19783 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19785 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19786 (ldexp_test_data): Remove.
19787 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19789 (scalb_test): Use ALL_RM_TEST.
19791 2014-03-19 Andreas Schwab <schwab@suse.de>
19793 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19795 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19798 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19799 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19800 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19801 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19802 (__ASSUME_PREADV): Undefine.
19803 (__ASSUME_PWRITEV): Likewise.
19805 2014-03-18 Roland McGrath <roland@hack.frob.com>
19807 * bits/mman-linux.h: Add comment about non-Linux use.
19808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19809 bits/mman-linux.h resting place.
19811 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19812 * bits/mman-linux.h: ... here.
19814 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19816 * conform/conformtest.pl: Add standard definition when calling C
19817 preprocessor on data files.
19818 (checknamespace): Remove unused variable.
19820 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19822 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19823 minus_oflow, plus_uflow and minus_uflow in expected results.
19824 * math/libm-test.inc (scalbn_test_data): Add more tests of
19825 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19827 (scalbn_test): Use ALL_RM_TEST.
19828 (scalbln_test_data): Add more tests of negative arguments. Use
19829 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19830 (scalbln_test): Use ALL_RM_TEST.
19832 2014-03-18 Roland McGrath <roland@hack.frob.com>
19834 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19836 2014-03-18 Will Newton <will.newton@linaro.org>
19838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19839 inaccurate comment.
19841 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19843 * Makerules [!subdir] (check-abi): Exit with error status if a
19846 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19848 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19849 for rint. Include results for all rounding modes.
19850 (nearbyint_test): Use ALL_RM_TEST.
19851 (rint_test_data): Include all tests used for nearbyint.
19853 2014-03-17 Will Newton <will.newton@linaro.org>
19855 * nptl/sysdeps/pthread/pthread.h: Revert previous
19858 * sysdeps/generic/ldsodefs.h: Revert previous
19861 * libio/genops.c: Revert previous change.
19862 * libio/libioP.h: Likewise.
19863 * stdio-common/vfprintf.c: Likewise.
19865 * sysdeps/generic/math_private.h: Revert previous
19868 * sysdeps/generic/math_private.h: Check whether
19869 HAVE_RM_CTX is defined with #ifdef rather
19872 * argp/argp-fmtstream.h: Check whether
19873 __STRICT_ANSI__ is defined with #ifdef rather
19875 * argp/argp.h: Likewise.
19877 * libio/genops.c: Check whether
19878 _IO_JUMPS_OFFSET is defined with #ifdef rather
19880 * libio/libioP.h: Likewise.
19881 * stdio-common/vfprintf.c: Likewise.
19883 * sysdeps/generic/ldsodefs.h: Check whether
19884 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19887 * nptl/sysdeps/pthread/pthread.h: Check
19888 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19891 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19893 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19895 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19899 * libio/fileops.c (_IO_file_open): Seek to end of file but
19900 don't cache the offset.
19901 (get_file_offset): Remove function.
19902 (do_ftell): Use cached offset when available.
19903 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19904 don't cache the offset.
19905 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19907 (do_one_test): Call it.
19908 (do_ftell_test): Fix up expected old offset for a+ mode.
19909 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19912 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19913 up test status with function return status.
19914 (do_write_test): Likewise.
19915 (do_append_test): Likewise.
19917 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19918 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19921 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19923 * math/gen-libm-test.pl (parse_args): Handle results specified for
19924 each rounding mode separately.
19925 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19926 tests and results from lrint_tonearest_test_data,
19927 lrint_towardzero_test_data, lrint_downward_test_data and
19928 lrint_upward_test_data.
19929 (lrint_test): Use ALL_RM_TEST.
19930 (lrint_tonearest_test_data): Remove.
19931 (lrint_test_tonearest): Likewise.
19932 (lrint_towardzero_test_data): Likewise.
19933 (lrint_test_towardzero): Likewise.
19934 (lrint_downward_test_data): Likewise.
19935 (lrint_test_downward): Likewise.
19936 (lrint_upward_test_data): Likewise.
19937 (lrint_test_upward): Likewise.
19938 (llrint_test_data): Merge in per-rounding-mode tests and results
19939 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19940 llrint_downward_test_data and llrint_upward_test_data.
19941 (llrint_test): Use ALL_RM_TEST.
19942 (llrint_tonearest_test_data): Remove.
19943 (llrint_test_tonearest): Likewise.
19944 (llrint_towardzero_test_data): Likewise.
19945 (llrint_test_towardzero): Likewise.
19946 (llrint_downward_test_data): Likewise.
19947 (llrint_test_downward): Likewise.
19948 (llrint_upward_test_data): Likewise.
19949 (llrint_test_upward): Likewise.
19950 (rint_test_data): Merge in per-rounding-mode tests and results
19951 from rint_tonearest_test_data, rint_towardzero_test_data,
19952 rint_downward_test_data and rint_upward_test_data. Add
19953 per-rounding-mode results for tests not in those arrays.
19954 (rint_test): Use ALL_RM_TEST.
19955 (rint_tonearest_test_data): Remove.
19956 (rint_test_tonearest): Likewise.
19957 (rint_towardzero_test_data): Likewise.
19958 (rint_test_towardzero): Likewise.
19959 (rint_downward_test_data): Likewise.
19960 (rint_test_downward): Likewise.
19961 (rint_upward_test_data): Likewise.
19962 (rint_test_upward): Likewise.
19963 (main): Don't call removed functions.
19965 2014-03-14 Roland McGrath <roland@hack.frob.com>
19967 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19968 "Compiled on ..." crapola. It is anti-useful.
19970 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19972 * scripts/evaluate-test.sh: Handle fourth argument to determine
19973 whether test run should stop on failure.
19974 * Makeconfig (stop-on-test-failure): New variable.
19975 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19976 $(stop-on-test-failure).
19977 * Makefile (tests): Give a summary of results from testing and
19978 exit with failure status if they include an ERROR or FAIL.
19979 (xtests): Likewise.
19980 * manual/install.texi (Configuring and compiling): Mention
19981 stop-on-test-failure=y.
19982 * INSTALL: Regenerated.
19984 2014-03-14 Roland McGrath <roland@hack.frob.com>
19986 * scripts/versionlist.awk: New file.
19987 * Makerules [$(build-shared) = yes]
19988 (postclean-generated): Add Versions.def, not Versions.def.v and
19990 ($(common-objpfx)Versions.def.v.i): Target removed.
19991 ($(common-objpfx)Versions.def): New target.
19992 ($(common-objpfx)Versions.all): Depend on that rather that
19993 $(common-objpfx)Versions.def.v.
19994 * Versions.def: File removed.
19996 * Makeconfig (+gccwarn): Add -Wundef.
19997 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19998 a dl-sysdep.h breaking its contract.
19999 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20000 * include/stackinfo.h: New file.
20001 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20002 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20003 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20004 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20005 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20006 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20007 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20008 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20009 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20010 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20011 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20012 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20013 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20014 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20015 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20017 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20020 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20022 * math/libm-test.inc (round_test_data): Add more tests.
20025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20027 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20030 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20032 * math/libm-test.inc (ceil_test_data): Add more tests.
20034 * math/libm-test.inc (trunc_test_data): Add more tests related to
20037 2014-03-14 Roland McGrath <roland@hack.frob.com>
20039 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20040 with #if rather than #ifdef.
20041 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20043 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20046 first. Disable AVX-512 GCC support if assembler doesn't support
20048 * sysdeps/x86_64/configure: Regenerated.
20050 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20052 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20053 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20054 (__old_pthread_attr_setstack): Likewise.
20055 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20056 [!_STACK_GROWS_DOWN]: Likewise.
20058 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20060 * config.make.in (have-bash2): Delete.
20061 * configure.ac (libc_cv_have_bash2): Delete.
20062 * configure: Regenerate.
20063 * elf/Makefile (common-ldd-rewrite): Rename to ...
20064 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20065 (sh-ldd-rewrite): Delete.
20066 (bash-ldd-rewrite): Delete.
20067 (have-bash2): Delete checks.
20068 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20071 * config.make.in (have-ksh): Delete.
20073 * configure.ac (libc_cv_have_ksh): Delete.
20074 * configure: Regenerate.
20076 * elf/Makefile: Delete $(have-ksh) check.
20077 ($(objpfx)sotruss): Change KSH to BASH.
20078 * elf/sotruss.ksh: Rename to ...
20079 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20080 function style to match POSIX. Drop ksh vim mode setting.
20082 * manual/time.texi (Specifying the Time Zone with TZ): Change
20083 Tuesday to Thursday.
20085 * debug/tst-longjmp_chk2.c: Update header comment.
20086 (stackoverflow_handler): Add comment. Call assert on pass value.
20088 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20091 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20092 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20093 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20094 (La_x86_64_vector): Add zmm.
20095 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20096 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20097 ($(objpfx)tst-audit10): New target.
20098 ($(objpfx)tst-audit10.out): Likewise.
20099 (tst-audit10-ENV): New.
20100 (AVX512-CFLAGS): Likewise.
20101 (CFLAGS-tst-audit10.c): Likewise.
20102 (CFLAGS-tst-auditmod10a.c): Likewise.
20103 (CFLAGS-tst-auditmod10b.c): Likewise.
20104 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20105 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20106 * sysdeps/x86_64/configure: Regenerated.
20107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20108 AVX-512 zmm register support.
20109 (_dl_x86_64_save_sse): Likewise.
20110 (_dl_x86_64_restore_sse): Likewise.
20111 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20112 size vector registers.
20113 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20114 (ZMM_SIZE): Likewise.
20115 * sysdeps/x86_64/tst-audit10.c: New file.
20116 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20117 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20119 2014-03-13 Roland McGrath <roland@hack.frob.com>
20121 * configure.ac (HAVE_EHDR_START): New check.
20122 * configure: Regenerated.
20123 * config.h.in (HAVE_EHDR_START): New #undef.
20124 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20125 assuming the lowest-addressed segment maps the start of the file.
20127 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20129 * INSTALL: Regenerated.
20131 2014-03-13 Will Newton <will.newton@linaro.org>
20133 * manual/setjmp.texi (System V contexts): Improve
20134 clarity and grammar of documentation.
20136 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20139 * elf/Makefile (tests): Add tst-pie2.
20140 (tests-pie): Add tst-pie2.
20141 * elf/tst-pie2.c: New file.
20142 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20144 * elf/rtld.c (map_doit): Load executable as lt_executable.
20145 (dl_main): Likewise.
20147 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20151 (__ASSUME_PSELECT): Undefine.
20153 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20157 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20159 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20160 selector for static builds.
20162 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20165 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20168 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20170 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20171 IFUNC selector for static builds.
20173 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20175 * sysdeps/mips/math_private.h [__mips_hard_float]
20176 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20177 libc_feresetround_mips_ctx.
20178 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20179 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20180 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20183 * math/s_nextafter.c (__nextafter): Do not return value from
20184 overflowing computation.
20185 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20186 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20191 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20192 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20194 2014-03-11 Roland McGrath <roland@hack.frob.com>
20196 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20197 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20198 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20199 the new mov targetting sp.
20201 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20204 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20205 Define it for static builds as well.
20206 (NO_BZERO_IMPL): Likewise.
20208 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20210 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20211 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20212 multiarch strspn for PPC64.
20213 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20214 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20216 (__libc_ifunc_impl_list): Likewise.
20217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20218 multiarch optimizations
20219 * string/strspn.c (strspn): Using macro to redefine symbol name.
20221 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20222 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20224 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20225 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20226 multiarch strncat for PPC64.
20227 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20228 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20230 (__libc_ifunc_impl_list): Likewise.
20231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20232 multiarch optimizations
20234 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20237 * nscd/nscd.service: Make service type forking.
20239 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20241 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20242 sign in non default rounding modes.
20243 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20245 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20247 * math/libm-test.inc (ALL_RM_TEST): New macro.
20248 (ceil_test): Use ALL_RM_TEST.
20249 (cimag_test): Likewise.
20250 (conj_test): Likewise.
20251 (copysign_test): Likewise.
20252 (cproj_test): Likewise.
20253 (creal_test): Likewise.
20254 (fabs_test): Likewise.
20255 (floor_test): Likewise.
20256 (fmax_test): Likewise.
20257 (fmin_test): Likewise.
20258 (fmod_test): Likewise.
20259 (fpclassify_test): Likewise.
20260 (frexp_test): Likewise.
20261 (ilogb_test): Likewise.
20262 (isfinite_test): Likewise.
20263 (finite_test): Likewise.
20264 (isgreater_test): Likewise.
20265 (isgreaterequal_test): Likewise.
20266 (isinf_test): Likewise.
20267 (isless_test): Likewise.
20268 (islessequal_test): Likewise.
20269 (islessgreater_test): Likewise.
20270 (isnan_test): Likewise.
20271 (isnormal_test): Likewise.
20272 (issignaling_test): Likewise.
20273 (isunordered_test): Likewise.
20274 (logb_test): Likewise.
20275 (logb_downward_test_data): Remove.
20276 (logb_test_downward): Likewise.
20277 (lround_test): Use ALL_RM_TEST.
20278 (llround_test): Likewise.
20279 (modf_test): Likewise.
20280 (nexttoward_test): Likewise.
20281 (remainder_test): Likewise.
20282 (drem_test): Likewise.
20283 (remainder_tonearest_test_data): Likewise.
20284 (remainder_test_tonearest): Likewise.
20285 (drem_test_tonearest): Likewise.
20286 (remainder_towardzero_test_data): Likewise.
20287 (remainder_test_towardzero): Likewise.
20288 (drem_test_towardzero): Likewise.
20289 (remainder_downward_test_data): Likewise.
20290 (remainder_test_downward): Likewise.
20291 (drem_test_downward): Likewise.
20292 (remainder_upward_test_data): Likewise.
20293 (remainder_test_upward): Likewise.
20294 (drem_test_upward): Likewise.
20295 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20296 (round_test): Use ALL_RM_TEST.
20297 (signbit_test): Likewise.
20298 (trunc_test): Likewise.
20299 (significand_test): Likewise.
20300 (main): Don't call removed functions.
20302 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20305 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20306 || __USE_XOPEN2K8].
20307 (ILL_ILLOPN): Likewise.
20308 (ILL_ILLADR): Likewise.
20309 (ILL_ILLTRP): Likewise.
20310 (ILL_PRVOPC): Likewise.
20311 (ILL_PRVREG): Likewise.
20312 (ILL_COPROC): Likewise.
20313 (ILL_BADSTK): Likewise.
20314 (FPE_INTDIV): Likewise.
20315 (FPE_INTOVF): Likewise.
20316 (FPE_FLTDIV): Likewise.
20317 (FPE_FLTOVF): Likewise.
20318 (FPE_FLTUND): Likewise.
20319 (FPE_FLTRES): Likewise.
20320 (FPE_FLTINV): Likewise.
20321 (FPE_FLTSUB): Likewise.
20322 (SEGV_MAPERR): Likewise.
20323 (SEGV_ACCERR): Likewise.
20324 (BUS_ADRALN): Likewise.
20325 (BUS_ADRERR): Likewise.
20326 (BUS_OBJERR): Likewise.
20327 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20328 (TRAP_TRACE): Likewise.
20329 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20331 (CLD_KILLED): Likewise.
20332 (CLD_DUMPED): Likewise.
20333 (CLD_TRAPPED): Likewise.
20334 (CLD_STOPPED): Likewise.
20335 (CLD_CONTINUED): Likewise.
20336 (POLL_IN): Likewise.
20337 (POLL_OUT): Likewise.
20338 (POLL_MSG): Likewise.
20339 (POLL_ERR): Likewise.
20340 (POLL_PRI): Likewise.
20341 (POLL_HUP): Likewise.
20342 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20344 (ILL_ILLOPN): Likewise.
20345 (ILL_ILLADR): Likewise.
20346 (ILL_ILLTRP): Likewise.
20347 (ILL_PRVOPC): Likewise.
20348 (ILL_PRVREG): Likewise.
20349 (ILL_COPROC): Likewise.
20350 (ILL_BADSTK): Likewise.
20351 (FPE_INTDIV): Likewise.
20352 (FPE_INTOVF): Likewise.
20353 (FPE_FLTDIV): Likewise.
20354 (FPE_FLTOVF): Likewise.
20355 (FPE_FLTUND): Likewise.
20356 (FPE_FLTRES): Likewise.
20357 (FPE_FLTINV): Likewise.
20358 (FPE_FLTSUB): Likewise.
20359 (SEGV_MAPERR): Likewise.
20360 (SEGV_ACCERR): Likewise.
20361 (BUS_ADRALN): Likewise.
20362 (BUS_ADRERR): Likewise.
20363 (BUS_OBJERR): Likewise.
20364 (BUS_MCEERR_AR): Likewise.
20365 (BUS_MCEERR_AO): Likewise.
20366 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20367 (TRAP_TRACE): Likewise.
20368 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20370 (CLD_KILLED): Likewise.
20371 (CLD_DUMPED): Likewise.
20372 (CLD_TRAPPED): Likewise.
20373 (CLD_STOPPED): Likewise.
20374 (CLD_CONTINUED): Likewise.
20375 (POLL_IN): Likewise.
20376 (POLL_OUT): Likewise.
20377 (POLL_MSG): Likewise.
20378 (POLL_ERR): Likewise.
20379 (POLL_PRI): Likewise.
20380 (POLL_HUP): Likewise.
20381 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20382 (ILL_ILLOPN): Likewise.
20383 (ILL_ILLADR): Likewise.
20384 (ILL_ILLTRP): Likewise.
20385 (ILL_PRVOPC): Likewise.
20386 (ILL_PRVREG): Likewise.
20387 (ILL_COPROC): Likewise.
20388 (ILL_BADSTK): Likewise.
20389 (FPE_INTDIV): Likewise.
20390 (FPE_INTOVF): Likewise.
20391 (FPE_FLTDIV): Likewise.
20392 (FPE_FLTOVF): Likewise.
20393 (FPE_FLTUND): Likewise.
20394 (FPE_FLTRES): Likewise.
20395 (FPE_FLTINV): Likewise.
20396 (FPE_FLTSUB): Likewise.
20397 (SEGV_MAPERR): Likewise.
20398 (SEGV_ACCERR): Likewise.
20399 (BUS_ADRALN): Likewise.
20400 (BUS_ADRERR): Likewise.
20401 (BUS_OBJERR): Likewise.
20402 (BUS_MCEERR_AR): Likewise.
20403 (BUS_MCEERR_AO): Likewise.
20404 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20405 (TRAP_TRACE): Likewise.
20406 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20408 (CLD_KILLED): Likewise.
20409 (CLD_DUMPED): Likewise.
20410 (CLD_TRAPPED): Likewise.
20411 (CLD_STOPPED): Likewise.
20412 (CLD_CONTINUED): Likewise.
20413 (POLL_IN): Likewise.
20414 (POLL_OUT): Likewise.
20415 (POLL_MSG): Likewise.
20416 (POLL_ERR): Likewise.
20417 (POLL_PRI): Likewise.
20418 (POLL_HUP): Likewise.
20419 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20421 (ILL_ILLOPN): Likewise.
20422 (ILL_ILLADR): Likewise.
20423 (ILL_ILLTRP): Likewise.
20424 (ILL_PRVOPC): Likewise.
20425 (ILL_PRVREG): Likewise.
20426 (ILL_COPROC): Likewise.
20427 (ILL_BADSTK): Likewise.
20428 (ILL_BADIADDR): Likewise.
20429 (ILL_BREAK): Likewise.
20430 (FPE_INTDIV): Likewise.
20431 (FPE_INTOVF): Likewise.
20432 (FPE_FLTDIV): Likewise.
20433 (FPE_FLTOVF): Likewise.
20434 (FPE_FLTUND): Likewise.
20435 (FPE_FLTRES): Likewise.
20436 (FPE_FLTINV): Likewise.
20437 (FPE_FLTSUB): Likewise.
20438 (FPE_DECOVF): Likewise.
20439 (FPE_DECDIV): Likewise.
20440 (FPE_DECERR): Likewise.
20441 (FPE_INVASC): Likewise.
20442 (FPE_INVDEC): Likewise.
20443 (SEGV_MAPERR): Likewise.
20444 (SEGV_ACCERR): Likewise.
20445 (SEGV_PSTKOVF): Likewise.
20446 (BUS_ADRALN): Likewise.
20447 (BUS_ADRERR): Likewise.
20448 (BUS_OBJERR): Likewise.
20449 (BUS_MCEERR_AR): Likewise.
20450 (BUS_MCEERR_AO): Likewise.
20451 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20452 (TRAP_TRACE): Likewise.
20453 (TRAP_BRANCH): Likewise.
20454 (TRAP_HWBKPT): Likewise.
20455 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20457 (CLD_KILLED): Likewise.
20458 (CLD_DUMPED): Likewise.
20459 (CLD_TRAPPED): Likewise.
20460 (CLD_STOPPED): Likewise.
20461 (CLD_CONTINUED): Likewise.
20462 (POLL_IN): Likewise.
20463 (POLL_OUT): Likewise.
20464 (POLL_MSG): Likewise.
20465 (POLL_ERR): Likewise.
20466 (POLL_PRI): Likewise.
20467 (POLL_HUP): Likewise.
20468 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20469 (ILL_ILLOPN): Likewise.
20470 (ILL_ILLADR): Likewise.
20471 (ILL_ILLTRP): Likewise.
20472 (ILL_PRVOPC): Likewise.
20473 (ILL_PRVREG): Likewise.
20474 (ILL_COPROC): Likewise.
20475 (ILL_BADSTK): Likewise.
20476 (FPE_INTDIV): Likewise.
20477 (FPE_INTOVF): Likewise.
20478 (FPE_FLTDIV): Likewise.
20479 (FPE_FLTOVF): Likewise.
20480 (FPE_FLTUND): Likewise.
20481 (FPE_FLTRES): Likewise.
20482 (FPE_FLTINV): Likewise.
20483 (FPE_FLTSUB): Likewise.
20484 (SEGV_MAPERR): Likewise.
20485 (SEGV_ACCERR): Likewise.
20486 (BUS_ADRALN): Likewise.
20487 (BUS_ADRERR): Likewise.
20488 (BUS_OBJERR): Likewise.
20489 (BUS_MCEERR_AR): Likewise.
20490 (BUS_MCEERR_AO): Likewise.
20491 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20492 (TRAP_TRACE): Likewise.
20493 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20495 (CLD_KILLED): Likewise.
20496 (CLD_DUMPED): Likewise.
20497 (CLD_TRAPPED): Likewise.
20498 (CLD_STOPPED): Likewise.
20499 (CLD_CONTINUED): Likewise.
20500 (POLL_IN): Likewise.
20501 (POLL_OUT): Likewise.
20502 (POLL_MSG): Likewise.
20503 (POLL_ERR): Likewise.
20504 (POLL_PRI): Likewise.
20505 (POLL_HUP): Likewise.
20506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20507 (ILL_ILLOPN): Likewise.
20508 (ILL_ILLADR): Likewise.
20509 (ILL_ILLTRP): Likewise.
20510 (ILL_PRVOPC): Likewise.
20511 (ILL_PRVREG): Likewise.
20512 (ILL_COPROC): Likewise.
20513 (ILL_BADSTK): Likewise.
20514 (FPE_INTDIV): Likewise.
20515 (FPE_INTOVF): Likewise.
20516 (FPE_FLTDIV): Likewise.
20517 (FPE_FLTOVF): Likewise.
20518 (FPE_FLTUND): Likewise.
20519 (FPE_FLTRES): Likewise.
20520 (FPE_FLTINV): Likewise.
20521 (FPE_FLTSUB): Likewise.
20522 (SEGV_MAPERR): Likewise.
20523 (SEGV_ACCERR): Likewise.
20524 (BUS_ADRALN): Likewise.
20525 (BUS_ADRERR): Likewise.
20526 (BUS_OBJERR): Likewise.
20527 (BUS_MCEERR_AR): Likewise.
20528 (BUS_MCEERR_AO): Likewise.
20529 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20530 (TRAP_TRACE): Likewise.
20531 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20533 (CLD_KILLED): Likewise.
20534 (CLD_DUMPED): Likewise.
20535 (CLD_TRAPPED): Likewise.
20536 (CLD_STOPPED): Likewise.
20537 (CLD_CONTINUED): Likewise.
20538 (POLL_IN): Likewise.
20539 (POLL_OUT): Likewise.
20540 (POLL_MSG): Likewise.
20541 (POLL_ERR): Likewise.
20542 (POLL_PRI): Likewise.
20543 (POLL_HUP): Likewise.
20544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20545 (ILL_ILLOPN): Likewise.
20546 (ILL_ILLADR): Likewise.
20547 (ILL_ILLTRP): Likewise.
20548 (ILL_PRVOPC): Likewise.
20549 (ILL_PRVREG): Likewise.
20550 (ILL_COPROC): Likewise.
20551 (ILL_BADSTK): Likewise.
20552 (FPE_INTDIV): Likewise.
20553 (FPE_INTOVF): Likewise.
20554 (FPE_FLTDIV): Likewise.
20555 (FPE_FLTOVF): Likewise.
20556 (FPE_FLTUND): Likewise.
20557 (FPE_FLTRES): Likewise.
20558 (FPE_FLTINV): Likewise.
20559 (FPE_FLTSUB): Likewise.
20560 (SEGV_MAPERR): Likewise.
20561 (SEGV_ACCERR): Likewise.
20562 (BUS_ADRALN): Likewise.
20563 (BUS_ADRERR): Likewise.
20564 (BUS_OBJERR): Likewise.
20565 (BUS_MCEERR_AR): Likewise.
20566 (BUS_MCEERR_AO): Likewise.
20567 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20568 (TRAP_TRACE): Likewise.
20569 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20571 (CLD_KILLED): Likewise.
20572 (CLD_DUMPED): Likewise.
20573 (CLD_TRAPPED): Likewise.
20574 (CLD_STOPPED): Likewise.
20575 (CLD_CONTINUED): Likewise.
20576 (POLL_IN): Likewise.
20577 (POLL_OUT): Likewise.
20578 (POLL_MSG): Likewise.
20579 (POLL_ERR): Likewise.
20580 (POLL_PRI): Likewise.
20581 (POLL_HUP): Likewise.
20582 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20583 (ILL_ILLOPN): Likewise.
20584 (ILL_ILLADR): Likewise.
20585 (ILL_ILLTRP): Likewise.
20586 (ILL_PRVOPC): Likewise.
20587 (ILL_PRVREG): Likewise.
20588 (ILL_COPROC): Likewise.
20589 (ILL_BADSTK): Likewise.
20590 (ILL_DBLFLT): Likewise.
20591 (ILL_HARDWALL): Likewise.
20592 (FPE_INTDIV): Likewise.
20593 (FPE_INTOVF): Likewise.
20594 (FPE_FLTDIV): Likewise.
20595 (FPE_FLTOVF): Likewise.
20596 (FPE_FLTUND): Likewise.
20597 (FPE_FLTRES): Likewise.
20598 (FPE_FLTINV): Likewise.
20599 (FPE_FLTSUB): Likewise.
20600 (SEGV_MAPERR): Likewise.
20601 (SEGV_ACCERR): Likewise.
20602 (BUS_ADRALN): Likewise.
20603 (BUS_ADRERR): Likewise.
20604 (BUS_OBJERR): Likewise.
20605 (BUS_MCEERR_AR): Likewise.
20606 (BUS_MCEERR_AO): Likewise.
20607 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20608 (TRAP_TRACE): Likewise.
20609 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20611 (CLD_KILLED): Likewise.
20612 (CLD_DUMPED): Likewise.
20613 (CLD_TRAPPED): Likewise.
20614 (CLD_STOPPED): Likewise.
20615 (CLD_CONTINUED): Likewise.
20616 (POLL_IN): Likewise.
20617 (POLL_OUT): Likewise.
20618 (POLL_MSG): Likewise.
20619 (POLL_ERR): Likewise.
20620 (POLL_PRI): Likewise.
20621 (POLL_HUP): Likewise.
20622 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20623 (ILL_ILLOPN): Likewise.
20624 (ILL_ILLADR): Likewise.
20625 (ILL_ILLTRP): Likewise.
20626 (ILL_PRVOPC): Likewise.
20627 (ILL_PRVREG): Likewise.
20628 (ILL_COPROC): Likewise.
20629 (ILL_BADSTK): Likewise.
20630 (FPE_INTDIV): Likewise.
20631 (FPE_INTOVF): Likewise.
20632 (FPE_FLTDIV): Likewise.
20633 (FPE_FLTOVF): Likewise.
20634 (FPE_FLTUND): Likewise.
20635 (FPE_FLTRES): Likewise.
20636 (FPE_FLTINV): Likewise.
20637 (FPE_FLTSUB): Likewise.
20638 (SEGV_MAPERR): Likewise.
20639 (SEGV_ACCERR): Likewise.
20640 (BUS_ADRALN): Likewise.
20641 (BUS_ADRERR): Likewise.
20642 (BUS_OBJERR): Likewise.
20643 (BUS_MCEERR_AR): Likewise.
20644 (BUS_MCEERR_AO): Likewise.
20645 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20646 (TRAP_TRACE): Likewise.
20647 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20649 (CLD_KILLED): Likewise.
20650 (CLD_DUMPED): Likewise.
20651 (CLD_TRAPPED): Likewise.
20652 (CLD_STOPPED): Likewise.
20653 (CLD_CONTINUED): Likewise.
20654 (POLL_IN): Likewise.
20655 (POLL_OUT): Likewise.
20656 (POLL_MSG): Likewise.
20657 (POLL_ERR): Likewise.
20658 (POLL_PRI): Likewise.
20659 (POLL_HUP): Likewise.
20660 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20661 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20664 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20665 before #include of <time.h>.
20666 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20667 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20668 (test-xfail-UNIX98/sched.h/conform): Likewise.
20670 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20672 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20673 error absence of trapping exception support.
20674 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20676 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20678 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20679 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20680 * timezone/Makefile (testdata): Move definition above include of
20682 (test-zones): New variable.
20683 (tests-special): Add zone files.
20684 (build-testdata): Use $(evaluate-test).
20686 * elf/Makefile (tests-special): Rename tests to end with .out.
20687 ($(objpfx)noload-mem): Likewise.
20688 ($(objpfx)tst-leaks1-mem): Likewise.
20689 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20690 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20691 $(objpfx)test-iconvconfig.out.
20692 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20693 set -e inside subshell and redirect output to file.
20694 * iconvdata/Makefile (generated): Rename tests to end with .out.
20696 (tests-special): Rename tests to end with .out.
20697 ($(objpfx)mtrace-tst-loading): Likewise.
20698 * intl/Makefile (generated): Likewise.
20699 (tests-special): Likewise.
20700 ($(objpfx)mtrace-tst-gettext): Likewise.
20701 * misc/Makefile (generated): Likewise.
20702 (tests-special): Likewise.
20703 ($(objpfx)tst-error1-mem): Likewise.
20704 * nptl/Makefile (tests-special): Likewise.
20705 ($(objpfx)tst-stack3-mem): Likewise.
20706 (generated): Likewise.
20707 * posix/Makefile (generated): Likewise.
20708 (tests-special): Likewise.
20709 (xtests-special): Likewise.
20710 ($(objpfx)tst-fnmatch-mem): Likewise.
20711 ($(objpfx)bug-regex2-mem): Likewise.
20712 ($(objpfx)bug-regex14-mem): Likewise.
20713 ($(objpfx)bug-regex21-mem): Likewise.
20714 ($(objpfx)bug-regex31-mem): Likewise.
20715 ($(objpfx)tst-vfork3-mem): Likewise.
20716 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20717 ($(objpfx)tst-pcre-mem): Likewise.
20718 ($(objpfx)tst-boost-mem): Likewise.
20719 ($(objpfx)bug-ga2-mem): Likewise.
20720 ($(objpfx)bug-glob2-mem): Likewise.
20721 * resolv/Makefile (generate): Likewise.
20722 (tests-special): Likewise.
20723 (xtests-special): Likewise.
20724 (generated): Likewise.
20725 ($(objpfx)mtrace-tst-leaks): Likewise.
20726 ($(objpfx)mtrace-tst-leaks2): Likewise.
20728 * scripts/merge-test-results.sh: New file.
20729 * Makefile (tests-special-notdir): New variable.
20730 (tests): Run merge-test-results.sh.
20731 (xtests): Likewise.
20732 * Rules (tests-special-notdir): New variable.
20733 (xtests-special-notdir): Likewise.
20734 (tests): Run merge-test-results.sh
20735 (xtests): Likewise.
20737 * Makeconfig (test-xfail-name): New variable.
20738 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20739 compute variable name for expected failures.
20740 * conform/Makefile (conformtest-headers-data): New variable.
20741 (conformtest-standards): Likewise.
20742 (conformtest-headers-ISO): Likewise.
20743 (conformtest-headers-ISO99): Likewise.
20744 (conformtest-headers-ISO11): Likewise.
20745 (conformtest-headers-POSIX): Likewise.
20746 (conformtest-headers-XPG3): Likewise.
20747 (conformtest-headers-XPG4): Likewise.
20748 (conformtest-headers-UNIX98): Likewise.
20749 (conformtest-headers-XOPEN2K): Likewise.
20750 (conformtest-headers-POSIX2008): Likewise.
20751 (conformtest-headers-XOPEN2K8): Likewise.
20752 (conformtest-header-list-base): Likewise.
20753 (conformtest-header-list-tests): Likewise.
20754 (conformtest-header-base): Likewise.
20755 (conformtest-header-tests): Likewise.
20756 (tests-special): Add $(conformtest-header-list-tests). If
20757 [$(fast-check) && !$(cross-compiling)], add
20758 $(conformtest-header-tests) instead of
20759 $(objpfx)run-conformtest.out.
20760 (generated): Add $(conformtest-header-list-base). If
20761 [$(fast-check) && !$(cross-compiling)], add
20762 $(conformtest-header-base). Remove previous setting.
20763 ($(conformtest-header-list-tests)): New target.
20764 (test-xfail-run-conformtest): Remove variable.
20765 ($(objpfx)run-conformtest.out): Remove target.
20766 (test-xfail-ISO11/complex.h/conform): New variable.
20767 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20768 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20769 (test-xfail-XPG3/varargs.h/conform): Likewise.
20770 (test-xfail-XPG4/varargs.h/conform): Likewise.
20771 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20772 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20773 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20774 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20775 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20776 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20777 (test-xfail-XPG3/ftw.h/conform): Likewise.
20778 (test-xfail-XPG3/grp.h/conform): Likewise.
20779 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20780 (test-xfail-XPG3/limits.h/conform): Likewise.
20781 (test-xfail-XPG3/pwd.h/conform): Likewise.
20782 (test-xfail-XPG3/search.h/conform): Likewise.
20783 (test-xfail-XPG3/signal.h/conform): Likewise.
20784 (test-xfail-XPG3/stdio.h/conform): Likewise.
20785 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20786 (test-xfail-XPG3/string.h/conform): Likewise.
20787 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20788 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20789 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20790 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20791 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20792 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20793 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20794 (test-xfail-XPG3/termios.h/conform): Likewise.
20795 (test-xfail-XPG3/time.h/conform): Likewise.
20796 (test-xfail-XPG3/unistd.h/conform): Likewise.
20797 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20798 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20799 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20800 (test-xfail-XPG4/netdb.h/conform): Likewise.
20801 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20802 (test-xfail-XPG4/signal.h/conform): Likewise.
20803 (test-xfail-XPG4/stdio.h/conform): Likewise.
20804 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20805 (test-xfail-XPG4/stropts.h/conform): Likewise.
20806 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20807 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20808 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20809 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20810 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20811 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20812 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20813 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20814 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20815 (test-xfail-XPG4/termios.h/conform): Likewise.
20816 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20817 (test-xfail-XPG4/unistd.h/conform): Likewise.
20818 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20819 (test-xfail-POSIX/sched.h/conform): Likewise.
20820 (test-xfail-POSIX/signal.h/conform): Likewise.
20821 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20822 (test-xfail-POSIX/tar.h/conform): Likewise.
20823 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20824 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20825 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20826 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20827 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20828 (test-xfail-UNIX98/sched.h/conform): Likewise.
20829 (test-xfail-UNIX98/signal.h/conform): Likewise.
20830 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20831 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20832 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20833 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20834 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20835 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20836 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20837 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20838 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20839 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20840 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20841 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20842 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20843 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20844 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20845 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20846 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20847 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20848 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20849 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20850 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20851 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20852 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20853 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20854 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20855 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20856 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20857 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20858 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20859 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20860 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20861 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20862 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20863 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20864 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20865 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20866 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20867 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20868 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20869 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20870 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20871 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20872 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20873 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20874 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20875 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20876 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20877 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20878 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20879 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20880 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20881 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20882 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20883 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20884 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20885 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20886 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20887 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20888 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20889 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20890 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20891 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20892 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20893 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20894 (conformtest-cc-flags): Likewise.
20895 ($(conformtest-header-tests): New target.
20896 * conform/check-header-lists.sh: New file.
20897 * conform/run-conformtest.sh: Remove.
20899 * conform/conformtest.pl: Allow ' and \ in values given for
20901 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20903 [POSIX] (sys/types.h): Likewise.
20904 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20906 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20908 * conform/data/signal.h-data (SIGIO): Remove expectation.
20909 [XPG3] (SIGBUS): Do not expect.
20910 [POSIX || XPG3] (SIGPOLL): Likewise.
20911 [POSIX || XPG3] (SIGPROF): Likewise.
20912 [POSIX || XPG3] (SIGSYS): Likewise.
20913 [XPG3] (SIGTRAP): Likewise.
20914 [POSIX || XPG3] (SIGURG): Likewise.
20915 [POSIX || XPG3] (SIGVTALRM): Likewise.
20916 [POSIX || XPG3] (SIGXCPU): Likewise.
20917 [POSIX || XPG3] (SIGXFSZ): Likewise.
20918 [POSIX] (SA_SIGINFO): Expect.
20919 [XPG3] (siginfo_t): Do not expect type or contents.
20920 [POSIX] (si_pid): Do not expect element.
20921 [POSIX] (si_uid): Likewise.
20922 [POSIX] (si_addr): Likewise.
20923 [POSIX] (si_status): Likewise.
20924 [POSIX] (si_band): Likewise.
20925 [XPG4] (si_value): Likewise.
20926 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20927 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20928 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20929 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20930 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20931 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20932 [POSIX || XPG3] (ILL_COPROC): Likewise.
20933 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20934 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20935 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20936 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20937 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20938 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20939 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20940 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20941 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20942 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20943 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20944 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20945 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20946 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20947 [POSIX || XPG3] (CLD_EXITED): Likewise.
20948 [POSIX || XPG3] (CLD_KILLED): Likewise.
20949 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20950 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20951 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20952 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20953 [POSIX || XPG3] (POLL_IN): Likewise.
20954 [POSIX || XPG3] (POLL_OUT): Likewise.
20955 [POSIX || XPG3] (POLL_MSG): Likewise.
20956 [POSIX || XPG3] (POLL_ERR): Likewise.
20957 [POSIX || XPG3] (POLL_PRI): Likewise.
20958 [POSIX || XPG3] (POLL_HUP): Likewise.
20959 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20960 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20961 (SIG*): Do not allow.
20962 [XPG3] (si_*): Likewise.
20963 [XPG3] (SI_*): Likewise.
20964 [XPG3 || XPG4] (sigev_*): Likewise.
20965 [XPG3 || XPG4] (SIGEV_*): Likewise.
20966 [XPG3 || XPG4] (sival_*): Likewise.
20967 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20968 [POSIX || XPG3] (BUS_*): Likewise.
20969 [POSIX || XPG3] (CLD_*): Likewise.
20970 [POSIX || XPG3] (FPE_*): Likewise.
20971 [POSIX || XPG3] (ILL_*): Likewise.
20972 [POSIX || XPG3] (POLL_*): Likewise.
20973 [POSIX || XPG3] (SEGV_*): Likewise.
20974 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20975 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20976 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20977 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20978 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20979 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20980 Specify type and value.
20981 (TVERSLEN): Likewise.
20982 (REGTYPE): Likewise.
20983 (AREGTYPE): Likewise.
20984 (LNKTYPE): Likewise.
20985 (SYMTYPE): Likewise.
20986 (CHRTYPE): Likewise.
20987 (BLKTYPE): Likewise.
20988 (DIRTYPE): Likewise.
20989 (FIFOTYPE): Likewise.
20990 (CONTTYPE): Likewise.
20994 (TUREAD): Likewise.
20995 (TUWRITE): Likewise.
20996 (TUEXEC): Likewise.
20997 (TGREAD): Likewise.
20998 (TGWRITE): Likewise.
20999 (TGEXEC): Likewise.
21000 (TOREAD): Likewise.
21001 (TOWRITE): Likewise.
21002 (TOEXEC): Likewise.
21003 [POSIX] (TSVTX): Expect constant.
21005 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21007 * Makefile (tests): Change dependencies to ....
21008 (tests-special): ... additions to this variable.
21009 (tests): Depend on $(tests-special).
21010 * Makerules (check-abi-list): New variable.
21011 (check-abi): Depend on $(check-abi-list).
21012 [$(subdir) = elf] (tests-special): Add
21013 $(objpfx)check-abi-libc.out.
21014 [$(build-shared) = yes && subdir] (tests-special): Add
21016 [$(build-shared) = yes && subdir] (tests): Do not depend on
21018 * Rules (tests): Depend on $(tests-special).
21019 (xtests): Depend on $(xtests-special).
21020 * catgets/Makefile (tests): Change dependencies to ....
21021 (tests-special): ... additions to this variable.
21022 * conform/Makefile (tests): Change dependencies to ....
21023 (tests-special): ... additions to this variable.
21024 * elf/Makefile (tests): Change dependencies to ....
21025 (tests-special): ... additions to this variable.
21026 * grp/Makefile (tests): Change dependencies to ....
21027 (tests-special): ... additions to this variable.
21028 * iconv/Makefile (xtests): Change dependencies to ....
21029 (xtests-special): ... additions to this variable.
21030 * iconvdata/Makefile (tests): Change dependencies to ....
21031 (tests-special): ... additions to this variable.
21032 * intl/Makefile (tests): Change dependencies to ....
21033 (tests-special): ... additions to this variable. Also add
21034 $(objpfx)tst-gettext.out.
21035 * io/Makefile (tests): Change dependencies to ....
21036 (tests-special): ... additions to this variable.
21037 * libio/Makefile (tests): Change dependencies to ....
21038 (tests-special): ... additions to this variable.
21039 * malloc/Makefile (tests): Change dependencies to ....
21040 (tests-special): ... additions to this variable.
21041 * misc/Makefile (tests): Change dependencies to ....
21042 (tests-special): ... additions to this variable.
21043 * nptl/Makefile (tests): Change dependencies to ....
21044 (tests-special): ... additions to this variable.
21045 * nptl_db/Makefile (tests): Change dependencies to ....
21046 (tests-special): ... additions to this variable.
21047 * posix/Makefile (tests): Change dependencies to ....
21048 (tests-special): ... additions to this variable.
21049 (xtests): Change dependencies to ....
21050 (xtests-special): ... additions to this variable.
21051 * resolv/Makefile (tests): Change dependencies to ....
21052 (tests-special): ... additions to this variable.
21053 (xtests): Change dependencies to ....
21054 (xtests-special): ... additions to this variable.
21055 * stdio-common/Makefile (tests): Change dependencies to ....
21056 (tests-special): ... additions to this variable.
21057 (do-tst-unbputc): Remove target.
21058 (do-tst-printf): Likewise.
21059 * stdlib/Makefile (tests): Change dependencies to ....
21060 (tests-special): ... additions to this variable.
21061 * string/Makefile (tests): Change dependencies to ....
21062 (tests-special): ... additions to this variable.
21063 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21064 (tests-special): ... additions to this variable.
21066 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21068 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21070 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21071 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21073 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21074 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21075 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21076 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21077 * conform/data/libgen.h-data [XPG3]: Likewise.
21078 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21079 * conform/data/ndbm.h-data [XPG3]: Likewise.
21080 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21081 * conform/data/netdb.h-data [XPG3]: Likewise.
21082 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21083 * conform/data/poll.h-data [XPG3]: Likewise.
21084 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21085 * conform/data/strings.h-data [XPG3]: Likewise.
21086 * conform/data/stropts.h-data [XPG3]: Likewise.
21087 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21088 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21089 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21091 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21092 * conform/data/sys/time.h-data [XPG3]: Likewise.
21093 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21094 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21095 * conform/data/sys/un.h-data [XPG3]: Likewise.
21096 * conform/data/syslog.h-data [XPG3]: Likewise.
21097 * conform/data/ucontext.h-data [XPG3]: Likewise.
21098 * conform/data/utmpx.h-data [XPG3]: Likewise.
21099 * conform/data/varargs.h-data [UNIX98]: Enable file.
21101 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21103 * math/libm-test.inc (struct test_f_f_data): Move expected results
21104 into structure for each rounding mode.
21105 (struct test_ff_f_data): Likewise.
21106 (struct test_ff_f_data_nexttoward): Likewise.
21107 (struct test_fi_f_data): Likewise.
21108 (struct test_fl_f_data): Likewise.
21109 (struct test_if_f_data): Likewise.
21110 (struct test_fff_f_data): Likewise.
21111 (struct test_c_f_data): Likewise.
21112 (struct test_f_f1_data): Likewise.
21113 (struct test_fF_f1_data): Likewise.
21114 (struct test_ffI_f1_data): Likewise.
21115 (struct test_c_c_data): Likewise.
21116 (struct test_cc_c_data): Likewise.
21117 (struct test_f_i_data): Likewise.
21118 (struct test_ff_i_data): Likewise.
21119 (struct test_f_l_data): Likewise.
21120 (struct test_f_L_data): Likewise.
21121 (struct test_fFF_11_data): Likewise.
21123 (RM_FE_DOWNWARD): Likewise.
21124 (RM_FE_TONEAREST): Likewise.
21125 (RM_FE_TOWARDZERO): Likewise.
21126 (RM_FE_UPWARD): Likewise.
21127 (RUN_TEST_LOOP_f_f): Update references to expected results.
21128 (RUN_TEST_LOOP_2_f): Likewise.
21129 (RUN_TEST_LOOP_fff_f): Likewise.
21130 (RUN_TEST_LOOP_c_f): Likewise.
21131 (RUN_TEST_LOOP_f_f1): Likewise.
21132 (RUN_TEST_LOOP_fF_f1): Likewise.
21133 (RUN_TEST_LOOP_fI_f1): Likewise.
21134 (RUN_TEST_LOOP_ffI_f1): Likewise.
21135 (RUN_TEST_LOOP_c_c): Likewise.
21136 (RUN_TEST_LOOP_cc_c): Likewise.
21137 (RUN_TEST_LOOP_f_i): Likewise.
21138 (RUN_TEST_LOOP_f_i_tg): Likewise.
21139 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21140 (RUN_TEST_LOOP_f_b): Likewise.
21141 (RUN_TEST_LOOP_f_b_tg): Likewise.
21142 (RUN_TEST_LOOP_f_l): Likewise.
21143 (RUN_TEST_LOOP_f_L): Likewise.
21144 (RUN_TEST_LOOP_fFF_11): Likewise.
21145 * math/gen-libm-test.pl (parse_args): Output four copies of
21146 expected results for each test.
21148 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21149 (__ASSUME_UTIMES): Remove.
21150 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21151 (__ASSUME_UTIMES): Likewise.
21153 * math/gen-auto-libm-tests.c: Update comment on output format.
21154 (output_for_one_input_case): Generate before-rounding and
21155 after-rounding information as conditions on output flags not
21156 floating-point format.
21157 * math/auto-libm-test-out: Regenerated.
21158 * math/gen-libm-test.pl (cond_value): New function.
21159 (or_cond_value): Use cond_value.
21160 (generate_testfile): Handle conditional exceptions.
21162 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21164 * math/libm-test.inc (max_valid_error): New variable.
21165 (init_max_error): Take new argument specifying whether function
21166 results are exactly determined. Set max_valid_error and bound
21167 other variables for errors based on this argument.
21168 (set_max_error): Do not record results above max_valid_error.
21169 (check_float_internal): Only accept errors of up to 0.5ulps if
21170 also at most max_valid_error.
21171 (START): Take new argument EXACT and pass it to init_max_error.
21172 (acos_test): Update call to START.
21173 (acos_test_tonearest): Likewise.
21174 (acos_test_towardzero): Likewise.
21175 (acos_test_downward): Likewise.
21176 (acos_test_upward): Likewise.
21177 (acosh_test): Likewise.
21178 (asin_test): Likewise.
21179 (asin_test_tonearest): Likewise.
21180 (asin_test_towardzero): Likewise.
21181 (asin_test_downward): Likewise.
21182 (asin_test_upward): Likewise.
21183 (asinh_test): Likewise.
21184 (atan_test): Likewise.
21185 (atanh_test): Likewise.
21186 (atan2_test): Likewise.
21187 (cabs_test): Likewise.
21188 (cacos_test): Likewise.
21189 (cacosh_test): Likewise.
21190 (carg_test): Likewise.
21191 (casin_test): Likewise.
21192 (casinh_test): Likewise.
21193 (catan_test): Likewise.
21194 (catanh_test): Likewise.
21195 (cbrt_test): Likewise.
21196 (ccos_test): Likewise.
21197 (ccosh_test): Likewise.
21198 (ceil_test): Likewise.
21199 (cexp_test): Likewise.
21200 (cimag_test): Likewise.
21201 (clog_test): Likewise.
21202 (clog10_test): Likewise.
21203 (conj_test): Likewise.
21204 (copysign_test): Likewise.
21205 (cos_test): Likewise.
21206 (cos_test_tonearest): Likewise.
21207 (cos_test_towardzero): Likewise.
21208 (cos_test_downward): Likewise.
21209 (cos_test_upward): Likewise.
21210 (cosh_test): Likewise.
21211 (cosh_test_tonearest): Likewise.
21212 (cosh_test_towardzero): Likewise.
21213 (cosh_test_downward): Likewise.
21214 (cosh_test_upward): Likewise.
21215 (cpow_test): Likewise.
21216 (cproj_test): Likewise.
21217 (creal_test): Likewise.
21218 (csin_test): Likewise.
21219 (csinh_test): Likewise.
21220 (csqrt_test): Likewise.
21221 (ctan_test): Likewise.
21222 (ctan_test_tonearest): Likewise.
21223 (ctan_test_towardzero): Likewise.
21224 (ctan_test_downward): Likewise.
21225 (ctan_test_upward): Likewise.
21226 (ctanh_test): Likewise.
21227 (ctanh_test_tonearest): Likewise.
21228 (ctanh_test_towardzero): Likewise.
21229 (ctanh_test_downward): Likewise.
21230 (ctanh_test_upward): Likewise.
21231 (erf_test): Likewise.
21232 (erfc_test): Likewise.
21233 (exp_test): Likewise.
21234 (exp_test_tonearest): Likewise.
21235 (exp_test_towardzero): Likewise.
21236 (exp_test_downward): Likewise.
21237 (exp_test_upward): Likewise.
21238 (exp10_test): Likewise.
21239 (exp10_test_tonearest): Likewise.
21240 (exp10_test_towardzero): Likewise.
21241 (exp10_test_downward): Likewise.
21242 (exp10_test_upward): Likewise.
21243 (pow10_test): Likewise.
21244 (exp2_test): Likewise.
21245 (expm1_test): Likewise.
21246 (expm1_test_tonearest): Likewise.
21247 (expm1_test_towardzero): Likewise.
21248 (expm1_test_downward): Likewise.
21249 (expm1_test_upward): Likewise.
21250 (fabs_test): Likewise.
21251 (fdim_test): Likewise.
21252 (floor_test): Likewise.
21253 (fma_test): Likewise.
21254 (fma_test_towardzero): Likewise.
21255 (fma_test_downward): Likewise.
21256 (fma_test_upward): Likewise.
21257 (fmax_test): Likewise.
21258 (fmin_test): Likewise.
21259 (fmod_test): Likewise.
21260 (fpclassify_test): Likewise.
21261 (frexp_test): Likewise.
21262 (hypot_test): Likewise.
21263 (ilogb_test): Likewise.
21264 (isfinite_test): Likewise.
21265 (finite_test): Likewise.
21266 (isgreater_test): Likewise.
21267 (isgreaterequal_test): Likewise.
21268 (isinf_test): Likewise.
21269 (isless_test): Likewise.
21270 (islessequal_test): Likewise.
21271 (islessgreater_test): Likewise.
21272 (isnan_test): Likewise.
21273 (isnormal_test): Likewise.
21274 (issignaling_test): Likewise.
21275 (isunordered_test): Likewise.
21276 (j0_test): Likewise.
21277 (j1_test): Likewise.
21278 (jn_test): Likewise.
21279 (ldexp_test): Likewise.
21280 (lgamma_test): Likewise.
21281 (gamma_test): Likewise.
21282 (lrint_test): Likewise.
21283 (lrint_test_tonearest): Likewise.
21284 (lrint_test_towardzero): Likewise.
21285 (lrint_test_downward): Likewise.
21286 (lrint_test_upward): Likewise.
21287 (llrint_test): Likewise.
21288 (llrint_test_tonearest): Likewise.
21289 (llrint_test_towardzero): Likewise.
21290 (llrint_test_downward): Likewise.
21291 (llrint_test_upward): Likewise.
21292 (log_test): Likewise.
21293 (log10_test): Likewise.
21294 (log1p_test): Likewise.
21295 (log2_test): Likewise.
21296 (logb_test): Likewise.
21297 (logb_test_downward): Likewise.
21298 (lround_test): Likewise.
21299 (llround_test): Likewise.
21300 (modf_test): Likewise.
21301 (nearbyint_test): Likewise.
21302 (nextafter_test): Likewise.
21303 (nexttoward_test): Likewise.
21304 (pow_test): Likewise.
21305 (pow_test_tonearest): Likewise.
21306 (pow_test_towardzero): Likewise.
21307 (pow_test_downward): Likewise.
21308 (pow_test_upward): Likewise.
21309 (remainder_test): Likewise.
21310 (drem_test): Likewise.
21311 (remainder_test_tonearest): Likewise.
21312 (drem_test_tonearest): Likewise.
21313 (remainder_test_towardzero): Likewise.
21314 (drem_test_towardzero): Likewise.
21315 (remainder_test_downward): Likewise.
21316 (drem_test_downward): Likewise.
21317 (remainder_test_upward): Likewise.
21318 (drem_test_upward): Likewise.
21319 (remquo_test): Likewise.
21320 (rint_test): Likewise.
21321 (rint_test_tonearest): Likewise.
21322 (rint_test_towardzero): Likewise.
21323 (rint_test_downward): Likewise.
21324 (rint_test_upward): Likewise.
21325 (round_test): Likewise.
21326 (scalb_test): Likewise.
21327 (scalbn_test): Likewise.
21328 (scalbln_test): Likewise.
21329 (signbit_test): Likewise.
21330 (sin_test): Likewise.
21331 (sin_test_tonearest): Likewise.
21332 (sin_test_towardzero): Likewise.
21333 (sin_test_downward): Likewise.
21334 (sin_test_upward): Likewise.
21335 (sincos_test): Likewise.
21336 (sinh_test): Likewise.
21337 (sinh_test_tonearest): Likewise.
21338 (sinh_test_towardzero): Likewise.
21339 (sinh_test_downward): Likewise.
21340 (sinh_test_upward): Likewise.
21341 (sqrt_test): Likewise.
21342 (sqrt_test_tonearest): Likewise.
21343 (sqrt_test_towardzero): Likewise.
21344 (sqrt_test_downward): Likewise.
21345 (sqrt_test_upward): Likewise.
21346 (tan_test): Likewise.
21347 (tan_test_tonearest): Likewise.
21348 (tan_test_towardzero): Likewise.
21349 (tan_test_downward): Likewise.
21350 (tan_test_upward): Likewise.
21351 (tanh_test): Likewise.
21352 (tgamma_test): Likewise.
21353 (trunc_test): Likewise.
21354 (y0_test): Likewise.
21355 (y1_test): Likewise.
21356 (yn_test): Likewise.
21357 (significand_test): Likewise.
21359 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21360 individual tests in comment.
21361 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21362 (prev_max_error): New variable.
21363 (prev_real_max_error): Likewise.
21364 (prev_imag_max_error): Likewise.
21365 (compare_ulp_data): Don't refer to test names in comment.
21366 (find_test_ulps): Remove function.
21367 (find_function_ulps): Likewise.
21368 (find_complex_function_ulps): Likewise.
21369 (init_max_error): Take function name as argument. Look up ulps
21371 (print_ulps): Remove function.
21372 (print_max_error): Use prev_max_error instead of calling
21373 find_function_ulps.
21374 (print_complex_max_error): Use prev_real_max_error and
21375 prev_imag_max_error instead of calling find_complex_function_ulps.
21376 (check_float_internal): Take max_ulp parameter instead of calling
21377 find_test_ulps. Don't call print_ulps.
21378 (check_float): Update call to check_float_internal.
21379 (check_complex): Update calls to check_float_internal.
21380 (START): Pass argument to init_max_error.
21381 * math/gen-libm-test.pl (%results): Don't include "kind"
21383 (parse_ulps): Don't handle ulps of individual tests.
21384 (print_ulps_file): Likewise.
21385 (output_ulps): Likewise.
21386 * math/README.libm-test: Update.
21387 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21389 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21390 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21391 * sysdeps/arm/libm-test-ulps: Likewise.
21392 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21393 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21394 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21395 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21396 * sysdeps/microblaze/libm-test-ulps: Likewise.
21397 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21398 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21399 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21400 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21401 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21402 * sysdeps/sh/libm-test-ulps: Likewise.
21403 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21404 * sysdeps/tile/libm-test-ulps: Likewise.
21405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21407 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21409 * math/libm-test.inc (print_complex_max_error): Check separately
21410 whether real and imaginary errors are within allowed range and
21411 pass 0 to print_complex_function_ulps instead of value within
21414 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21416 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21418 (get_handles_fopen): Likewise.
21419 (do_write_test): Likewise.
21421 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21423 * libio/fileops.c (do_ftell): Use cached offset when
21425 * libio/iofwide.c (do_ftell_wide): Likewise.
21426 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21428 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21431 * libio/libioP.h (get_file_offset): New function.
21432 * libio/fileops.c (get_file_offset): Likewise.
21433 (do_ftell): Likewise.
21434 (_IO_new_file_seekoff): Split out ftell logic.
21435 * libio/wfileops.c (do_ftell_wide): Likewise.
21436 (_IO_wfile_seekoff): Split out ftell logic.
21437 * libio/tst-ftell-active-handler.c: New test case.
21438 * libio/Makefile (tests): Add it.
21440 2014-03-03 Roland McGrath <roland@hack.frob.com>
21442 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21443 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21445 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21448 * nscd/connections.c (nscd_init): Call do_exit.
21449 (start_threads): Call do_exit and notify_parent.
21450 (begin_drop_privileges): Call do_exit.
21451 (finish_drop_privileges): Likewise.
21452 * nscd/selinux.c (preserve_capabilities): Likewise.
21453 (install_real_capabilities): Likewise.
21454 (nscd_selinux_enabled): Likewise.
21455 (avc_create_thread): Likewise.
21456 (avc_alloc_lock): Likewise.
21457 (nscd_avc_init): Likewise.
21458 * nscd/nscd.c (parent_fd): New static variable.
21459 (main): Create a pipe between parent and child processes.
21460 Skip closing parent_fd.
21461 (monitor_child): New function.
21462 (do_exit): Likewise.
21463 (notify_parent): Likewise.
21464 * nscd/nscd.h (notify_parent): Likewise.
21465 (do_exit): Likewise.
21467 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21469 * malloc/malloc.c (__libc_calloc): Revert last change.
21471 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21475 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21477 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21481 (__libc_ifunc_impl_list): Likewise.
21482 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21483 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21484 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21485 * string/strrchr.c: Define STRRCHR.
21487 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21489 * benchtest/bench-strtok.c (simple_strtok): Delete.
21490 (strtok_string): Use as benchmark.
21491 * string/strtok (STRTOK): New macro.
21493 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21495 * manual/threads.texi: Add header and standard comments to all
21498 * elf/dl-lookup.c (check_match): New function.
21499 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21500 (do_lookup_x): Remove nested function check_match. Use non-nested
21501 function check_match.
21503 2014-02-28 Roland McGrath <roland@hack.frob.com>
21505 * csu/Makefile (generated, before-compile): Use += rather than =.
21506 * catgets/Makefile (generated, generated-dirs): Likewise.
21507 * debug/Makefile (generated): Likewise.
21508 * dlfcn/Makefile (generated): Likewise.
21509 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21510 * iconvdata/Makefile (before-compile, generated): Likewise.
21511 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21512 * libio/Makefile (generated): Likewise.
21513 * malloc/Makefile (generated): Likewise.
21514 * manual/Makefile (generated, generated-dirs): Likewise.
21515 * misc/Makefile (generated): Likewise.
21516 * posix/Makefile (generated): Likewise.
21517 * resolv/Makefile (generated): Likewise.
21518 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21519 * timezone/Makefile (generated, generated-dirs): Likewise.
21521 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21523 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21526 power8 implementation.
21527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21528 file: POWER8 llround ifunc implementation.
21529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21530 (__lllround): Add POWER8 implementation.
21531 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21532 POWER8 llround implementation.
21534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21535 power8 implementation.
21536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21537 file: POWER8 llrint ifunc implementation.
21538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21539 Add POWER8 implementation.
21540 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21541 POWER8 llrint implementation.
21543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21544 power8 implementation.
21545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21546 file: POWER8 finite ifunc implementation.
21547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21548 Add POWER8 implementation.
21549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21551 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21552 POWER8 finite implementation.
21553 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21556 power8 implementation.
21557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21558 file: POWER8 isinf ifunc implementation.
21559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21560 POWER8 implementation.
21561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21564 isinf implementation.
21565 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21567 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21568 (INIT_ARCH): Add hwcap2 initialization.
21569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21570 power8 implementation.
21571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21572 file: POWER8 isnan ifunc implementation.
21573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21574 POWER8 implementation.
21575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21577 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21578 isnan implementation.
21579 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21581 2014-02-27 Joey Ye <joey.ye@arm.com>
21583 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21584 (_FP_NANFRAC_Q): Set to zero.
21586 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21589 * math/auto-libm-test-in: New test inputs.
21590 * math/auto-libm-test-out: Regenerate.
21591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21594 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21596 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21598 * scripts/evaluate-test.sh: Take new argument indicating whether
21599 failure is expected.
21600 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21601 indicating whether failure is expected.
21602 * conform/Makefile (test-xfail-run-conformtest): New variable.
21603 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21605 * posix/Makefile (test-xfail-annexc): New variable.
21606 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21608 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21610 * argp/Makefile: Include Makeconfig immediately after defining
21612 * assert/Makefile: Likewise.
21613 * benchtests/Makefile: Likewise.
21614 * catgets/Makefile: Likewise.
21615 * conform/Makefile: Likewise.
21616 * crypt/Makefile: Likewise.
21617 * csu/Makefile: Likewise.
21618 (all): Remove target.
21619 * ctype/Makefile: Include Makeconfig immediately after defining
21621 * debug/Makefile: Likewise.
21622 * dirent/Makefile: Likewise.
21623 * dlfcn/Makefile: Likewise.
21624 * gmon/Makefile: Likewise.
21625 * gnulib/Makefile: Likewise.
21626 * grp/Makefile: Likewise.
21627 * gshadow/Makefile: Likewise.
21628 * hesiod/Makefile: Likewise.
21629 * hurd/Makefile: Likewise.
21630 (all): Remove target.
21631 * iconvdata/Makefile: Include Makeconfig immediately after
21633 * inet/Makefile: Likewise.
21634 * intl/Makefile: Likewise.
21635 * io/Makefile: Likewise.
21636 * libio/Makefile: Likewise.
21637 (all): Remove target.
21638 * locale/Makefile: Include Makeconfig immediately after defining
21640 * login/Makefile: Likewise.
21641 * mach/Makefile: Likewise.
21642 (all): Remove target.
21643 * malloc/Makefile: Include Makeconfig immediately after defining
21645 (all): Remove target.
21646 * manual/Makefile: Include Makeconfig immediately after defining
21648 * math/Makefile: Likewise.
21649 * misc/Makefile: Likewise.
21650 * nis/Makefile: Likewise.
21651 * nss/Makefile: Likewise.
21652 * po/Makefile: Likewise.
21653 (all): Remove target.
21654 * posix/Makefile: Include Makeconfig immediately after defining
21656 * pwd/Makefile: Likewise.
21657 * resolv/Makefile: Likewise.
21658 * resource/Makefile: Likewise.
21659 * rt/Makefile: Likewise.
21660 * setjmp/Makefile: Likewise.
21661 * shadow/Makefile: Likewise.
21662 * signal/Makefile: Likewise.
21663 * socket/Makefile: Likewise.
21664 * soft-fp/Makefile: Likewise.
21665 * stdio-common/Makefile: Likewise.
21666 * stdlib/Makefile: Likewise.
21667 * streams/Makefile: Likewise.
21668 * string/Makefile: Likewise.
21669 * sunrpc/Makefile: Likewise.
21670 (all): Remove target.
21671 * sysvipc/Makefile: Include Makeconfig immediately after defining
21673 * termios/Makefile: Likewise.
21674 * time/Makefile: Likewise.
21675 * timezone/Makefile: Likewise.
21676 (all): Remove target.
21677 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21679 * wctype/Makefile: Likewise.
21681 2014-02-26 Steve Ellcey <sellcey@mips.com>
21683 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21684 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21685 (libc_feholdexcept_setround_mips): Ditto.
21686 (libc_feholdsetround): New.
21687 (libc_feholdsetroundf): New.
21688 (libc_feholdsetroundl): New.
21689 (libc_feupdateenv_test_mips): New.
21690 (libc_feupdateenv_test): New.
21691 (libc_feupdateenv_testf): New.
21692 (libc_feupdateenv_testl): New.
21693 (libc_feresetround): New.
21694 (libc_feresetroundf): New.
21695 (libc_feresetroundl): New.
21696 (libc_fetestexcept_mips): New.
21697 (libc_fetestexcept): New.
21698 (libc_fetestexceptf): New.
21699 (libc_fetestexceptl): New.
21700 (HAVE_RM_CTX): New.
21701 (libc_feholdexcept_setround_mips_ctx): New.
21702 (libc_feholdexcept_setround_ctx): New.
21703 (libc_feholdexcept_setroundf_ctx): New.
21704 (libc_feholdexcept_setroundl_ctx): New.
21705 (libc_fesetenv_mips_ctx): New.
21706 (libc_fesetenv_ctx): New.
21707 (libc_fesetenv_ctxf): New.
21708 (libc_fesetenv_ctxl): New.
21709 (libc_feupdateenv_mips_ctx): New.
21710 (libc_feupdateenv_ctx): New.
21711 (libc_feupdateenvf_ctx): New.
21712 (libc_feupdateenvl_ctx): New.
21713 (libc_feholdsetround_mips_ctx): New.
21714 (libc_feholdsetround_ctx): New.
21715 (libc_feholdsetroundf_ctx): New.
21716 (libc_feholdsetroundl_ctx): New.
21717 (libc_feresetround_mips_ctx): New.
21718 (libc_feresetround_ctx): New.
21719 (libc_feresetroundf_ctx): New.
21720 (libc_feresetroundl_ctx): New.
21722 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21724 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21726 * manual/ipc.texi: New file.
21727 * manual/Makefile (chapters): Add ipc.
21728 * manual/job.texi: Add "Inter-Process Communication" to next.
21729 * manual/process.texi: Add "Inter-Process Communication" to prev.
21731 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21735 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21737 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21739 * manual/arith.texi: Fix spaces after sentences.
21740 * manual/charset.texi: Likewise.
21741 * manual/errno.texi: Likewise.
21742 * manual/install.texi: Likewise.
21743 * manual/llio.texi: Likewise.
21744 * manual/locale.texi: Likewise.
21745 * manual/maint.texi: Likewise.
21746 * manual/math.texi: Likewise.
21747 * manual/memory.texi: Likewise.
21748 * manual/message.texi: Likewise.
21749 * manual/probes.texi: Likewise.
21750 * manual/resource.texi: Likewise.
21751 * manual/signal.texi: Likewise.
21752 * manual/socket.texi: Likewise.
21753 * manual/stdio.texi: Likewise.
21754 * manual/string.texi: Likewise.
21755 * manual/time.texi: Likewise.
21756 * manual/users.texi: Likewise.
21758 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21761 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21762 _DEFAULT_SOURCE is defined.
21764 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21765 Carlos O'Donell <carlos@redhat.com>
21768 * elf/dl-tls.c (_dl_count_modids): New function.
21769 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21770 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21771 audit library and increment generation counter.
21772 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21773 * elf/tst-audit9.c: New file.
21774 * elf/tst-auditmod9a.c: New file.
21775 * elf/tst-auditmod9b.c: New file.
21776 * elf/Makefile: Add rules to build and run tst-audit9.
21778 2014-02-25 Florian Weimer <fweimer@redhat.com>
21781 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21783 2014-02-25 Will Newton <will.newton@linaro.org>
21785 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21786 (__longjmp): Restore sp and lr before restoring callee
21787 saved registers. Add longjmp and longjmp_target
21788 SystemTap probe point.
21789 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21790 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21791 Define to zero to match jmpbuf layout.
21792 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21793 (__sigsetjmp): Save sp and lr before saving callee
21794 saved registers. Add setjmp SystemTap probe point.
21796 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21798 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21800 2014-02-24 Andreas Schwab <schwab@suse.de>
21803 * elf/pldd.c (wait_for_ptrace_stop): New function.
21804 (main): Call it after attaching.
21806 2014-02-22 Roland McGrath <roland@hack.frob.com>
21808 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21809 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21810 Versions files is now verboten.
21811 * hurd/Versions (libc: GLIBC_2.0):
21812 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21813 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21814 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21815 * mach/Versions: Likewise.
21817 * csu/Versions: Remove unused %include.
21818 * resolv/Versions: Likewise.
21820 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21822 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21823 ($(objpfx)check-local-headers.out): Likewise.
21824 ($(objpfx)begin-end-check.out): Likewise.
21825 * Makerules (check-abi-%.out): Likewise.
21826 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21827 ($(objpfx)test2.cat): Likewise.
21828 ($(objpfx)de/libc.cat): Likewise.
21829 ($(objpfx)test-gencat.out): Likewise.
21830 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21831 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21832 ($(objpfx)noload-mem): Likewise.
21833 ($(objpfx)tst-pathopt.out): Likewise.
21834 ($(objpfx)tst-rtld-load-self.out): Likewise.
21835 ($(objpfx)tst-array1-cmp.out): Likewise.
21836 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21837 ($(objpfx)tst-array2-cmp.out): Likewise.
21838 ($(objpfx)tst-array3-cmp.out): Likewise.
21839 ($(objpfx)tst-array4-cmp.out): Likewise.
21840 ($(objpfx)tst-array5-cmp.out): Likewise.
21841 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21842 ($(objpfx)check-textrel.out): Likewise.
21843 ($(objpfx)check-execstack.out): Likewise.
21844 ($(objpfx)check-localplt.out): Likewise.
21845 ($(objpfx)order2-cmp.out): Likewise.
21846 ($(objpfx)tst-leaks1-mem): Likewise.
21847 ($(objpfx)tst-leaks1-static-mem): Likewise.
21848 ($(objpfx)tst-initorder-cmp.out): Likewise.
21849 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21850 ($(objpfx)tst-unused-dep.out): Likewise.
21851 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21852 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21853 * iconv/Makefile (test-iconvconfig): Likewise.
21854 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21855 ($(objpfx)iconv-test.out): Likewise.
21856 ($(objpfx)tst-tables.out): Likewise.
21857 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21858 ($(objpfx)tst-gettext.out): Likewise.
21859 ($(objpfx)tst-translit.out): Likewise.
21860 ($(objpfx)tst-gettext2.out): Likewise.
21861 ($(objpfx)tst-gettext4.out): Likewise.
21862 ($(objpfx)tst-gettext6.out): Likewise.
21863 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21864 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21865 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21866 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21867 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21868 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21869 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21870 ($(objpfx)wordexp-tst.out): Likewise.
21871 ($(objpfx)annexc.out): Likewise.
21872 ($(objpfx)tst-fnmatch-mem): Likewise.
21873 ($(objpfx)bug-regex2-mem): Likewise.
21874 ($(objpfx)bug-regex14-mem): Likewise.
21875 ($(objpfx)bug-regex21-mem): Likewise.
21876 ($(objpfx)bug-regex31-mem): Likewise.
21877 ($(objpfx)tst-vfork3-mem): Likewise.
21878 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21879 ($(objpfx)tst-pcre-mem): Likewise.
21880 ($(objpfx)tst-boost-mem): Likewise.
21881 ($(objpfx)tst-getconf.out): Likewise.
21882 ($(objpfx)bug-ga2-mem): Likewise.
21883 ($(objpfx)bug-glob2-mem): Likewise.
21884 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21885 ($(objpfx)mtrace-tst-leaks2): Likewise.
21886 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21887 ($(objpfx)tst-printf.out): Likewise.
21888 ($(objpfx)tst-setvbuf1.out): Likewise.
21889 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21890 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21891 ($(objpfx)tst-fmtmsg.out): Likewise.
21892 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21893 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21895 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21896 * bits/sigaction.h [__USE_MISC]: Likewise.
21897 * bits/waitstatus.h: Update #endif comments.
21898 * ctype/ctype.h: Likewise.
21899 * dirent/dirent.h: Likewise.
21900 [__USE_MISC]: Remove redundant conditionals.
21901 * grp/grp.h: Update #endif comments.
21902 [__USE_GNU]: Remove redundant conditionals.
21903 [__USE_MISC]: Likewise.
21904 * inet/netinet/in.h [__USE_GNU]: Likewise.
21905 * io/sys/stat.h [__USE_MISC]: Likewise.
21906 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21907 * libio/bits/stdio.h: Update #endif comments.
21908 [__USE_MISC]: Remove redundant conditionals.
21909 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21910 * libio/stdio.h: Update #endif comments.
21911 [__USE_MISC]: Remove redundant conditionals.
21912 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21913 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21914 * math/math.h: Update #else and #endif comments.
21915 [__USE_MISC]: Remove redundant conditionals.
21916 * misc/sys/uio.h: Update #endif comments.
21917 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21918 * posix/glob.h [__USE_MISC]: Likewise.
21919 * posix/sys/types.h: Update #endif comments.
21920 [__USE_MISC]: Remove redundant conditionals.
21921 * posix/sys/wait.h: Update #endif comments.
21922 [__USE_MISC]: Remove redundant conditionals.
21923 * posix/unistd.h: Update #endif comments.
21924 [__USE_MISC]: Remove redundant conditionals.
21925 * pwd/pwd.h [__USE_GNU]: Likewise.
21926 [__USE_MISC]: Likewise.
21927 * resolv/netdb.h [__USE_GNU]: Likewise.
21928 * signal/signal.h: Update #endif comments.
21929 [__USE_MISC]: Remove redundant conditionals.
21930 * stdlib/stdlib.h: Update #else and #endif comments.
21931 [__USE_MISC]: Remove redundant conditionals.
21932 [__USE_GNU]: Likewise.
21933 * string/bits/string2.h [__USE_MISC]: Likewise.
21934 * string/string.h: Update #endif comments.
21935 [__USE_MISC]: Remove redundant conditionals.
21936 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21938 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21939 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21940 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21942 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21944 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21946 [__USE_MISC]: Remove redundant conditionals.
21947 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21948 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21949 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21950 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21951 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21953 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21954 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21956 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21957 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21959 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21961 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21962 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21964 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21966 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21967 * sysdeps/x86/bits/string.h: Update #endif comments.
21968 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21970 * time/sys/time.h: Update #endif comments.
21971 * time/time.h: Likewise.
21972 [__USE_MISC]: Remove redundant conditionals.
21974 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21977 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21979 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21981 * Versions.def (librt): Add GLIBC_2.17.
21983 2014-02-21 Adam Conrad <adconrad@0c3.net>
21985 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21986 synonym for _SYS_AUXV_H to allow direct inclusion.
21987 * sysdeps/sparc/bits/hwcap.h: Likewise.
21988 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21989 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21990 * sysdeps/sparc/sysdep.h: Likewise.
21992 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21994 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21996 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21998 * benchtests/bench-strrchr.c: Print length instead of position.
22000 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22003 * sysdeps/unix/sysv/linux/kernel-features.h
22004 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22005 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22006 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22007 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22009 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22010 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22011 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22012 (__ASSUME_SENDMMSG): Define instead of using previous
22013 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22015 (__ASSUME_SENDMMSG_SYSCALL): Define.
22016 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22017 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22019 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22020 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22022 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22023 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22025 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22026 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22027 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22028 [__ASSUME_SENDMMSG]: Change conditionals to
22029 [__ASSUME_SENDMMSG_SOCKETCALL].
22030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22031 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22033 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22034 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22036 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22037 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22038 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22039 [!__ASSUME_SENDMMSG]: Change conditional to
22040 [!__ASSUME_SENDMMSG_SOCKETCALL].
22041 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22042 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22046 * sysdeps/unix/sysv/linux/kernel-features.h
22047 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22048 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22049 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22050 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22051 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22052 [__i386__ || __sparc__]
22053 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22054 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22055 (__ASSUME_RECVMMSG): Define instead of using previous
22056 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22057 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22058 (__ASSUME_RECVMMSG_SYSCALL): Define.
22059 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22060 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22062 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22065 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22066 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22068 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22069 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22070 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22071 [__ASSUME_RECVMMSG]: Change condition to
22072 [__ASSUME_RECVMMSG_SOCKETCALL].
22073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22074 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22076 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22077 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22080 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22081 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22082 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22083 [!__ASSUME_RECVMMSG]: Change condition to
22084 [!__ASSUME_RECVMMSG_SOCKETCALL].
22085 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22086 (__ASSUME_RECVMMSG_SYSCALL): Define.
22089 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22090 __powerpc__ || __s390__ || __sh__ || __sparc__]
22091 (__ASSUME_SOCKETCALL): Define.
22092 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22093 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22094 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22095 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22096 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22097 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22098 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22099 (__ASSUME_ACCEPT4): Define instead of using previous
22100 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22101 __powerpc__ || __sparc__ || __s390__)] condition.
22102 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22103 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22104 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22105 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22106 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22107 [!__ASSUME_ACCEPT4]: Change condition to
22108 [!__ASSUME_ACCEPT4_SOCKETCALL].
22109 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22110 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22111 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22112 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22113 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22114 __ASSUME_ACCEPT4_SYSCALL.
22115 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22116 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22117 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22118 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22119 __ASSUME_ACCEPT4_SYSCALL.
22120 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22121 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22122 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22123 [__ASSUME_ACCEPT4]: Change condition to
22124 [__ASSUME_ACCEPT4_SOCKETCALL].
22125 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22126 (__ASSUME_SOCKETCALL): Define.
22127 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22128 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22129 (__ASSUME_SOCKETCALL): Define.
22130 (__ASSUME_ACCEPT4): Remove.
22131 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22133 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22134 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22136 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22137 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22139 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22141 (HWCAP_ARM_LPAE): Likewise.
22142 (HWCAP_ARM_EVTSTRM): Likewise.
22143 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22144 Add vpfd32, lpae and evtstrm.
22145 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22148 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22150 * math/auto-libm-test-in: Add tests of clog10.
22151 * math/auto-libm-test-out: Regenerated.
22152 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22153 * sysdeps/i386/fpu/libm-test-ulps: Update.
22154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22156 2014-02-18 Andreas Schwab <schwab@suse.de>
22159 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22160 Store non-zero if the second buffer was newly allocated.
22161 (send_dg): Likewise.
22162 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22163 to send_vc and send_dg.
22164 (res_nsend): Pass NULL for ansp2_malloced.
22165 * resolv/res_query.c (__libc_res_nquery): Add parameter
22166 answerp2_malloced and pass it down to __libc_res_nsend.
22167 (res_nquery): Pass additional NULL to __libc_res_nquery.
22168 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22169 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22170 second answer buffer if answerp2_malloced was set.
22171 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22172 (__libc_res_nquerydomain): Add parameter
22173 answerp2_malloced and pass it down to __libc_res_nquery.
22174 (res_nquerydomain): Pass additional NULL to
22175 __libc_res_nquerydomain.
22176 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22177 additional NULL to __libc_res_nsend and __libc_res_nquery.
22178 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22179 additional NULL to __libc_res_nsearch.
22180 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22181 parameter of __libc_res_nsearch to check for separately allocated
22183 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22185 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22186 additional NULL to __libc_res_nquery.
22187 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22188 __libc_res_nsearch.
22189 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22190 * include/resolv.h: Update prototypes of __libc_res_nquery,
22191 __libc_res_nsearch, __libc_res_nsend.
22193 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22195 * math/auto-libm-test-in: Add tests of fma.
22196 * math/auto-libm-test-out: Regenerated.
22197 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22198 (fma_towardzero_test_data): Likewise.
22199 (fma_downward_test_data): Likewise.
22200 (fma_upward_test_data): Likewise.
22201 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22203 (rounding_modes): Add values for new field.
22204 (func_calc_method): Add value mpfr_fff_f.
22205 (func_calc_desc): Add mpfr_fff_f union field.
22206 (test_function): Add field exact_args.
22207 (FUNC): Add macro argument EXACT_ARGS.
22208 (FUNC_mpfr_f_f): Update call to FUNC.
22209 (FUNC_mpfr_f_f): Likewise.
22210 (FUNC_mpfr_ff_f): Likewise.
22211 (FUNC_mpfr_if_f): Likewise.
22212 (FUNC_mpc_c_f): Likewise.
22213 (FUNC_mpc_c_c): Likewise.
22214 (test_functions): Add fma. Update calls to FUNC.
22215 (handle_input_arg): Add argument exact_args.
22216 (add_test): Update call to handle_input_arg.
22217 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22218 (output_for_one_input_case): Update call to calc_generic_results.
22219 Recalculate exact zero results in each rounding mode.
22221 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22222 non-negative before setting low bit.
22223 * math/auto-libm-test-in: Mark one asin test possibly having
22224 spurious underflow.
22225 * math/auto-libm-test-out: Regenerated.
22226 * sysdeps/i386/fpu/libm-test-ulps: Update.
22227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22229 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22231 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22232 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22233 ports/sysdeps/unix/sysv/linux/microblaze.
22234 * README: Add missing listing for microblaze*-*-linux-gnu.
22236 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22238 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22241 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22243 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22244 * sysdeps/unix/sysv/linux/ia64: Move directory from
22245 ports/sysdeps/unix/sysv/linux/ia64.
22246 * README: Update listing for ia64-*-linux-gnu.
22248 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22249 Joseph Myers <joseph@codesourcery.com>
22251 * Makeconfig (test-name): New variable.
22252 (evaluate-test): Likewise.
22253 * Makerules (do-test-clean): Remove .test-result files.
22254 (common-mostlyclean): Likewise.
22255 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22256 * scripts/evaluate-test.sh: New file.
22258 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22260 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22261 separate $(objpfx)tst-fopenloc-cmp.out and
22262 $(objpfx)tst-fopenloc-mem.out targets.
22263 (tests): Update dependencies.
22264 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22265 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22266 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22267 (tst-rxspencer-no-utf8-ARGS): New variable.
22268 (tst-rxspencer-no-utf8-ENV): Likewise.
22269 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22270 instead of $(objpfx)tst-rxspencer-mem.
22271 ($(objpfx)tst-rxspencer-mem): Change target to
22272 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22273 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22274 * posix/tst-rxspencer-no-utf8.c: New file.
22276 * elf/Makefile ($(objpfx)order.out): Remove rule.
22277 [$(run-built-tests) = yes] (tests): Depend on
22278 $(objpfx)order-cmp.out.
22279 ($(objpfx)order-cmp.out): New rule.
22280 [$(run-built-tests) = yes] (tests): Depend on
22281 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22282 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22283 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22284 $(objpfx)tst-array5-static-cmp.out.
22285 ($(objpfx)tst-array1.out): Remove rule.
22286 ($(objpfx)tst-array1-cmp.out): New rule.
22287 ($(objpfx)tst-array1-static.out): Remove rule.
22288 ($(objpfx)tst-array1-static-cmp.out): New rule.
22289 ($(objpfx)tst-array2.out): Remove rule.
22290 ($(objpfx)tst-array2-cmp.out): New rule.
22291 ($(objpfx)tst-array3.out): Remove rule.
22292 ($(objpfx)tst-array3-cmp.out): New rule.
22293 ($(objpfx)tst-array4.out): Remove rule.
22294 ($(objpfx)tst-array4-cmp.out): New rule.
22295 ($(objpfx)tst-array5.out): Remove rule.
22296 ($(objpfx)tst-array5-cmp.out): New rule.
22297 ($(objpfx)tst-array5-static.out): Remove rule.
22298 ($(objpfx)tst-array5-static-cmp.out): New rule.
22299 [$(run-built-tests) = yes] (tests): Depend on
22300 $(objpfx)order2-cmp.out.
22301 ($(objpfx)order2.out): Remove rule.
22302 ($(objpfx)order2-cmp.out): New rule.
22303 ($(objpfx)tst-initorder.out): Remove rule.
22304 [$(run-built-tests) = yes] (tests): Depend on
22305 $(objpfx)tst-initorder-cmp.out.
22306 ($(objpfx)tst-initorder-cmp.out): New rule.
22307 ($(objpfx)tst-initorder2.out): Remove rule.
22308 [$(run-built-tests) = yes] (tests): Depend on
22309 $(objpfx)tst-initorder2-cmp.out.
22310 ($(objpfx)tst-initorder2-cmp.out): New rule.
22311 [$(run-built-tests) = yes] (tests): Depend on
22312 $(objpfx)tst-unused-dep-cmp.out.
22313 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22314 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22315 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22316 on $(objpfx)tst-setvbuf1-cmp.out.
22317 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22318 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22319 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22320 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22321 ($(objpfx)tst-svc.out): Remove rule.
22322 ($(objpfx)tst-svc-cmp.out): New rule.
22324 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22326 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22327 * ctype/ctype.h [__USE_MISC]: Likewise.
22328 * dirent/dirent.h [__USE_MISC]: Likewise.
22329 * grp/grp.h [__USE_MISC]: Likewise.
22330 * io/fcntl.h [__USE_MISC]: Likewise.
22331 * io/sys/stat.h [__USE_MISC]: Likewise.
22332 * libio/stdio.h [__USE_MISC]: Likewise.
22333 * posix/unistd.h [__USE_MISC]: Likewise.
22334 * pwd/pwd.h [__USE_MISC]: Likewise.
22335 * stdlib.h [__USE_MISC]: Likewise.
22336 * string/bits/string2.h [__USE_MISC]: Likewise.
22337 * string/string.h [__USE_MISC]: Likewise.
22338 * time/time.h [__USE_MISC]: Likewise.
22340 2014-02-13 Andreas Schwab <schwab@suse.de>
22343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22344 second answer buffer if it was separately allocated.
22346 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22348 * sysdeps/mips/math-tests.h: Include <features.h>.
22349 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22350 (ROUNDING_TESTS_long_double): Do not define.
22351 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22352 (EXCEPTION_TESTS_long_double): Likewise.
22353 * sysdeps/mips/mips64/libm-test-ulps: Update.
22355 * include/features.h (__USE_BSD): Remove macro definitions.
22356 (__USE_SVID): Likewise.
22357 (_BSD_SOURCE): Likewise.
22358 (_SVID_SOURCE): Likewise.
22359 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22360 from definition of _DEFAULT_SOURCE.
22361 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22363 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22364 * bits/mman.h [__USE_BSD]: Likewise.
22365 * bits/termios.h [__USE_BSD]: Likewise.
22366 * bits/waitstatus.h [__USE_BSD]: Likewise.
22367 * ctype/ctype.h [__USE_SVID]: Likewise.
22368 * dirent/dirent.h [__USE_BSD]: Likewise.
22369 * grp/grp.h [__USE_SVID]: Likewise.
22370 [__USE_BSD]: Likewise.
22371 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22372 * io/fcntl.h [__USE_BSD]: Likewise.
22373 * io/ftw.h [__USE_BSD]: Likewise.
22374 * io/sys/stat.h [__USE_BSD]: Likewise.
22375 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22376 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22377 * libio/stdio.h [__USE_SVID]: Likewise.
22378 [__USE_BSD]: Likewise.
22379 * math/math.h [__USE_SVID]: Likewise.
22380 [__USE_BSD]: Likewise.
22381 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22382 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22383 * misc/search.h [__USE_SVID]: Likewise.
22384 * misc/sys/mman.h [__USE_BSD]: Likewise.
22385 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22386 * misc/sys/uio.h [__USE_BSD]: Likewise.
22387 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22388 * posix/glob.h [__USE_BSD]: Likewise.
22389 * posix/regex.h [__USE_BSD]: Likewise.
22390 * posix/sys/types.h [__USE_BSD]: Likewise.
22391 [__USE_SVID]: Likewise.
22392 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22393 * posix/sys/wait.h [__USE_BSD]: Likewise.
22394 [__USE_SVID]: Likewise.
22395 * posix/unistd.h [__USE_BSD]: Likewise.
22396 [__USE_SVID]: Likewise.
22397 * pwd/pwd.h [__USE_SVID]: Likewise.
22398 * resolv/netdb.h [__USE_BSD]: Likewise.
22399 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22400 * signal/signal.h [__USE_BSD]: Likewise.
22401 [__USE_SVID]: Likewise.
22402 * socket/sys/socket.h [__USE_BSD]: Likewise.
22403 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22404 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22405 [__USE_SVID]: Likewise.
22406 * string/bits/string2.h [__USE_BSD]: Likewise.
22407 [__USE_SVID]: Likewise.
22408 * string/bits/string3.h [__USE_BSD]: Likewise.
22409 * string/endian.h [__USE_BSD]: Likewise.
22410 * string/string.h [__USE_SVID]: Likewise.
22411 [__USE_BSD]: Likewise.
22412 * string/strings.h [__USE_BSD]: Likewise.
22413 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22414 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22415 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22416 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22417 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22418 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22422 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22423 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22425 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22426 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22428 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22430 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22431 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22432 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22436 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22437 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22438 * termios/termios.h [__USE_BSD]: Likewise.
22439 * time/sys/time.h [__USE_BSD]: Likewise.
22440 * time/time.h [__USE_BSD]: Likewise.
22441 [__USE_SVID]: Likewise.
22443 * Makefile (subdir_targets): Remove subdir_lint.out.
22445 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22446 (do-tst-printf): Likewise.
22447 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22448 $(objpfx)tst-printf.out.
22450 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22452 * Makerules (check-abi-%): Change target to
22453 $(objpfx)check-abi-%.out.
22454 (check-abi target): Update dependencies.
22455 (check-abi-pattern variable): Redirect output of diff to $@.
22456 (check-abi variable): Likewise.
22457 * elf/Makefile (check-abi): Update dependencies.
22459 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22461 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22462 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22464 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22465 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22466 value has largest subnormal exponent.
22467 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22468 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22469 * sysdeps/aarch64/soft-fp/sfp-machine.h
22470 (_FP_TININESS_AFTER_ROUNDING): New macro.
22471 * sysdeps/alpha/soft-fp/sfp-machine.h
22472 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22475 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22476 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22477 * sysdeps/mips/soft-fp/sfp-machine.h
22478 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22479 * sysdeps/powerpc/soft-fp/sfp-machine.h
22480 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22481 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22483 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22484 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22485 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22486 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22487 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22490 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22493 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22496 2014-02-12 Richard Henderson <rth@redhat.com>
22498 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22499 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22500 * sysdeps/unix/sysv/linux/alpha: Move directory from
22501 ports/sysdeps/unix/sysv/linux/alpha.
22502 * README: Update listing for alpha-*-linux-gnu.
22504 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22506 * include/features.h: Update comment documenting feature test
22508 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22510 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22511 (_SVID_SOURCE): Likewise.
22512 (_DEFAULT_SOURCE): Update description of default features.
22513 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22515 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22516 (S_ISVTX): Likewise.
22517 * manual/math.texi (Mathematical Constants): Likewise.
22518 * manual/signal.texi (Interrupted Primitives): Likewise.
22519 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22520 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22521 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22522 Don't refer to _SVID_SOURCE in warning text.
22524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22526 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22528 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22529 * sysdeps/mips/dl-lookup.c: Remove.
22530 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22532 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22535 * math/auto-libm-test-in: Add testcase for expl.
22536 * math/auto-libm-test-out: Regenerate.
22537 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22538 calculation of unsafe.
22539 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22541 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22543 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22544 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22545 ports/sysdeps/unix/sysv/linux/aarch64.
22546 * README: Update listing for aarch64*-*-linux-gnu.
22548 2014-02-11 Will Newton <will.newton@linaro.org>
22550 * manual/probes.texi (Mathematical Function Probes): Use
22551 "triggered" instead of "hit".
22553 * manual/probes.texi (Internal Probes): Add documentation
22554 of setjmp, longjmp and longjmp_target probes.
22556 * include/stap-probe.h: Add comment about probe argument
22559 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22560 definition. (tr_where, tr_freehook, tr_mallochook,
22561 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22563 2014-02-11 David S. Miller <davem@davemloft.net>
22565 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22566 processing int_tests.
22568 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22570 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22571 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22572 * sysdeps/unix/sysv/linux/mips: Move directory from
22573 ports/sysdeps/unix/sysv/linux/mips.
22574 * README: Update listing for mips-*-linux-gnu and
22575 mips64-*-linux-gnu.
22577 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22579 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22580 * sysdeps/unix/sysv/linux/m68k: Move directory from
22581 ports/sysdeps/unix/sysv/linux/m68k.
22582 * README: Update listing for m68k-*-linux-gnu.
22584 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22586 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22587 * sysdeps/unix/sysv/linux/generic: Move directory from
22588 ports/sysdeps/unix/sysv/linux/generic.
22589 * sysdeps/unix/sysv/linux/tile: Move directory from
22590 ports/sysdeps/unix/sysv/linux/tile.
22591 * README: Update listing for tile*-*-linux-gnu.
22593 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22595 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22597 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22598 * catgets/open_catalog.c (__open_catalog): Likewise.
22599 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22600 * debug/confstr_chk.c: Likewise.
22601 * debug/fread_chk.c (__fread_chk): Likewise.
22602 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22603 * debug/getgroups_chk.c: Likewise.
22604 * debug/mbsnrtowcs_chk.c: Likewise.
22605 * debug/mbsrtowcs_chk.c: Likewise.
22606 * debug/mbstowcs_chk.c: Likewise.
22607 * debug/memcpy_chk.c: Likewise.
22608 * debug/memmove_chk.c: Likewise.
22609 * debug/mempcpy_chk.c: Likewise.
22610 * debug/memset_chk.c: Likewise.
22611 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22612 * debug/strcat_chk.c (__strcat_chk): Likewise.
22613 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22614 * debug/strncat_chk.c (__strncat_chk): Likewise.
22615 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22616 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22617 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22618 * debug/wcpncpy_chk.c: Likewise.
22619 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22620 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22621 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22622 * debug/wcsncpy_chk.c: Likewise.
22623 * debug/wcsnrtombs_chk.c: Likewise.
22624 * debug/wcsrtombs_chk.c: Likewise.
22625 * debug/wcstombs_chk.c: Likewise.
22626 * debug/wmemcpy_chk.c: Likewise.
22627 * debug/wmemmove_chk.c: Likewise.
22628 * debug/wmempcpy_chk.c: Likewise.
22629 * debug/wmemset_chk.c: Likewise.
22630 * dirent/scandirat.c (SCANDIRAT): Likewise.
22631 * dlfcn/dladdr1.c (dladdr1): Likewise.
22632 * dlfcn/dladdr.c (dladdr): Likewise.
22633 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22634 * dlfcn/dlerror.c (__dlerror): Likewise.
22635 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22636 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22637 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22638 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22639 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22640 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22641 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22642 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22644 * elf/dl-conflict.c: Likewise.
22645 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22646 * elf/dl-dst.h: Likewise.
22647 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22648 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22650 * elf/dl-init.c (call_init, _dl_init): Likewise.
22651 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22652 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22653 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22655 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22657 * elf/dl-minimal.c (__libc_memalign): Likewise.
22658 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22659 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22660 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22661 * elf/dl-sym.c (do_sym): Likewise.
22662 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22663 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22664 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22665 * elf/dl-writev.h (_dl_writev): Likewise.
22666 * elf/ldconfig.c (search_dir): Likewise.
22667 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22668 (dl_main): Likewise.
22669 * elf/setup-vdso.h (setup_vdso): Likewise.
22670 * grp/compat-initgroups.c (compat_call): Likewise.
22671 * grp/fgetgrent.c (fgetgrent): Likewise.
22672 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22673 * grp/putgrent.c (putgrent): Likewise.
22674 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22676 * hurd/hurdinit.c: Likewise.
22677 * iconvdata/8bit-gap.c (struct): Likewise.
22678 * iconvdata/ansi_x3.110.c : Likewise.
22679 * iconvdata/big5.c : Likewise.
22680 * iconvdata/big5hkscs.c : Likewise.
22681 * iconvdata/cp1255.c: Likewise.
22682 * iconvdata/cp1258.c : Likewise.
22683 * iconvdata/cp932.c : Likewise.
22684 * iconvdata/euc-cn.c: Likewise.
22685 * iconvdata/euc-jisx0213.c : Likewise.
22686 * iconvdata/euc-jp.c: Likewise.
22687 * iconvdata/euc-jp-ms.c : Likewise.
22688 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22689 * iconvdata/gb18030.c : Likewise.
22690 * iconvdata/gbbig5.c (const): Likewise.
22691 * iconvdata/gbgbk.c: Likewise.
22692 * iconvdata/gbk.c : Likewise.
22693 * iconvdata/ibm1364.c : Likewise.
22694 * iconvdata/ibm930.c : Likewise.
22695 * iconvdata/ibm932.c: Likewise.
22696 * iconvdata/ibm933.c : Likewise.
22697 * iconvdata/ibm935.c : Likewise.
22698 * iconvdata/ibm937.c : Likewise.
22699 * iconvdata/ibm939.c : Likewise.
22700 * iconvdata/ibm943.c: Likewise.
22701 * iconvdata/iso_11548-1.c: Likewise.
22702 * iconvdata/iso-2022-cn.c : Likewise.
22703 * iconvdata/iso-2022-cn-ext.c : Likewise.
22704 * iconvdata/iso-2022-jp-3.c: Likewise.
22705 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22706 * iconvdata/iso-2022-kr.c : Likewise.
22707 * iconvdata/iso646.c (gconv_end): Likewise.
22708 * iconvdata/iso_6937-2.c : Likewise.
22709 * iconvdata/iso_6937.c : Likewise.
22710 * iconvdata/iso8859-1.c: Likewise.
22711 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22712 * iconvdata/shift_jisx0213.c : Likewise.
22713 * iconvdata/sjis.c : Likewise.
22714 * iconvdata/t.61.c : Likewise.
22715 * iconvdata/tcvn5712-1.c : Likewise.
22716 * iconvdata/tscii.c: Likewise.
22717 * iconvdata/uhc.c : Likewise.
22718 * iconvdata/unicode.c (gconv_end): Likewise.
22719 * iconvdata/utf-16.c (gconv_end): Likewise.
22720 * iconvdata/utf-32.c (gconv_end): Likewise.
22721 * iconvdata/utf-7.c (base64): Likewise.
22722 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22723 * iconv/gconv_close.c (__gconv_close): Likewise.
22724 * iconv/gconv_open.c (__gconv_open): Likewise.
22725 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22726 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22727 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22728 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22729 (ucs4le_internal_loop_single): Likewise.
22730 * iconv/iconv.c (iconv): Likewise.
22731 * iconv/iconv_close.c: Likewise.
22732 * iconv/loop.c (SINGLE): Likewise.
22733 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22734 * include/atomic.h: Likewise.
22735 * inet/inet6_option.c (option_alloc): Likewise.
22736 * intl/bindtextdom.c (set_binding_values): Likewise.
22737 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22738 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22739 * intl/localealias.c (read_alias_file): Likewise.
22740 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22741 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22742 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22743 * libio/fmemopen.c (fmemopen): Likewise.
22744 * libio/iofgets.c (_IO_fgets): Likewise.
22745 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22746 * libio/iofgetws.c (fgetws): Likewise.
22747 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22748 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22749 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22750 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22751 * locale/findlocale.c (_nl_find_locale): Likewise.
22752 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22753 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22755 * locale/setlocale.c (setlocale): Likewise.
22756 * login/programs/pt_chown.c (main): Likewise.
22757 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22758 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22759 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22760 (mmap, mmap64, mremap, munmap): Likewise.
22761 * math/e_exp2l.c: Likewise.
22762 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22763 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22764 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22765 * math/s_catan.c (__catan): Likewise.
22766 * math/s_catanf.c (__catanf): Likewise.
22767 * math/s_catanh.c (__catanh): Likewise.
22768 * math/s_catanhf.c (__catanhf): Likewise.
22769 * math/s_catanhl.c (__catanhl): Likewise.
22770 * math/s_catanl.c (__catanl): Likewise.
22771 * math/s_ccosh.c (__ccosh): Likewise.
22772 * math/s_ccoshf.c (__ccoshf): Likewise.
22773 * math/s_ccoshl.c (__ccoshl): Likewise.
22774 * math/s_cexp.c (__cexp): Likewise.
22775 * math/s_cexpf.c (__cexpf): Likewise.
22776 * math/s_cexpl.c (__cexpl): Likewise.
22777 * math/s_clog10.c (__clog10): Likewise.
22778 * math/s_clog10f.c (__clog10f): Likewise.
22779 * math/s_clog10l.c (__clog10l): Likewise.
22780 * math/s_clog.c (__clog): Likewise.
22781 * math/s_clogf.c (__clogf): Likewise.
22782 * math/s_clogl.c (__clogl): Likewise.
22783 * math/s_csin.c (__csin): Likewise.
22784 * math/s_csinf.c (__csinf): Likewise.
22785 * math/s_csinh.c (__csinh): Likewise.
22786 * math/s_csinhf.c (__csinhf): Likewise.
22787 * math/s_csinhl.c (__csinhl): Likewise.
22788 * math/s_csinl.c (__csinl): Likewise.
22789 * math/s_csqrt.c (__csqrt): Likewise.
22790 * math/s_csqrtf.c (__csqrtf): Likewise.
22791 * math/s_csqrtl.c (__csqrtl): Likewise.
22792 * math/s_ctan.c (__ctan): Likewise.
22793 * math/s_ctanf.c (__ctanf): Likewise.
22794 * math/s_ctanh.c (__ctanh): Likewise.
22795 * math/s_ctanhf.c (__ctanhf): Likewise.
22796 * math/s_ctanhl.c (__ctanhl): Likewise.
22797 * math/s_ctanl.c (__ctanl): Likewise.
22798 * math/w_pow.c: Likewise.
22799 * math/w_powf.c: Likewise.
22800 * math/w_powl.c: Likewise.
22801 * math/w_scalb.c (sysv_scalb): Likewise.
22802 * math/w_scalbf.c (sysv_scalbf): Likewise.
22803 * math/w_scalbl.c (sysv_scalbl): Likewise.
22804 * misc/error.c (error_tail): Likewise.
22805 * misc/pselect.c (__pselect): Likewise.
22806 * nis/nis_callback.c (__nis_create_callback): Likewise.
22807 * nis/nis_call.c (__nisfind_server): Likewise.
22808 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22809 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22810 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22811 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22812 * nis/nis_lookup.c (nis_lookup): Likewise.
22813 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22814 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22815 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22816 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22817 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22818 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22819 * nis/nss_compat/compat-initgroups.c (add_group)
22820 (internal_getgrent_r): Likewise.
22821 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22822 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22823 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22824 (internal_getspnam_r): Likewise.
22825 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22826 (_nss_nis_getaliasbyname_r): Likewise.
22827 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22828 (_nss_nis_getntohost_r): Likewise.
22829 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22830 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22831 (_nss_nis_getgrgid_r): Likewise.
22832 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22833 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22834 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22835 (_nss_nis_gethostbyname4_r): Likewise.
22836 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22837 (initgroups_netid): Likewise.
22838 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22839 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22840 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22841 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22842 (_nss_nis_getprotobynumber_r): Likewise.
22843 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22844 (_nss_nis_getsecretkey): Likewise.
22845 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22846 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22847 (_nss_nis_getpwuid_r): Likewise.
22848 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22849 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22850 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22851 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22852 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22853 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22854 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22856 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22857 (_nss_nisplus_getntohost_r): Likewise.
22858 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22859 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22860 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22861 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22863 * nis/nss_nisplus/nisplus-initgroups.c
22864 (_nss_nisplus_initgroups_dyn): Likewise.
22865 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22866 (_nss_nisplus_getnetbyaddr_r): Likewise.
22867 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22868 (_nss_nisplus_getprotobynumber_r): Likewise.
22869 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22870 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22871 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22873 * nis/nss_nisplus/nisplus-service.c
22874 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22875 (_nss_nisplus_getservbyport_r): Likewise.
22876 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22877 (_nss_nisplus_getspnam_r): Likewise.
22878 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22880 * nscd/aicache.c (addhstaiX): Likewise.
22881 * nscd/cache.c (cache_search, prune_cache): Likewise.
22882 * nscd/connections.c (register_traced_file, send_ro_fd)
22883 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22884 (main_loop_epoll): Likewise.
22885 * nscd/grpcache.c (addgrbyX): Likewise.
22886 * nscd/hstcache.c (addhstbyX): Likewise.
22887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22888 * nscd/mem.c (gc, mempool_alloc): Likewise.
22889 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22890 (addinnetgrX): Likewise.
22891 * nscd/nscd-client.h (__nscd_acquire_maplock)
22892 (__nscd_drop_map_ref): Likewise.
22893 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22894 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22895 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22897 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22899 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22900 (__nscd_get_map_ref): Likewise.
22901 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22902 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22904 * nscd/pwdcache.c (addpwbyX): Likewise.
22905 * nscd/selinux.c (preserve_capabilities): Likewise.
22906 * nscd/servicescache.c (addservbyX): Likewise.
22907 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22908 * posix/fnmatch.c (fnmatch): Likewise.
22909 * posix/getopt.c (_getopt_internal_r): Likewise.
22910 * posix/glob.c (glob, glob_in_dir): Likewise.
22911 * posix/wordexp.c (exec_comm_child): Likewise.
22912 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22913 (getanswer_r, gaih_getanswer_slice): Likewise.
22914 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22915 * resolv/res_init.c: Likewise.
22916 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22917 * resolv/res_query.c (__libc_res_nquery): Likewise.
22918 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22920 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22921 * stdio-common/perror.c (perror): Likewise.
22922 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22923 * stdio-common/tmpnam.c (tmpnam): Likewise.
22924 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22925 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22926 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22928 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22929 * stdlib/putenv.c (putenv): Likewise.
22930 * stdlib/setenv.c (__add_to_environ): Likewise.
22931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22932 * stdlib/strtol_l.c (INTERNAL): Likewise.
22933 * string/memmem.c (memmem): Likewise.
22934 * string/strerror.c (strerror): Likewise.
22935 * string/strnlen.c (__strnlen): Likewise.
22936 * string/test-memmem.c (simple_memmem): Likewise.
22937 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22938 * sunrpc/pm_getport.c (__get_socket): Likewise.
22939 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22940 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22941 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22942 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22944 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22945 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22946 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22947 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22948 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22949 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22951 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22953 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22954 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22956 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22957 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22960 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22961 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22962 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22963 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22964 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22970 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22971 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22973 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22974 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22975 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22976 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22978 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22979 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22980 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22982 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22983 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22985 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22987 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22989 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22995 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22997 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22998 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22999 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23000 * sysdeps/posix/sleep.c: Likewise.
23001 * sysdeps/posix/tempname.c: Likewise.
23002 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23003 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23005 * sysdeps/powerpc/powerpc32/dl-machine.h
23006 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23007 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23009 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23010 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23012 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23013 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23014 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23015 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23016 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23017 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23018 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23019 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23021 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23023 (elf_machine_lazy_rel): Likewise.
23024 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23026 (elf_machine_lazy_rel): Likewise.
23027 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23028 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23029 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23030 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23031 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23032 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23036 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23037 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23038 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23039 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23040 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23042 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23043 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23044 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23045 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23046 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23048 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23049 (__posix_fallocate64_l64): Likewise.
23050 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23051 (posix_fallocate): Likewise.
23052 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23054 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23055 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23056 (getifaddrs_internal): Likewise.
23057 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23058 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23059 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23060 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23061 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23062 (__posix_fallocate64_l64): Likewise.
23063 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23065 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23066 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23067 (__get_clockfreq): Likewise.
23068 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23069 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23070 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23073 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23074 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23075 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23077 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23078 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23079 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23080 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23081 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23082 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23083 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23085 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23086 (posix_fallocate): Likewise.
23087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23088 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23089 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23090 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23091 (elf_machine_rela, elf_machine_rela_relative)
23092 (elf_machine_lazy_rel): Likewise.
23093 * time/asctime.c (asctime_internal): Likewise.
23094 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23095 * time/tzset.c (__tzset_parse_tz): Likewise.
23096 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23097 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23098 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23099 * wcsmbs/wcsmbsload.h: Likewise.
23102 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23104 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23105 (arena_get2): Remove THREAD_STATS conditionals.
23106 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23107 (__malloc_stats, int): Likewise.
23109 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23111 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23112 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23114 * manual/setjmp.texi: Fix typos/grammar errors.
23116 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23117 Only return early when n is <= 0. Delete unused return statement.
23119 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23120 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23121 * debug/tst-longjmp_chk3.c: New file.
23123 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23124 (test_main): Replace code with set_fortify_handler call.
23125 * debug/test-strcpy_chk.c: Likewise.
23126 * debug/tst-chk1.c: Likewise.
23127 * debug/tst-longjmp_chk.c: Likewise.
23128 * test-skeleton.c: Include fcntl.h & paths.h
23129 (set_fortify_handler): Define.
23131 * debug/tst-longjmp_chk.c: Add header comment and include
23132 ../test-skeleton.c.
23133 (do_test): Mark static.
23134 (TEST_FUNCTION): Define.
23136 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23137 (IP_PMTUDISC_INTERFACE): Likewise.
23138 (IP_MULTICAST_IF): Likewise.
23139 (IP_MULTICAST_TTL): Likewise.
23140 (IP_MULTICAST_LOOP): Likewise.
23141 (IP_ADD_MEMBERSHIP): Likewise.
23142 (IP_DROP_MEMBERSHIP): Likewise.
23143 (IP_UNBLOCK_SOURCE): Likewise.
23144 (IP_BLOCK_SOURCE): Likewise.
23145 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23146 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23147 (IP_MSFILTER): Likewise.
23148 (MCAST_JOIN_GROUP): Likewise.
23149 (MCAST_BLOCK_SOURCE): Likewise.
23150 (MCAST_UNBLOCK_SOURCE): Likewise.
23151 (MCAST_LEAVE_GROUP): Likewise.
23152 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23153 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23154 (MCAST_MSFILTER): Likewise.
23155 (IP_MULTICAST_ALL): Likewise.
23156 (IP_UNICAST_IF): Likewise.
23158 * timezone/Makefile: Delete $(have-ksh) check.
23159 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23160 * timezone/tzselect.ksh: Add +x mode bits.
23162 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23163 (ANON_INODE_FS_MAGIC): Likewise.
23164 (BDEVFS_MAGIC): Likewise.
23165 (BINFMTFS_MAGIC): Likewise.
23166 (BTRFS_TEST_MAGIC): Likewise.
23167 (CRAMFS_MAGIC_WEND): Likewise.
23168 (DEBUGFS_MAGIC): Likewise.
23169 (ECRYPTFS_SUPER_MAGIC): Likewise.
23170 (EXT3_SUPER_MAGIC): Likewise.
23171 (EXT4_SUPER_MAGIC): Likewise.
23172 (FUTEXFS_SUPER_MAGIC): Likewise.
23173 (HOSTFS_SUPER_MAGIC): Likewise.
23174 (HUGETLBFS_MAGIC): Likewise.
23175 (MINIX3_SUPER_MAGIC): Likewise.
23176 (MTD_INODE_FS_MAGIC): Likewise.
23177 (NILFS_SUPER_MAGIC): Likewise.
23178 (OPENPROM_SUPER_MAGIC): Likewise.
23179 (PIPEFS_MAGIC): Likewise.
23180 (PSTOREFS_MAGIC): Likewise.
23181 (QNX6_SUPER_MAGIC): Likewise.
23182 (RAMFS_MAGIC): Likewise.
23183 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23184 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23185 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23186 (SECURITYFS_MAGIC): Likewise.
23187 (SELINUX_MAGIC): Likewise.
23188 (SMACK_MAGIC): Likewise.
23189 (SOCKFS_MAGIC): Likewise.
23190 (SQUASHFS_MAGIC): Likewise.
23191 (STACK_END_MAGIC): Likewise.
23192 (TMPFS_MAGIC): Likewise.
23193 (USBDEVICE_SUPER_MAGIC): Likewise.
23194 (V9FS_MAGIC): Likewise.
23195 (XENFS_SUPER_MAGIC): Likewise.
23196 (CRAMFS_MAGIC): Fix typo in comment.
23197 (EXT2_SUPER_MAGIC): Update comment.
23198 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23200 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23202 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23203 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23204 * sysdeps/unix/sysv/linux/arm: Move directory from
23205 ports/sysdeps/unix/sysv/linux/arm.
23206 * README: Update listing for arm-*-linux-gnueabi.
23208 * README: Remove mention of am33.
23210 2014-02-07 Roland McGrath <roland@hack.frob.com>
23212 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23213 than the comma operator, to avoid "rhs of comma has no effect"
23215 (__sigfillset, __sigandset, __sigorset): Likewise.
23216 * include/signal.h (__sigemptyset): Likewise.
23217 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23219 2014-02-07 Allan McRae <allan@archlinux.org>
23221 * version.h (RELEASE): Set to "development".
23222 (VERSION): Set to "2.19.90"
23223 * NEWS: Add 2.20 section.
23225 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23228 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23230 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23232 * manual/contrib.texi: Update entry for Carlos O'Donell,
23233 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23235 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23237 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23239 * sysdeps/unix/sysv/linux/kernel-features.h
23240 [__LINUX_KERNEL_VERSION >= 0x020621]
23241 (__ASSUME_PROC_PID_TASK_COMM): Define.
23243 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23246 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23247 conversion when destination buffer does not have enough space.
23248 * libio/tst-ftell-partial-wide.c: New test case.
23249 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23251 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23252 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23253 Leonard and Allan McRae.
23255 2014-02-04 David S. Miller <davem@davemloft.net>
23257 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23260 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23289 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23291 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23292 * shlib-versions: Likewise.
23294 2014-02-04 Roland McGrath <roland@hack.frob.com>
23295 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23297 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23298 (abilist-pattern): New variable, set to %-le.abilist.
23300 * Makerules (abilist-pattern): New variable.
23301 (vpath): Use $(abilist-pattern) in place of %.abilist.
23302 (check-abi-% pattern rule): Likewise.
23303 (check-abi, update-abi): Likewise.
23305 2014-02-04 Eric Wong <normalperson@yhbt.net>
23307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23309 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23311 * manual/startup.texi: Add next, previous, and top entries for
23312 the `Program Arguments' and `Environment Variables' nodes.
23314 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23316 * manual/macros.texi: Add comments before MTASC-safety macros.
23318 * manual/users.texi: Document MTASC-safety properties.
23320 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23321 (pthread_getspecific, pthread_setspecific): Format with
23322 @deftypefun, and add @safety note.
23323 * manual/signal.texi: Move comments that analyze the above
23324 functions to their home place.
23326 2014-02-03 Allan McRae <allan@archlinux.org>
23328 * po/sl.po: Update Slovenian translation from translation project.
23330 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23332 * manual/time.texi (timegm): Add missing blank after @c.
23333 Reported by Joseph Myers <joseph@codesourcery.com>.
23335 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23337 * manual/check-safety.sh: New.
23338 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23340 * manual/terminal.texi: Document MTASC-safety properties.
23342 * manual/filesys.texi: Document MTASC-safety properties.
23344 * manual/errno.texi: Document MTASC-safety properties.
23346 * manual/intro.texi: Document safety identifiers and
23349 * manual/string.texi (wcstok): Fix prototype.
23350 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23352 * manual/time.texi: Document MTASC-safety properties.
23354 * manual/string.texi: Document MTASC-safety properties.
23356 * manual/threads.texi: Document MTASC-safety properties.
23358 * manual/stdio.texi: Document MTASC-safety properties.
23360 * manual/syslog.texi: Document MTASC-safety properties.
23362 * manual/sysinfo.texi: Document MTASC-safety properties.
23364 * manual/startup.texi: Document MTASC-safety properties.
23366 * manual/socket.texi: Document MTASC-safety properties.
23368 * manual/signal.texi: Document MTASC-safety properties.
23370 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23372 * manual/setjmp.texi: Document MTASC-safety properties.
23374 * manual/search.texi: Document MTASC-safety properties.
23376 * manual/resource.texi: Document MTASC-safety properties.
23378 * manual/process.texi: Document MTASC-safety properties.
23380 * manual/platform.texi: Document MTASC-safety properties.
23382 * manual/pipe.texi: Document MTASC-safety properties.
23384 * manual/pattern.texi: Document MTASC-safety properties.
23386 * manual/message.texi: Document MTASC-safety properties.
23389 * manual/memory.texi: Document MTASC-safety properties.
23391 * manual/math.texi: Document MTASC-safety properties.
23393 * manual/locale.texi: Document MTASC-safety properties.
23395 * manual/llio.texi: Document MTASC-safety properties.
23397 * manual/libdl.texi: New.
23399 * manual/lang.texi: Document MTASC-safety properties.
23401 * manual/job.texi: Document MTASC-safety properties.
23403 * manual/getopt.texi: Document MTASC-safety properties.
23405 * manual/ctype.texi: Document MTASC-safety properties.
23407 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23410 * csu/libc-tls.c (static_map): Remove variable.
23411 (__libc_setup_tls): Use main executable's link map for TLS data.
23412 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23413 casing for LM_ID_BASE and GL(dl_nns).
23414 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23415 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23416 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23417 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23418 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23420 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23423 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23425 * manual/debug.texi: Document MTASC-safety properties.
23427 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23430 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23431 of __x86_64__ when disabling x87 inline functions.
23433 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23435 * manual/charset.texi: Document MTASC-safety properties.
23437 * manual/crypt.texi: Document MTASC-safety properties.
23439 * manual/conf.texi: Document MTASC-safety properties.
23441 * manual/arith.texi: Document MTASC-safety properties.
23443 * manual/argp.texi: Document MTASC-safety properties.
23445 * manual/macros.texi: Introduce macros to document multi
23446 thread, asynchronous signal and asynchronous cancellation
23448 * manual/intro.texi: Introduce the properties themselves.
23450 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23452 * sysdeps/sh/sh4/Makefile: New file.
23454 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23456 * math/gen-libm-test.pl ($srcdir): New variable.
23457 ($auto_input): Use it.
23459 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23462 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23463 access beyond array bounds when parsing netgroups file.
23465 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23466 the old buffer before realloc.
23468 2014-01-27 Allan McRae <allan@archlinux.org>
23470 * po/fr.po: Update French translation from translation project.
23472 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23474 * sysdeps/sh/libm-test-ulps: Regenerate.
23476 2014-01-24 David S. Miller <davem@davemloft.net>
23478 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23480 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23482 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23483 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23485 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23488 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23489 string pointers after reallocation.
23491 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23493 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23494 __SH4A__ instead of __SH_FPU_ANY__.
23496 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23498 * sysdeps/sh/fpu_control.h: New file.
23499 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23500 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23501 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23502 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23503 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23504 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23505 * sysdeps/sh/sys/ucontext.h: Remove.
23506 * sysdeps/sh/sys: Remove directory.
23508 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23510 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23511 s390/sys/ucontext.h.
23512 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23513 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23515 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23518 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23520 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23523 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23524 Adjust the vDSO correctly for internal calls.
23525 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23527 2014-01-20 Allan McRae <allan@archlinux.org>
23529 * po/ca.po: Update Catalan translation from translation project.
23531 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23533 * sysdeps/s390/sotruss-lib.c: New file.
23535 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23538 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23539 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23540 local calls issues by not having a PLT stub required for IFUNC calls.
23541 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23543 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23545 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23546 * math/test-fpucw-static.c: Likewise.
23548 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23551 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23553 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23555 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23556 implementation for powerpc.
23558 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23561 * sysdeps/posix/system.c (__libc_system): Do not enable
23562 asynchronous cancellation.
23564 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23567 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23568 handling only for numbers special also in the IEEE case.
23570 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23572 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23574 2014-01-11 Allan McRae <allan@archlinux.org>
23576 * po/bg.po: Update Bulgarian translation from translation project.
23578 * po/de.po: Update German translation from translation project.
23580 2014-01-10 Roland McGrath <roland@hack.frob.com>
23582 * sysdeps/generic/gcc-compat.h: New file.
23584 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23586 * benchtests/asin-inputs: Correct slow inputs.
23587 * benchtests/acos-inputs: Likewise.
23589 2014-01-10 Allan McRae <allan@archlinux.org>
23591 * po:sv.po: Update Swedish translation from translation project.
23593 * po/vi.po: Update Vietnamese translation from translation project.
23595 * po/eo.po: Update Esperanto translation from translation project.
23597 * po/cs.po: Update Czech translation from translation project.
23599 * po/nl.po: Update Dutch translation from translation project.
23601 * po/pl.po: Update Polish translation from translation project.
23603 * po/ru.po: Update Russian translation from translation project.
23605 * po/uk.po: Update Ukrainian translation from translation project.
23607 2014-01-08 Brooks Moses <bmoses@google.com>
23609 * elf/dl-load.c: Fix comment typo.
23611 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23613 * po/header.pot: Rename to...
23614 * po/pot.header: ... this.
23615 * po/Makefile: Use pot.header.
23617 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23618 Maxim Kuvyrkov <maxim@kugelworks.com>
23621 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23622 SRC and DEST against LEN.
23624 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23627 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23629 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23631 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23635 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23638 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23639 for large positive arguments.
23641 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23643 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23645 * math/auto-libm-test-in: Mark various tests with
23646 xfail-rounding:ldbl-128ibm.
23647 * math/auto-libm-test-out: Regenerated.
23650 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23651 Increase overflow threshold.
23653 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23656 * stdio-common/vfprintf.c: Check for integer overflow.
23658 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23660 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23661 the first argument and return value of __tls_get_addr_internal.
23663 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23665 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23666 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23668 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23670 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23671 * sysdeps/s390/rtld-global-offsets.sym: New file.
23672 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23674 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23678 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23685 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23686 halfs of GPRs for high_gprs contexts.
23687 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23688 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23690 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23692 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23694 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23695 for high GPRs (uc_high_gprs) and for future extensions
23697 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23698 for future extensions (__reserved).
23699 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23701 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23702 SC_HIGHGPRS offset definition.
23703 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23704 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23706 * Versions.def: Add GLIBC_2.19 for libpthread.
23707 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23708 siglongjmp for libpthread with GLIBC_2.19 symver.
23709 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23710 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23711 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23712 * sysdeps/s390/__longjmp.c: New file.
23713 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23714 * sysdeps/s390/longjmp.c: New file.
23715 * sysdeps/s390/setjmp.S: New file.
23716 * sysdeps/s390/sigjmp.S: New file.
23717 * sysdeps/s390/v1-longjmp.c: New file.
23718 * sysdeps/s390/v1-setjmp.h: New file.
23719 * sysdeps/s390/v1-sigjmp.c: New file.
23720 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23721 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23722 GLIBC_2.19 version.
23723 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23724 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23725 versioned symbols for ____longjmp_chk.
23726 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23736 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23737 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23738 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23739 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23740 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23741 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23742 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23743 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23744 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23745 * sysdeps/s390/rtld-__longjmp.c: New file.
23746 * sysdeps/s390/rtld-setjmp.S: New file.
23748 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23751 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23752 Return -__logl (x) for small positive arguments without evaluating
23755 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23757 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23759 (__ptrace_peeksiginfo_args): ... this.
23760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23764 2014-01-06 Allan McRae <allan@archlinux.org>
23766 * inet/netinet/in.h: Fix typo in comment.
23768 2014-01-05 Andreas Jaeger <aj@suse.de>
23770 * sysdeps/i386/fpu/libm-test-ulps: Update.
23772 2014-01-05 Allan McRae <allan@archlinux.org>
23774 * po/libc.pot: Regenerated.
23776 * malloc/memusagestat.c: Fix gettext call formatting.
23778 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23780 * nscd/nscd.c: Improve usage() output.
23782 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23784 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23785 * sysdeps/unix/sysv/linux/configure: Regenerated.
23786 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23787 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23789 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23792 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23793 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23795 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23797 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23798 extra tokens at end of #undef directive.
23799 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23800 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23801 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23803 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23805 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23807 * math/auto-libm-test-in: Mark various tests with
23808 xfail-rounding:ldbl-128ibm.
23809 * math/auto-libm-test-out: Regenerated.
23811 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23815 numbers with subnormal high part when calculating exponent.
23818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23822 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23824 (__ieee754_acoshl): Use __log1pl not __log1p.
23826 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23828 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23829 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23830 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23831 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23832 (reused_arena, arena_get2): Convert to GNU style.
23833 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23834 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23835 (memalign_check, __malloc_set_state): Likewise.
23836 * malloc/mallocbug.c (main): Likewise.
23837 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23838 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23839 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23840 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23841 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23842 (__posix_memalign, malloc_info): Likewise.
23843 * malloc/malloc.h: Likewise.
23844 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23845 (mallochook, memalignhook, reallochook, mabort): Likewise.
23846 * malloc/mcheck.h: Likewise.
23847 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23848 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23849 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23850 * malloc/morecore.c (__default_morecore): Likewise.
23851 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23852 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23853 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23854 (print_and_abort): Likewise.
23855 * malloc/obstack.h: Likewise.
23856 * malloc/set-freeres.c (__libc_freeres): Likewise.
23857 * malloc/tst-mallocstate.c (main): Likewise.
23858 * malloc/tst-mtrace.c (main): Likewise.
23859 * malloc/tst-realloc.c (do_test): Likewise.
23861 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23864 * nscd/netgroupcache.c (do_notfound): New function.
23865 (addgetnetgrentX): Use it.
23868 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23869 NSS_STATUS_NOTFOUND.
23871 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23873 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23876 2014-01-01 Allan McRae <allan@archlinux.org>
23878 * scripts/update-copyrights: Update configure input file suffix.
23880 * NEWS: Update copyright year.
23881 * catgets/gencat.c: Likewise.
23882 * csu/version.c: Likewise.
23883 * debug/catchsegv.sh: Likewise.
23884 * debug/pcprofiledump.c: Likewise.
23885 * debug/xtrace.sh: Likewise.
23886 * elf/ldconfig.c: Likewise.
23887 * elf/ldd.bash.in: Likewise.
23888 * elf/pldd.c: Likewise.
23889 * elf/sotruss.ksh: Likewise.
23890 * elf/sprof.c: Likewise.
23891 * iconv/iconv_prog.c: Likewise.
23892 * iconv/iconvconfig.c: Likewise.
23893 * locale/programs/locale.c: Likewise.
23894 * locale/programs/localedef.c: Likewise.
23895 * login/programs/pt_chown.c: Likewise.
23896 * malloc/memusage.sh: Likewise.
23897 * malloc/memusagestat.c: Likewise.
23898 * malloc/mtrace.pl: Likewise.
23899 * manual/libc.texinfo: Likewise.
23900 * nscd/nscd.c: Likewise.
23901 * nss/getent.c: Likewise.
23902 * nss/makedb.c: Likewise.
23903 * posix/getconf.c: Likewise.
23904 * scripts/test-installation.pl: Likewise.
23906 * All files with FSF copyright notices: Update copyright dates
23907 using scripts/update-copyrights.
23908 * intl/plural.c: Regenerated.
23909 * locale/programs/charmap-kw.h: Likewise.
23910 * locale/programs/locfile-kw.h: Likewise.
23912 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23914 * sysdeps/unix/sysv/linux/configure: Regenerated.
23915 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23916 the linux/fanotify.h header.
23917 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23918 HAVE_LINUX_FANOTIFY_H is defined.
23920 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23922 * benchtests/cos-inputs: New inputs.
23923 * benchtests/sin-inputs: Likewise.
23925 * benchtests/atan-inputs: New inputs. Fix name of multiple
23926 precision fallback inputs.
23928 * benchtests/atanh-inputs: New inputs.
23929 * benchtests/tanh-inputs: Likewise.
23931 * benchtests/acosh-inputs: New inputs.
23932 * benchtests/asinh-inputs: Likewise.
23934 * benchtests/cosh-inputs: New inputs.
23935 * benchtests/sinh-inputs: Likewise.
23937 * benchtests/acos-inputs: Add more inputs.
23938 * benchtests/asin-inputs: Likewise.
23940 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23943 * manual/arith.texi: Fix spelling.
23944 * manual/charset.texi: Likewise.
23945 * manual/errno.texi: Likewise.
23946 * manual/filesys.texi: Likewise.
23947 * manual/lang.texi: Likewise.
23948 * manual/llio.texi: Likewise.
23949 * manual/locale.texi: Likewise.
23950 * manual/message.texi: Likewise.
23951 * manual/resource.texi: Likewise.
23952 * manual/search.texi: Likewise.
23953 * manual/setjmp.texi: Likewise.
23954 * manual/stdio.texi: Likewise.
23955 * manual/string.texi: Likewise.
23956 * manual/sysinfo.texi: Likewise.
23957 * manual/time.texi: Likewise.
23959 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23961 * po/sl.po: New file.
23963 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23965 * .gitignore: Add core/.gdbinit/.gdb_history.
23967 2013-12-27 Allan McRae <allan@archlinux.org>
23970 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23971 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23973 2013-12-24 Brooks Moses <bmoses@google.com>
23975 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23976 all compilers that claim C++98 compliance, not just GCC.
23977 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23980 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23982 * NEWS: Restore accidentally deleted bug-fix entries.
23984 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23985 Ondřej Bílka <neleai@seznam.cz>
23988 * malloc/malloc.c (_int_free): Perform sanity check only if we
23991 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23994 * manual/stdio.texi (String Input Conversions): Clarify that character
23995 classes are not supported.
23997 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24001 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24004 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24005 Calculate results for small negative arguments directly rather
24006 than using reflection formula with special underflow handling.
24008 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24009 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24010 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24011 (fchflags): Likewise.
24012 (revoke): Likewise.
24013 (setlogin): Likewise.
24014 (sigaltstack): Likewise.
24016 (sigblock): Remove.
24017 (sigsetmask): Likewise.
24019 (waitpid): Likewise.
24020 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24021 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24023 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24024 * sysdeps/unix/bsd/Makefile: ... here.
24025 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24026 * sysdeps/unix/bsd/Versions: ... here.
24027 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24028 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24029 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24030 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24031 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24032 * sysdeps/unix/bsd/sigblock.c: ... here.
24033 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24034 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24035 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24036 * sysdeps/unix/bsd/sigvec.c: ... here.
24037 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24038 * sysdeps/unix/bsd/tcdrain.c: ... here.
24039 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24040 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24041 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24042 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24043 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24044 * sysdeps/unix/bsd/wait.c: ... here.
24045 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24046 * sysdeps/unix/bsd/wait3.c: ... here.
24047 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24048 * sysdeps/unix/bsd/waitpid.c: ... here.
24050 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24054 round-to-nearest for [!USE_AS_EXPM1L].
24055 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24056 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24057 more tests of exp and exp10. Expect some exp10 tests to miss
24058 exceptions or fail in directed rounding modes.
24059 * math/auto-libm-test-out: Regenerated.
24060 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24061 (exp10_test_tonearest): New function.
24062 (exp10_towardzero_test_data): New array.
24063 (exp10_test_towardzero): New function.
24064 (exp10_downward_test_data): New array.
24065 (exp10_test_downward): New function.
24066 (exp10_upward_test_data): New array.
24067 (exp10_test_upward): New function.
24068 (main): Call the new functions.
24069 * sysdeps/i386/fpu/libm-test-ulps: Update.
24070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24072 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24074 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24075 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24076 * math/auto-libm-test-out: Regenerated.
24077 * math/libm-test.inc (acosh_test_data): Add more tests.
24078 (atanh_test_data): Likewise.
24079 (ceil_test_data): Likewise.
24080 (copysign_test_data): Likewise.
24081 * sysdeps/i386/fpu/libm-test-ulps: Update.
24082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24084 * timezone/checktab.awk: Update from tzcode 2013i.
24085 * timezone/private.h: Likewise.
24086 * timezone/scheck.c: Likewise.
24087 * timezone/tzfile.h: Likewise.
24088 * timezone/tzselect.ksh: Likewise.
24089 * timezone/zdump.c: Likewise.
24090 * timezone/zic.c: Likewise.
24092 * math/auto-libm-test-in: Add tests of cpow.
24093 * math/auto-libm-test-out: Regenerated.
24094 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24095 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24097 (func_calc_desc): Add mpc_cc_c union field.
24098 (test_functions): Add cpow.
24099 (special_fill_2pi): New function.
24100 (special_real_inputs): Add 2pi.
24101 (calc_generic_results): Handle mpc_cc_c.
24102 * sysdeps/i386/fpu/libm-test-ulps: Update.
24103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24105 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24106 csqrt, ctan and ctanh.
24107 * math/auto-libm-test-out: Regenerated.
24108 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24109 (TEST_COND_x86): Likewise.
24110 (ccos_test_data): Use AUTO_TESTS_c_c.
24111 (ccosh_test_data): Likewise.
24112 (cexp_test_data): Likewise.
24113 (clog_test_data): Likewise.
24114 (csqrt_test_data): Likewise.
24115 (ctan_test_data): Likewise.
24116 (ctan_tonearest_test_data): Likewise.
24117 (ctan_towardzero_test_data): Likewise.
24118 (ctan_downward_test_data): Likewise.
24119 (ctan_upward_test_data): Likewise.
24120 (ctanh_test_data): Likewise.
24121 (ctanh_tonearest_test_data): Likewise.
24122 (ctanh_towardzero_test_data): Likewise.
24123 (ctanh_downward_test_data): Likewise.
24124 (ctanh_upward_test_data): Likewise.
24125 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24127 (func_calc_desc): Add mpc_c_c union field.
24128 (FUNC_mpc_c_c): New macro.
24129 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24130 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24132 (special_fill_min_subnorm_p120): New function.
24133 (special_real_inputs): Add min_subnorm_p120.
24134 (calc_generic_results): Handle mpc_c_c.
24135 * sysdeps/i386/fpu/libm-test-ulps: Update.
24136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24138 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24140 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24141 (do_sin_slow): New functions.
24142 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24143 (cslow2, csloww1, csloww2): Use the new functions.
24145 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24146 Use M to change sign of result instead of X. Assume X is
24148 (csloww1): Likewise.
24152 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24153 arguments A and DA.
24157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24159 (sloww1): Don't adjust sign of DX.
24160 (csloww1): Likewise.
24161 (sloww2): Use X directly and don't adjust sign of DX.
24162 (csloww2): Likewise.
24164 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24166 * math/auto-libm-test-in: Add tests of cabs and carg.
24167 * math/auto-libm-test-out: Regenerated.
24168 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24169 (carg_test_data): Likewise.
24170 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24172 (func_calc_desc): Add mpc_c_f union field.
24173 (test_functions): Add cabs and carg.
24174 (calc_generic_results): Handle mpc_c_f.
24176 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24177 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24178 as a macro and a compat symbol.
24179 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24180 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24181 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24182 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24183 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24184 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24186 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24188 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24190 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24192 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24194 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24196 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24197 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24200 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24204 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24206 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24207 trailing whitespace removed.
24208 * scripts/config.guess: Update to version 2013-11-29.
24209 * scripts/config.sub: Update to version 2013-10-01.
24211 * math/auto-libm-test-in: Add tests of sincos.
24212 * math/auto-libm-test-out: Regenerated.
24213 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24214 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24216 (func_calc_desc): Add mpfr_f_11 union field.
24217 (test_functions): Add sincos.
24218 (calc_generic_results): Handle mpfr_f_11.
24219 * sysdeps/i386/fpu/libm-test-ulps: Update.
24220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24222 2013-12-19 Andreas Schwab <schwab@suse.de>
24224 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24226 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24228 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24230 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24232 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24238 round-to-nearest mode when using frndint.
24239 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24240 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24241 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24243 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24245 * math/auto-libm-test-out: Regenerated.
24246 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24247 (TEST_COND_x86): Likewise.
24248 (expm1_tonearest_test_data): New array.
24249 (expm1_test_tonearest): New function.
24250 (expm1_towardzero_test_data): New array.
24251 (expm1_test_towardzero): New function.
24252 (expm1_downward_test_data): New array.
24253 (expm1_test_downward): New function.
24254 (expm1_upward_test_data): New array.
24255 (expm1_test_upward): New function.
24256 (main): Run the new test functions.
24257 * sysdeps/i386/fpu/libm-test-ulps: Update.
24258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24260 * include/features.h: Update comment documenting feature test
24261 macros. Mention _DEFAULT_SOURCE in comment.
24262 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24263 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24264 _BSD_SOURCE and _SVID_SOURCE.
24265 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24266 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24267 !_SVID_SOURCE]: Likewise.
24268 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24269 (__USE_POSIX_IMPLICITLY): Define.
24270 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24271 (_POSIX_SOURCE): Undefine and redefine.
24272 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24273 (_POSIX_C_SOURCE): Likewise.
24274 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24275 (Feature Test Macros): Update documentation of default features.
24277 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24279 * benchtests/Makefile: Add bench-strtok.
24280 * benchtests/bench-strtok.c: New file: strtok benchtest.
24282 2013-12-19 Allan McRae <allan@archlinux.org>
24284 * manual/install.texi: Suppress menu for plain text output.
24285 * INSTALL: Regenerated.
24287 2013-12-18 Brooks Moses <bmoses@google.com>
24290 * misc/getauxval.c: Include errno.h.
24291 (__getauxval): Set errno to ENOENT if the requested type is not
24293 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24294 don't declare with __attribute_const__.
24295 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24296 * manual/startup.texi: Document that getauxval sets errno.
24298 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24300 * math/auto-libm-test-in: Add tests of jn and yn.
24301 * math/auto-libm-test-out: Regenerated.
24302 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24303 (yn_test_data): Likewise.
24304 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24306 (func_calc_desc): Add mpfr_if_f union field.
24307 (FUNC_mpfr_if_f): New macro.
24308 (test_functions): Add jn and yn.
24309 (calc_generic_results): Assert type of second input for
24310 mpfr_ff_f. Handle mpfr_if_f.
24311 (output_for_one_input_case): Disable all checking for arguments
24312 fitting floating-point types in case of an integer argument.
24313 * sysdeps/i386/fpu/libm-test-ulps: Update.
24314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24317 Don't expect fegetround reference in libm.so.
24319 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24321 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24322 $(config-cflags-nofma).
24324 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24326 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24327 * math/auto-libm-test-out: Regenerated.
24330 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24331 to determine exponent and adjust argument to have exponent of -1.
24332 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24334 * math/auto-libm-test-out: Regenerated.
24335 * sysdeps/i386/fpu/libm-test-ulps: Update.
24336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24338 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24340 * manual/probes.texi: Remove cases when per-thread arenas are
24343 2013-12-18 Andreas Schwab <schwab@suse.de>
24345 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24346 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24347 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24348 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24349 * sysdeps/i386/i686/multiarch/Makefile: Update.
24350 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24352 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24354 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24355 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24357 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24360 Support TZ transition times < 00:00:00.
24361 This is needed for version-3 tz-format files; it supports time
24362 stamps past 2037 for America/Godthab (the only entry in the tz
24363 database for which this change is relevant).
24364 * manual/time.texi (TZ Variable): Document transition times
24365 from -167:59:59 through -00:00:01.
24366 * time/tzset.c (tz_rule): Time of day is now signed.
24367 (__tzset_parse_tz): Parse negative time of day.
24369 Document TZ transition times >= 25:00:00.
24370 * manual/time.texi (TZ Variable): Document transition times from
24371 25:00:00 through 167:59:59. These are already supported, and this
24372 support will help with version-3 tz-format files.
24374 * manual/time.texi (TZ Variable): Modernize North America example
24375 to reflect current (i.e., 2007-and-later) daylight saving rules.
24377 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24379 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24381 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24382 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24383 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24385 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24386 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24387 * sysdeps/unix/bsd/clock.c: Likewise.
24388 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24389 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24390 * sysdeps/unix/bsd/init-posix.c: Likewise.
24391 * sysdeps/unix/bsd/poll.c: Likewise.
24392 * sysdeps/unix/bsd/ptsname.c: Likewise.
24393 * sysdeps/unix/bsd/seekdir.c: Likewise.
24394 * sysdeps/unix/bsd/setegid.c: Likewise.
24395 * sysdeps/unix/bsd/seteuid.c: Likewise.
24396 * sysdeps/unix/bsd/setgid.c: Likewise.
24397 * sysdeps/unix/bsd/setrgid.c: Likewise.
24398 * sysdeps/unix/bsd/setruid.c: Likewise.
24399 * sysdeps/unix/bsd/setsid.c: Likewise.
24400 * sysdeps/unix/bsd/setuid.c: Likewise.
24401 * sysdeps/unix/bsd/sigaction.c: Likewise.
24402 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24403 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24404 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24405 * sysdeps/unix/bsd/telldir.c: Likewise.
24406 * sysdeps/unix/bsd/times.c: Likewise.
24407 * sysdeps/unix/bsd/usleep.c: Likewise.
24409 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24410 ($(objpfx)libbsd-compat.a): Remove rule.
24412 * include/features.h (__FAVOR_BSD): Do not define.
24413 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24414 features conflicting with POSIX.
24415 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24416 (_BSD_SOURCE): Remove description of not being a subset of other
24417 feature test macros.
24418 * manual/job.texi (getpgrp): Do not document BSD version.
24419 (getpgid): Do not document by reference to BSD getpgrp.
24420 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24421 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24422 * signal/signal.h [__FAVOR_BSD]: Likewise.
24423 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24424 instead of making contents conditional on [__FAVOR_BSD].
24425 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24427 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24431 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24434 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24435 values below 2**-450, not 2**-500.
24436 * math/auto-libm-test-in: Don't allow spurious underflow from
24438 * math/auto-libm-test-out: Regenerated.
24442 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24443 values of ha and hb and sort them after adjusting subnormal
24445 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24447 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24448 values of ea and eb and sort them after adjusting subnormal
24450 * math/auto-libm-test-in: Do not expect some hypot tests of
24451 subnormals to fail. Add more hypot tests.
24452 * math/auto-libm-test-out: Regenerated.
24454 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24457 * sysdeps/sh/s_fma.c: New file.
24458 * sysdeps/sh/s_fmaf.c: New file.
24459 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24461 * sysdeps/sh/Implies: Add sh/soft-fp.
24463 2013-12-16 Roland McGrath <roland@hack.frob.com>
24465 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24466 level of indirection to members `objname', `errstring', `malloced'.
24467 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24468 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24469 it as the __longjmp argument (just pass 1 instead).
24470 (_dl_catch_error): Initialize C with argument pointers and address of
24471 volatile local ERRCODE rather than copying values out of C at return.
24473 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24475 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24476 * math/auto-libm-test-out: Regenerated.
24477 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24478 (hypot_test_data): Likewise.
24479 (pow_test_data): Likewise.
24480 (pow_tonearest_test_data): Likewise.
24481 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24483 (func_calc_desc): Add mpfr_ff_f union field.
24484 (FUNC_mpfr_ff_f): New macro.
24485 (test_functions): Add atan2, hypot and pow.
24486 (special_fill_min): New function.
24487 (special_fill_minus_min): Likewise.
24488 (special_fill_min_subnorm): Likewise.
24489 (special_fill_minus_min_subnorm): Likewise.
24490 (special_real_inputs): Add min, -min, min_subnorm and
24492 (calc_generic_results): Handle mpfr_ff_f.
24493 * sysdeps/i386/fpu/libm-test-ulps: Update.
24494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496 2013-12-16 Will Newton <will.newton@linaro.org>
24498 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24499 (Aligned Memory Blocks): Add documentation for aligned_alloc
24500 and suggest it as an alternative to posix_memalign.
24501 (Hooks for Malloc): Document __memalign_hook is also called
24502 for aligned_alloc. (Summary of Malloc): Add summary for
24503 aligned alloc. Document __memalign_hook is also called
24506 2013-12-16 Will Newton <will.newton@linaro.org>
24508 * manual/memory.texi (Malloc Examples): Clarify default
24509 alignment documentation. Suggest posix_memalign rather
24510 than memalign or valloc.
24511 (Aligned Memory Blocks): Remove suggestion to use memalign
24512 or valloc. Remove obsolete comment about BSD.
24513 Document memalign errno values and mark the function obsolete.
24514 Document posix_memalign returned error codes. Mark valloc
24515 as obsolete. (Hooks for Malloc): __memalign_hook is also
24516 called for posix_memalign and valloc.
24517 (Summary of Malloc): Add posix_memalign to function summary.
24518 __memalign_hook is also called for posix_memalign and valloc.
24520 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24522 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24526 (sloww): Use mynumber union. Expand ternary operator into
24527 if-else statements.
24528 (cslow): use mynumber union.
24530 2013-12-16 Allan McRae <allan@archlinux.org>
24532 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24533 * configure: Regenerated.
24535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24538 * configure.ac: Added --enable-maintainer-mode. Check for
24539 autoconf when enabled.
24540 * configure: Regenerated.
24542 * nscd/nscd.service: New file.
24543 * nscd/nscd.tmpfiles: New file.
24545 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24548 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24549 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24550 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24551 (strstr): Add __strstr_sse2_unaligned ifunc.
24552 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24553 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24554 (strcasestr): Remove __strcasestr_sse42 ifunc.
24555 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24559 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24561 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24562 * sysdeps/sh/bits/fenv.h: ... here.
24563 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24565 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24567 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24570 hypotf multiarch implementations.
24571 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24572 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24573 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24574 multiarch hypot for PPC64.
24575 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24576 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24577 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24578 multiarch hypotf for PPC64.
24580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24581 modff multiarch implementations.
24582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24585 multiarch modf for PPC64.
24586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24589 multiarch modff for PPC64.
24591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24592 and logl multiarch implementations.
24593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24596 multiarch logb for PPC64.
24597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24600 multiarch logb for PPC64.
24601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24604 multiarch logb for PPC64.
24606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24607 isinff multiarch implementation.
24608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24612 multiarch isinf for PPC64.
24613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24616 multiarch isinff for PPC64.
24618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24619 finitef multiarch implementation.
24620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24624 multiarch finite for PPC64.
24625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24628 multiarch finitef for PPC64.
24630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24631 lrint multiarch implementation.
24632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24636 multiarch llrint for PPC64.
24637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24638 multiarch lrint for PPC64.
24640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24641 copysignf multiarch implementation.
24642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24647 multiarch copysign for PPC64.
24648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24649 multiarch copysignf for PPC64.
24651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24652 multiarch implementation.
24653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24661 multiarch llround for PPC64.
24662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24663 multiarch trunc for PPC64.
24664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24665 multiarch truncf for PPC64.
24667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24668 multiarch implementation.
24669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24677 multiarch llround for PPC64.
24678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24679 multiarch round for PPC64.
24680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24681 multiarch roundf for PPC64.
24683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24684 multiarch implementation.
24685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24693 multiarch llround for PPC64.
24694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24695 multiarch floor for PPC64.
24696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24697 multiarch floorf for PPC64.
24699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24700 multiarch implementation.
24701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24709 multiarch llround for PPC64.
24710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24711 multiarch ceil for PPC64.
24712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24713 multiarch ceilf for PPC64.
24715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24716 multiarch implementation.
24717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24724 multiarch llround for PPC64.
24725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24726 multiarch lround for PPC64.
24728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24729 multiarch implementation.
24730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24737 multiarch isnan for PPC64.
24738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24739 multiarch isnanf for PPC64.
24741 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24742 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24743 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24744 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24745 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24748 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24749 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24754 multiarch implementations.
24755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24756 (__libc_ifunc_impl_list): Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24758 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24759 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24760 multiarch stpcpy for PPC64.
24762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24763 multiarch implementations.
24764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24765 (__libc_ifunc_impl_list): Likewise.
24766 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24767 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24768 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24769 multiarch strcpy for PPC64.
24771 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24772 redefine function name.
24773 (_wordcopy_fwd_dest_aligned): Likewise.
24774 (_wordcopy_bwd_aligned): Likewise.
24775 (_wordcopy_bwd_dest_aligned): Likewise.
24776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24777 multiarch implementations.
24778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24779 (__libc_ifunc_impl_list): Likewise.
24780 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24781 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24782 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24783 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24784 multiarch wcscpy for PPC64.
24786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24787 multiarch implementations.
24788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24789 (__libc_ifunc_impl_list): Likewise.
24790 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24791 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24792 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24793 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24794 multiarch wcscpy for PPC64.
24796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24797 multiarch implementations.
24798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24799 (__libc_ifunc_impl_list): Likewise.
24800 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24801 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24802 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24803 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24804 multiarch wcsrchr for PPC64.
24806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24807 multiarch implementations.
24808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24809 (__libc_ifunc_impl_list): Likewise.
24810 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24811 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24812 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24813 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24814 multiarch wcschr for PPC64.
24816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24817 multiarch implementations.
24818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24819 (__libc_ifunc_impl_list): Likewise.
24820 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24821 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24822 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24823 multiarch strchrnul for PPC64.
24825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24828 (__libc_ifunc_impl_list): Likewise.
24829 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24830 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24831 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24832 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24838 (__libc_ifunc_impl_list): Likewise.
24839 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24840 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24841 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24842 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24846 multiarch implementations.
24847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24848 (__libc_ifunc_impl_list): Likewise.
24849 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24850 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24851 strncasecmp for PPC64.
24852 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24853 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24854 multiarch strncasecmp_l for PPC64.
24856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24857 multiarch implementations.
24858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24859 (__libc_ifunc_impl_list): Likewise.
24860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24862 multiarch strcasecmp for PPC64.
24863 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24865 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24866 multiarch strcasecmp_l for PPC64.
24868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24871 (__libc_ifunc_impl_list): Likewise.
24872 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24873 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24874 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24880 (__libc_ifunc_impl_list): Likewise.
24881 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24882 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24883 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24889 (__libc_ifunc_impl_list): Likewise.
24890 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24891 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24892 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24893 rawmemrchr for PPC64.
24895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24898 (__libc_ifunc_impl_list): Likewise.
24899 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24900 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24901 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24907 (__libc_ifunc_impl_list): Likewise.
24908 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24909 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24910 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24916 (__libc_ifunc_impl_list): Likewise.
24917 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24918 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24919 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24922 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24923 avoid cretion of __bzero symbol.
24924 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24926 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24928 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24931 multiarch implementations.
24932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24933 (__libc_ifunc_impl_list): Likewise.
24934 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24935 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24936 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24937 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24939 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24940 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24941 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24942 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24943 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24945 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24947 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24951 (__libc_ifunc_impl_list): Likewise.
24952 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24953 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24954 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24955 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24959 multiarch for POWER/PPC64.
24960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24961 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24962 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24963 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24964 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24965 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24966 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24967 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24968 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24971 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24972 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24973 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24974 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24975 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24976 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24977 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24978 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24979 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24980 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24981 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24982 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24983 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24984 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24985 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24994 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24998 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25000 * benchtests/Makefile (bench): Add exp2 and log2.
25001 (LDLIBS-bench-exp2): Add -lm.
25002 (LDLIBS-bench-log2): Likewise.
25003 * benchtests/exp2-inputs: New inputs file.
25004 * benchtests/log2-inputs: New inputs file.
25005 * benchtests/log-inputs: Add new inputs.
25006 * benchtests/tan-inputs: Likewise.
25008 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25010 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25012 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25013 (csloww2): ... from here.
25015 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25016 instead of structures.
25017 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25018 (POLYNOMIAL): Likewise.
25019 (TAYLOR_SLOW): Likewise.
25025 (sloww1); Likewise.
25026 (sloww2): Likewise.
25027 (bsloww1): Likewise.
25028 (bsloww2): Likewise.
25029 (cslow2): Likewise.
25030 (csloww): Likewise.
25031 (csloww1): Likewise.
25032 (csloww2): Likewise.
25034 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25036 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25037 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25038 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25039 * malloc/hooks.c (realloc_check): Likewise.
25041 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25042 * malloc/arena.c: Remove PER_THREAD conditional.
25043 [!PER_THREAD]: Remove code.
25044 (ptmalloc_unlock_all2): Likewise.
25045 (ptmalloc_init): Likewise.
25046 (_int_new_arena): Likewise.
25047 (arena_get2): Likewise.
25048 * malloc/hooks.c (__malloc_get_state): Likewise.
25049 (__malloc_set_state): Likewise.
25050 * malloc/malloc.c: Likewise.
25051 (struct malloc_state): Likewise.
25052 (struct malloc_par): Likewise.
25053 (__libc_realloc): Likewise.
25054 (__libc_mallopt): Likewise.
25056 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25058 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25060 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25062 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25063 macro to a function. Check for zero perturb_byte.
25064 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25066 * malloc/malloc.c: (force_reg): Remove.
25067 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25068 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25069 force_reg by atomic_forced_read.
25070 * malloc/arena.c (ptmalloc_init): Likewise.
25071 * malloc/hooks.c (top_check): Likewise.
25073 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25077 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25081 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25083 * math/auto-libm-test-in: Add tests of lgamma.
25084 * math/auto-libm-test-out: Regenerated.
25085 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25086 (M_LOG_2_SQRT_PIl): Likewise.
25087 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25088 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25090 (func_calc_desc): Add mpfr_f_f1 union field.
25091 (ARGS1): New macro.
25099 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25100 (test_functions): Add lgamma.
25101 (calc_generic_results): Handle mpfr_f_f1.
25102 * sysdeps/i386/fpu/libm-test-ulps: Update.
25103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25105 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25107 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25108 __mpn_add_n for PowerPC64/POWER7.
25109 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25110 __mpn_sub_n for PowerPC64/POWER7.
25112 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25113 __mpn_addmul_1 for PowerPC64.
25114 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25115 __mpn_submul_1 for PowerPC64.
25116 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25118 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25121 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25124 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25126 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25128 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25130 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25131 add multiarch folders.
25132 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25133 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25134 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25135 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25136 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25137 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25138 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25139 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25140 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25141 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25142 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25151 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25157 multiarch __ieee754_hypot for PowerPC32.
25158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25163 multiarch __ieee754_hypotf for PowerPC32.
25165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25166 long_double_symbol only if __logbl is defined.
25167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25168 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25170 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25172 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25173 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25174 path for implementation.
25175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25176 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25178 logb, and logbl multiarch implementations for PowerPC32.
25179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25184 multiarch logb for PowerPC32.
25185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25190 multiarch logbf for PowerPC32.
25191 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25195 multiarch logbl implementation for PowerPC32.
25197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25198 and modff multiarch implementations.
25199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25204 multiarch modf for PowerPC32.
25205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25210 multiarch modff for PowerPC32.
25212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25213 and lrintf multiarch implementations.
25214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25219 multiarch lrint for PowerPC32.
25220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25221 file: multiarch lrintf for PowerPC32.
25223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25224 and lroundf multiarch implementations.
25225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25232 multiarch lround for PowerPC32.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25234 file: multiarch lroundf for PowerPC32.
25236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25237 copysign and copysignf multiarch implementations.
25238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25243 file: multiarch copysign for PowerPC32.
25244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25245 file: multiarch copysignf for PowerPC32.
25247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25248 and truncf multiarch implementations.
25249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25254 multiarch trunc for PowerPC32.
25255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25260 multiarch truncf for PowerPC32.
25262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25263 and roundf multiarch implementations.
25264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25269 multiarch round for PowerPC32.
25270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25275 multiarch roundf for PowerPC32.
25277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25278 and floorf multiarch implementations.
25279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25284 multiarch floor for PowerPC32.
25285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25290 multiarch floorf for PowerPC32.
25292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25293 and ceilf multiarch implementations.
25294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25299 multiarch ceil for PowerPC32.
25300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25305 multiarch ceilf for PowerPC32.
25307 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25309 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25310 FINITEF is defined.
25311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25312 and finitef multiarch implementations.
25313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25318 multiarch finite for PowerPC32.
25319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25322 file: multiarch finitef for PowerPC32.
25324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25325 and isinff multiarch implementations.
25326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25331 multiarch isinf for PowerPC32.
25332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25335 multiarch isinff for PowerPC32.
25337 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25338 alias when __isnan is defined.
25339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25340 and isnanf multiarch implementations.
25341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25350 multiarch isnan for PowerPC32.
25351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25356 multiarch isnanf for PowerPC32.
25358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25359 and sqrtf multiarch implementations.
25360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25365 multiarch sqrt for PowerPC32.
25366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25371 multiarch sqrtf for PowerPC32.
25373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25374 and llroundf multiarch implementations.
25375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25382 file: multiarch llround for PowerPC32.
25383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25384 file: multiarch llroundf for PowerPC32.
25386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25387 multiarch PowerPC32 fpu implementations.
25388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25393 multiarch llrint for PowerPC32.
25394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25403 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25405 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25407 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25409 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25410 multiarch wordcopy for PPC32.
25411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25414 (__libc_ifunc_impl_list): Likewise.
25415 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25416 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25417 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25418 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25419 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25420 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25422 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25430 multiarch wcscpy for PPC32.
25431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25434 (__libc_ifunc_impl_list): Likewise.
25435 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25436 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25437 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25438 sysdeps/powerpc/power6/wcscpy.c.
25440 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25448 multiarch wcsrchr for PPC32.
25449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25452 (__libc_ifunc_impl_list): Likewise.
25453 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25454 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25455 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25456 sysdeps/powerpc/power6/wcsrchr.c.
25458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25464 multiarch wcschr for PPc32.
25465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25468 (__libc_ifunc_impl_list): Likewise.
25469 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25470 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25471 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25472 sysdeps/powerpc/power6/wcschr.c.
25474 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25475 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25477 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25478 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25479 file: multiarch strchr for PPC32.
25480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25483 (__libc_ifunc_impl_list): Likewise.
25485 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25487 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25489 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25491 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25492 multiarch strchrnul for PPC32.
25493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25496 (__libc_ifunc_impl_list): Likewise.
25498 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25500 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25501 multiarch strncasecmp for PPC32.
25502 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25504 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25505 multiarch strncasecmp_l for PPC32.
25506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25507 strncasecmp multiarch objects.
25508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25509 (__libc_ifunc_impl_list): Likewise.
25511 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25513 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25514 multiarch strncasecmp for PPC32.
25515 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25517 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25518 multiarch strcasecmp_l for PPC32.
25519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25522 (__libc_ifunc_impl_list): Likewise.
25524 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25526 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25528 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25529 multiarch strncmp for PPC32.
25530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25533 (__libc_ifunc_impl_list): Likewise.
25535 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25536 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25538 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25539 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25543 (__libc_ifunc_impl_list): Likewise.
25545 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25547 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25549 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25553 (__libc_ifunc_impl_list): Likewise.
25555 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25557 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25559 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25560 multiarch rawmemchr for PPC32.
25561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25564 (__libc_ifunc_impl_list): Likewise.
25566 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25568 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25570 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25571 file: memrchr multiarch for PPC32.
25572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25575 (__libc_ifunc_impl_list): Likewise.
25577 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25578 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25580 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25581 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25582 multiarch memchr for PPC32.
25583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25586 (__libc_ifunc_impl_list): Likewise.
25588 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25589 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25591 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25593 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25594 file: multiarch mempcpy for PPC32.
25595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25598 (__libc_ifunc_impl_list): Likewise.
25600 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25601 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25602 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25603 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25604 multiarch bzero for PPC32.
25605 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25607 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25609 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25610 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25611 file: multiarch memset for PPC32.
25612 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25614 memset multiarch objects.
25615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25616 (__libc_ifunc_impl_list): Likewise.
25618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25621 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25623 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25627 (__libc_ifunc_impl_list): Likewise.
25629 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25630 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25631 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25633 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25635 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25637 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25638 multiarch memcpy for PPC32.
25639 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25642 (__libc_ifunc_impl_list): Likewise.
25644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25645 support multiarch for POWER/PPC32.
25646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25648 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25650 Implies file to make multiarch folder appers before the fpu and
25651 default folder for power4 configuration.
25653 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25655 * scripts/bench.pl: Append volatile keyword to type.
25657 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25659 * sysdeps/sh/sotruss-lib.c: New file.
25660 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25662 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25666 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25669 * math/w_tgamma.c: Include <errno.h>.
25670 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25671 * math/w_tgammaf.c: Include <errno.h>.
25672 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25673 * math/w_tgammal.c: Include <errno.h>.
25674 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25675 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25676 underflow. Add more tgamma tests.
25677 * math/auto-libm-test-out: Regenerated.
25678 * sysdeps/i386/fpu/libm-test-ulps: Update.
25679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25681 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25682 sin, sinh, tan, tanh, tgamma, y0 and y1.
25683 * math/auto-libm-test-out: Regenerated.
25684 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25685 (TEST_COND_x86): Likewise.
25686 (M_E2l): Remove macro.
25688 (M_2_SQRT_PIl): Likewise.
25689 (M_SQRT_PIl): Likewise.
25690 (M_1_DIV_El): Likewise.
25691 (log_test_data): Use AUTO_TESTS_f_f.
25692 (log10_test_data): Likewise.
25693 (log1p_test_data): Likewise.
25694 (log2_test_data): Likewise.
25695 (sin_test_data): Likewise.
25696 (sin_tonearest_test_data): Likewise.
25697 (sin_towardzero_test_data): Likewise.
25698 (sin_downward_test_data): Likewise.
25699 (sin_upward_test_data): Likewise.
25700 (sinh_test_data): Likewise.
25701 (sinh_tonearest_test_data): Likewise.
25702 (sinh_towardzero_test_data): Likewise.
25703 (sinh_downward_test_data): Likewise.
25704 (sinh_upward_test_data): Likewise.
25705 (tan_test_data): Likewise.
25706 (tan_tonearest_test_data): Likewise.
25707 (tan_towardzero_test_data): Likewise.
25708 (tan_downward_test_data): Likewise.
25709 (tan_upward_test_data): Likewise.
25710 (tanh_test_data): Likewise.
25711 (tgamma_test_data): Likewise.
25712 (y0_test_data): Likewise.
25713 (y1_test_data): Likewise.
25714 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25715 (special_real_inputs): Add pi/4.
25716 * sysdeps/i386/fpu/libm-test-ulps: Update.
25717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25719 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25721 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25722 "longjmp_target" static probes.
25723 (__longjmp): Rename to __longjmp_symbol.
25724 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25725 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25726 on which longjmp to generate.
25727 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25728 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25730 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25731 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25732 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25733 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25734 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25735 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25737 __longjmp_symbol based on which __longjmp to generate.
25738 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25740 (setjmp): Rename to setjmp_symbol.
25741 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25742 (_setjmp): Rename to _setjmp_symbol.
25743 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25744 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25745 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25746 which setjmp to generate.
25747 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25748 "longjmp_target" static probes.
25750 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25752 * benchtests/README: Add note about output arguments.
25753 * benchtests/bench-sincos.c: Remove file.
25754 * benchtests/sincos-inputs: New file.
25755 * scripts/bench.pl: Identify output arguments and define
25756 static variables for them.
25758 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25761 * Makefile (INSTALL): Add install-plain.texi as the primary
25763 * manual/install-plain.texi: New file.
25764 * manual/install.texi: Include node directive only for
25765 non-plaintext output.
25767 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25769 * stdlib/longlong.h: Update from GCC.
25773 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25774 * math/w_j0f.c (y0f): Likewise.
25775 * math/w_j0l.c (__y0l): Likewise.
25776 * math/w_j1.c (y1): Likewise.
25777 * math/w_j1f.c (y1f): Likewise.
25778 * math/w_j1l.c (__y1l): Likewise
25779 * math/w_jn.c (yn): Likewise.
25780 * math/w_jnf.c (ynf): Likewise.
25781 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25782 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25783 value for Bessel function domain errors outside _SVID_ mode.
25784 Adjust sign of return value for yn (negative integer, 0).
25785 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25786 by zero in return for negative x and set sign appropriately for
25788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25789 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25790 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25791 expectations in error cases.
25792 (y1_test_data): Likewise.
25793 (yn_test_data): Likewise.
25794 * sysdeps/i386/fpu/libm-test-ulps: Update.
25795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25797 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25799 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25800 "64" to "64-v1". Add "64-v2".
25801 (abi-64-options): Rename to ...
25802 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25803 (abi-64-condition): Rename to ...
25804 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25805 (abi-64-ld-soname): Rename to ...
25806 (abi-64-v1-ld-soname): ... this.
25807 (abi-64-v2-options): Define.
25808 (abi-64-v2-condition): Likewise.
25809 (abi-64-v2-ld-soname): Likewise.
25810 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25811 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25816 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25817 Alan Modra <amodra@gmail.com>
25819 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25820 New versions for use with the ELFv2 ABI.
25821 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25822 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25824 (struct La_ppc64v2_retval): Likewise.
25825 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25826 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25827 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25828 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25829 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25830 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25831 Do not save or restore CR.
25832 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25833 (_dl_profile_resolve): Do no save or restore CR. Support extended
25834 return values for ELFv2 ABI. Fix location of FPR return registers.
25835 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25836 updated values for _CALL_ELF == 2.
25837 (La_regs, La_retval, int_retval): Likewise.
25839 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25841 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25842 (FRAME_MIN_SIZE_PARM): Likewise.
25843 (FRAME_BACKCHAIN): Likewise.
25844 (FRAME_CR_SAVE): Likewise.
25845 (FRAME_LR_SAVE): Likewise.
25846 (FRAME_TOC_SAVE): Likewise.
25847 (FRAME_PARM_SAVE): Likewise.
25848 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25849 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25850 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25851 (call_mcount_parm_offset): New macro.
25852 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25853 (PROF): Use symbolic stack frame offsets.
25854 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25856 Redefine in terms of FRAME_MIN_SIZE.
25857 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25858 (_dl_profile_resolve): Likewise. Update comment.
25859 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25860 symbols stack frame offsets.
25861 (__sigsetjmp): Likewise.
25862 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25863 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25864 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25865 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25868 (FRAME_BACKCHAIN): Remove.
25869 (FRAME_CR_SAVE): Likewise.
25870 (FRAME_LR_SAVE): Likewise.
25871 (FRAME_COMPILER_DW): Likewise.
25872 (FRAME_LINKER_DW): Likewise.
25873 (FRAME_TOC_SAVE): Likewise.
25874 (FRAME_PARM_SAVE): Likewise.
25875 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25876 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25877 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25879 (CHECK_SP): Use symbolic stack frame offsets.
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25881 zone" instead of caller's parameter save area for temp storage.
25882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25883 Likewise. Also, use symbolic stack frame offsets.
25884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25885 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25886 our own stack frame instead of the caller's.
25887 (__socket): Use symbolic stack frame offsets.
25889 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25890 Alan Modra <amodra@gmail.com>
25892 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25894 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25895 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25896 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25898 (elf_machine_fixup_plt): Call it.
25899 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25901 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25903 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25904 r2 before calling target.
25906 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25907 Alan Modra <amodra@gmail.com>
25909 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25910 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25911 versions of macros to support ELFv2 ABI.
25912 (LOCALENTRY): New macro.
25913 (ENTRY, EALIGN): Use it.
25914 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25915 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25916 fall through into ENTRY entry point.
25917 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25918 Only define if _CALL_ELF != 2.
25920 (elf_machine_matches_host): Verify ABI version matches.
25921 (RTLD_START): Use LOCALENTRY.
25922 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25923 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25924 (PLT_ENTRY_WORDS): New macro.
25925 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25926 (elf_machine_runtime_setup): Support ELFv2 ABI.
25927 (elf_machine_fixup_plt): Likewise.
25928 (elf_machine_plt_conflict): Likewise.
25929 (resolve_ifunc): Likewise.
25930 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25934 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25936 (makecontext): Support ELFv2 ABI.
25937 * elf/elf.h (EF_PPC64_ABI): Define.
25939 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25941 * sysdeps/powerpc/powerpc64/sysdep.h
25942 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25943 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25944 (ENTRY) [ASSEMBLER]: ... but instead here ...
25945 (EALIGN) [ASSEMBLER]: ... and here.
25946 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25947 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25948 (ENTRY_2) [!ASSEMBLER]: Use it.
25949 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25950 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25952 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25953 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25955 Use PPC64_LOAD_FUNCPTR.
25957 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25959 2013-12-04 Alan Modra <amodra@gmail.com>
25961 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25962 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25963 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25964 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25967 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25968 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25969 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25970 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25971 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25973 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25976 (__makecontext): Fix incorrect CFI when backtracing out of
25977 context created via makecontext.
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25979 (__setcontext): Fix incorrect CFI during switch to new context.
25980 (__novec_setcontext): Likewise.
25982 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25985 * time/strptime_l.c (__strptime_internal): Allow modifiers
25987 * time/tst-strptime.c (day_tests): Add testcase.
25989 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25991 * scripts/bench.pl: Skip over blank lines.
25993 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25996 * manual/time.texi (Calendar Time): Clarify what timezone functions
25999 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26003 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26005 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26007 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26008 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26009 * debug/memset_chk.c (__memset_chk): Likewise.
26010 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26011 * debug/strncpy_chk.c: Likewise.
26013 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26017 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26018 (__ieee754_exp): For possibly underflowing results, check size of
26019 result and force underflow exception if required.
26020 * math/auto-libm-test-in: Add more tests of exp.
26021 * math/auto-libm-test-out: Regenerated.
26022 * sysdeps/i386/fpu/libm-test-ulps: Update.
26023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26026 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26027 * math/w_exp2f.c (__exp2f): Likewise.
26028 * math/w_exp2l.c (__exp2l): Likewise.
26029 * math/auto-libm-test-in: Do not allow missing errno on exp2
26031 * math/auto-libm-test-out: Regenerated.
26033 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26036 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26037 handle filename validation.
26038 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26041 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26044 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26045 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26046 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26048 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26049 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26050 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26051 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26052 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26053 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26054 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26055 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26056 Add more erfc tests.
26057 * math/auto-libm-test-out: Regenerated.
26058 * sysdeps/i386/fpu/libm-test-ulps: Update.
26059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26061 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26062 exp2, expm1, j0 and j1.
26063 * math/auto-libm-test-out: Regenerated.
26064 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26065 (erfc_test_data): Likewise.
26066 (exp_test_data): Likewise.
26067 (exp_tonearest_test_data): Likewise.
26068 (exp_towardzero_test_data): Likewise.
26069 (exp_downward_test_data): Likewise.
26070 (exp_upward_test_data): Likewise.
26071 (exp10_test_data): Likewise.
26072 (exp2_test_data): Likewise.
26073 (expm1_test_data): Likewise.
26074 (j0_test_data): Likewise.
26075 (j1_test_data): Likewise.
26076 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26077 (input_flag_type): Add flag_xfail_rounding.
26078 (input_flags): Add xfail-rounding.
26079 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26080 (output_for_one_input_case): Handle flag_xfail_rounding.
26081 * sysdeps/i386/fpu/libm-test-ulps: Update.
26082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26084 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26087 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26090 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26093 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26094 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26095 (STAP_PROBE0): New macro.
26096 (STAP_PROBE1): Likewise.
26097 (STAP_PROBE2): Likewise.
26098 (STAP_PROBE3): Likewise.
26099 (STAP_PROBE4): Likewise.
26101 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26103 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26105 2013-12-02 Steve Ellcey <sellcey@mips.com>
26107 * benchtests/Makefile (bench): Add sqrt.
26108 (LDLIBS-bench-sqrt): New.
26109 * benchtests/sqrt-input: New.
26111 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26113 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26114 (GAIH_EAI): Likewise.
26115 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26116 (gaih_inet): Likewise.
26117 (getaddrinfo): Don't use GAIH_EAI.
26119 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26120 (struct gaih): Remove definition.
26122 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26124 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26125 Use HERRNOP directly.
26127 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26131 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26133 * math/gen-auto-libm-tests.c (test_functions): Add more
26134 single-argument functions.
26135 (special_fill_pi_2): New function.
26136 (special_fill_minus_pi_2): Likewise.
26137 (special_fill_pi_6): Likewise.
26138 (special_fill_minus_pi_6): Likewise.
26139 (special_fill_pi_3): Likewise.
26140 (special_fill_2pi_3): Likewise.
26141 (special_fill_e): Likewise.
26142 (special_fill_1_e): Likewise.
26143 (special_fill_e_minus_1): Likewise.
26144 (special_real_inputs): Add more special inputs.
26145 (output_for_one_input_case): Do not require ERANGE on underflow to
26146 zero if round-to-nearest result does not underflow to zero, unless
26147 exact results required.
26148 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26149 atan, atanh, cbrt, cos and cosh.
26150 * math/auto-libm-test-out: Regenerated.
26151 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26152 (acos_tonearest_test_data): Likewise.
26153 (acos_towardzero_test_data): Likewise.
26154 (acos_downward_test_data): Likewise.
26155 (acos_upward_test_data): Likewise.
26156 (acosh_test_data): Likewise.
26157 (asin_test_data): Likewise.
26158 (asin_tonearest_test_data): Likewise.
26159 (asin_towardzero_test_data): Likewise.
26160 (asin_upward_test_data): Likewise.
26161 (asinh_test_data): Likewise.
26162 (atan_test_data): Likewise.
26163 (atanh_test_data): Likewise.
26164 (cbrt_test_data): Likewise.
26165 (cos_test_data): Likewise.
26166 (cos_tonearest_test_data): Likewise.
26167 (cos_towardzero_test_data): Likewise.
26168 (cos_downward_test_data): Likewise.
26169 (cos_upward_test_data): Likewise.
26170 (cosh_test_data): Likewise.
26171 (cosh_tonearest_test_data): Likewise.
26172 (cosh_towardzero_test_data): Likewise.
26173 (cosh_downward_test_data): Likewise.
26174 (cosh_upward_test_data): Likewise.
26175 * sysdeps/i386/fpu/libm-test-ulps: Update.
26176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26178 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26181 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26182 * math/w_exp10f.c (__exp10f): Likewise.
26183 * math/w_exp10l.c (__exp10l): Likewise.
26184 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26185 errno settings in existing tests.
26188 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26189 precision control set to double precision.
26190 * sysdeps/i386/fpu/w_sqrt.c: New file.
26191 * math/auto-libm-test-in: Add more tests.
26192 * math/auto-libm-test-out: Update.
26194 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26195 (sqrt_test_tonearest): New function.
26196 (sqrt_towardzero_test_data): New variable.
26197 (sqrt_test_towardzero): New function.
26198 (sqrt_downward_test_data): New variable.
26199 (sqrt_test_downward): New function.
26200 (sqrt_upward_test_data): New variable.
26201 (sqrt_test_upward): New function.
26202 (main): Call the new functions.
26204 * math/gen-auto-libm-tests.c: New file.
26205 * math/auto-libm-test-in: Likewise.
26206 * math/auto-libm-test-out: New generated file.
26207 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26209 (%beautify): Add generated representations of zero.
26210 (top level): Set $auto_input and call parse_auto_input.
26211 (beautify): Remove trailing "f" from hex float constants.
26212 (parse_args): Handle XFAIL_TEST.
26213 (convert_condition): New function.
26214 (or_value): Likewise.
26215 (or_cond_value): Likewise.
26216 (generate_testfile): Handle AUTO_TESTS_* lines.
26217 (parse_auto_input): New function.
26218 * math/libm-test.inc (XFAIL_TEST): New macro.
26219 (ERRNO_UNCHANGED): Update value.
26220 (ERRNO_EDOM): Likewise.
26221 (ERRNO_ERANGE): Likewise.
26222 (IGNORE_RESULT): Likewise.
26223 (TEST_COND_flt_32): New macro.
26224 (TEST_COND_dbl_64): Likewise.
26225 (TEST_COND_ldbl_96_intel): Likewise.
26226 (TEST_COND_ldbl_96_m68k): Likewise.
26227 (TEST_COND_ldbl_128): Likewise.
26228 (TEST_COND_ldbl_128ibm): Likewise.
26229 (TEST_COND_long32): Likewise.
26230 (TEST_COND_long64): Likewise.
26231 (TEST_COND_before_rounding): Likewise.
26232 (TEST_COND_after_rounding): Likewise.
26233 (enable_test): Handle XFAIL_TEST flag.
26234 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26235 with finite results.
26236 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26237 auto-libm-test-out.
26239 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26240 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26243 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26244 __tls_get_addr_internal instead of __tls_get_offset in order to
26245 avoid GOT pointer dependency. Make rtld export
26246 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26247 __tls_get_addr since we are a __tls_get_offset platform.
26248 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26249 GOT pointer being set up before.
26250 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26252 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26254 * manual/math.texi (Errors in Math Functions): Document accuracy
26258 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26259 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26262 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26264 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26275 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26276 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26277 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26278 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26279 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26281 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26283 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26285 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26286 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26287 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26288 atomic-feupdateenv and flt-rounds.
26289 * sysdeps/powerpc/nofpu/Versions (libc): Add
26290 __atomic_feholdexcept, __atomic_feclearexcept,
26291 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26292 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26293 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26294 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26295 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26300 * manual/arith.texi (FP Exceptions): Document that exceptions may
26301 not be raised when matherr is used.
26302 (Math Error Reporting): Document overflow in directed rounding
26303 modes. Document that errno may not be set when finite values are
26304 returned on overflow. Document intent to set errno on underflow
26305 only for underflow to zero.
26308 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26309 round-to-nearest then adjust result for other rounding modes.
26310 * include/fenv.h (fegetround): Use libm_hidden_proto.
26311 * math/fegetround.c (fegetround): Use libm_hidden_def.
26312 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26313 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26314 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26315 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26317 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26318 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26319 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26320 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26322 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26325 * nss/Versions (libnss_files): Add
26326 _nss_files_gethostbyname3_r.
26327 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26329 (HOST_DB_LOOKUP): Remove macro.
26330 (_nss_files_gethostbyname_r): Implement function without the
26331 HOST_DB_LOOKUP macro.
26332 (_nss_files_gethostbyname2_r): Likewise.
26334 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26336 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26338 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26340 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26341 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26344 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26346 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26347 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26348 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26349 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26350 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26351 __fe_nomask_env_priv and attribute_hidden.
26352 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26353 (libc_feupdateenv_test_ppc): Likewise.
26354 (libc_feresetround_ppc): Likewise.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26356 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26357 compat_symbol macro.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26359 (__fe_nomask_env): Likewise.
26360 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26362 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26364 * string/Makefile: Remove ifunc tests.
26365 * string/test-string.h: Define TEST_IFUNC.
26366 * string/test-bcopy-ifunc.c: Remove.
26367 * string/test-bzero-ifunc.c: Likewise.
26368 * string/test-memccpy-ifunc.c: Likewise.
26369 * string/test-memchr-ifunc.c: Likewise.
26370 * string/test-memcmp-ifunc.c: Likewise.
26371 * string/test-memcpy-ifunc.c: Likewise.
26372 * string/test-memmem-ifunc.c: Likewise.
26373 * string/test-memmove-ifunc.c: Likewise.
26374 * string/test-mempcpy-ifunc.c: Likewise.
26375 * string/test-memrchr-ifunc.c: Likewise.
26376 * string/test-memset-ifunc.c: Likewise.
26377 * string/test-rawmemchr-ifunc.c: Likewise.
26378 * string/test-stpcpy-ifunc.c: Likewise.
26379 * string/test-stpncpy-ifunc.c: Likewise.
26380 * string/test-strcasecmp-ifunc.c: Likewise.
26381 * string/test-strcasestr-ifunc.c: Likewise.
26382 * string/test-strcat-ifunc.c: Likewise.
26383 * string/test-strchr-ifunc.c: Likewise.
26384 * string/test-strchrnul-ifunc.c: Likewise.
26385 * string/test-strcmp-ifunc.c: Likewise.
26386 * string/test-strcpy-ifunc.c: Likewise.
26387 * string/test-strcspn-ifunc.c: Likewise.
26388 * string/test-strlen-ifunc.c: Likewise.
26389 * string/test-strncasecmp-ifunc.c: Likewise.
26390 * string/test-strncat-ifunc.c: Likewise.
26391 * string/test-strncmp-ifunc.c: Likewise.
26392 * string/test-strncpy-ifunc.c: Likewise.
26393 * string/test-strnlen-ifunc.c: Likewise.
26394 * string/test-strpbrk-ifunc.c: Likewise.
26395 * string/test-strrchr-ifunc.c: Likewise.
26396 * string/test-strspn-ifunc.c: Likewise.
26397 * string/test-strstr-ifunc.c: Likewise.
26399 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26401 * benchtests/Makefile: Remove ifunc tests.
26402 * benchtests/bench-string.h: Define TEST_IFUNC.
26403 * benchtests/bench-bcopy-ifunc.c: Remove.
26404 * benchtests/bench-bzero-ifunc.c: Likewise.
26405 * benchtests/bench-memccpy-ifunc.c: Likewise.
26406 * benchtests/bench-memchr-ifunc.c: Likewise.
26407 * benchtests/bench-memcmp-ifunc.c: Likewise.
26408 * benchtests/bench-memcpy-ifunc.c: Likewise.
26409 * benchtests/bench-memmem-ifunc.c: Likewise.
26410 * benchtests/bench-memmove-ifunc.c: Likewise.
26411 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26412 * benchtests/bench-memrchr-ifunc.c: Likewise.
26413 * benchtests/bench-memset-ifunc.c: Likewise.
26414 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26415 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26416 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26417 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26418 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26419 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26420 * benchtests/bench-strcat-ifunc.c: Likewise.
26421 * benchtests/bench-strchr-ifunc.c: Likewise.
26422 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26423 * benchtests/bench-strcmp-ifunc.c: Likewise.
26424 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26425 * benchtests/bench-strcpy-ifunc.c: Likewise.
26426 * benchtests/bench-strcspn-ifunc.c: Likewise.
26427 * benchtests/bench-strlen-ifunc.c: Likewise.
26428 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26429 * benchtests/bench-strncat-ifunc.c: Likewise.
26430 * benchtests/bench-strncmp-ifunc.c: Likewise.
26431 * benchtests/bench-strncpy-ifunc.c: Likewise.
26432 * benchtests/bench-strnlen-ifunc.c: Likewise.
26433 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26434 * benchtests/bench-strrchr-ifunc.c: Likewise.
26435 * benchtests/bench-strsep-ifunc.c: Likewise.
26436 * benchtests/bench-strspn-ifunc.c: Likewise.
26437 * benchtests/bench-strstr-ifunc.c: Likewise.
26439 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26441 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26443 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26445 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26446 * rt/aio.h: Likewise.
26447 * sysdeps/gnu/bits/utmp.h: Likewise.
26448 * sysdeps/gnu/bits/utmpx.h: Likewise.
26449 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26450 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26451 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26452 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26453 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26454 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26455 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26456 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26457 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26458 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26459 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26460 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26461 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26463 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26464 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26465 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26466 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26467 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26468 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26469 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26470 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26471 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26472 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26473 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26475 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26476 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26477 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26478 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26479 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26480 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26481 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26482 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26483 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26484 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26485 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26486 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26487 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26488 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26489 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26490 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26492 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26495 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26496 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26498 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26500 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26504 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26507 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26508 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26509 (__fesetround): Remove define.
26510 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26511 rounding and exceptions handling.
26512 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26513 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26514 (__fe_nomask_env): Likewise.
26515 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26516 __fegetround instead of fegetround.
26517 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26518 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26520 2013-11-21 Roland McGrath <roland@hack.frob.com>
26522 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26525 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26527 2013-11-21 Meador Inge <meadori@codesourcery.com>
26530 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26531 (encrypt_r): Likewise.
26532 * malloc/obstack.h (obstack_free): Likewise.
26533 * posix/unistd.h (encrypt): Likewise.
26535 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26537 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26538 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26539 DL_CALL_DT_FINI() that call the functions directly.
26540 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26541 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26542 * elf/dl-fini.c: Likewise.
26544 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26546 * malloc/hooks.c (memalign_check): Add alignment rounding.
26547 * malloc/malloc.c (_mid_memalign): New function.
26548 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26549 Implement by calling _mid_memalign.
26550 * manual/probes.texi (Memory Allocation Probes): Remove
26551 memory_valloc_retry and memory_pvalloc_retry.
26553 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26555 * locale/programs/locarchive.c (open_archive): Add const
26556 qualifier to ARCHIVEFNAME and copy default fname to
26560 * libio/tst-widetext.input: Rename Oriya to Odia.
26561 * locale/iso-639.def: Likewise.
26563 * manual/probes.texi (Mathematical Function Probes): Add
26564 documentation for sin, cos, asin and acos probes.
26565 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26566 (__sin32): Add slowasin probe.
26567 (__cos32): Add slowacos probe.
26568 (__mpsin): Add slowsin probe.
26569 (__mpcos): Add slowcos probe.
26571 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26574 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26575 thread-local __sim_exceptions_thread and global
26576 __sim_exceptions_global.
26577 (__sim_disabled_exceptions): Change to thread-local
26578 __sim_disabled_exceptions_thread and global
26579 __sim_disabled_exceptions_global.
26580 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26581 and global __sim_round_mode_global.
26582 (__simulate_exceptions): Use thread-local floating-point state and
26583 set global state from it as needed.
26584 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26585 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26586 __sim_round_mode_thread.
26587 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26588 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26589 and global __sim_exceptions_global.
26590 (__sim_disabled_exceptions): Change to thread-local
26591 __sim_disabled_exceptions_thread and global
26592 __sim_disabled_exceptions_global.
26593 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26594 and global __sim_round_mode_global.
26595 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26596 (SIM_SET_GLOBAL): Likewise.
26597 * sysdeps/powerpc/soft-fp/sfp-machine.h
26598 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26599 __sim_round_mode_thread.
26600 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26601 __sim_disabled_exceptions_thread.
26602 (__sim_exceptions): Change to __sim_exceptions_thread.
26603 (__sim_disabled_exceptions): Change to
26604 __sim_disabled_exceptions_thread.
26605 (__sim_round_mode): Change to __sim_round_mode_thread.
26606 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26607 thread-local floating-point state and set global state from it as
26609 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26610 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26611 (__sim_disabled_exceptions): Remove extern declaration.
26612 (feenableexcept): Use thread-local floating-point state and set
26613 global state from it as needed.
26614 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26615 extern declaration.
26616 (__sim_disabled_exceptions): Likewise.
26617 (__sim_round_mode): Likewise.
26618 (__fegetenv): Use thread-local floating-point state.
26619 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26620 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26621 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26622 floating-point state and set global state from it as needed.
26623 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26624 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26625 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26627 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26628 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26630 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26631 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26632 Use __sim_round_mode_thread.
26633 * math/test-fenv-tls.c: New file.
26634 * math/Makefile (tests): Add test-fenv-tls.
26635 ($(objpfx)test-fenv-tls): Depend on
26636 $(common-objpfx)nptl/libpthread.so.
26638 2013-11-19 Andreas Schwab <schwab@suse.de>
26640 * locale/programs/locale.c (show_info): Decode wordarray elements.
26641 * locale/categories.def (LC_MONETARY): Add element for
26642 _NL_MONETARY_CRNCYSTR.
26643 * locale/C-monetary.c (conversion_rate): New variable.
26644 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26647 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26649 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26650 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26652 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26654 * elf/Makefile (tst-auxv): New test.
26655 * elf/tst-auxv.c: New
26656 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26658 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26660 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26661 (hidden_proto): Caller changed.
26662 (hidden_tls_proto): New macro.
26663 (libc_hidden_tls_proto): Likewise.
26664 (rtld_hidden_tls_proto): Likewise.
26665 (libm_hidden_tls_proto): Likewise.
26666 (libresolv_hidden_tls_proto): Likewise.
26667 (librt_hidden_tls_proto): Likewise.
26668 (libdl_hidden_tls_proto): Likewise.
26669 (libnss_files_hidden_tls_proto): Likewise.
26670 (libnsl_hidden_tls_proto): Likewise.
26671 (libnss_nisplus_hidden_tls_proto): Likewise.
26672 (libutil_hidden_tls_proto): Likewise.
26674 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26677 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26678 (decompose_rpath): Defer expansion to fillin_rpath.
26679 (_dl_init_paths): Pass linkmap to fillin_rpath.
26681 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26683 * benchtests/Makefile: Add strsep.
26684 * benchtests/bench-strsep.c: New file: strsep benchtest.
26685 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26687 2013-11-18 Andreas Schwab <schwab@suse.de>
26689 * locale/programs/locale.c (show_info) [case byte]: Check for
26690 '\377' instead of '\177'.
26691 * locale/C-monetary.c (not_available): Always use "\377".
26692 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26693 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26694 detect unavailable sign_posn locale elements.
26695 * locale/localeconv.c (__localeconv): For grouping and
26696 mon_grouping handle "\177" and "\377" like no grouping.
26697 (INT_ELEM): New macro. Use it to set all numeric members.
26698 * locale/programs/ld-monetary.c (monetary_read)
26699 <tok_mon_grouping>: Normalize single -1 to the empty string.
26700 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26703 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26706 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26707 when we match (nil).
26708 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26710 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26712 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26713 (NO_TEST_INLINE): Update value.
26714 (ERRNO_UNCHANGED): Likewise.
26715 (ERRNO_EDOM): Likewise.
26716 (ERRNO_ERANGE): Likewise.
26717 (IGNORE_RESULT): Likewise.
26718 (check_float_internal): Check signs of NaN results if
26719 TEST_NAN_SIGN used.
26720 (check_complex): Pass TEST_NAN_SIGN flag through to second
26721 check_float_internal call.
26722 (copysign_test_data): Add tests with quiet NaNs as second
26723 argument. Use TEST_NAN_SIGN.
26724 (fabs_test_data): Add test of negative quiet NaN argument. Use
26726 (signbit_test_data): Add tests of quiet NaN argument.
26727 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26729 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26731 (parse_args): Handle function results specified as IGNORE.
26732 * math/libm-test.inc (IGNORE_RESULT): New macro.
26733 (check_float_internal): Do not check numerical result if flag
26735 (check_complex): Pass through IGNORE_RESULT to second
26736 check_float_internal call.
26737 (check_int): Do not check numerical result if flag IGNORE_RESULT
26739 (check_long): Likewise.
26740 (check_bool): Likewise.
26741 (check_longlong): Likewise.
26742 (lrint_test_data): Add tests of infinite and NaN arguments.
26743 (lrint_tonearest_test_data): Likewise.
26744 (lrint_towardzero_test_data): Likewise.
26745 (lrint_downward_test_data): Likewise.
26746 (lrint_upward_test_data): Likewise.
26747 (llrint_test_data): Likewise.
26748 (llrint_tonearest_test_data): Likewise.
26749 (llrint_towardzero_test_data): Likewise.
26750 (llrint_downward_test_data): Likewise.
26751 (llrint_upward_test_data): Likewise.
26752 (lround_test_data): Likewise.
26753 (llround_test_data): Likewise.
26755 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26756 (ERRNO_UNCHANGED): Update value.
26757 (ERRNO_EDOM): Likewise.
26758 (ERRNO_ERANGE): Likewise.
26759 (NO_TEST_INLINE_FLOAT): New macro.
26760 (NO_TEST_INLINE_DOUBLE): Likewise.
26761 (enable_test): New function.
26762 (RUN_TEST_f_f): Check enable_test before running test.
26763 (RUN_TEST_2_f): Likewise.
26764 (RUN_TEST_fff_f): Likewise.
26765 (RUN_TEST_c_f): Likewise.
26766 (RUN_TEST_f_f1): Likewise.
26767 (RUN_TEST_fF_f1): Likewise.
26768 (RUN_TEST_fI_f1): Likewise.
26769 (RUN_TEST_ffI_f1): Likewise.
26770 (RUN_TEST_c_c): Likewise.
26771 (RUN_TEST_cc_c): Likewise.
26772 (RUN_TEST_f_i): Likewise.
26773 (RUN_TEST_f_i_tg): Likewise.
26774 (RUN_TEST_ff_i_tg): Likewise.
26775 (RUN_TEST_f_b): Likewise.
26776 (RUN_TEST_f_b_tg): Likewise.
26777 (RUN_TEST_f_l): Likewise.
26778 (RUN_TEST_f_L): Likewise.
26779 (RUN_TEST_fFF_11): Likewise.
26780 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26782 (cosh_test_data): Likewise.
26783 (exp_test_data): Likewise.
26784 (expm1_test_data): Likewise.
26785 (hypot_test_data): Likewise.
26786 (pow_test_data): Likewise.
26787 (sinh_test_data): Likewise.
26788 (tanh_test_data): Likewise.
26789 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26792 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26793 tests with quiet NaN input and output.
26794 (acosh_test_data): Likewise.
26795 (asin_test_data): Likewise.
26796 (asinh_test_data): Likewise.
26797 (atan_test_data): Likewise.
26798 (atanh_test_data): Likewise.
26799 (atan2_test_data): Likewise.
26800 (cbrt_test_data): Likewise.
26801 (cos_test_data): Likewise.
26802 (cosh_test_data): Likewise.
26803 (erf_test_data): Likewise.
26804 (erfc_test_data): Likewise.
26805 (exp_test_data): Likewise.
26806 (exp10_test_data): Likewise.
26807 (exp2_test_data): Likewise.
26808 (expm1_test_data): Likewise.
26809 (hypot_test_data): Likewise.
26810 (j0_test_data): Likewise.
26811 (j1_test_data): Likewise.
26812 (jn_test_data): Likewise.
26813 (lgamma_test_data): Likewise.
26814 (log_test_data): Likewise.
26815 (log10_test_data): Likewise.
26816 (log1p_test_data): Likewise.
26817 (log2_test_data): Likewise.
26818 (pow_test_data): Likewise.
26819 (scalb_test_data): Likewise.
26820 (sin_test_data): Likewise.
26821 (sincos_test_data): Likewise.
26822 (sinh_test_data): Likewise.
26823 (tan_test_data): Likewise.
26824 (tanh_test_data): Likewise.
26825 (tgamma_test_data): Likewise.
26826 (y0_test_data): Likewise.
26827 (y1_test_data): Likewise.
26828 (yn_test_data): Likewise.
26831 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26832 argument being NaN and avoid computations with second argument in
26834 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26835 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26836 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26838 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26840 * locale/iso-639.def: Add Chitwani Tharu (the).
26842 2013-11-14 Andreas Schwab <schwab@suse.de>
26844 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26845 word instead of empty string.
26847 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26850 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26852 (__fe_nomask_env): Likewise.
26854 2013-11-13 Steve Ellcey <sellcey@mips.com>
26856 * benchtests/bench-timing.h: Include time.h.
26858 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26861 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26863 * sysdeps/unix/sysv/linux/configure: Regenerated.
26865 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26868 * stdlib/strtod_l.c (round_and_return): Do not consider
26869 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26870 exponent one less than half the least subnormal exponent.
26871 * stdlib/test-strtod-round-data: Add more tests.
26872 * stdlib/tst-strtod-round.c (tests): Regenerated.
26874 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26877 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26878 (__fe_mask_env): Likewise.
26879 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26880 libm_hidden_proto and add function prototype.
26881 (__fe_mask_env): Add function prototype.
26882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26883 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26885 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26887 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26889 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26891 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26892 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26894 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26896 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26897 of htab_find_slot().
26899 2013-11-11 David S. Miller <davem@davemloft.net>
26902 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26903 symbol in the non-vis3 case in static builds.
26904 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26905 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26906 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26907 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26909 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26912 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26915 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26917 * benchtests/Makefile: Add bench-strtod.
26918 * benchtests/bench-strtod.c: New file: strtod benchtest
26920 2013-11-11 Andreas Schwab <schwab@suse.de>
26923 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26924 terminating NUL in key length.
26926 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26929 Add artificial ODP entry for vDSO symbol for PPC64.
26930 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26931 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26933 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26936 * nss/getent.c (services_keys): Recognize services starting with digit.
26938 2013-11-06 David S. Miller <davem@davemloft.net>
26941 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26942 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26944 2013-11-06 Will Newton <will.newton@linaro.org>
26946 * manual/memory.texi (Malloc Examples): Remove register
26947 keyword from examples.
26949 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26951 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26953 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26956 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26957 depending on [__GCC_IEC_559 > 0].
26958 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26959 depending on [__GCC_IEC_559_COMPLEX > 0].
26961 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26963 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26966 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26968 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26970 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26973 * malloc/malloc (malloc_info): Do not handle first bin as
26976 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26978 * locale/iso-639.def: Add Central Nahuatl (nhn).
26980 2013-11-01 Bruno Haible <bruno@clisp.org>
26983 * manual/math.texi (BSD Random): Specify range upper bound as
26986 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26988 * locale/iso-639.def: Add Meadow Mari (mhr).
26990 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26992 [BZ #14752], [BZ #15763]
26993 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26995 * rt/tst_shm.c: Add test for escaping directory.
26997 2013-10-31 Andreas Schwab <schwab@suse.de>
27000 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27001 followed by 'x' as part of digit sequence.
27002 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27004 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27007 * configure.ac: allow GNU Make 4.0 and greater.
27008 * configure: Regenerated.
27010 2013-10-30 Will Newton <will.newton@linaro.org>
27013 * malloc/hooks.c (memalign_check): Limit alignment to the
27014 maximum representable power of two.
27015 * malloc/malloc.c (__libc_memalign): Likewise.
27016 * malloc/tst-memalign.c (do_test): Add test for very
27017 large alignment values.
27018 * malloc/tst-posix_memalign.c (do_test): Likewise.
27020 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27023 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27024 (munmap_chunk): Likewise.
27025 (mremap_chunk): Likewise.
27027 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27030 * stdlib/div.c (div): Remove obsolete code.
27031 * stdlib/ldiv.c (ldiv): Likewise.
27032 * stdlib/lldiv.c (lldiv): Likewise.
27034 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27037 * nss/nss_files/files-XXX.c (get_contents_ret): New
27039 (get_contents): New function.
27040 (internal_getent): Use it. Expand size of LINEBUFLEN.
27042 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27044 * configure.in: Moved to ...
27045 * configure.ac: ... here. Change reference to configure.in
27047 * sysdeps/arm/preconfigure.ac: ... here.
27048 configure.in to configure.ac.
27049 * sysdeps/gnu/configure.in: Moved to ...
27050 * sysdeps/gnu/configure.ac: ... here.
27051 * sysdeps/i386/configure.in: Moved to ...
27052 * sysdeps/i386/configure.ac: ... here.
27053 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27054 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27055 * sysdeps/mach/configure.in: Moved to ...
27056 * sysdeps/mach/configure.ac: ... here.
27057 * sysdeps/mach/hurd/configure.in: Moved to ...
27058 * sysdeps/mach/hurd/configure.ac: ... here.
27059 * sysdeps/powerpc/configure.in: Moved to ...
27060 * sysdeps/powerpc/configure.ac: ... here.
27061 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27062 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27063 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27064 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27065 * sysdeps/s390/s390-32/configure.in: Moved to ...
27066 * sysdeps/s390/s390-32/configure.ac: ... here.
27067 * sysdeps/s390/s390-64/configure.in: Moved to ...
27068 * sysdeps/s390/s390-64/configure.ac: ... here.
27069 * sysdeps/sh/configure.in: Moved to ...
27070 * sysdeps/sh/configure.ac: ... here.
27071 * sysdeps/sparc/configure.in: Moved to ...
27072 * sysdeps/sparc/configure.ac: ... here.
27073 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27074 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27075 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27076 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27077 * sysdeps/x86_64/configure.in: Moved to ...
27078 * sysdeps/x86_64/configure.ac: ... here.
27079 * sysdeps/x86_64/preconfigure.in: Moved to ...
27080 * sysdeps/x86_64/preconfigure.ac: ... here.
27081 * aclocal.m4: Change reference to configure.in to configure.ac.
27082 * config.h.in: Likewise.
27083 * manual/install.texi: Likewise.
27084 * manual/maint.texi: Likewise.
27085 * Makefile: Likewise.
27086 * malloc/Makefile: Likewise.
27087 * nscd/Makefile: Likewise.
27088 * Makeconfig: Change reference to configure.in and
27089 preconfigure.in to configure.ac and preconfigure.ac
27091 * INSTALL: Regenerated.
27092 * configure: Likewise.
27093 * sysdeps/gnu/configure: Likewise.
27094 * sysdeps/i386/configure: Likewise.
27095 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27096 * sysdeps/mach/configure: Likewise.
27097 * sysdeps/mach/hurd/configure: Likewise.
27098 * sysdeps/powerpc/configure: Likewise.
27099 * sysdeps/powerpc/powerpc32/configure: Likewise.
27100 * sysdeps/powerpc/powerpc64/configure: Likewise.
27101 * sysdeps/s390/s390-32/configure: Likewise.
27102 * sysdeps/s390/s390-64/configure: Likewise.
27103 * sysdeps/sh/configure: Likewise.
27104 * sysdeps/sparc/configure: Likewise.
27105 * sysdeps/unix/sysv/linux/configure: Likewise.
27106 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27107 * sysdeps/x86_64/configure: Likewise.
27108 * sysdeps/x86_64/preconfigure: Likewise.
27110 2013-10-29 Andreas Schwab <schwab@suse.de>
27112 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27114 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27116 * benchtests/pow-inputs: Add new inputs.
27118 * benchtests/exp-inputs: Add new inputs.
27120 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27121 conditional check for return value.
27122 (__cos32): Likewise.
27124 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27126 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27127 to provide a boost for large inputs with word alignment.
27128 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27129 implementation based on optimized PPC64 strcpy.
27130 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27131 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27132 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27133 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27135 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27138 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27140 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27143 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27144 * time/tst-strptime.c (day_tests): Add testcase.
27146 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27149 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27151 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27154 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27155 MAP_FAILED on error.
27157 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27160 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27161 heap for large requests.
27163 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27166 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27167 result if the result has no associated interface.
27168 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27169 interface for all 127.X.Y.Z addresses.
27171 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27173 * locale/iso-639.def: Add Ligurian (lij)
27175 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27178 * sunrpc/rpc_main.c: Document rpcgen -5.
27180 2013-10-19 Michael Stahl <mstahl@redhat.com>
27182 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27184 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27187 * posix/glob.c: Match only directories when trailing slash is present.
27188 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27189 (main): Add testcase.
27191 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27194 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27196 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27198 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27199 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27200 AUTH_DES and cindex for FIPS 140-2.
27201 (DES Encryption): Add cindex FIPS 46-3.
27203 * locale/locarchive.h (struct locarhandle): Add fname.
27204 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27205 if an optional argument was specified to --list-archive,
27207 * locale/programs/locarchive.c (show_archive_content): Take new
27208 argument fname and pass it via ah.fname to open_archive.
27209 * locale/programs/localedef.h: Update decl.
27210 (open_archive): If AH->fname is non-null, open that file
27211 rather than the default file name, and don't ignore ENOENT.
27212 (create_archive): Set AH.fname to NULL.
27213 (delete_locales_from_archive): Likewise.
27214 (add_locales_to_archive): Likewise.
27215 * locale/programs/locfile.c (write_all_categories): Likewise.
27217 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27218 Aldy Hernandez <aldyh@redhat.com>
27220 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27221 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27222 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27223 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27224 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27225 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27226 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27227 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27228 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27229 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27230 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27231 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27232 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27233 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27234 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27236 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27238 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27240 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27242 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27243 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27245 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27246 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27247 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27248 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27250 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27251 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27252 * sysdeps/powerpc/preconfigure: Likewise.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27255 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27256 Replace contents of file by #include of <fenv_libc.h>.
27257 * sysdeps/powerpc/soft-fp/sfp-machine.h
27258 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27260 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27261 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27262 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27263 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27264 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27265 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27267 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27268 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27269 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27270 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27271 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27273 Allow copysignl PLT reference to be missing.
27275 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27276 Joseph Myers <joseph@codesourcery.com
27279 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27281 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27283 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27285 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27286 * elf/tst-tls1.c: Likewise.
27287 * elf/tst-tls10.h: Likewise.
27288 * elf/tst-tls14.c: Likewise.
27289 * elf/tst-tls2.c: Likewise.
27290 * elf/tst-tls3.c: Likewise.
27291 * elf/tst-tls4.c: Likewise.
27292 * elf/tst-tls5.c: Likewise.
27293 * elf/tst-tls6.c: Likewise.
27294 * elf/tst-tls7.c: Likewise.
27295 * elf/tst-tls8.c: Likewise.
27296 * elf/tst-tls9.c: Likewise.
27297 * elf/tst-tlsmod1.c: Likewise.
27298 * elf/tst-tlsmod13.c: Likewise.
27299 * elf/tst-tlsmod13a.c: Likewise.
27300 * elf/tst-tlsmod14a.c: Likewise.
27301 * elf/tst-tlsmod16a.c: Likewise.
27302 * elf/tst-tlsmod16b.c: Likewise.
27303 * elf/tst-tlsmod2.c: Likewise.
27304 * elf/tst-tlsmod3.c: Likewise.
27305 * elf/tst-tlsmod4.c: Likewise.
27306 * elf/tst-tlsmod5.c: Likewise.
27307 * elf/tst-tlsmod6.c: Likewise.
27309 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27312 * malloc/malloc.c: remove checks for statistics.
27314 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27317 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27318 * inet/tst-network.c: Add testcase.
27320 2013-10-17 Andreas Schwab <schwab@suse.de>
27323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27324 to determine canonical name.
27326 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27328 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27329 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27331 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27333 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27334 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27343 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27352 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27353 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27354 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27358 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27368 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27369 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27370 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27371 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27372 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27374 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27375 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27376 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27377 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27378 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27387 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27390 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27391 make result into a quiet NaN.
27393 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27395 * soft-fp/adddf3.c: Fix horizontal whitespace.
27396 * soft-fp/addsf3.c: Likewise.
27397 * soft-fp/addtf3.c: Likewise.
27398 * soft-fp/divdf3.c: Likewise.
27399 * soft-fp/divsf3.c: Likewise.
27400 * soft-fp/divtf3.c: Likewise.
27401 * soft-fp/double.h: Likewise.
27402 * soft-fp/eqdf2.c: Likewise.
27403 * soft-fp/eqsf2.c: Likewise.
27404 * soft-fp/eqtf2.c: Likewise.
27405 * soft-fp/extenddftf2.c: Likewise.
27406 * soft-fp/extended.h: Likewise.
27407 * soft-fp/extendsfdf2.c: Likewise.
27408 * soft-fp/extendsftf2.c: Likewise.
27409 * soft-fp/extendxftf2.c: Likewise.
27410 * soft-fp/fixdfdi.c: Likewise.
27411 * soft-fp/fixdfsi.c: Likewise.
27412 * soft-fp/fixdfti.c: Likewise.
27413 * soft-fp/fixsfdi.c: Likewise.
27414 * soft-fp/fixsfsi.c: Likewise.
27415 * soft-fp/fixsfti.c: Likewise.
27416 * soft-fp/fixtfdi.c: Likewise.
27417 * soft-fp/fixtfsi.c: Likewise.
27418 * soft-fp/fixtfti.c: Likewise.
27419 * soft-fp/fixunsdfdi.c: Likewise.
27420 * soft-fp/fixunsdfsi.c: Likewise.
27421 * soft-fp/fixunsdfti.c: Likewise.
27422 * soft-fp/fixunssfdi.c: Likewise.
27423 * soft-fp/fixunssfsi.c: Likewise.
27424 * soft-fp/fixunssfti.c: Likewise.
27425 * soft-fp/fixunstfdi.c: Likewise.
27426 * soft-fp/fixunstfsi.c: Likewise.
27427 * soft-fp/fixunstfti.c: Likewise.
27428 * soft-fp/floatdidf.c: Likewise.
27429 * soft-fp/floatdisf.c: Likewise.
27430 * soft-fp/floatditf.c: Likewise.
27431 * soft-fp/floatsidf.c: Likewise.
27432 * soft-fp/floatsisf.c: Likewise.
27433 * soft-fp/floatsitf.c: Likewise.
27434 * soft-fp/floattidf.c: Likewise.
27435 * soft-fp/floattisf.c: Likewise.
27436 * soft-fp/floattitf.c: Likewise.
27437 * soft-fp/floatundidf.c: Likewise.
27438 * soft-fp/floatundisf.c: Likewise.
27439 * soft-fp/floatunditf.c: Likewise.
27440 * soft-fp/floatunsidf.c: Likewise.
27441 * soft-fp/floatunsisf.c: Likewise.
27442 * soft-fp/floatunsitf.c: Likewise.
27443 * soft-fp/floatuntidf.c: Likewise.
27444 * soft-fp/floatuntisf.c: Likewise.
27445 * soft-fp/floatuntitf.c: Likewise.
27446 * soft-fp/fmadf4.c: Likewise.
27447 * soft-fp/fmasf4.c: Likewise.
27448 * soft-fp/fmatf4.c: Likewise.
27449 * soft-fp/gedf2.c: Likewise.
27450 * soft-fp/gesf2.c: Likewise.
27451 * soft-fp/getf2.c: Likewise.
27452 * soft-fp/ledf2.c: Likewise.
27453 * soft-fp/lesf2.c: Likewise.
27454 * soft-fp/letf2.c: Likewise.
27455 * soft-fp/muldf3.c: Likewise.
27456 * soft-fp/mulsf3.c: Likewise.
27457 * soft-fp/multf3.c: Likewise.
27458 * soft-fp/negdf2.c: Likewise.
27459 * soft-fp/negsf2.c: Likewise.
27460 * soft-fp/negtf2.c: Likewise.
27461 * soft-fp/op-1.h: Likewise.
27462 * soft-fp/op-2.h: Likewise.
27463 * soft-fp/op-4.h: Likewise.
27464 * soft-fp/op-8.h: Likewise.
27465 * soft-fp/op-common.h: Likewise.
27466 * soft-fp/quad.h: Likewise.
27467 * soft-fp/single.h: Likewise.
27468 * soft-fp/soft-fp.h: Likewise.
27469 * soft-fp/sqrtdf2.c: Likewise.
27470 * soft-fp/sqrtsf2.c: Likewise.
27471 * soft-fp/sqrttf2.c: Likewise.
27472 * soft-fp/subdf3.c: Likewise.
27473 * soft-fp/subsf3.c: Likewise.
27474 * soft-fp/subtf3.c: Likewise.
27475 * soft-fp/truncdfsf2.c: Likewise.
27476 * soft-fp/trunctfdf2.c: Likewise.
27477 * soft-fp/trunctfsf2.c: Likewise.
27478 * soft-fp/trunctfxf2.c: Likewise.
27479 * soft-fp/unorddf2.c: Likewise.
27480 * soft-fp/unordsf2.c: Likewise.
27481 * soft-fp/unordtf2.c: Likewise.
27483 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27485 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27486 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27488 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27490 * elf/dl-libc.c: Clear initfini list after freeing.
27492 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27494 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27495 * soft-fp/addsf3.c: Likewise.
27496 * soft-fp/addtf3.c: Likewise.
27497 * soft-fp/divdf3.c: Likewise.
27498 * soft-fp/divsf3.c: Likewise.
27499 * soft-fp/divtf3.c: Likewise.
27500 * soft-fp/double.h: Likewise.
27501 * soft-fp/eqdf2.c: Likewise.
27502 * soft-fp/eqsf2.c: Likewise.
27503 * soft-fp/eqtf2.c: Likewise.
27504 * soft-fp/extenddftf2.c: Likewise.
27505 * soft-fp/extended.h: Likewise.
27506 * soft-fp/extendsfdf2.c: Likewise.
27507 * soft-fp/extendsftf2.c: Likewise.
27508 * soft-fp/extendxftf2.c: Likewise.
27509 * soft-fp/fixdfdi.c: Likewise.
27510 * soft-fp/fixdfsi.c: Likewise.
27511 * soft-fp/fixdfti.c: Likewise.
27512 * soft-fp/fixsfdi.c: Likewise.
27513 * soft-fp/fixsfsi.c: Likewise.
27514 * soft-fp/fixsfti.c: Likewise.
27515 * soft-fp/fixtfdi.c: Likewise.
27516 * soft-fp/fixtfsi.c: Likewise.
27517 * soft-fp/fixtfti.c: Likewise.
27518 * soft-fp/fixunsdfdi.c: Likewise.
27519 * soft-fp/fixunsdfsi.c: Likewise.
27520 * soft-fp/fixunsdfti.c: Likewise.
27521 * soft-fp/fixunssfdi.c: Likewise.
27522 * soft-fp/fixunssfsi.c: Likewise.
27523 * soft-fp/fixunssfti.c: Likewise.
27524 * soft-fp/fixunstfdi.c: Likewise.
27525 * soft-fp/fixunstfsi.c: Likewise.
27526 * soft-fp/fixunstfti.c: Likewise.
27527 * soft-fp/floatdidf.c: Likewise.
27528 * soft-fp/floatdisf.c: Likewise.
27529 * soft-fp/floatditf.c: Likewise.
27530 * soft-fp/floatsidf.c: Likewise.
27531 * soft-fp/floatsisf.c: Likewise.
27532 * soft-fp/floatsitf.c: Likewise.
27533 * soft-fp/floattidf.c: Likewise.
27534 * soft-fp/floattisf.c: Likewise.
27535 * soft-fp/floattitf.c: Likewise.
27536 * soft-fp/floatundidf.c: Likewise.
27537 * soft-fp/floatundisf.c: Likewise.
27538 * soft-fp/floatunsidf.c: Likewise.
27539 * soft-fp/floatunsisf.c: Likewise.
27540 * soft-fp/floatuntidf.c: Likewise.
27541 * soft-fp/floatuntisf.c: Likewise.
27542 * soft-fp/floatuntitf.c: Likewise.
27543 * soft-fp/fmadf4.c: Likewise.
27544 * soft-fp/fmasf4.c: Likewise.
27545 * soft-fp/fmatf4.c: Likewise.
27546 * soft-fp/gedf2.c: Likewise.
27547 * soft-fp/gesf2.c: Likewise.
27548 * soft-fp/getf2.c: Likewise.
27549 * soft-fp/ledf2.c: Likewise.
27550 * soft-fp/lesf2.c: Likewise.
27551 * soft-fp/letf2.c: Likewise.
27552 * soft-fp/muldf3.c: Likewise.
27553 * soft-fp/mulsf3.c: Likewise.
27554 * soft-fp/multf3.c: Likewise.
27555 * soft-fp/negdf2.c: Likewise.
27556 * soft-fp/negsf2.c: Likewise.
27557 * soft-fp/negtf2.c: Likewise.
27558 * soft-fp/op-1.h: Likewise.
27559 * soft-fp/op-2.h: Likewise.
27560 * soft-fp/op-4.h: Likewise.
27561 * soft-fp/op-8.h: Likewise.
27562 * soft-fp/op-common.h: Likewise.
27563 * soft-fp/quad.h: Likewise.
27564 * soft-fp/single.h: Likewise.
27565 * soft-fp/soft-fp.h: Likewise.
27566 * soft-fp/sqrtdf2.c: Likewise.
27567 * soft-fp/sqrtsf2.c: Likewise.
27568 * soft-fp/sqrttf2.c: Likewise.
27569 * soft-fp/subdf3.c: Likewise.
27570 * soft-fp/subsf3.c: Likewise.
27571 * soft-fp/subtf3.c: Likewise.
27572 * soft-fp/truncdfsf2.c: Likewise.
27573 * soft-fp/trunctfdf2.c: Likewise.
27574 * soft-fp/trunctfsf2.c: Likewise.
27575 * soft-fp/trunctfxf2.c: Likewise.
27576 * soft-fp/unorddf2.c: Likewise.
27577 * soft-fp/unordsf2.c: Likewise.
27578 * soft-fp/unordtf2.c: Likewise.
27580 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27583 * misc/error.c (error_tail): Fix possible buffer overflow.
27585 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27588 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27591 2013-10-14 P. J. McDermott <pj@pehjota.net>
27594 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27595 testing pipefail option.
27597 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27599 * soft-fp/double.h: Indent preprocessor directives inside #if.
27600 * soft-fp/extended.h: Likewise.
27601 * soft-fp/op-2.h: Likewise.
27602 * soft-fp/op-4.h: Likewise.
27603 * soft-fp/op-common.h: Likewise.
27604 * soft-fp/quad.h: Likewise.
27605 * soft-fp/single.h: Likewise.
27606 * soft-fp/soft-fp.h: Likewise.
27608 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27610 * iconv/iconv_prog.c: Fix typos.
27611 * stdio-common/psiginfo-data.h: Likewise.
27613 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27616 * locale/setlocale.c: Fix typo.
27618 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27621 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27622 signaling NaN arguments.
27623 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27624 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27627 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27628 unordered operands.
27629 * soft-fp/gesf2.c (__gesf2): Likewise.
27630 * soft-fp/getf2.c (__getf2): Likewise.
27631 * soft-fp/ledf2.c (__ledf2): Likewise.
27632 * soft-fp/lesf2.c (__lesf2): Likewise.
27633 * soft-fp/letf2.c (__letf2): Likewise.
27635 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27636 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27637 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27638 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27639 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27640 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27641 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27642 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27643 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27644 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27645 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27646 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27647 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27648 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27649 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27650 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27651 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27652 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27653 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27654 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27655 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27656 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27657 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27658 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27659 * soft-fp/floattidf.c (__floattidf): Likewise.
27660 * soft-fp/floattisf.c (__floattisf): Likewise.
27661 * soft-fp/floattitf.c (__floattitf): Likewise.
27662 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27663 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27664 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27665 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27666 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27667 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27668 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27669 * soft-fp/gesf2.c (__gesf2): Likewise.
27670 * soft-fp/getf2.c (__getf2): Likewise.
27671 * soft-fp/ledf2.c (__ledf2): Likewise.
27672 * soft-fp/lesf2.c (__lesf2): Likewise.
27673 * soft-fp/letf2.c (__letf2): Likewise.
27675 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27676 Undefine and redefine.
27677 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27678 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27679 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27680 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27681 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27682 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27683 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27684 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27685 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27686 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27687 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27688 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27689 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27690 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27691 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27694 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27695 without decrementing exponent if mantissa >= that for the
27696 denominator, not >.
27697 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27698 denominator, not >. Decrement exponent in < case instead of
27699 incrementing in >= case.
27700 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27701 without decrementing exponent if mantissa >= that for the
27702 denominator, not >.
27704 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27705 computing saturated result for unsigned overflow.
27707 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27708 Jeff Law <law@redhat.com>
27710 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27711 (atan2Mp): Add systemtap probe marker.
27712 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27713 (__ieee754_log): Add systemtap probe marker.
27714 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27715 (atanMp): Add systemtap probe marker.
27716 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27717 (tanMp): Add systemtap probe marker.
27718 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27719 (__slowexp): Add systemtap probe marker.
27720 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27721 (__slowpow): Add systemtap probe marker.
27722 * manual/probes.texi: Document probes.
27724 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27727 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27729 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27731 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27732 written to buffer but not flushed.
27733 * libio/iofwrite_u.c: Likewise.
27734 * libio/iopadn.c: Return bytes returned even if EOF was
27736 * libio/iowpadn.c: Likewise.
27737 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27738 if _IO_padn does not write the whole buffer.
27739 [!COMPILE_WPRINTF] (PAD): Likewise.
27741 2013-10-10 David S. Miller <davem@davemloft.net>
27743 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27746 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27748 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27749 instead of FSF address.
27750 * soft-fp/fixdfti.c: Likewise.
27751 * soft-fp/fixsfti.c: Likewise.
27752 * soft-fp/fixtfti.c: Likewise.
27753 * soft-fp/fixunsdfti.c: Likewise.
27754 * soft-fp/fixunssfti.c: Likewise.
27755 * soft-fp/fixunstfti.c: Likewise.
27756 * soft-fp/floattidf.c: Likewise.
27757 * soft-fp/floattisf.c: Likewise.
27758 * soft-fp/floattitf.c: Likewise.
27759 * soft-fp/floatuntidf.c: Likewise.
27760 * soft-fp/floatuntisf.c: Likewise.
27761 * soft-fp/floatuntitf.c: Likewise.
27762 * soft-fp/trunctfxf2.c: Likewise.
27764 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27765 * soft-fp/fixdfti.c: Likewise.
27766 * soft-fp/fixsfti.c: Likewise.
27767 * soft-fp/fixtfti.c: Likewise.
27768 * soft-fp/fixunsdfti.c: Likewise.
27769 * soft-fp/fixunssfti.c: Likewise.
27770 * soft-fp/fixunstfti.c: Likewise.
27771 * soft-fp/floattidf.c: Likewise.
27772 * soft-fp/floattisf.c: Likewise.
27773 * soft-fp/floattitf.c: Likewise.
27774 * soft-fp/floatuntidf.c: Likewise.
27775 * soft-fp/floatuntisf.c: Likewise.
27776 * soft-fp/floatuntitf.c: Likewise.
27777 * soft-fp/trunctfxf2.c: Likewise.
27779 2013-10-10 David S. Miller <davem@davemloft.net>
27781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27783 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27785 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27786 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27787 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27788 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27789 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27790 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27791 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27794 for NaNs before doing comparisons on argument.
27795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27798 2013-10-10 Will Newton <will.newton@linaro.org>
27800 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27801 passed to _int_memalign does not overflow.
27803 2013-10-10 Torvald Riegel <triegel@redhat.com>
27805 * scripts/bench.pl: Add include-sources directive.
27806 * benchtests/README: Update documentation.
27808 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27810 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27811 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27812 instead of FP_INIT_ROUNDMODE.
27813 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27814 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27817 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27818 copy class of input value.
27819 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27820 not handle exceptions.
27821 * soft-fp/negsf2.c (__negsf2): Likewise.
27822 * soft-fp/negtf2.c (__negtf2): Likewise.
27823 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27825 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27827 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27828 semicolon. From Linux kernel.
27830 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27832 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27834 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27837 * manual/socket.texi: Added statement about buffer
27838 for gethostbyname2_r.
27840 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27842 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27843 Use .p2align directive instead, throughout.
27844 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27845 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27846 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27847 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27849 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27850 * sysdeps/x86_64/strchr.S: Likewise.
27851 * sysdeps/x86_64/strrchr.S: Likewise.
27853 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27855 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27857 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27859 * sysdeps/generic/math_private.h (__mpsin1): Remove
27861 (__mpcos1): Likewise.
27862 (__mpsin): New argument __range_reduce.
27863 (__mpcos): Likewise.
27864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27865 (slow): Use __mpsin and __mpcos.
27869 (sloww1): Likewise.
27870 (sloww2): Likewise.
27871 (bsloww): Likewise.
27872 (bsloww1): Likewise.
27873 (bsloww2): Likewise.
27874 (cslow2): Likewise.
27875 (csloww): Likewise.
27876 (csloww1): Likewise.
27877 (csloww2): Likewise.
27878 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27879 range_reduce. Merge in __mpsin1.
27880 (__mpcos): Likewise.
27881 (__mpsin1): Remove.
27882 (__mpcos1): Likewise.
27884 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27886 * locale/loadlocale.c (_nl_intern_locale_data): Use
27888 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27889 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27890 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27891 obstack data is appropriately aligned.
27892 (obstack_int32_grow_fast): Likewise.
27893 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27894 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27895 (add_locale_uint32_array): Likewise.
27897 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27899 * benchtests/Makefile: Remove ARGLIST and RET variables.
27900 ($(objpfx)bench-%.c): Pass only function name to the script.
27901 * benchtests/README: Update documentation.
27902 * benchtests/acos-inputs: Add new directives.
27903 * benchtests/acosh-inputs: Likewise.
27904 * benchtests/asin-inputs: Likewise.
27905 * benchtests/asinh-inputs: Likewise.
27906 * benchtests/atan-inputs: Likewise.
27907 * benchtests/atanh-inputs: Likewise.
27908 * benchtests/cos-inputs: Likewise.
27909 * benchtests/cosh-inputs: Likewise.
27910 * benchtests/exp-inputs: Likewise.
27911 * benchtests/log-inputs: Likewise.
27912 * benchtests/pow-inputs: Likewise.
27913 * benchtests/rint-inputs: Likewise.
27914 * benchtests/sin-inputs: Likewise.
27915 * benchtests/sinh-inputs: Likewise.
27916 * benchtests/tan-inputs: Likewise.
27917 * benchtests/tanh-inputs: Likewise.
27918 * scripts/bench.pl: Add support for new directives.
27920 2013-10-07 Alan Modra <amodra@gmail.com>
27922 * README: Fix careless merge.
27924 2013-10-05 Alan Modra <amodra@gmail.com>
27926 * NEWS: Mention powerpc64le support and bugs fixed.
27927 * README: Both big-endian and little-endian powerpc64 supported.
27929 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27931 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27932 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27933 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27934 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27936 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27938 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27941 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27943 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27944 Move -mhard-float appending from
27945 ports/sysdeps/powerpc/powerpc32/Makefile.
27946 [$(with-fp) = yes] (ASFLAGS): Likewise.
27947 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27948 * sysdeps/powerpc/nofpu: Move directory from
27949 ports/sysdeps/powerpc/nofpu.
27950 * sysdeps/powerpc/soft-fp: Move directory from
27951 ports/sysdeps/powerpc/soft-fp.
27952 * sysdeps/powerpc/powerpc32/405: Move directory from
27953 ports/sysdeps/powerpc/powerpc32/405.
27954 * sysdeps/powerpc/powerpc32/440: Move directory from
27955 ports/sysdeps/powerpc/powerpc32/440.
27956 * sysdeps/powerpc/powerpc32/464: Move directory from
27957 ports/sysdeps/powerpc/powerpc32/464.
27958 * sysdeps/powerpc/powerpc32/476: Move directory from
27959 ports/sysdeps/powerpc/powerpc32/476.
27960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27961 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27963 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27965 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27967 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27969 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27970 * README: Update for powerpc-*-linux-gnu software floating point
27973 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27974 case to powerpc/powerpc32*.
27975 * sysdeps/unix/sysv/linux/configure: Regenerated.
27977 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27978 (_FPU_MASK_OM): Define as 0x04.
27979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27987 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27990 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27993 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27994 and setcontext_e500.
27996 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27998 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28000 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28002 * manual/threads.texi (Default Thread Attributes): Fix typo.
28004 2013-10-04 Will Newton <will.newton@linaro.org>
28006 * malloc/Makefile: Add tst-memalign.
28007 * malloc/tst-memalign.c: New file.
28009 * malloc/tst-posix_memalign.c: Add comments.
28010 (do_test): Add comments and call free on all potentially
28011 allocated pointers. Add space after cast.
28013 * malloc/tst-pvalloc.c: Add comments.
28014 (do_test): Add comments and call free on all potentially
28015 allocated pointers. Remove duplicate check for NULL pointer.
28016 Add space after cast.
28018 * malloc/tst-valloc.c: Add comments.
28019 (do_test): Add comments and call free on all potentially
28020 allocated pointers. Remove duplicate check for NULL pointer.
28021 Add space after cast.
28023 2013-10-04 Alan Modra <amodra@gmail.com>
28025 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28026 Use stdint types in rather than __attribute__((mode())).
28027 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28029 2013-10-04 Alan Modra <amodra@gmail.com>
28031 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28032 Correct handling of unaligned relocs for little-endian.
28033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28035 2013-10-04 Alan Modra <amodra@gmail.com>
28037 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28038 * configure: Regenerate.
28039 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28040 * shlib-versions: Likewise.
28042 2013-10-04 Alan Modra <amodra@gmail.com>
28044 * string/tester.c (test_memrchr): Increment reported test cycle.
28046 2013-10-04 Alan Modra <amodra@gmail.com>
28048 * string/test-memcpy.c (do_one_test): When reporting errors, print
28049 string address and don't overrun end of string.
28051 2013-10-04 Alan Modra <amodra@gmail.com>
28053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28054 insrdi. Make better use of reg selection to speed exit slightly.
28055 Schedule entry path a little better. Remove useless "are we done"
28056 checks on entry to main loop. Handle wrapping around zero address.
28057 Correct main loop count. Handle single left-over word from main
28058 loop inline rather than by using loop_small. Remove extra word
28059 case in loop_small caused by wrong loop count. Add little-endian
28061 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28065 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28066 support. Avoid rlwimi.
28067 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28069 2013-10-04 Alan Modra <amodra@gmail.com>
28071 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28072 insrdi. Formatting.
28073 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28074 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28075 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28076 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28077 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28078 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28080 2013-10-04 Alan Modra <amodra@gmail.com>
28082 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28083 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28085 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28086 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28087 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28088 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28090 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28091 use of regs. Use power7 mtocrf. Tidy function tails.
28093 2013-10-04 Alan Modra <amodra@gmail.com>
28095 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28096 Formatting. Consistently use rXXX register defines or rN defines.
28097 Use early exit labels that avoid restoring unused non-volatile regs.
28098 Make cr field use more consistent with rWORDn compares. Rename
28099 regs used as shift registers for unaligned loop, using rN defines
28100 for short lifetime/multiple use regs.
28101 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28102 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28103 addi 1,1,64 to pop stack frame. Simplify return value code.
28104 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28106 2013-10-04 Alan Modra <amodra@gmail.com>
28108 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28109 support. Correct typos, formatting. Optimize tail. Use insrdi
28110 rather than rlwimi.
28111 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28112 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28113 little-endian support. Correct typos.
28114 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28115 rather than rlwimi.
28116 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28117 in loop and entry code to keep "and." results.
28118 (strchr): Add little-endian support. Comment. Move cntlzd
28120 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28122 2013-10-04 Alan Modra <amodra@gmail.com>
28124 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28125 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28126 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28127 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28129 2013-10-04 Alan Modra <amodra@gmail.com>
28131 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28132 (rTMP): Define as r11.
28133 (strcmp): Add little-endian support. Optimise tail.
28134 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28135 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28136 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28142 2013-10-04 Alan Modra <amodra@gmail.com>
28144 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28145 little-endian support. Remove unnecessary "are we done" tests.
28146 Handle "s" wrapping around zero and extremely large "size".
28147 Correct main loop count. Handle single left-over word from main
28148 loop inline rather than by using small_loop. Correct comments.
28149 Delete "zero" tail, use "end_max" instead.
28150 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28152 2013-10-04 Alan Modra <amodra@gmail.com>
28154 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28155 support. Don't branch over align.
28156 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28157 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28158 support. Rearrange tmp reg use to suit. Comment.
28159 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28161 2013-10-04 Alan Modra <amodra@gmail.com>
28163 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28165 2013-10-04 Alan Modra <amodra@gmail.com>
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28168 conditional form of branch and link when obtaining pc.
28169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28171 2013-10-04 Alan Modra <amodra@gmail.com>
28173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28178 2013-10-04 Alan Modra <amodra@gmail.com>
28180 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28181 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28182 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28183 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28184 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28185 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28186 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28187 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28188 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28189 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28191 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28192 Alistair Popple <alistair@ozlabs.au.ibm.com>
28193 Alan Modra <amodra@gmail.com>
28196 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28197 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28198 _dl_hwcap access for little-endian.
28199 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28200 destroy vmx regs when saving unaligned.
28201 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28202 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28203 destroy vmx regs when saving unaligned.
28205 2013-10-04 Alan Modra <amodra@gmail.com>
28207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28208 Don't use a union to pack hi/low value.
28210 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28212 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28214 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28216 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28217 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28218 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28220 2013-10-04 Alan Modra <amodra@gmail.com>
28222 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28223 constants to usual value for .cst8 section, and remove redundant
28225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28226 constant for 0x1p52. Load little-endian words of double from
28227 correct stack offsets.
28229 2013-10-04 Alan Modra <amodra@gmail.com>
28231 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28232 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28233 words of double from correct stack offsets.
28234 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28235 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28236 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28237 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28238 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28239 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28240 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28241 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28242 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28243 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28244 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28245 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28246 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28247 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28248 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28249 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28250 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28252 2013-10-04 Alan Modra <amodra@gmail.com>
28254 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28255 64-bit int/double union.
28256 (_FPU_SETCW): Likewise.
28257 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28258 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28260 2013-10-04 Alan Modra <amodra@gmail.com>
28262 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28263 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28265 2013-10-04 Alan Modra <amodra@gmail.com>
28267 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28268 use vector int constants.
28269 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28271 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28273 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28274 array with long long.
28275 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28276 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28277 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28278 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28279 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28280 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28281 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28282 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28283 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28284 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28285 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28286 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28287 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28289 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28291 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28292 (__signbit): Likewise. Correct for little-endian.
28293 (__signbitl): Call __signbit.
28294 (lrint): Correct for little-endian.
28295 (lrintf): Call lrint.
28297 2013-10-04 Alan Modra <amodra@gmail.com>
28299 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28300 union 32-bit int array member with 64-bit int array.
28301 (t515, tm256): Double rather than long double.
28302 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28304 2013-10-04 Alan Modra <amodra@gmail.com>
28306 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28308 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28310 version of math_ldbl.h.
28312 2013-10-04 Alan Modra <amodra@gmail.com>
28314 [BZ #15734], [BZ #15735]
28315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28316 all uses of ieee875 long double macros and unions. Simplify test
28317 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28318 ldbl_extract_mantissa value for ix,iy exponents. Properly
28319 normalize after ldbl_extract_mantissa, and don't add hidden bit
28320 already handled. Don't treat low word of ieee854 mantissa like
28321 low word of IBM long double and mask off bit when testing for
28323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28324 all uses of ieee875 long double macros and unions. Simplify tests
28325 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28326 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28327 two1022, instead use their values. Recognise that tests for large
28328 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28329 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28330 Rewrite all uses of ieee875 long double macros and unions. Simplify
28331 test for 0.0L and nan. Correct negation.
28332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28333 ieee875 long double macros and unions. Correct output for large
28334 magnitude x. Correct absolute value calculation.
28335 (__erfcl): Likewise.
28336 * math/libm-test.inc: Add tests for errors discovered in IBM long
28337 double versions of fmodl, remainderl, erfl and erfcl.
28339 2013-10-04 Alan Modra <amodra@gmail.com>
28341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28342 all uses of ieee854 long double macros and unions. Simplify tests
28343 for long doubles that are fully specified by the high double.
28344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28346 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28347 Remove dead code too.
28348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28349 (__ieee754_ynl): Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28353 Remove dead code too.
28354 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28359 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28361 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28364 Comment on variable precision.
28365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28368 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28372 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28374 2013-10-04 Alan Modra <amodra@gmail.com>
28376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28377 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28378 all uses of ieee854 long double macros and unions.
28379 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28382 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28383 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28384 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28386 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28387 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28388 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28390 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28392 Simplify sign and nan test too.
28393 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28394 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28395 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28396 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28402 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28404 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28405 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28406 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28408 2013-10-04 Alan Modra <amodra@gmail.com>
28410 * stdio-common/printf_size.c (__printf_size): Don't use
28411 union ieee854_long_double in fpnum union.
28412 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28413 signbit macro to retrieve sign from long double.
28414 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28415 retrieve sign from long double.
28416 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28417 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28418 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28419 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28420 * math/test-misc.c (main): Don't use union ieee854_long_double.
28422 2013-10-04 Alan Modra <amodra@gmail.com>
28425 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28426 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28427 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28428 calculation. Remove unnecessary test for denormal exponent.
28429 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28430 Correct handling of denormals. Avoid undefined shift behaviour.
28431 Correct normalisation of low mantissa when low double is denormal.
28432 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28433 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28434 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28435 Correct normalisation of low mantissa. Test for overflow of high
28436 mantissa and normalise.
28437 (ldbl_nearbyint): Use more readable constant for two52.
28438 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28439 (__mpn_construct_long_double): Fix test for overflow of high
28440 mantissa and correct normalisation. Avoid undefined shift.
28442 2013-10-04 Alan Modra <amodra@gmail.com>
28444 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28445 (union ibm_extended_long_double): Define as an array of ieee754_double.
28446 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28447 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28448 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28449 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28451 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28452 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28453 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28454 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28455 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28456 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28458 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28460 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28461 page size instead of calling getpagesize.
28463 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28464 (LOCFILE_ALIGN_MASK): Likewise.
28465 (LOCFILE_ALIGN_UP): Likewise.
28466 (LOCFILE_ALIGNED_P): Likewise.
28467 * locale/programs/ld-collate.c (collate_output): Use the new
28468 macros instead of __alignof__ (int32_t).
28469 * locale/weight.h (findidx): Likewise.
28471 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28474 * manual/string.texi: Fix strncat and wcsncat.
28476 2013-10-03 Brooks Moses <bmoses@google.com>
28479 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28480 * Makerules: ...here, and adjust associated comments.
28482 2013-10-02 Will Newton <will.newton@linaro.org>
28484 * malloc/Makefile: Add tst-pvalloc.
28485 * malloc/tst-pvalloc.c: New file.
28487 2013-10-02 Will Newton <will.newton@linaro.org>
28489 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28490 improve test coverage.
28492 2013-10-02 Will Newton <will.newton@linaro.org>
28494 * malloc/Makefile: Add tst-posix_memalign.
28495 * malloc/tst-posix_memalign.c: New file.
28497 2013-10-01 Eric Blake <eblake@redhat.com>
28499 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28500 Use __THROWNL rather than __THROW on static functions.
28502 2013-09-30 Petr Machata <pmachata@redhat.com>
28504 * elf/elf.h (R_AARCH64_ABS16): New macro.
28505 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28506 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28507 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28508 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28509 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28510 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28511 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28512 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28513 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28514 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28515 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28516 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28517 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28518 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28519 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28520 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28521 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28522 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28523 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28524 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28525 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28526 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28527 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28528 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28529 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28530 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28531 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28532 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28533 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28534 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28535 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28536 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28537 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28538 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28539 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28540 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28541 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28542 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28543 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28544 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28545 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28546 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28547 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28548 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28549 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28550 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28551 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28552 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28553 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28554 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28555 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28556 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28557 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28558 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28559 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28560 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28561 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28562 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28563 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28564 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28565 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28566 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28567 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28568 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28569 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28570 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28571 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28572 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28573 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28574 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28575 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28576 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28577 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28578 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28579 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28580 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28581 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28582 (R_AARCH64_TLSDESC_LDR): Likewise.
28583 (R_AARCH64_TLSDESC_ADD): Likewise.
28584 (R_AARCH64_TLSDESC_CALL): Likewise.
28586 2013-09-30 Andreas Schwab <schwab@suse.de>
28589 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28590 the nss database lookup.
28591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28594 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28596 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28598 2013-09-28 P. J. McDermott <pj@pehjota.net>
28600 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28601 ${Bash-specific parameter/pattern/string} parameter expansion.
28602 * sysdeps/unix/make-syscalls.sh: Likewise.
28604 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28606 * sysdeps/sh/stackguard-macros.h: New file.
28608 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28612 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28614 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28615 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28617 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28619 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28620 Fix thread ID register.
28622 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28624 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28625 [POSIX || UNIX98]: Require rather than permitting all symbols from
28627 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28628 element of struct sched_param.
28629 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28630 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28631 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28632 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28635 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28637 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28638 argument calculation.
28640 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28642 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28644 [POSIX] (pthread_attr_t): Do not require type.
28645 [POSIX] (pthread_cond_t): Likewise.
28646 [POSIX] (pthread_condattr_t): Likewise.
28647 [POSIX] (pthread_key_t): Likewise.
28648 [POSIX] (pthread_mutex_t): Likewise.
28649 [POSIX] (pthread_mutexattr_t): Likewise.
28650 [POSIX] (pthread_once_t): Likewise.
28651 [POSIX] (pthread_t): Likewise.
28652 [POSIX-based standards] (pthread_atfork): Expect function.
28654 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28655 Richard Sandiford <richard@codesourcery.com>
28657 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28658 (swap_endianness_p): New extern variable.
28659 (set_big_endian): New inline function.
28660 (maybe_swap_uint32): Likewise.
28661 (maybe_swap_uint32_array): Likewise.
28662 (maybe_swap_uint32_obstack): Likewise.
28663 * locale/programs/locfile.c: Include <stdbool.h>.
28664 (swap_endianness_p): New variable.
28665 (add_locale_uint32): Call maybe_swap_uint32.
28666 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28667 (write_locale_data): Call maybe_swap_uint32_array.
28668 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28670 (obstack_int32_grow_fast): Likewise.
28671 (output_weightwc): Call maybe_swap_uint32_obstack.
28672 (collate_output): Likewise.
28673 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28674 (OPT_LITTLE_ENDIAN): Likewise.
28675 (options): Add --little-endian and --big-endian options.
28676 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28677 * locale/programs/locarchive.c: Include "locfile.h".
28681 (create_archive): Use the new macros to access fields of
28682 structures directly mapped from or written to locale archives.
28683 (oldlocrecentcmp): Likewise.
28684 (enlarge_archive): Likewise.
28685 (insert_name): Likewise.
28686 (add_alias): Likewise.
28687 (add_locale): Likewise.
28688 (delete_locales_from_archive): Likewise.
28689 (show_archive_content): Likewise.
28690 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28693 2013-09-24 Roland McGrath <roland@hack.frob.com>
28695 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28696 http://www.gnu.org/doc/freemanuals.texi.
28697 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28699 2013-09-24 Will Newton <will.newton@linaro.org>
28701 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28704 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28706 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28709 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28711 * manual/threads.texi (POSIX Threads): Fix a typo.
28713 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28716 * string/tst-strcoll-overflow.c: New test case.
28717 * string/Makefile (xtests): Add tst-strcoll-overflow.
28718 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28719 cache if string sizes may cause integer overflow.
28722 * string/strcoll_l.c (coll_seq): New members rule, idx,
28723 save_idx and back_us.
28724 (get_next_seq_nocache): New function.
28725 (do_compare_nocache): New function.
28726 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28729 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28732 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28733 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28734 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28737 * elf/Makefile (tests): Add tst-ptrguard1.
28738 (tests-static): Add tst-ptrguard1-static.
28739 (tst-ptrguard1-ARGS): Define.
28740 (tst-ptrguard1-static-ARGS): Define.
28741 * elf/tst-ptrguard1.c: New file.
28742 * elf/tst-ptrguard1-static.c: New file.
28743 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28744 * sysdeps/i386/stackguard-macros.h: Likewise.
28745 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28746 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28747 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28748 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28749 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28750 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28752 2013-09-23 Hector Marco <hecmargi@upv.es>
28753 Ismael Ripoll <iripoll@disca.upv.es>
28754 Carlos O'Donell <carlos@redhat.com>
28757 * sysdeps/generic/stackguard-macros.h: Define
28758 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28759 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28760 Define __pointer_chk_guard_local.
28761 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28762 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28764 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28767 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28769 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28771 * include/string.h (__ffs): Declare as hidden.
28772 * string/ffs.c (__ffs): Define as hidden.
28773 * sysdeps/i386/ffs.c (__ffs): Likewise.
28774 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28775 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28776 * sysdeps/s390/ffs.c (__ffs): Likewise.
28777 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28779 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28781 * NEWS: Mention malloc probes.
28783 * malloc/arena.c (new_heap): New memory_heap_new probe.
28784 (grow_heap): New memory_heap_more probe.
28785 (shrink_heap): New memory_heap_less probe.
28786 (heap_trim): New memory_heap_free probe.
28787 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28788 (systrim): New memory_sbrk_less probe.
28789 * manual/probes.texi: Document them.
28791 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28792 * manual/probes.texi: Document it.
28794 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28795 (__libc_realloc): Add memory_realloc_retry probe.
28796 (__libc_memalign): Add memory_memalign_retry probe.
28797 (__libc_valloc): Add memory_valloc_retry probe.
28798 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28799 (__libc_calloc): Add memory_calloc_retry probe.
28800 * manual/probes.texi: Document them.
28802 * malloc/arena.c (get_free_list): Add probe
28803 memory_arena_reuse_free_list.
28804 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28805 and memory_arena_reuse.
28806 (arena_get2) [!PER_THREAD]: Likewise.
28807 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28808 memory_arena_reuse_realloc.
28809 * manual/probes.texi: Document them.
28811 * malloc/malloc.c (__libc_free): Add
28812 memory_mallopt_free_dyn_thresholds probe.
28813 (__libc_mallopt): Add multiple memory_mallopt probes.
28814 * manual/probes.texi: Document them.
28816 * malloc/malloc.c: Include stap-probe.h.
28817 (__libc_mallopt): Add memory_mallopt probe.
28818 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28819 * manual/probes.texi: New.
28820 * manual/Makefile (chapters): Add probes.
28821 * manual/threads.texi: Set next node.
28823 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28825 [BZ #15963, #13985]
28826 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28827 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28828 Add `Chinese' to `nan' entry name.
28830 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28832 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28833 (POLYNOMIAL): Likewise.
28834 (TAYLOR_SINCOS): Likewise.
28835 (TAYLOR_SLOW): Likewise.
28836 (__sin): Use TAYLOR_SINCOS.
28838 (slow): Use TAYLOR_SLOW.
28840 (bsloww): Likewise.
28841 (csloww): Likewise.
28843 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28845 * stdlib/strtod_l.c: Fix buffer overrun.
28847 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28849 * benchtests/Makefile (bench): Add sincos.
28850 * benchtests/bench-sincos.c: New file.
28852 * math/libm-test.inc (cos_test_data): New test inputs.
28853 (sin_test_data): Likewise.
28855 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28861 (sloww1): Likewise.
28862 (sloww2): Likewise.
28863 (bsloww1): Likewise.
28864 (bsloww2): Likewise.
28865 (cslow2): Likewise.
28866 (csloww1): Likewise.
28867 (csloww2): Likewise.
28869 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28878 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28880 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28881 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28882 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28883 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28884 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28885 * elf/cache.c (print_entry): Handle the new cache flags.
28887 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28888 Aldy Hernandez <aldyh@redhat.com>
28890 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28891 Change condition to [_SOFT_FLOAT].
28892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28904 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28907 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28910 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28912 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28913 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28914 (__longjmp): Use LOAD_GP to load saved GPRs.
28915 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28916 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28917 (__sigsetjmp): Use SAVE_GP to save GPRs.
28919 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28920 Do not append -msoft-float.
28921 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28923 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28925 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28927 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28930 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28931 (_FPU_GETCW): Use initial "__" on variable and field names but not
28932 on macro parameter name.
28933 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28934 parentheses around reference to macro parameter.
28936 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28938 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28940 (ctype_startup): Use uint32_t in cast and sizeof for
28943 2013-09-11 Jia Liu <proljc@gmail.com>
28945 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28947 [__FreeBSD__]: Likewise.
28949 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28952 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28953 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28954 (strchr): Remove __strchr_sse42 ifunc selection.
28955 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28956 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28958 2013-09-11 Will Newton <will.newton@linaro.org>
28960 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28961 parameter to RES. Remove hardcoded 1000 value.
28962 * benchtests/bench-skeleton.c (main): Pass RES parameter
28963 to TIMING_INIT and multiply result by 1000.
28965 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28969 2013-09-11 Andreas Schwab <schwab@suse.de>
28971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28973 (O_TMPFILE) [__USE_GNU]: Define.
28974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28977 2013-09-11 Will Newton <will.newton@linaro.org>
28980 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28983 2013-09-11 Will Newton <will.newton@linaro.org>
28986 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28989 2013-09-11 Will Newton <will.newton@linaro.org>
28992 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28995 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28997 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28998 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29003 2013-09-10 Allan McRae <allan@archlinux.org>
29006 * manual/arith.texi (Parsing of Floats): Clarify
29010 * manual/install.texi (Running make install): Mention
29012 * INSTALL: Regenerated.
29014 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29016 * csu/init-first.c (_init): Remove the !SHARED condition around
29017 FPU control word initialization.
29018 * elf/dl-support.c (_dl_fpu_control): New variable.
29019 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29020 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29021 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29022 * math/test-fpucw-static.c: New file.
29023 * math/test-fpucw-ieee.c: New file.
29024 * math/test-fpucw-ieee-static.c: New file.
29025 * math/Makefile (tests): Add `test-fpucw-ieee' and
29027 (tests-static): New variable.
29028 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29030 [($(build-shared),yes)]
29031 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29033 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29036 2013-09-09 Allan McRae <allan@archlinux.org>
29039 * manual/string.texi (Collation Functions): Fix typo in
29041 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29044 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29047 * libio/memstream.c (open_memstream): Fix memory leak.
29048 * libio/wmemstream.c (open_wmemstream): Likewise.
29051 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29053 2013-09-09 Will Newton <will.newton@linaro.org>
29055 * malloc/Makefile: Add tst-realloc to tests.
29056 * malloc/tst-realloc.c: New file.
29058 2013-09-09 Allan McRae <allan@archlinux.org>
29061 * COPYING: Update from GNU website to fix FSF address.
29062 * COPYING.LIB: Likewise.
29064 2013-09-06 David S. Miller <davem@davemloft.net>
29066 * po/zh_TW.po: Update Chinese (traditional) translation from
29067 translation project.
29069 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29070 Joseph Myers <joseph@codesourcery.com>
29072 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29074 (obstack_chunk_alloc): New macro.
29075 (obstack_chunk_free): Likewise.
29076 (record_offset): New function.
29077 (init_locale_data): Likewise.
29078 (align_locale_data): Likewise.
29079 (add_locale_empty): Likewise.
29080 (add_locale_raw_data): Likewise.
29081 (add_locale_raw_obstack): Likewise.
29082 (add_locale_string): Likewise.
29083 (add_locale_wstring): Likewise.
29084 (add_locale_uint32): Likewise.
29085 (add_locale_uint32_array): Likewise.
29086 (add_locale_char): Likewise.
29087 (start_locale_structure): Likewise.
29088 (end_locale_structure): Likewise.
29089 (start_locale_prelude): Likewise.
29090 (end_locale_prelude): Likewise.
29091 (write_locale_data): Take locale_file structure rather than an
29093 * locale/programs/locfile.h: Include "obstack.h".
29094 (struct locale_file): Change to store locale file contents instead
29096 (init_locale_data): New prototype.
29097 (align_locale_data): Likewise.
29098 (add_locale_empty): Likewise.
29099 (add_locale_raw_data): Likewise.
29100 (add_locale_raw_obstack): Likewise.
29101 (add_locale_string): Likewise.
29102 (add_locale_wstring): Likewise.
29103 (add_locale_uint32): Likewise.
29104 (add_locale_uint32_array): Likewise.
29105 (add_locale_char): Likewise.
29106 (start_locale_structure): Likewise.
29107 (end_locale_structure): Likewise.
29108 (start_locale_prelude): Likewise.
29109 (end_locale_prelude): Likewise.
29110 (write_locale_data): Update prototype.
29111 * locale/programs/3level.h (struct TABLE): Remove result field.
29112 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29113 Use new locale_file interface.
29114 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29115 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29116 * locale/programs/ld-address.c (address_output): Use new
29117 locale_file interface.
29118 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29120 (collate_finish): Don't call collseq_table_finalize.
29121 (collate_output): Use new locale_file interface.
29122 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29124 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29125 (TABLE): Move defines earlier in file.
29126 (ELEMENT): Likewise.
29127 (DEFAULT): Likewise.
29128 (wctrans_table_add): Move macro and inline function earlier in
29130 (struct wctype_table): Move type earlier in file.
29131 (add_locale_wctype_table): New static prototype.
29132 (struct locale_ctype_t): Use logical types instead of struct iovec
29133 pointers for members.
29134 (ctype_output): Use new locale_file interface.
29135 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29136 new locale_file interface.
29137 (allocate_arrays): Update for use of new locale_file interface.
29138 * locale/programs/ld-identification.c (identification_output): Use
29139 new locale_file interface.
29140 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29141 * locale/programs/ld-messages.c (messages_output): Likewise.
29142 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29143 * locale/programs/ld-name.c (name_output): Likewise.
29144 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29145 * locale/programs/ld-paper.c (paper_output): Likewise.
29146 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29147 * locale/programs/ld-time.c (time_output): Likewise.
29149 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29151 * benchtests/Makefile: Add memrchr benchmark.
29152 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29153 benchmark as memrchr.
29154 * benchtests/bench-memrchr-ifunc.c: New file.
29155 * benchtests/bench-memrchr.c: New file.
29157 2013-09-06 Will Newton <will.newton@linaro.org>
29159 * benchtests/Makefile (string-bench): Add memcpy.
29161 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29162 Cong Wang <amwang@redhat.com>
29165 * sysdeps/unix/sysv/linux/bits/in.h
29166 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29167 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29168 before __USE_KERNEL_IPV6_DEFS uses.
29169 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29171 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29172 sockaddr_in6, or ipv6_mreq.
29174 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29176 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29177 memory access for final bytes in some large inputs.
29178 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29180 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29182 * string/test-memrchr.c: New file.
29183 * string/test-memrchr-ifunc.c: New file.
29184 * string/Makefile: Add new memrchr testcase.
29186 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29188 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29189 fanotify_init returns EPERM.
29191 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29193 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29195 (top level): Treat second token from macro or constant entries for
29196 allowed headers as allowed.
29197 * include/complex.h: Condition internal declarations on
29199 * include/fenv.h: Condition include of <stdbool.h> and internal
29200 declarations on [!_ISOMAC].
29202 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29205 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29207 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29209 * configure.in (--enable-versioning): Remove configure option.
29210 (libc_cv_asm_symver_directive): Remove configure test.
29211 (libc_cv_ld_version_script_option): Likewise.
29212 (VERSIONING): Remove variable and AC_SUBST.
29213 (DO_VERSIONING): Remove AC_DEFINE.
29214 * configure: Regenerated.
29215 * config.h.in (DO_VERSIONING): Remove macro.
29216 * Makerules [$(versioning) = yes]: Change conditionals to
29217 [$(build-shared) = yes].
29218 * config.make.in (versioning): Remove variable.
29219 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29220 [$(build-shared) = yes].
29221 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29222 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29223 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29224 [$(build-shared) = yes].
29225 * extra-lib.mk [$(versioning) = yes]: Likewise.
29226 * hurd/Makefile [$(versioning) = yes]: Likewise.
29227 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29229 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29231 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29232 [SHARED && !NO_HIDDEN].
29233 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29235 [SHARED && DO_VERSIONING]: Likewise..
29236 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29237 [$(build-shared) = yes].
29238 * manual/install.texi (--disable-versioning): Remove
29240 * INSTALL: Regenerated.
29241 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29243 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29244 [$(build-shared) = yes].
29245 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29246 * sysdeps/i386/i686/multiarch/strstr-c.c
29247 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29248 [SHARED && !NO_HIDDEN].
29249 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29250 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29251 * sysdeps/powerpc/powerpc32/dl-machine.c
29252 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29253 * sysdeps/powerpc/powerpc32/sysdep.h
29254 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29255 to [SHARED && PIC && !NO_HIDDEN].
29256 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29257 conditional to [SHARED].
29259 2013-09-04 Will Newton <will.newton@linaro.org>
29261 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29262 * benchtests/bench-string.h: Include bench-timing.h instead
29263 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29264 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29265 call to HP_TIMING_DIFF_INIT.
29266 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29267 instead of hp-timing.h macros.
29268 * benchtests/bench-memchr.c: Likewise.
29269 * benchtests/bench-memcmp.c: Likewise.
29270 * benchtests/bench-memcpy.c: Likewise.
29271 * benchtests/bench-memmem.c: Likewise.
29272 * benchtests/bench-memmove.c: Likewise.
29273 * benchtests/bench-memset.c: Likewise.
29274 * benchtests/bench-rawmemchr.c: Likewise.
29275 * benchtests/bench-strcasecmp.c: Likewise.
29276 * benchtests/bench-strcasestr.c: Likewise.
29277 * benchtests/bench-strcat.c: Likewise.
29278 * benchtests/bench-strchr.c: Likewise.
29279 * benchtests/bench-strcmp.c: Likewise.
29280 * benchtests/bench-strcpy.c: Likewise.
29281 * benchtests/bench-strcpy_chk.c: Likewise.
29282 * benchtests/bench-strlen.c: Likewise.
29283 * benchtests/bench-strncasecmp.c: Likewise.
29284 * benchtests/bench-strncat.c: Likewise.
29285 * benchtests/bench-strncmp.c: Likewise.
29286 * benchtests/bench-strncpy.c: Likewise.
29287 * benchtests/bench-strnlen.c: Likewise.
29288 * benchtests/bench-strpbrk.c: Likewise.
29289 * benchtests/bench-strrchr.c: Likewise.
29290 * benchtests/bench-strspn.c: Likewise.
29291 * benchtests/bench-strstr.c: Likewise.
29293 2013-09-04 Will Newton <will.newton@linaro.org>
29295 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29297 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29300 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29301 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29302 * math/libm-test.inc (lgamma_test_data): Add more tests.
29303 * sysdeps/i386/fpu/libm-test-ulps: Update.
29304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29306 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29308 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29312 Add strcmp-sse2-unaligned
29313 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29315 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29317 * Versions.def (libc): Add GLIBC_2.19.
29319 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29321 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29322 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29324 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29327 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29328 intermediate calculations in recurrence.
29329 (__ieee754_ynf): Likewise.
29330 * math/libm-test.inc (jn_test_data): Do not allow spurious
29331 underflow exception. Add more tests.
29332 (yn_test_data): Add more tests.
29333 * sysdeps/i386/fpu/libm-test-ulps: Update.
29334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29336 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29340 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29342 * csu/init-first.c: Fix then/than typos.
29343 * locale/programs/ld-collate.c: Likewise.
29344 * locale/programs/linereader.h: Likewise.
29345 * manual/charset.texi: Likewise.
29346 * manual/filesys.texi: Likewise.
29347 * manual/stdio.texi: Likewise.
29348 * manual/string.texi: Likewise.
29349 * stdlib/fmtmsg.c: Likewise.
29350 * sysdeps/i386/stpncpy.S: Likewise.
29351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29352 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29353 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29354 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29356 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29358 * elf/dl-open.c: Fix typos.
29359 * iconvdata/gbbig5.c: Likewise.
29360 * iconvdata/iso-2022-jp.c: Likewise.
29361 * iconv/gconv_int.h: Likewise.
29362 * iconv/loop.c: Likewise.
29363 * nis/rpcsvc/nis.h: Likewise.
29364 * resolv/ns_name.c: Likewise.
29365 * stdio-common/vfscanf.c: Likewise.
29366 * streams/stropts.h: Likewise.
29367 * sunrpc/rpc_thread.c: Likewise.
29368 * sysdeps/i386/strpbrk.S: Likewise.
29369 * sysdeps/ieee754/k_standard.c: Likewise.
29370 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29372 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29373 * sysdeps/mach/hurd/profil.c: Likewise.
29374 * sysdeps/s390/dl-procinfo.h: Likewise.
29375 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29376 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29377 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29378 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29379 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29381 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29383 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29386 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29388 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29389 aix specific files.
29390 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29391 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29392 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29393 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29394 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29395 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29396 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29397 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29399 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29400 Roland McGrath <roland@hack.frob.com>
29402 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29403 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29405 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29407 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29408 __executable_start symbol instead of _start.
29410 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29412 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29413 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29415 * sysdeps/gnu/ldsodefs.h: ... this new file.
29417 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29418 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29419 instead of ELFOSABI_LINUX.
29421 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29422 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29423 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29424 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29426 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29427 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29428 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29430 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29431 (ibm_extended_long_double): Add ieee_nan member.
29432 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29433 (do_test): New function.
29435 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29437 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29438 functions, renamed from truncdfsf_test, trunctfsf_test,
29440 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29442 (do_test): Run all these.
29444 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29446 * argp/argp-help.c: Fix typos.
29447 * argp/argp-parse.c: Likewise.
29448 * debug/backtracesyms.c: Likewise.
29449 * elf/elf.h: Likewise.
29450 * malloc/malloc.c: Likewise.
29451 * nis/nis_print.c: Likewise.
29452 * resolv/res_comp.c: Likewise.
29453 * stdlib/stdlib.h: Likewise.
29454 * sunrpc/clnt_tcp.c: Likewise.
29455 * sunrpc/clnt_udp.c: Likewise.
29456 * sunrpc/clnt_unix.c: Likewise.
29457 * sysdeps/unix/bsd/ptsname.c: Likewise.
29458 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29459 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29466 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29468 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29470 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29473 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29476 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29477 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29478 ($(objpfx)bug-dl-leaf): New rule.
29479 ($(objpfx)bug-dl-leaf.so): Likewise.
29480 ($(objpfx)bug-dl-leaf.out): Likewise.
29481 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29482 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29483 * dlfcn/bug-dl-leaf.c: New test.
29484 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29485 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29486 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29487 (dlclose): Likewise.
29488 (dlmopen): Likewise.
29490 2013-08-27 Roland McGrath <roland@hack.frob.com>
29492 * include/netdb.h [!_ISOMAC]:
29493 Don't include <tls.h>.
29494 (h_errno, __libc_h_errno): Move declaration and macros out of
29497 * include/resolv.h [_RESOLV_H_]:
29498 Don't include <tls.h>.
29499 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29500 * resolv/res_libc.c: Don't include <tls.h>.
29501 (_res): Use __attribute__ ((nocommon)) in place of
29502 __attribute__ ((section (".bss"))).
29504 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29505 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29507 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29509 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29510 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29512 * resolv/res_mkquery.c: Include <sys/time.h>.
29514 * inet/ifreq.c: Moved to ...
29515 * sysdeps/unix/ifreq.c: ... here.
29516 * inet/ifreq.c: New file, true stub version.
29518 * socket/sa_len.c: New file.
29519 * socket/Makefile (aux): Add it.
29520 * sysdeps/unix/sysv/linux/Makefile
29521 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29522 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29523 and #include <socket/sa_len.c>.
29524 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29525 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29527 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29528 * bits/socket.h: ... here.
29530 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29531 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29532 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29534 2013-08-27 Andreas Schwab <schwab@suse.de>
29537 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29538 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29539 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29540 * string/test-strcasecmp.c (test_main): Run tests in several
29542 * string/test-strncasecmp.c (test_main): Likewise.
29544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29545 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29546 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29548 (__strncasecmp_ssse3) [PIC]: Likewise.
29550 2013-08-26 Roland McGrath <roland@hack.frob.com>
29552 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29554 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29555 instead of explicitly declaring xdecrypt.
29556 * nis/nss_nis/nis-publickey.c: Likewise.
29558 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29561 * nscd/aicache.c: Include res_hconf.h.
29562 (addhstaiX): Initialize res_hconf.
29564 2013-08-26 Andreas Schwab <schwab@suse.de>
29566 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29567 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29569 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29571 * nscd/aicache.c (addhstaiX): Fix indentation.
29573 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29575 * configure.ac: Quote $build_pt_chown test.
29576 * configure: Regenerated.
29578 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29581 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29582 * math/s_cexpf.c (__cexpf): Likewise.
29583 * math/s_cexpl.c (__cexpl): Likewise.
29584 * math/libm-test.inc (cexp_test_data): Correct expected return
29585 value for NaN + i0. Add another test.
29587 2013-08-22 David S. Miller <davem@davemloft.net>
29589 * po/ca.po: Update Catalan translation from translation project.
29590 * po/uk.po: Add Ukrainian translations from translation project.
29592 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29595 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29596 is infinite, not alongside NaN test.
29597 * math/s_fdimf.c (__fdimf): Likewise.
29598 * math/s_fdiml.c (__fdiml): Likewise.
29599 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29600 errno is unchanged.
29602 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29604 * argp/argp-help.c: Fix typos.
29605 * crypt/speeds.c: Likewise.
29606 * csu/check_fds.c: Likewise.
29607 * elf/dl-load.c: Likewise.
29608 * elf/dl-open.c: Likewise.
29609 * elf/reldep3.c: Likewise.
29610 * elf/reldep.c: Likewise.
29611 * elf/sprof.c: Likewise.
29612 * iconv/iconv_charmap.c: Likewise.
29613 * iconv/skeleton.c: Likewise.
29614 * iconv/strtab.c: Likewise.
29615 * io/lockf64.c: Likewise.
29616 * libio/libioP.h: Likewise.
29617 * resolv/gai_notify.c: Likewise.
29618 * resolv/ns_name.c: Likewise.
29619 * resolv/ns_samedomain.c: Likewise.
29620 * resolv/res_send.c: Likewise.
29621 * stdlib/random.c: Likewise.
29622 * sunrpc/rpc/xdr.h: Likewise.
29623 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29624 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29625 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29626 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29627 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29630 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29631 * sysdeps/mach/hurd/check_fds.c: Likewise.
29632 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29633 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29634 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29635 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29636 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29637 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29638 * sysdeps/pthread/aio_notify.c: Likewise.
29639 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29640 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29643 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29645 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29647 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29648 version if bit_Slow_SSE4_2 is set.
29649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29650 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29652 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29655 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29656 trampoline stack frame information.
29657 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29659 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29660 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29661 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29662 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29663 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29664 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29666 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29667 interrupting a syscall and set with option SA_SIGINFO.
29669 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29672 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29673 argument is infinite.
29674 * math/s_cprojf.c (__cprojf): Likewise.
29675 * math/s_cprojl.c (__cprojl): Likewise.
29676 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29677 * math/libm-test.inc (cproj_test_data): Add more tests.
29679 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29681 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29682 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29683 size. Use __ffs to determine corresponding shift.
29685 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29686 Roland McGrath <roland@hack.frob.com>
29688 * Makefile (INSTALL): Remove trailing blank lines from output of
29691 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29693 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29694 Align 32 bit compat elf_greg to 8 bytes.
29696 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29698 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29700 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29702 * string/strcoll_l.c (coll_seq): New structure.
29703 (get_next_seq_cached): New function.
29704 (get_next_seq): New function.
29705 (do_compare): New function.
29706 (STRCOLL): Use GNU style definition. Simplify implementation
29707 by using get_next_seq, get_next_seq_cached and do_compare.
29709 2013-08-16 Florian Weimer <fweimer@redhat.com>
29713 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29715 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29717 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29718 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29719 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29721 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29722 GETDENTS_64BIT_ALIGNED.
29723 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29724 * manual/filesys.texi (Reading/Closing Directory): Document
29725 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29727 * manual/conf.texi (Limits for Files): Add portability note to
29728 NAME_MAX, PATH_MAX.
29729 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29731 2013-08-13 Andreas Schwab <schwab@suse.de>
29734 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29736 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29737 LDBL_MAX_EXP >= 16384]: Add tests for it.
29739 2013-08-12 David S. Miller <davem@davemloft.net>
29741 * version.h (RELEASE): Set to "development".
29742 (VERSION): Set to "2.18.90".
29743 * NEWS: Add 2.19 section.
29745 2013-08-03 David S. Miller <davem@davemloft.net>
29747 * po/ko.po: Update Korean translation from translation project.
29749 2013-08-01 David S. Miller <davem@davemloft.net>
29751 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29752 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29755 2013-07-30 David S. Miller <davem@davemloft.net>
29757 * po/fr.po: Update French translation from translation project.
29759 2013-07-28 David S. Miller <davem@davemloft.net>
29761 * po/cs.po: Update Czech translation from translation project.
29763 * po/sv.po: Update Swedish translation from translation project.
29765 2013-07-27 David S. Miller <davem@davemloft.net>
29767 * po/eo.po: Update Esperanto translation from translation project.
29769 * po/vi.po: Update Vietnamese translation from translation project.
29771 * po/de.po: Update German translation from translation project.
29773 2013-07-26 David S. Miller <davem@davemloft.net>
29775 * po/bg.po: Update Bulgarian translation from translation project.
29777 * po/nl.po: Update Dutch translation from translation project.
29778 * po/pl.po: Update Polish translation from translation project.
29779 * po/ru.po: Update Russian translation from translation project.
29781 2013-07-24 David S. Miller <davem@davemloft.net>
29783 * po/libc.pot: Update.
29785 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29787 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29788 variable page size.
29789 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29790 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29791 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29793 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29795 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29797 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29798 Andreas Schwab <schwab@suse.de>
29799 Roland McGrath <roland@hack.frob.com>
29800 Joseph Myers <joseph@codesourcery.com>
29801 Carlos O'Donell <carlos@redhat.com>
29804 * config.h.in: Define HAVE_PT_CHOWN.
29805 * config.make.in (build-pt-chown): New variable.
29806 * configure.in (--enable-pt_chown): New configure option.
29807 * configure: Regenerate.
29808 * login/Makefile: Include Makeconfig. Build pt_chown only if
29809 build-pt-chown is enabled.
29810 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29811 pt_chown to fix pty ownership.
29812 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29814 * manual/install.texi (Configuring and compiling): Mention
29815 --enable-pt_chown. Add @findex for grantpt.
29816 * INSTALL: Regenerate.
29818 2013-07-20 David S. Miller <davem@davemloft.net>
29820 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29821 difference between 32-bit and 64-bit.
29823 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29826 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29827 Avoid system header dependency with -ffreestanding.
29828 ($(objpfx)bits/syscall%d): Likewise.
29830 2013-07-13 David S. Miller <davem@davemloft.net>
29832 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29833 underflows from atanl/atan2l due to bug 15319.
29834 (casinh_test_data): Likewise.
29836 2013-07-07 David S. Miller <davem@davemloft.net>
29838 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29840 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29842 * sysdeps/i386/fpu/libm-test-ulps: Update.
29843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29845 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29847 * configure.in (--enable-lock-elision): Fix message text.
29848 * INSTALL: Regenerate.
29849 * configure: Regenerate.
29851 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29855 2013-07-03 Andreas Jaeger <aj@suse.de>
29857 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29859 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29860 (ptrace_peeksiginfo_args): Add.
29861 (__ptrace_peeksiginfo_flags): Add.
29862 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29863 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29866 2013-07-03 Allan McRae <allan@archlinux.org>
29868 * sysdeps/i386/fpu/libm-test-ulps: Update.
29870 2013-07-02 David S. Miller <davem@davemloft.net>
29872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29874 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29878 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29880 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29883 2013-07-02 Andi Kleen <ak@linux.intel.com>
29885 * config.h.in (ENABLE_LOCK_ELISION): Add.
29886 * configure.in (--enable-lock-elision): Add option.
29887 * manual/install.texi: Document --enable lock elision.
29888 * configure: Regenerate
29889 * INSTALL: Regenerate.
29891 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29893 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29894 SSE4.2 strcasecmp for libc.a.
29895 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29897 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29900 * soft-fp/op-common.h (_FP_FMA): New macro.
29901 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29902 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29903 (_FP_MUL_MEAT_1_imm): ... here.
29904 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29905 (_FP_MUL_MEAT_1_wide): ... here.
29906 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29907 (_FP_MUL_MEAT_1_hard): ... here.
29908 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29909 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29910 (_FP_MUL_MEAT_2_wide): ... here.
29911 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29912 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29913 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29914 (_FP_MUL_MEAT_2_gmp): ... here.
29915 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29916 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29917 (_FP_MUL_MEAT_4_wide): ... here.
29918 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29919 (_FP_MUL_MEAT_4_gmp): ... here.
29920 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29921 (_FP_WFRACBITS_DW_S): Likewise.
29922 (_FP_WFRACXBITS_DW_S): Likewise.
29923 (_FP_HIGHBIT_DW_S): Likewise.
29924 (FP_FMA_S): Likewise.
29925 (_FP_FRAC_HIGH_DW_S): Likewise.
29926 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29927 (_FP_WFRACBITS_DW_D): Likewise.
29928 (_FP_WFRACXBITS_DW_D): Likewise.
29929 (_FP_HIGHBIT_DW_D): Likewise.
29930 (FP_FMA_D): Likewise.
29931 (_FP_FRAC_HIGH_DW_D): Likewise.
29932 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29933 (_FP_WFRACBITS_DW_E): Likewise.
29934 (_FP_WFRACXBITS_DW_E): Likewise.
29935 (_FP_HIGHBIT_DW_E): Likewise.
29936 (FP_FMA_E): Likewise.
29937 (_FP_FRAC_HIGH_DW_E): Likewise.
29938 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29939 (_FP_WFRACBITS_DW_Q): Likewise.
29940 (_FP_WFRACXBITS_DW_Q): Likewise.
29941 (_FP_HIGHBIT_DW_Q): Likewise.
29942 (FP_FMA_Q): Likewise.
29943 (_FP_FRAC_HIGH_DW_Q): Likewise.
29944 * soft-fp/fmasf4.c: New file.
29945 * soft-fp/fmadf4.c: Likewise.
29946 * soft-fp/fmatf4.c: Likewise.
29948 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29951 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29955 (index_Slow_SSE4_2): Likewise.
29956 (index_Prefer_PMINUB_for_stringop): Likewise.
29957 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29958 bit_Slow_SSE4_2 is set.
29959 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29960 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29962 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29964 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29965 rtld_global._dl_hwcap2.
29966 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29968 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29969 POWER8 feature descriptions defined in _dl_hwcap2.
29970 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29971 string handling for POWER8 feature bits.
29972 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29973 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29974 _dl_powerpc_cap_flags.
29975 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29976 * sysdeps/powerpc/rtld-global-offsets.sym
29977 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29978 _dl_hwcap2 in the rtld_global_ro structure.
29980 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29982 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29983 hardware capabilities in support of AT_HWCAP2.
29984 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29985 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29987 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29988 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29989 explicitly the unknown a_type display mechanism is used.
29990 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29991 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29993 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29994 to macro prototype for AT_HWCAP2 support.
29995 * sysdeps/i386/dl-procinfo.h: Likewise.
29996 * sysdeps/s390/dl-procinfo.h: Likewise.
29997 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29998 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29999 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30000 return -1 for unknown a_type display fallback.
30001 * sysdeps/sparc/dl-procinfo.h: Likewise.
30002 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30003 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30005 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30007 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30008 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30010 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30013 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30014 mprotect making __stack_prot writable.
30016 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30017 Joseph Myers <joseph@codesourcery.com>
30019 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30020 as being properly aligned.
30022 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30024 * dlfcn/modstatic5.c: New file.
30025 * dlfcn/tststatic5.c: New file.
30026 * dlfcn/Makefile (tests): Add tststatic5.
30027 (tests-static): Likewise.
30028 (modules-names): Add modstatic5.
30029 (tststatic5-ENV): New variable.
30030 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30033 * elf/dl-support.c (_dl_main_map): New variable.
30034 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30035 (_dl_nns, _dl_load_adds): Set to 1.
30036 (_dl_initial_searchlist): Refer to _dl_main_map.
30037 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30038 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30039 call to _dl_get_origin.
30040 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30042 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30043 * dlfcn/modstatic3.c: New file.
30044 * dlfcn/tststatic3.c: New file.
30045 * dlfcn/tststatic4.c: New file.
30046 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30047 (tests-static): Likewise.
30048 (modules-names): Add modstatic3.
30049 (tststatic3-ENV, tststatic4-ENV): New variables.
30050 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30051 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30053 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30055 * configure.in (CC): Require GCC version 4.4 or later.
30056 * configure: Regenerated.
30057 * manual/install.texi (Tools for Compilation): Update GCC version
30059 * INSTALL: Regenerated.
30061 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30064 * string/test-memcmp.c (check2): New.
30065 (main): Call check2.
30067 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30069 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30072 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30074 (dl_open_worker) [!SHARED]: ... here.
30076 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30078 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30080 2013-06-25 Richard Henderson <rth@redhat.com>
30082 * locale/programs/locarchive.c: Include <libc-internal.h>
30084 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30086 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30087 trailing whitespace removed.
30089 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30092 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30093 * locale/programs/locarchive.c: Include libc-mmap.h.
30094 (prepare_address_space): Take two new outputs (the mmap base and len).
30095 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30097 (create_archive): Declare new mmap base and len values for
30098 prepare_address_space, and store the result in ah.
30099 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30100 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30101 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30102 Declare new mmap base and len values for
30103 prepare_address_space, and store the result in new_ah.
30104 (open_archive): Declare new mmap base and len values for
30105 prepare_address_space, and store the result in ah.
30106 (close_archive): If ah->mmap_base is not NULL, use that and
30107 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30108 * sysdeps/generic/libc-mmap.h: New file.
30110 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30112 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30113 (ALIGN_UP): Likewise.
30114 (PTR_ALIGN_DOWN): Likewise.
30115 (PTR_ALIGN_UP): Likewise.
30117 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30119 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30120 entry mapped to PPC_PLATFORM_POWER8.
30121 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30123 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30124 (_dl_string_platform): Add case for exporting platform position for
30126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30127 search path to sysdeps/powerpc/powerpc32/power8 directory.
30128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30129 search path to sysdeps/powerpc/powerpc64/power8 directory.
30130 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30131 power7 directories.
30132 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30133 power7 directories.
30135 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30137 * INSTALL: Regenerate.
30139 * nscd/connections.c (nscd_init): Fix comment.
30141 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30143 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30146 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30147 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30149 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30151 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30153 (DL_DST_REQ_STATIC): Remove macro.
30155 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30158 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30159 with a shift of 0 bits.
30161 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30163 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30166 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30169 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30171 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30173 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30174 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30175 accepts -fno-tree-loop-distribute-patterns.
30176 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30177 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30179 * string/memset.c (memset): Likewise.
30180 * string/test-memmove.c (simple_memmove): Disable loop transformation
30182 * string/test-memset.c (simple_memset): Likewise.
30183 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30184 * benchtests/bench-memset.c (simple_memset): Likewise.
30185 * configure: Regenerated.
30187 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30189 * math/test-misc.c (main): Ignore fesetround failure when failures
30190 of subsequent rounding tests would be ignored.
30193 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30194 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30195 * math/fegetenv.c (__fegetenv): Return 0.
30196 * math/fegetexcept.c (fegetexcept): Return 0.
30197 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30199 * math/feholdexcpt.c (feholdexcept): Return 0.
30200 * math/fesetenv.c (__fesetenv): Return 0.
30201 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30202 argument FE_TONEAREST.
30203 * math/feupdateenv.c (__feupdateenv): Return 0.
30204 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30206 2013-06-18 Roland McGrath <roland@hack.frob.com>
30208 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30209 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30210 ($(objpfx)rtld-%.os rules): Use them.
30212 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30214 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30217 2013-06-17 Roland McGrath <roland@hack.frob.com>
30219 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30220 length of target pattern, then descending length of dependency pattern.
30221 * configure.in (AWK): Require gawk 3.1.2 or newer.
30222 * manual/install.texi (Tools for Compilation): Say that we do.
30223 * configure: Regenerated.
30225 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30226 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30227 * scripts/sysd-rules.awk: ... this new script.
30228 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30229 than a glob-style pattern.
30231 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30233 * math/test-misc.c (main): Do not treat incorrectly rounded
30234 conversions as failure unless ROUNDING_TESTS passes.
30236 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30239 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30240 restore exception state around main square root computation, then
30241 check for inexactness explicitly.
30243 * math/libm-test.inc (fma_test_data): Add another test.
30245 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30247 * manual/threads.texi (Non-POSIX Extensions): New document
30248 node. Document pthread_getattr_default_np and
30249 pthread_setattr_default_np.
30251 * Versions.def (libpthread): Add GLIBC_2.18.
30252 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30261 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30272 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30275 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30277 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30278 H.J. Lu <hjl.tools@gmail.com>
30281 * sysdeps/x86_64/rtld-memset.c: Remove file.
30282 * sysdeps/x86_64/rtld-memset.S: New file.
30284 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30286 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30287 (test_in_one_mode): Take arguments for whether the rounding mode
30288 is supported for each floating-point type.
30289 (do_test): Pass new arguments to test_in_one_mode using
30292 2013-06-13 Roland McGrath <roland@hack.frob.com>
30294 * posix/tst-waitid.c (do_test): Distinguish different instances of
30295 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30296 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30297 before entering the kernel for waitpid.
30299 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30301 * NEWS: Fix note on clock function precision. Text by Roland
30304 2013-06-13 Roland McGrath <roland@hack.frob.com>
30306 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30307 it into place only when and if the sanity check passes.
30309 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30311 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30312 output for whether conversion result is exact. Take argument
30313 indicating whether type is IBM long double.
30314 (round_for_all): Change need_exact field to ibm_ld.
30315 * stdlib/tst-strtod-round.c (struct exactness): New type.
30316 (struct test): Change bool ld_ok field to struct exactness exact.
30317 (TEST): Update all definitions for change to field.
30318 (tests): Regenerate array contents.
30319 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30320 field value. Check for IBM long double here.
30321 (do_test): Update calls to test_in_one_mode.
30323 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30326 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30327 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30329 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30332 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30333 generated by the compiler on loop optimizations.
30334 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30335 general definitions.
30337 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30339 * math/bug-nextafter.c: Include <math-tests.h>.
30340 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30342 * math/bug-nexttoward.c: Include <math-tests.h>.
30343 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30345 * math/test-misc.c: Include <math-tests.h>.
30346 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30349 2013-06-12 Andreas Jaeger <aj@suse.de>
30351 * po/ia.po: Update Interlingua translation from translation
30354 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30356 * include/fenv.h: Include stdbool.h.
30357 (struct rm_ctx): New structure.
30358 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30360 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30361 (SET_RESTORE_ROUNDF): Likewise.
30362 (SET_RESTORE_ROUNDL): Likewise.
30363 (SET_RESTORE_ROUND_NOEX): Likewise.
30364 (SET_RESTORE_ROUND_NOEXF): Likewise.
30365 (SET_RESTORE_ROUND_NOEXL): Likewise.
30366 (SET_RESTORE_ROUND_53BIT): Likewise.
30367 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30368 (libc_feresetround_noexf_ctx): Likewise.
30369 (libc_feresetround_noexl_ctx): Likewise.
30370 (libc_feholdsetround_53bit_ctx): Likewise.
30371 (libc_feresetround_53bit_ctx): Likewise.
30372 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30373 (libc_feholdexcept_setround_sse_ctx): New function.
30374 (libc_fesetenv_sse_ctx): Likewise.
30375 (libc_feupdateenv_sse_ctx): Likewise.
30376 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30377 (libc_feholdexcept_setround_387_ctx): Likewise.
30378 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30379 (libc_feholdsetround_387_prec_ctx): Likewise.
30380 (libc_feholdsetround_387_ctx): Likewise.
30381 (libc_feholdsetround_387_53bit_ctx): Likewise.
30382 (libc_feholdsetround_sse_ctx): Likewise.
30383 (libc_feresetround_sse_ctx): Likewise.
30384 (libc_feresetround_387_ctx): Likewise.
30385 (libc_feupdateenv_387_ctx): Likewise.
30386 (libc_feholdexcept_setroundf_ctx): Define macro.
30387 (libc_fesetenvf_ctx): Likewise.
30388 (libc_feupdateenvf_ctx): Likewise.
30389 (libc_feholdsetroundf_ctx): Likewise.
30390 (libc_feresetroundf_ctx): Likewise.
30391 (libc_feholdexcept_setround_ctx): Likewise.
30392 (libc_fesetenv_ctx): Likewise.
30393 (libc_feupdateenv_ctx): Likewise.
30394 (libc_feholdsetround_ctx): Likewise.
30395 (libc_feresetround_ctx): Likewise.
30396 (libc_feholdexcept_setroundl_ctx): Likewise.
30397 (libc_feupdateenvl_ctx): Likewise.
30398 (libc_feholdsetroundl_ctx): Likewise.
30399 (libc_feresetroundl_ctx): Likewise.
30400 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30401 (libc_feresetround_53bit_ctx): Likewise.
30403 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30405 * locale/iso-639.def: Convert to UTF-8.
30407 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30409 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30410 (EXCEPTION_TESTS_double): Likewise.
30411 (EXCEPTION_TESTS_long_double): Likewise.
30412 (EXCEPTION_TESTS): Likewise.
30413 * math/libm-test.inc (test_exceptions): Only test exceptions if
30414 EXCEPTION_TESTS (FLOAT).
30416 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30418 * benchtests/Makefile (string-bench): Add strcpy_chk and
30420 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30421 * benchtests/bench-stpcpy_chk.c: New file.
30422 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30423 * benchtests/bench-strcpy_chk.c: New file.
30424 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30426 (do_test): Likewise.
30428 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30430 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30431 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30432 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30433 with tabs where appropriate.
30434 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30436 [PPC_PLATFORM_PPC440]: Likewise.
30437 [PPC_PLATFORM_PPC464]: Likewise.
30438 [PPC_PLATFORM_PPC476]: Likewise.
30439 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30440 ppc464, and ppc476 platform strings merging from ports/
30443 2013-06-11 Andreas Schwab <schwab@suse.de>
30446 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30447 (from_ucs4_idx): Regenerate.
30448 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30449 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30450 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30451 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30452 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30453 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30454 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30455 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30456 from FROM_LOOP and TO_LOOP specific macros.
30457 (BODY): Handle combining characters.
30458 * iconvdata/BIG5HKSCS.irreversible: Update.
30459 * iconvdata/BIG5HKSCS.precomposed: New file.
30460 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30462 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30464 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30466 * include/sys/time.h: Fix indentation and add copyright header.
30468 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30469 (do_test): Likewise.
30470 * string/test-memchr.c (do_one_test): Likewise.
30471 (do_test): Likewise.
30472 * string/test-memcmp.c (do_one_test): Likewise.
30473 (do_test): Likewise.
30474 * string/test-memcpy.c (do_one_test): Likewise.
30475 (do_test): Likewise.
30476 * string/test-memmem.c (do_one_test): Likewise.
30477 (do_test): Likewise.
30478 (do_random_tests): Likewise.
30479 * string/test-memmove.c (do_one_test): Likewise.
30480 (do_test): Likewise.
30481 * string/test-memset.c (do_one_test): Likewise.
30482 (do_test): Likewise.
30483 * string/test-rawmemchr.c (do_one_test): Likewise.
30484 (do_test): Likewise.
30485 * string/test-strcasecmp.c (do_one_test): Likewise.
30486 (do_test): Likewise.
30487 * string/test-strcasestr.c (do_one_test): Likewise.
30488 (do_test): Likewise.
30489 * string/test-strcat.c (do_one_test): Likewise.
30490 (do_test): Likewise.
30491 * string/test-strchr.c (do_one_test): Likewise.
30492 (do_test): Likewise.
30493 * string/test-strcmp.c (do_one_test): Likewise.
30494 (do_test): Likewise.
30495 * string/test-strcpy.c (do_one_test): Likewise.
30496 (do_test): Likewise.
30497 * string/test-string.h: Likewise.
30498 (test_init): Likewise.
30499 * string/test-strlen.c (do_one_test): Likewise.
30500 (do_test): Likewise.
30501 * string/test-strncasecmp.c (do_one_test): Likewise.
30502 (do_test): Likewise.
30503 * string/test-strncat.c (do_one_test): Likewise.
30504 (do_test): Likewise.
30505 * string/test-strncmp.c (do_one_test): Likewise.
30506 (do_test_limit): Likewise.
30507 (do_test): Likewise.
30508 * string/test-strncpy.c (do_one_test): Likewise.
30509 (do_test): Likewise.
30510 * string/test-strnlen.c (do_one_test): Likewise.
30511 (do_test): Likewise.
30512 * string/test-strpbrk.c (do_one_test): Likewise.
30513 (do_test): Likewise.
30514 * string/test-strrchr.c (do_one_test): Likewise.
30515 (do_test): Likewise.
30516 * string/test-strspn.c (do_one_test): Likewise.
30517 (do_test): Likewise.
30518 * string/test-strstr.c (do_one_test): Likewise.
30519 (do_test): Likewise.
30521 * benchtests/Makefile (string-bench): Add string benchmarks.
30522 * benchtests/bench-bcopy-ifunc.c: New file.
30523 * benchtests/bench-bcopy.c: New file.
30524 * benchtests/bench-bzero-ifunc.c: New file.
30525 * benchtests/bench-bzero.c: New file.
30526 * benchtests/bench-memccpy-ifunc.c: New file.
30527 * benchtests/bench-memccpy.c: New file.
30528 * benchtests/bench-memchr-ifunc.c: New file.
30529 * benchtests/bench-memchr.c: New file.
30530 * benchtests/bench-memcmp-ifunc.c: New file.
30531 * benchtests/bench-memcmp.c: New file.
30532 * benchtests/bench-memmem-ifunc.c: New file.
30533 * benchtests/bench-memmem.c: New file.
30534 * benchtests/bench-memmove-ifunc.c: New file.
30535 * benchtests/bench-memmove.c: New file.
30536 * benchtests/bench-mempcpy-ifunc.c: New file.
30537 * benchtests/bench-mempcpy.c: New file.
30538 * benchtests/bench-memset-ifunc.c: New file.
30539 * benchtests/bench-memset.c: New file.
30540 * benchtests/bench-rawmemchr-ifunc.c: New file.
30541 * benchtests/bench-rawmemchr.c: New file.
30542 * benchtests/bench-stpcpy-ifunc.c: New file.
30543 * benchtests/bench-stpcpy.c: New file.
30544 * benchtests/bench-stpncpy-ifunc.c: New file.
30545 * benchtests/bench-stpncpy.c: New file.
30546 * benchtests/bench-strcasecmp-ifunc.c: New file.
30547 * benchtests/bench-strcasecmp.c: New file.
30548 * benchtests/bench-strcasestr-ifunc.c: New file.
30549 * benchtests/bench-strcasestr.c: New file.
30550 * benchtests/bench-strcat-ifunc.c: New file.
30551 * benchtests/bench-strcat.c: New file.
30552 * benchtests/bench-strchr-ifunc.c: New file.
30553 * benchtests/bench-strchr.c: New file.
30554 * benchtests/bench-strchrnul-ifunc.c: New file.
30555 * benchtests/bench-strchrnul.c: New file.
30556 * benchtests/bench-strcmp-ifunc.c: New file.
30557 * benchtests/bench-strcmp.c: New file.
30558 * benchtests/bench-strcpy-ifunc.c: New file.
30559 * benchtests/bench-strcpy.c: New file.
30560 * benchtests/bench-strcspn-ifunc.c: New file.
30561 * benchtests/bench-strcspn.c: New file.
30562 * benchtests/bench-strlen-ifunc.c: New file.
30563 * benchtests/bench-strlen.c: New file.
30564 * benchtests/bench-strncasecmp-ifunc.c: New file.
30565 * benchtests/bench-strncasecmp.c: New file.
30566 * benchtests/bench-strncat-ifunc.c: New file.
30567 * benchtests/bench-strncat.c: New file.
30568 * benchtests/bench-strncmp-ifunc.c: New file.
30569 * benchtests/bench-strncmp.c: New file.
30570 * benchtests/bench-strncpy-ifunc.c: New file.
30571 * benchtests/bench-strncpy.c: New file.
30572 * benchtests/bench-strnlen-ifunc.c: New file.
30573 * benchtests/bench-strnlen.c: New file.
30574 * benchtests/bench-strpbrk-ifunc.c: New file.
30575 * benchtests/bench-strpbrk.c: New file.
30576 * benchtests/bench-strrchr-ifunc.c: New file.
30577 * benchtests/bench-strrchr.c: New file.
30578 * benchtests/bench-strspn-ifunc.c: New file.
30579 * benchtests/bench-strspn.c: New file.
30580 * benchtests/bench-strstr-ifunc.c: New file.
30581 * benchtests/bench-strstr.c: New file.
30583 * benchtests/Makefile: Disable parallel execution of targets.
30584 (string-bench): Add memcpy.
30585 (benchset): New variable to store a list of benchmark sets.
30586 (bench-func): Renamed from bench.
30587 (bench-set): New target.
30588 (bench): Depend on bench-func and bench-set.
30589 * benchtests/README: Add section on benchmark sets.
30590 * benchtests/bench-memcpy-ifunc.c: New file.
30591 * benchtests/bench-memcpy.c: New file.
30592 * benchtests/bench-string.h: New file.
30594 2013-06-11 Andreas Schwab <schwab@suse.de>
30597 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30598 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30599 values in the triple.
30600 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30601 terminator in the group key.
30603 2013-06-11 Andreas Jaeger <aj@suse.de>
30605 * po/zh_TW.po: Update Chinese (traditional) translation from
30606 translation project.
30608 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30610 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30611 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30612 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30613 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30614 (clock_getcpuclockid): Likewise.
30615 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30616 Add weak_alias and libc_hidden_def.
30617 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30618 * rt/clock_gettime.c (clock_gettime): Rename to
30619 __clock_gettime. Add weak_alias and libc_hidden_def.
30620 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30621 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30622 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30623 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30624 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30626 * rt/clock_settime.c (clock_settime): Rename to
30627 __clock_settime. Add weak_alias and libc_hidden_def.
30628 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30630 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30632 * mach/err_boot.sub: Remove trailing whitespace.
30633 * mach/err_ipc.sub: Likewise.
30634 * mach/err_mach.sub: Likewise.
30636 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30637 (ROUNDING_TESTS_double): Likewise.
30638 (ROUNDING_TESTS_long_double): Likewise.
30639 (ROUNDING_TESTS): Likewise.
30640 * math/libm-test.inc: Include <math-tests.h>.
30641 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30642 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30643 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30644 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30646 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30648 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30651 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30653 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30654 otherwise empty TRANS lines.
30655 * sysdeps/gnu/errlist.c: Regenerated.
30657 * catgets/gencat.c (error_print): Use (void) in function
30659 * crypt/crypt_util.c (__init_des): Likewise.
30660 * crypt/speeds.c (Stop): Likewise.
30662 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30663 * inet/ruserpass.c (token): Likewise.
30664 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30665 * intl/localealias.c (extend_alias_table): Likewise.
30666 * intl/plural-exp.c (init_germanic_plural): Likewise.
30667 * libio/fcloseall.c (__fcloseall): Likewise.
30668 * libio/genops.c (_IO_flush_all): Likewise.
30669 (_IO_flush_all_linebuffered): Likewise.
30670 (_IO_cleanup): Likewise.
30671 (_IO_iter_begin): Likewise.
30672 (_IO_iter_end): Likewise.
30673 (_IO_list_lock): Likewise.
30674 (_IO_list_unlock): Likewise.
30675 (_IO_list_resetlock): Likewise.
30676 * libio/getchar.c (getchar): Likewise.
30677 * libio/getchar_u.c (getchar_unlocked): Likewise.
30678 * libio/getwchar.c (getwchar): Likewise.
30679 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30680 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30681 * login/getpt.c (__getpt): Likewise.
30682 * login/tst-utmp.c (main): Likewise.
30683 * malloc/hooks.c (__malloc_check_init): Likewise.
30684 * malloc/malloc.c (__malloc_stats): Likewise.
30685 * malloc/mtrace.c (tr_break): Likewise.
30686 (mtrace): Likewise.
30687 (muntrace): Likewise.
30688 * misc/fstab.c (endfsent): Likewise.
30689 * misc/getclktck.c (__getclktck): Likewise.
30690 * misc/getdtsz.c (__getdtablesize): Likewise.
30691 * misc/gethostid.c (gethostid): Likewise.
30692 * misc/getpagesize.c (__getpagesize): Likewise.
30693 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30694 (__get_nprocs): Likewise.
30695 (__get_phys_pages): Likewise.
30696 (__get_avphys_pages): Likewise.
30697 * misc/getttyent.c (getttyent): Likewise.
30698 (setttyent): Likewise.
30699 (endttyent): Likewise.
30700 * misc/getusershell.c (getusershell): Likewise.
30701 (endusershell): Likewise.
30702 (setusershell): Likewise.
30703 (initshells): Likewise.
30704 * misc/hsearch.c (__hdestroy): Likewise.
30705 * misc/sync.c (sync): Likewise.
30706 * misc/syslog.c (closelog_internal): Likewise.
30707 (closelog): Likewise.
30708 * misc/ttyslot.c (ttyslot): Likewise.
30709 * misc/vhangup.c (vhangup): Likewise.
30710 * posix/fork.c (__fork): Likewise.
30711 * posix/getegid.c (__getegid): Likewise.
30712 * posix/geteuid.c (__geteuid): Likewise.
30713 * posix/getgid.c (__getgid): Likewise.
30714 * posix/getpid.c (__getpid): Likewise.
30715 * posix/getppid.c (__getppid): Likewise.
30716 * posix/getuid.c (__getuid): Likewise.
30717 * posix/pause.c (pause): Likewise.
30718 * posix/setpgrp.c (setpgrp): Likewise.
30719 * posix/setsid.c (__setsid): Likewise.
30720 * posix/test-vfork.c (noop): Likewise.
30721 * resolv/gethnamaddr.c (_endhtent): Likewise.
30722 (_gethtent): Likewise.
30723 (ht_endhostent): Likewise.
30724 (gethostent): Likewise.
30725 (dns_service): Likewise.
30726 * stdlib/drand48.c (drand48): Likewise.
30727 * stdlib/lrand48.c (lrand48): Likewise.
30728 * stdlib/mrand48.c (mrand48): Likewise.
30729 * stdlib/rand.c (rand): Likewise.
30730 * stdlib/random.c (__random): Likewise.
30731 * stdlib/setenv.c (clearenv): Likewise.
30732 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30733 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30734 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30735 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30736 (__get_nprocs): Likewise.
30737 (__get_phys_pages): Likewise.
30738 (__get_avphys_pages): Likewise.
30739 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30740 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30741 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30742 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30743 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30744 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30745 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30746 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30747 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30748 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30749 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30750 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30751 * sysdeps/posix/clock.c (clock): Likewise.
30752 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30753 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30754 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30755 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30756 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30758 (__get_nprocs_conf): Likewise.
30759 (__get_phys_pages): Likewise.
30760 (__get_avphys_pages): Likewise.
30761 * time/clock.c (clock): Likewise.
30762 * time/tzset.c (__tzname_max): Likewise.
30764 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30766 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30767 (__bswap_32): Do not use "register".
30768 * crypt/crypt.c (_ufc_doit_r): Likewise.
30769 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30770 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30771 * gmon/gmon.c (__monstartup): Likewise.
30772 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30773 * hurd/hurdmalloc.c (more_memory): Likewise.
30774 (malloc): Likewise.
30776 (realloc): Likewise.
30777 (malloc_fork_prepare): Likewise.
30778 (malloc_fork_parent): Likewise.
30779 (malloc_fork_child): Likewise.
30780 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30781 (_svcauth_des): Likewise.
30782 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30783 * inet/inet_net.c (inet_network): Likewise.
30784 * inet/inet_netof.c (inet_netof): Likewise.
30785 * inet/rcmd.c (__validuser2_sa): Likewise.
30786 * io/fts.c (fts_open): Likewise.
30787 (fts_load): Likewise.
30788 (fts_close): Likewise.
30789 (fts_read): Likewise.
30790 (fts_children): Likewise.
30791 (fts_build): Likewise.
30792 (fts_stat): Likewise.
30793 (fts_sort): Likewise.
30794 (fts_alloc): Likewise.
30795 (fts_lfree): Likewise.
30796 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30797 (_IO_file_xsgetn): Likewise.
30798 (_IO_file_xsgetn_mmap): Likewise.
30799 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30800 (_IO_cookie_write): Likewise.
30801 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30802 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30803 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30804 * malloc/obstack.c (_obstack_begin): Likewise.
30805 (_obstack_begin_1): Likewise.
30806 (_obstack_newchunk): Likewise.
30807 (_obstack_allocated_p): Likewise.
30808 (obstack_free): Likewise.
30809 (_obstack_memory_used): Likewise.
30810 * misc/getttyent.c (getttynam): Likewise.
30811 (getttyent): Likewise.
30814 * misc/getusershell.c (initshells): Likewise.
30815 * misc/syslog.c (__vsyslog_chk): Likewise.
30816 * misc/ttyslot.c (ttyslot): Likewise.
30817 * nis/nis_hash.c (__nis_hash): Likewise.
30818 * posix/fnmatch_loop.c (FCT): Likewise.
30819 * posix/getconf.c (print_all): Likewise.
30821 * posix/getopt.c (exchange): Likewise.
30822 * posix/glob.c (globfree): Likewise.
30823 (prefix_array): Likewise.
30824 (__glob_pattern_type): Likewise.
30825 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30826 (NS_GET32): Likewise.
30827 (NS_PUT16): Likewise.
30828 (NS_PUT32): Likewise.
30829 * resolv/gethnamaddr.c (getanswer): Likewise.
30830 (gethostbyname2): Likewise.
30831 (gethostbyaddr): Likewise.
30832 (_gethtent): Likewise.
30833 (_gethtbyname2): Likewise.
30834 (_gethtbyaddr): Likewise.
30835 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30836 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30837 * resolv/res_init.c (__res_vinit): Likewise.
30838 (net_mask): Likewise.
30839 * resolv/res_mkquery.c (outchar): Likewise.
30841 * stdio-common/printf_fp.c (outchar): Likewise.
30843 * stdio-common/printf_fphex.c (outchar): Likewise.
30845 * stdio-common/printf_size.c (outchar): Likewise.
30847 * stdio-common/test_rdwr.c (main): Likewise.
30848 * stdio-common/tfformat.c (matches): Likewise.
30849 * stdio-common/vfprintf.c (outchar): Likewise.
30850 (printf_unknown): Likewise.
30851 (buffered_vfprintf): Likewise.
30852 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30853 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30854 (ReadFile): Likewise.
30855 * stdlib/qsort.c (SWAP): Likewise.
30856 (_quicksort): Likewise.
30857 * stdlib/setenv.c (__add_to_environ): Likewise.
30858 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30859 * stdlib/strtol_l.c (__strtol_l): Likewise.
30860 * stdlib/tst-strtod.c (main): Likewise.
30861 * stdlib/tst-strtol.c (main): Likewise.
30862 * stdlib/tst-strtoll.c (main): Likewise.
30863 * string/bits/string2.h (__strcmp_cc): Likewise.
30864 (__strcmp_cg): Likewise.
30865 (__strcspn_c1): Likewise.
30866 (__strcspn_c2): Likewise.
30867 (__strcspn_c3): Likewise.
30868 (__strspn_c1): Likewise.
30869 (__strspn_c2): Likewise.
30870 (__strspn_c3): Likewise.
30871 (__strsep_1c): Likewise.
30872 (__strsep_2c): Likewise.
30873 (__strsep_3c): Likewise.
30874 * string/memccpy.c (__memccpy): Likewise.
30875 * string/stpcpy.c (__stpcpy): Likewise.
30876 * string/strcmp.c (strcmp): Likewise.
30877 * string/strrchr.c (strrchr): Likewise.
30878 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30880 * sysdeps/mach/hurd/getcwd.c
30881 (_hurd_canonicalize_directory_name_internal): Likewise.
30882 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30883 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30884 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30885 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30886 Likewise, in both definitions.
30887 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30889 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30890 64] (__bswap_64): Likewise.
30891 * time/test_time.c (main): Likewise.
30892 * time/tzfile.c (__tzfile_read): Likewise.
30893 (__tzfile_compute): Likewise.
30894 * time/tzset.c (__tzset_parse_tz): Likewise.
30895 (tzset_internal): Likewise.
30896 (compute_change): Likewise.
30897 * wcsmbs/wcscat.c (__wcscat): Likewise.
30898 * wcsmbs/wcschr.c (wcschr): Likewise.
30899 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30900 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30901 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30902 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30903 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30904 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30905 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30906 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30907 * wcsmbs/wmemset.c (wmemset): Likewise.
30909 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30911 * scripts/config.guess: Update to version 2013-05-16.
30912 * scripts/config.sub: Update to version 2013-04-24.
30913 * scripts/install-sh: Update to version 2011-11-20.07.
30914 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30915 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30917 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30919 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30920 * elf/sln.c: Likewise.
30921 * hurd/hurd/ioctl.h: Likewise.
30922 * hurd/hurdmalloc.c: Likewise.
30923 * hurd/xattr.c: Likewise.
30924 * include/shlib-compat.h: Likewise.
30925 * inet/ruserpass.c: Likewise.
30926 * libio/iofgets_u.c: Likewise.
30927 * libio/iofgetws_u.c: Likewise.
30928 * locale/programs/ld-identification.c: Likewise.
30929 * locale/programs/ld-time.c: Likewise.
30930 * mach/msg-destroy.c: Likewise.
30931 * nss/nss_files/files-netgrp.c: Likewise.
30932 * resolv/res_data.c: Likewise.
30933 * soft-fp/op-1.h: Likewise.
30934 * soft-fp/op-2.h: Likewise.
30935 * soft-fp/op-4.h: Likewise.
30936 * soft-fp/op-common.h: Likewise.
30937 * stdio-common/printf_fphex.c: Likewise.
30938 * stdlib/strtod_l.c: Likewise.
30939 * sunrpc/rpc/clnt.h: Likewise.
30940 * sysdeps/generic/framestate.c: Likewise.
30941 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30942 * sysdeps/i386/bsd-setjmp.S: Likewise.
30943 * sysdeps/i386/__longjmp.S: Likewise.
30944 * sysdeps/i386/setjmp.S: Likewise.
30945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30946 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30963 * sysdeps/ieee754/support.c: Likewise.
30964 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30965 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30966 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30967 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30968 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30969 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30970 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30971 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30972 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30973 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30974 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30975 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30976 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30977 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30978 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30979 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30980 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30983 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30985 * posix/transbug.c: Remove executable mode.
30987 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30989 * crypt/speeds.c: Remove trailing whitespace.
30990 * dlfcn/default.c: Likewise.
30991 * elf/ifuncdep2.c: Likewise.
30992 * elf/ifuncmain1.c: Likewise.
30993 * elf/ifuncmain1vis.c: Likewise.
30994 * elf/testobj.h: Likewise.
30995 * elf/tst-stackguard1.c: Likewise.
30996 * gmon/sys/gmon.h: Likewise.
30997 * hurd/hurdmsg.c: Likewise.
30998 * hurd/new-fd.c: Likewise.
30999 * hurd/ports-get.c: Likewise.
31000 * iconvdata/ibm1008_420.c: Likewise.
31001 * inet/tst-getni1.c: Likewise.
31002 * inet/tst-getni2.c: Likewise.
31003 * libio/ioungetc.c: Likewise.
31004 * libio/wfiledoalloc.c: Likewise.
31005 * manual/libm-err-tab.pl: Likewise.
31006 * math/w_dremf.c: Likewise.
31007 * misc/ftruncate.c: Likewise.
31008 * posix/bug-glob2.c: Likewise.
31009 * posix/tst-pcre.c: Likewise.
31010 * posix/wait4.c: Likewise.
31011 * resolv/README: Likewise.
31012 * resolv/res_debug.h: Likewise.
31013 * resolv/tst-inet_ntop.c: Likewise.
31014 * setjmp/bug269-setjmp.c: Likewise.
31015 * soft-fp/extended.h: Likewise.
31016 * soft-fp/op-1.h: Likewise.
31017 * soft-fp/op-2.h: Likewise.
31018 * soft-fp/op-4.h: Likewise.
31019 * soft-fp/op-8.h: Likewise.
31020 * soft-fp/testit.c: Likewise.
31021 * stdio-common/bug16.c: Likewise.
31022 * stdlib/random.c: Likewise.
31023 * sunrpc/rpcsvc/rquota.x: Likewise.
31024 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31025 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31027 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31028 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31029 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31030 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31031 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31032 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31033 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31034 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31053 * sysdeps/ieee754/s_lib_version.c: Likewise.
31054 * sysdeps/mach/hurd/check_fds.c: Likewise.
31055 * sysdeps/mach/hurd/getsockname.c: Likewise.
31056 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31057 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31058 * sysdeps/powerpc/bits/link.h: Likewise.
31059 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31060 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31061 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31062 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31063 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31064 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31065 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31066 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31067 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31068 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31069 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31070 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31071 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31072 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31073 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31074 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31075 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31076 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31078 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31079 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31080 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31082 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31083 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31084 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31085 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31086 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31087 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31088 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31089 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31090 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31091 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31092 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31093 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31094 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31095 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31096 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31097 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31098 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31099 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31100 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31101 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31102 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31103 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31104 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31105 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31106 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31107 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31108 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31111 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31112 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31113 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31114 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31115 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31117 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31118 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31119 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31120 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31121 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31123 * sysdeps/powerpc/sysdep.h: Likewise.
31124 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31125 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31126 * sysdeps/sh/dl-trampoline.S: Likewise.
31127 * sysdeps/sh/memset.S: Likewise.
31128 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31129 * sysdeps/sh/strlen.S: Likewise.
31130 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31131 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31132 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31133 * sysdeps/sparc/sparc32/rem.S: Likewise.
31134 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31135 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31136 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31137 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31138 * sysdeps/sparc/sparc32/urem.S: Likewise.
31139 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31140 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31141 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31142 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31143 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31144 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31145 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31146 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31147 * sysdeps/unix/bsd/times.c: Likewise.
31148 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31149 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31153 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31154 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31155 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31156 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31157 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31158 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31159 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31160 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31161 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31162 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31163 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31164 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31165 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31166 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31167 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31168 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31169 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31170 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31171 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31172 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31173 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31174 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31175 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31176 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31177 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31178 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31179 * sysdeps/x86_64/strcspn.S: Likewise.
31181 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31183 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31184 generated file. Regenerate properly from gen-translit.pl.
31185 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31186 locale/C-translit.h.
31188 2013-06-05 Andreas Schwab <schwab@suse.de>
31191 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31192 week as 6 instead of -1.
31193 * time/tst-strptime.c (day_tests): Add test case.
31195 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31197 * sysdeps/generic/math_private.h
31198 (libc_feholdexcept_setround_53bit): Replace with
31199 libc_feholdsetround_53bit.
31200 (libc_feupdateenv_53bit): Replace with
31201 libc_feresetround_53bit.
31202 (SET_RESTORE_ROUND_53BIT): Adjust.
31204 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31206 * string/test-strchrnul.c: Add copyright header.
31208 * posix/tst-getaddrinfo4.c: Increase test timeout.
31210 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31213 * math/libm-test.inc (MAX_EXP): Remove
31215 (ulp): Use MIN_EXP - MANT_DIG.
31216 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31218 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31220 * po/be.po: Revert last change.
31221 * po/zh_CN.po: Likewise.
31222 * po/header.pot: Likewise.
31224 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31226 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31227 link-libc-deps to empty as target-specific variable.
31228 * Makerules (link-libc-args): New variable.
31229 (libc-for-link): Likewise.
31230 (link-libc-deps): Likewise.
31231 (lib%.so): Depend on $(link-libc-deps). Link with
31233 (build-module): Link with $(link-libc-args).
31234 (build-module-asneeded): Likewise.
31235 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31237 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31238 target-specific variable.
31239 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31240 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31241 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31243 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31245 ($(objpfx)libpcprofile.so): Likewise.
31246 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31248 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31249 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31250 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31252 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31253 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31254 * login/Makefile ($(objpfx)libutil.so): Likewise.
31255 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31256 * math/Makefile ($(objpfx)libm.so): Likewise.
31257 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31258 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31259 variable instead of depending directly on libc.
31260 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31261 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31263 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31265 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31266 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31267 ($(objpfx)libanl.so): Likewise.
31268 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31270 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31272 * sysdeps/i386/fpu/Makefile: Remove file.
31273 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31274 ($(objpfx)libm.so): Remove dependency on ld.so.
31276 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31279 * nis/yp_xdr.c (XDRMAXNAME): Define.
31280 (XDRMAXRECORD): Define.
31281 (xdr_domainname): Use XDRMAXNAME.
31282 (xdr_mapname): Likewise.
31283 (xdr_peername): Likewise.
31284 (xdr_keydat): Use XDRMAXRECORD.
31285 (xdr_valdat): Likewise.
31287 2013-05-30 Jeff Law <law@redhat.com>
31290 * manual/errno.texi (ESTALE): Update to account for more than
31291 just NFS file systems.
31292 * sysdeps/gnu/errlist.c: Regenerated.
31294 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31297 * elf/Makefile (tests): Add tst-null-argv.
31298 (modules-names): Add tst-null-argv-lib.
31299 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31300 (tst-null-argv-ENV): Set environment for tst-null-argv.
31301 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31302 (RTLD_PROGNAME): New macro.
31303 * elf/tst-null-argv.c: New test case.
31304 * elf/tst-null-argv-lib.c: Library for test case.
31305 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31306 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31307 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31308 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31309 * elf/dl-init.c (call_init): Likewise.
31310 (_dl_init): Likewise.
31311 * elf/dl-load.c (print_search_path): Likewise.
31312 (_dl_map_object): Likewise.
31313 * elf/dl-lookup.c (do_lookup_x): Likewise.
31314 (add_dependency): Likewise.
31315 (_dl_lookup_symbol_x): Likewise.
31316 (_dl_debug_bindings): Likewise.
31317 * elf/dl-open.c (_dl_show_scope): Likewise.
31318 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31319 * elf/dl-version.c (match_symbol): Likewise.
31320 (_dl_check_map_versions): Likewise.
31321 * elf/rtld.c (dl_main): Likewise.
31322 (print_unresolved): Use RTLD_PROGNAME.
31323 (print_missing_version): Likewise.
31324 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31325 (elf_machine_rela): Likewise.
31326 * sysdeps/powerpc/powerpc32/dl-machine.c
31327 (__process_machine_rela): Likewise.
31328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31330 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31332 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31334 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31335 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31341 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31343 * po/be.po: Add descriptive title.
31344 * po/zh_CN.po: Likewise.
31345 * po/header.pot: Likewise.
31347 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31349 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31351 (enlarge_archive): Likewise.
31353 2013-05-28 Ben North <ben@redfrontdoor.org>
31355 * manual/arith.texi (frexp): It is the magnitude of the return
31356 value which lies in [0.5, 1), not the return value itself.
31358 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31362 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31364 * stdio-common/bug26.c (main): Correct fscanf template.
31366 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31367 declare _dl_skip_args.
31369 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31372 * manual/platform.texi: Add missing @end deftypefun.
31374 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31377 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31378 bit of mantissa of 2^16382.
31379 * math/libm-test.inc (hypot_test_data): Add more tests.
31381 * math/libm-test.inc: Add drem and pow10 to list of tested
31383 (pow10_test): New function.
31384 (drem_test): Likewise.
31385 (drem_test_tonearest): Likewise.
31386 (drem_test_towardzero): Likewise.
31387 (drem_test_downward): Likewise.
31388 (drem_test_upward): Likewise.
31389 (main): Call the new functions.
31391 * math/libm-test.inc (finite_test_data): Remove.
31392 (finite_test): Run tests from isfinite_test_data.
31393 (gamma_test_data): Remove.
31394 (gamma_test): Run tests from lgamma_test_data.
31395 * sysdeps/i386/fpu/libm-test-ulps: Update.
31396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31398 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31400 * manual/platform.texi: Add PowerPC PPR function set documentation.
31401 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31404 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31406 * math/libm-test.inc (MAX_EXP): Define.
31408 (ulp): New function.
31409 (check_float_internal): Use ULPDIFF.
31410 (cpow_test): Disable failing test.
31411 (check_ulp): Test ulp() implemetnation.
31412 (main): Call check_ulp before starting tests.
31414 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31416 * math/gen-libm-test.pl (generate_testfile): Do not handle
31417 START_DATA and END_DATA.
31418 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31420 (acos_tonearest_test_data): Likewise.
31421 (acos_towardzero_test_data): Likewise.
31422 (acos_downward_test_data): Likewise.
31423 (acos_upward_test_data): Likewise.
31424 (acosh_test_data): Likewise.
31425 (asin_test_data): Likewise.
31426 (asin_tonearest_test_data): Likewise.
31427 (asin_towardzero_test_data): Likewise.
31428 (asin_downward_test_data): Likewise.
31429 (asin_upward_test_data): Likewise.
31430 (asinh_test_data): Likewise.
31431 (atan_test_data): Likewise.
31432 (atanh_test_data): Likewise.
31433 (atan2_test_data): Likewise.
31434 (cabs_test_data): Likewise.
31435 (cacos_test_data): Likewise.
31436 (cacosh_test_data): Likewise.
31437 (carg_test_data): Likewise.
31438 (casin_test_data): Likewise.
31439 (casinh_test_data): Likewise.
31440 (catan_test_data): Likewise.
31441 (catanh_test_data): Likewise.
31442 (cbrt_test_data): Likewise.
31443 (ccos_test_data): Likewise.
31444 (ccosh_test_data): Likewise.
31445 (ceil_test_data): Likewise.
31446 (cexp_test_data): Likewise.
31447 (cimag_test_data): Likewise.
31448 (clog_test_data): Likewise.
31449 (clog10_test_data): Likewise.
31450 (conj_test_data): Likewise.
31451 (copysign_test_data): Likewise.
31452 (cos_test_data): Likewise.
31453 (cos_tonearest_test_data): Likewise.
31454 (cos_towardzero_test_data): Likewise.
31455 (cos_downward_test_data): Likewise.
31456 (cos_upward_test_data): Likewise.
31457 (cosh_test_data): Likewise.
31458 (cosh_tonearest_test_data): Likewise.
31459 (cosh_towardzero_test_data): Likewise.
31460 (cosh_downward_test_data): Likewise.
31461 (cosh_upward_test_data): Likewise.
31462 (cpow_test_data): Likewise.
31463 (cproj_test_data): Likewise.
31464 (creal_test_data): Likewise.
31465 (csin_test_data): Likewise.
31466 (csinh_test_data): Likewise.
31467 (csqrt_test_data): Likewise.
31468 (ctan_test_data): Likewise.
31469 (ctan_tonearest_test_data): Likewise.
31470 (ctan_towardzero_test_data): Likewise.
31471 (ctan_downward_test_data): Likewise.
31472 (ctan_upward_test_data): Likewise.
31473 (ctanh_test_data): Likewise.
31474 (ctanh_tonearest_test_data): Likewise.
31475 (ctanh_towardzero_test_data): Likewise.
31476 (ctanh_downward_test_data): Likewise.
31477 (ctanh_upward_test_data): Likewise.
31478 (erf_test_data): Likewise.
31479 (erfc_test_data): Likewise.
31480 (exp_test_data): Likewise.
31481 (exp_tonearest_test_data): Likewise.
31482 (exp_towardzero_test_data): Likewise.
31483 (exp_downward_test_data): Likewise.
31484 (exp_upward_test_data): Likewise.
31485 (exp10_test_data): Likewise.
31486 (exp2_test_data): Likewise.
31487 (expm1_test_data): Likewise.
31488 (fabs_test_data): Likewise.
31489 (fdim_test_data): Likewise.
31490 (finite_test_data): Likewise.
31491 (floor_test_data): Likewise.
31492 (fma_test_data): Likewise.
31493 (fma_towardzero_test_data): Likewise.
31494 (fma_downward_test_data): Likewise.
31495 (fma_upward_test_data): Likewise.
31496 (fmax_test_data): Likewise.
31497 (fmin_test_data): Likewise.
31498 (fmod_test_data): Likewise.
31499 (fpclassify_test_data): Likewise.
31500 (frexp_test_data): Likewise.
31501 (gamma_test_data): Likewise.
31502 (hypot_test_data): Likewise.
31503 (ilogb_test_data): Likewise.
31504 (isfinite_test_data): Likewise.
31505 (isgreater_test_data): Likewise.
31506 (isgreaterequal_test_data): Likewise.
31507 (isinf_test_data): Likewise.
31508 (isless_test_data): Likewise.
31509 (islessequal_test_data): Likewise.
31510 (islessgreater_test_data): Likewise.
31511 (isnan_test_data): Likewise.
31512 (isnormal_test_data): Likewise.
31513 (issignaling_test_data): Likewise.
31514 (isunordered_test_data): Likewise.
31515 (j0_test_data): Likewise.
31516 (j1_test_data): Likewise.
31517 (jn_test_data): Likewise.
31518 (ldexp_test_data): Likewise.
31519 (lgamma_test_data): Likewise.
31520 (lrint_test_data): Likewise.
31521 (lrint_tonearest_test_data): Likewise.
31522 (lrint_towardzero_test_data): Likewise.
31523 (lrint_downward_test_data): Likewise.
31524 (lrint_upward_test_data): Likewise.
31525 (llrint_test_data): Likewise.
31526 (llrint_tonearest_test_data): Likewise.
31527 (llrint_towardzero_test_data): Likewise.
31528 (llrint_downward_test_data): Likewise.
31529 (llrint_upward_test_data): Likewise.
31530 (log_test_data): Likewise.
31531 (log10_test_data): Likewise.
31532 (log1p_test_data): Likewise.
31533 (log2_test_data): Likewise.
31534 (logb_test_data): Likewise.
31535 (logb_downward_test_data): Likewise.
31536 (lround_test_data): Likewise.
31537 (llround_test_data): Likewise.
31538 (modf_test_data): Likewise.
31539 (nearbyint_test_data): Likewise.
31540 (nextafter_test_data): Likewise.
31541 (nexttoward_test_data): Likewise.
31542 (pow_test_data): Likewise.
31543 (pow_tonearest_test_data): Likewise.
31544 (pow_towardzero_test_data): Likewise.
31545 (pow_downward_test_data): Likewise.
31546 (pow_upward_test_data): Likewise.
31547 (remainder_test_data): Likewise.
31548 (remainder_tonearest_test_data): Likewise.
31549 (remainder_towardzero_test_data): Likewise.
31550 (remainder_downward_test_data): Likewise.
31551 (remainder_upward_test_data): Likewise.
31552 (remquo_test_data): Likewise.
31553 (rint_test_data): Likewise.
31554 (rint_tonearest_test_data): Likewise.
31555 (rint_towardzero_test_data): Likewise.
31556 (rint_downward_test_data): Likewise.
31557 (rint_upward_test_data): Likewise.
31558 (round_test_data): Likewise.
31559 (scalb_test_data): Likewise.
31560 (scalbn_test_data): Likewise.
31561 (scalbln_test_data): Likewise.
31562 (signbit_test_data): Likewise.
31563 (sin_test_data): Likewise.
31564 (sin_tonearest_test_data): Likewise.
31565 (sin_towardzero_test_data): Likewise.
31566 (sin_downward_test_data): Likewise.
31567 (sin_upward_test_data): Likewise.
31568 (sincos_test_data): Likewise.
31569 (sinh_test_data): Likewise.
31570 (sinh_tonearest_test_data): Likewise.
31571 (sinh_towardzero_test_data): Likewise.
31572 (sinh_downward_test_data): Likewise.
31573 (sinh_upward_test_data): Likewise.
31574 (sqrt_test_data): Likewise.
31575 (tan_test_data): Likewise.
31576 (tan_tonearest_test_data): Likewise.
31577 (tan_towardzero_test_data): Likewise.
31578 (tan_downward_test_data): Likewise.
31579 (tan_upward_test_data): Likewise.
31580 (tanh_test_data): Likewise.
31581 (tgamma_test_data): Likewise.
31582 (trunc_test_data): Likewise.
31583 (y0_test_data): Likewise.
31584 (y1_test_data): Likewise.
31585 (yn_test_data): Likewise.
31586 (significand_test_data): Likewise.
31588 * math/gen-libm-test.pl (@functions): Remove variable.
31589 (generate_testfile): Don't handle START and END lines.
31590 * math/libm-test.inc (START): New macro.
31592 (END_COMPLEX): Likewise.
31593 (acos_test): Use END macro without arguments.
31594 (acos_test_tonearest): Likewise.
31595 (acos_test_towardzero): Likewise.
31596 (acos_test_downward): Likewise.
31597 (acos_test_upward): Likewise.
31598 (acosh_test): Likewise.
31599 (asin_test): Likewise.
31600 (asin_test_tonearest): Likewise.
31601 (asin_test_towardzero): Likewise.
31602 (asin_test_downward): Likewise.
31603 (asin_test_upward): Likewise.
31604 (asinh_test): Likewise.
31605 (atan_test): Likewise.
31606 (atanh_test): Likewise.
31607 (atan2_test): Likewise.
31608 (cabs_test): Likewise.
31609 (cacos_test): Use END_COMPLEX macro without arguments.
31610 (cacosh_test): Likewise.
31611 (carg_test): Use END macro without arguments.
31612 (casin_test): Use END_COMPLEX macro without arguments.
31613 (casinh_test): Likewise.
31614 (catan_test): Likewise.
31615 (catanh_test): Likewise.
31616 (cbrt_test): Use END macro without arguments.
31617 (ccos_test): Use END_COMPLEX macro without arguments.
31618 (ccosh_test): Likewise.
31619 (ceil_test): Use END macro without arguments.
31620 (cexp_test): Use END_COMPLEX macro without arguments.
31621 (cimag_test): Use END macro without arguments.
31622 (clog_test): Use END_COMPLEX macro without arguments.
31623 (clog10_test): Likewise.
31624 (conj_test): Likewise.
31625 (copysign_test): Use END macro without arguments.
31626 (cos_test): Likewise.
31627 (cos_test_tonearest): Likewise.
31628 (cos_test_towardzero): Likewise.
31629 (cos_test_downward): Likewise.
31630 (cos_test_upward): Likewise.
31631 (cosh_test): Likewise.
31632 (cosh_test_tonearest): Likewise.
31633 (cosh_test_towardzero): Likewise.
31634 (cosh_test_downward): Likewise.
31635 (cosh_test_upward): Likewise.
31636 (cpow_test): Use END_COMPLEX macro without arguments.
31637 (cproj_test): Likewise.
31638 (creal_test): Use END macro without arguments.
31639 (csin_test): Use END_COMPLEX macro without arguments.
31640 (csinh_test): Likewise.
31641 (csqrt_test): Likewise.
31642 (ctan_test): Likewise.
31643 (ctan_test_tonearest): Likewise.
31644 (ctan_test_towardzero): Likewise.
31645 (ctan_test_downward): Likewise.
31646 (ctan_test_upward): Likewise.
31647 (ctanh_test): Likewise.
31648 (ctanh_test_tonearest): Likewise.
31649 (ctanh_test_towardzero): Likewise.
31650 (ctanh_test_downward): Likewise.
31651 (ctanh_test_upward): Likewise.
31652 (erf_test): Use END macro without arguments.
31653 (erfc_test): Likewise.
31654 (exp_test): Likewise.
31655 (exp_test_tonearest): Likewise.
31656 (exp_test_towardzero): Likewise.
31657 (exp_test_downward): Likewise.
31658 (exp_test_upward): Likewise.
31659 (exp10_test): Likewise.
31660 (exp2_test): Likewise.
31661 (expm1_test): Likewise.
31662 (fabs_test): Likewise.
31663 (fdim_test): Likewise.
31664 (finite_test): Likewise.
31665 (floor_test): Likewise.
31666 (fma_test): Likewise.
31667 (fma_test_towardzero): Likewise.
31668 (fma_test_downward): Likewise.
31669 (fma_test_upward): Likewise.
31670 (fmax_test): Likewise.
31671 (fmin_test): Likewise.
31672 (fmod_test): Likewise.
31673 (fpclassify_test): Likewise.
31674 (frexp_test): Likewise.
31675 (gamma_test): Likewise.
31676 (hypot_test): Likewise.
31677 (ilogb_test): Likewise.
31678 (isfinite_test): Likewise.
31679 (isgreater_test): Likewise.
31680 (isgreaterequal_test): Likewise.
31681 (isinf_test): Likewise.
31682 (isless_test): Likewise.
31683 (islessequal_test): Likewise.
31684 (islessgreater_test): Likewise.
31685 (isnan_test): Likewise.
31686 (isnormal_test): Likewise.
31687 (issignaling_test): Likewise.
31688 (isunordered_test): Likewise.
31689 (j0_test): Likewise.
31690 (j1_test): Likewise.
31691 (jn_test): Likewise.
31692 (ldexp_test): Likewise.
31693 (lgamma_test): Likewise.
31694 (lrint_test): Likewise.
31695 (lrint_test_tonearest): Likewise.
31696 (lrint_test_towardzero): Likewise.
31697 (lrint_test_downward): Likewise.
31698 (lrint_test_upward): Likewise.
31699 (llrint_test): Likewise.
31700 (llrint_test_tonearest): Likewise.
31701 (llrint_test_towardzero): Likewise.
31702 (llrint_test_downward): Likewise.
31703 (llrint_test_upward): Likewise.
31704 (log_test): Likewise.
31705 (log10_test): Likewise.
31706 (log1p_test): Likewise.
31707 (log2_test): Likewise.
31708 (logb_test): Likewise.
31709 (logb_test_downward): Likewise.
31710 (lround_test): Likewise.
31711 (llround_test): Likewise.
31712 (modf_test): Likewise.
31713 (nearbyint_test): Likewise.
31714 (nextafter_test): Likewise.
31715 (nexttoward_test): Likewise.
31716 (pow_test): Likewise.
31717 (pow_test_tonearest): Likewise.
31718 (pow_test_towardzero): Likewise.
31719 (pow_test_downward): Likewise.
31720 (pow_test_upward): Likewise.
31721 (remainder_test): Likewise.
31722 (remainder_test_tonearest): Likewise.
31723 (remainder_test_towardzero): Likewise.
31724 (remainder_test_downward): Likewise.
31725 (remainder_test_upward): Likewise.
31726 (remquo_test): Likewise.
31727 (rint_test): Likewise.
31728 (rint_test_tonearest): Likewise.
31729 (rint_test_towardzero): Likewise.
31730 (rint_test_downward): Likewise.
31731 (rint_test_upward): Likewise.
31732 (round_test): Likewise.
31733 (scalb_test): Likewise.
31734 (scalbn_test): Likewise.
31735 (scalbln_test): Likewise.
31736 (signbit_test): Likewise.
31737 (sin_test): Likewise.
31738 (sin_test_tonearest): Likewise.
31739 (sin_test_towardzero): Likewise.
31740 (sin_test_downward): Likewise.
31741 (sin_test_upward): Likewise.
31742 (sincos_test): Likewise.
31743 (sinh_test): Likewise.
31744 (sinh_test_tonearest): Likewise.
31745 (sinh_test_towardzero): Likewise.
31746 (sinh_test_downward): Likewise.
31747 (sinh_test_upward): Likewise.
31748 (sqrt_test): Likewise.
31749 (tan_test): Likewise.
31750 (tan_test_tonearest): Likewise.
31751 (tan_test_towardzero): Likewise.
31752 (tan_test_downward): Likewise.
31753 (tan_test_upward): Likewise.
31754 (tanh_test): Likewise.
31755 (tgamma_test): Likewise.
31756 (trunc_test): Likewise.
31757 (y0_test): Likewise.
31758 (y1_test): Likewise.
31759 (yn_test): Likewise.
31760 (significand_test): Likewise.
31762 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31765 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31767 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31770 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31771 __ppc_mdoio and __ppc_mdoom.
31772 * manual/platform.texi: Document new functions __ppc_yield,
31773 __ppc_mdoio and __ppc_mdoom.
31775 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31777 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31778 (main): Mention "tls" pseudo-hwcap is legacy.
31779 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31781 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31783 * math/gen-libm-test.pl (parse_args): Output only string of
31784 arguments as text for test name, not full call or descriptions of
31785 tests for extra outputs.
31786 (generate_testfile): Do not pass function name to parse_args.
31787 Generate this_func variable from START.
31788 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31790 (struct test_ff_f_data): Likewise.
31791 (test_ff_f_data_nexttoward): Likewise.
31792 (struct test_fi_f_data): Likewise.
31793 (struct test_fl_f_data): Likewise.
31794 (struct test_if_f_data): Likewise.
31795 (struct test_fff_f_data): Likewise.
31796 (struct test_c_f_data): Likewise.
31797 (struct test_f_f1_data): Likewise. Remove field extra_name.
31798 (struct test_fF_f1_data): Likewise.
31799 (struct test_ffI_f1_data): Likewise.
31800 (struct test_c_c_data): Rename test_name field to arg_str.
31801 (struct test_cc_c_data): Likewise.
31802 (struct test_f_i_data): Likewise.
31803 (struct test_ff_i_data): Likewise.
31804 (struct test_f_l_data): Likewise.
31805 (struct test_f_L_data): Likewise.
31806 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31808 (COMMON_TEST_SETUP): New macro.
31809 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31810 (COMMON_TEST_CLEANUP): Likewise.
31811 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31812 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31814 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31815 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31817 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31818 (RUN_TEST_fff_f): Take argument string. Call new setup and
31820 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31821 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31823 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31824 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31826 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31827 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31829 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31830 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31832 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31833 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31835 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31836 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31838 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31839 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31841 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31842 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31844 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31845 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31847 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31848 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31850 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31851 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31853 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31854 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31856 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31857 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31859 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31860 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31862 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31863 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31865 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31867 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31869 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31870 to _sifields.sigfault.
31871 (si_addr_lsb): Define new macro.
31872 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31876 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31879 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31881 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31883 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31884 loading the domain.
31886 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31888 * math/gen-libm-test.pl (parse_args): Do not include expected
31889 result in test name.
31890 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31891 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31892 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31893 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31894 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31897 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31899 * benchtests/Makefile: Sort function entries.
31901 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31902 tanh, asinh, acosh, atanh.
31903 * benchtests/acos-inputs: New file.
31904 * benchtests/acosh-inputs: New file.
31905 * benchtests/asin-inputs: New file.
31906 * benchtests/asinh-inputs: New file.
31907 * benchtests/atanh-inputs: New file.
31908 * benchtests/cosh-inputs: New file.
31909 * benchtests/log-inputs: New file.
31910 * benchtests/sinh-inputs: New file.
31911 * benchtests/tanh-inputs: New file.
31913 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31916 * posix/tst-getaddrinfo4.c: New test.
31917 * posix/Makefile (tests): Add it.
31919 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31922 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31923 when no services were used.
31924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31925 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31927 2013-05-21 Andreas Schwab <schwab@suse.de>
31930 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31931 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31933 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31934 redundant variable declarations and reallocation of buffer when
31935 parsing as IPv6 address. Always set NSS status when called from
31936 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31937 buffer too small. Correct computation of needed size.
31938 * nss/Makefile (tests): Add test-digits-dots.
31939 * nss/test-digits-dots.c: New test.
31941 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31943 * benchtests/Makefile: Remove instructions for adding
31945 * benchtests/README: New file to explain how to execute and
31946 enhance the benchmark tests.
31948 2013-05-21 Andreas Schwab <schwab@suse.de>
31951 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31952 * setjmp/tst-sigsetjmp.c: New test.
31954 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31956 * sysdeps/x86_64/memset.S (memset): New implementation.
31957 (__bzero): Likewise.
31958 (__memset_tail): New function.
31960 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31962 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31963 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31964 __memcpy_sse2_unaligned ifunc selection.
31965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31966 Add memcpy-sse2-unaligned.S.
31967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31968 Add: __memcpy_sse2_unaligned.
31970 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31973 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31974 math_force_eval before restoring floating-point envrionment.
31975 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31976 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31978 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31980 (__nearbyintl): Use math_force_eval before restoring
31981 floating-point environment.
31982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31984 * math/gen-libm-test.pl (special_functions): Remove.
31985 (parse_args): Don't handle TEST_extra. Handle functions with no
31987 * math/libm-test.inc (struct test_sincos_data): Replace with
31988 struct test_fFF_11_data.
31989 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31990 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31991 (sincos_test_data): Change element type to struct
31992 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31993 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31994 RUN_TEST_LOOP_sincos.
31995 * math/README.libm-test: Don't mention special handling of
31996 individual functions.
31997 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31999 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32000 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32001 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32004 * math/gen-libm-test.pl (get_variable): Remove function.
32005 (parse_args): Don't show pointer parameters to call in test
32006 names. Use "extra output N" in test names for extra outputs
32007 rather than naming variables.
32009 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32012 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32013 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32014 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32016 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32018 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32021 * math/gen-libm-test.pl (@tests): Remove variable.
32022 ($count): Likewise.
32023 (new_test): Remove function.
32024 (show_exceptions): New function.
32025 (special_functions): Use show_exceptions instead of new_test.
32026 (parse_args): Likewise.
32027 (generate_testfile): Pass only function name in generated call to
32028 print_max_error or print_complex_max_error.
32029 (get_ulps): Do not handle complex tests specially.
32030 (output_test): Rename to ...
32031 (get_all_ulps_for_test): ... this. Return a string rather than
32032 printing to a file. Require ulps to be present.
32033 (output_ulps): Generate arrays rather than #defines.
32034 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32035 (struct ulp_data): New type.
32036 (BUILD_COMPLEX_ULP): Remove macro.
32037 (compare_ulp_data): New function.
32038 (find_ulps): Likewise.
32039 (find_test_ulps): Likewise.
32040 (find_function_ulps): Likewise.
32041 (find_complex_function_ulps): Likewise.
32042 (print_max_error): Determine allowed ulps using
32043 find_function_ulps.
32044 (print_complex_max_error): Determine allowed ulps using
32045 find_complex_function_ulps.
32046 (check_float_internal): Determine max ulps using find_test_ulps.
32047 (check_float): Do not take max_ulp parameter. Update call to
32048 check_float_internal.
32049 (check_complex): Likewise.
32050 (check_int): Do not take max_ulp parameter.
32051 (check_long): Likewise.
32052 (check_bool): Likewise.
32053 (check_longlong): Likewise.
32054 (struct test_f_f_data): Remove max_ulp field.
32055 (struct test_ff_f_data): Likewise.
32056 (struct test_ff_f_data_nexttoward): Likewise.
32057 (struct test_fi_f_data): Likewise.
32058 (struct test_fl_f_data): Likewise.
32059 (struct test_if_f_data): Likewise.
32060 (struct test_fff_f_data): Likewise.
32061 (struct test_c_f_data): Likewise.
32062 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32063 (struct test_fF_f1_data): Likewise.
32064 (struct test_ffI_f1_data): Likewise.
32065 (struct test_c_c_data): Remove max_ulp field.
32066 (struct test_cc_c_data): Likewise.
32067 (struct test_f_i_data): Likewise.
32068 (struct test_ff_i_data): Likewise.
32069 (struct test_f_l_data): Likewise.
32070 (struct test_f_L_data): Likewise.
32071 (struct test_sincos_data): Likewise.
32072 (RUN_TEST_f_f): Do not handle ulps.
32073 (RUN_TEST_LOOP_f_f): Likewise.
32074 (RUN_TEST_2_f): Likewise.
32075 (RUN_TEST_LOOP_2_f): Likewise.
32076 (RUN_TEST_fff_f): Likewise.
32077 (RUN_TEST_LOOP_fff_f): Likewise.
32078 (RUN_TEST_c_f): Likewise.
32079 (RUN_TEST_LOOP_c_f): Likewise.
32080 (RUN_TEST_f_f1): Likewise.
32081 (RUN_TEST_LOOP_f_f1): Likewise.
32082 (RUN_TEST_fF_f1): Likewise.
32083 (RUN_TEST_LOOP_fF_f1): Likewise.
32084 (RUN_TEST_fI_f1): Likewise.
32085 (RUN_TEST_LOOP_fI_f1): Likewise.
32086 (RUN_TEST_ffI_f1): Likewise.
32087 (RUN_TEST_LOOP_ffI_f1): Likewise.
32088 (RUN_TEST_c_c): Likewise.
32089 (RUN_TEST_LOOP_c_c): Likewise.
32090 (RUN_TEST_cc_c): Likewise.
32091 (RUN_TEST_LOOP_cc_c): Likewise.
32092 (RUN_TEST_f_i): Likewise.
32093 (RUN_TEST_LOOP_f_i): Likewise.
32094 (RUN_TEST_f_i_tg): Likewise.
32095 (RUN_TEST_LOOP_f_i_tg): Likewise.
32096 (RUN_TEST_ff_i_tg): Likewise.
32097 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32098 (RUN_TEST_f_b): Likewise.
32099 (RUN_TEST_LOOP_f_b): Likewise.
32100 (RUN_TEST_f_b_tg): Likewise.
32101 (RUN_TEST_LOOP_f_b_tg): Likewise.
32102 (RUN_TEST_f_l): Likewise.
32103 (RUN_TEST_LOOP_f_l): Likewise.
32104 (RUN_TEST_f_L): Likewise.
32105 (RUN_TEST_LOOP_f_L): Likewise.
32106 (RUN_TEST_sincos): Likewise.
32107 (RUN_TEST_LOOP_sincos): Likewise.
32109 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32113 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32114 main case of finite arguments, set rounding mode to FE_TONEAREST
32115 and discard exceptions.
32116 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32118 (remainder_tonearest_test_data): New variable.
32119 (remainder_test_tonearest): New function.
32120 (remainder_towardzero_test_data): New variable.
32121 (remainder_test_towardzero): New function.
32122 (remainder_downward_test_data): New variable.
32123 (remainder_test_downward): New function.
32124 (remainder_upward_test_data): New variable.
32125 (remainder_test_upward): New function.
32126 (main): Call the new test functions.
32128 * math/libm-test.inc (struct test_f_f1_data): Remove field
32130 (struct test_fF_f1_data): Likewise.
32131 (struct test_ffI_f1_data): Likewise.
32132 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32133 based on value of EXTRA_EXPECTED.
32134 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32135 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32136 EXTRA_VAR based on value of EXTRA_EXPECTED.
32137 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32138 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32139 EXTRA_VAR based on value of EXTRA_EXPECTED.
32140 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32141 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32142 EXTRA_VAR based on value of EXTRA_EXPECTED.
32143 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32144 * math/gen-libm-test.pl (parse_args): Don't output initializers
32145 for extra output values.
32147 * math/libm-test.inc (check_int): Expect result to be exactly
32148 equal to expected value and do not handle ulps.
32149 (check_long): Likewise.
32150 (check_longlong): Likewise.
32152 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32154 (cimag_test_data): Likewise.
32155 (conj_test_data): Likewise.
32156 (copysign_test_data): Likewise.
32157 (cproj_test_data): Likewise.
32158 (creal_test_data): Likewise.
32159 (fabs_test_data): Likewise.
32160 (fdim_test_data): Likewise.
32161 (finite_test_data): Likewise.
32162 (floor_test_data): Likewise.
32163 (fmax_test_data): Likewise.
32164 (fmin_test_data): Likewise.
32165 (fmod_test_data): Likewise.
32166 (fpclassify_test_data): Likewise.
32167 (frexp_test_data): Likewise.
32168 (ilogb_test_data): Likewise.
32169 (isfinite_test_data): Likewise.
32170 (isgreater_test_data): Likewise.
32171 (isgreaterequal_test_data): Likewise.
32172 (isinf_test_data): Likewise.
32173 (isless_test_data): Likewise.
32174 (islessequal_test_data): Likewise.
32175 (islessgreater_test_data): Likewise.
32176 (isnan_test_data): Likewise.
32177 (isnormal_test_data): Likewise.
32178 (issignaling_test_data): Likewise.
32179 (isunordered_test_data): Likewise.
32180 (ldexp_test_data): Likewise.
32181 (lrint_test_data): Likewise.
32182 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32183 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32184 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32185 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32186 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32187 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32189 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32190 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32191 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32192 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32194 (lrint_downward_test_data): Test for "inexact" exceptions.
32195 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32196 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32197 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32199 (lrint_upward_test_data): Test for "inexact" exceptions.
32200 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32202 (llrint_test_data): Test for "inexact" exceptions.
32203 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32204 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32205 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32206 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32207 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32208 (llrint_downward_test_data): Test for "inexact" exceptions.
32209 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32210 (llrint_upward_test_data): Test for "inexact" exceptions.
32211 (logb_test_data): Likewise.
32212 (logb_downward_test_data): Likewise.
32213 (nextafter_test_data): Likewise.
32214 (nexttoward_test_data): Likewise.
32215 (remainder_test_data): Likewise.
32216 (remquo_test_data): Likewise.
32217 (scalbn_test_data): Likewise.
32218 (scalbln_test_data): Likewise.
32219 (signbit_test_data): Likewise.
32220 (sqrt_test_data): Likewise.
32221 (significand_test_data): Likewise.
32223 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32226 * benchtests/bench-modf.c (struct args): Mark arg0 as
32228 * scripts/bench.pl: Mark members of struct args as volatile.
32230 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32233 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32234 negative infinity on POWER6 or lower.
32235 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32237 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32240 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32241 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32242 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32243 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32244 (_FP_SETQNAN): New macro.
32245 (_FP_SETQNAN_SEMIRAW): Likewise.
32246 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32247 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32248 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32249 (FP_EXTEND): Use _FP_FRAC_SNANP.
32250 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32251 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32253 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32255 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32258 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32260 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32261 with DIVIDE_BY_ZERO_EXCEPTION.
32262 (gamma_test_data): Likewise.
32263 (lgamma_test_data): Likewise.
32264 (log_test_data): Likewise.
32265 (log10_test_data): Likewise.
32266 (log2_test_data): Likewise.
32267 (tgamma_test_data): Likewise.
32269 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32270 (acos_test_tonearest): Likewise.
32271 (acos_test_towardzero): Likewise.
32272 (acos_test_downward): Likewise.
32273 (acos_test_upward): Likewise.
32274 (acosh_test): Likewise.
32275 (asin_test): Likewise.
32276 (asin_test_tonearest): Likewise.
32277 (asin_test_towardzero): Likewise.
32278 (asin_test_downward): Likewise.
32279 (asin_test_upward): Likewise.
32280 (asinh_test): Likewise.
32281 (atan_test): Likewise.
32282 (atanh_test): Likewise.
32283 (atan2_test): Likewise.
32284 (cabs_test): Likewise.
32285 (cacos_test): Likewise.
32286 (cacosh_test): Likewise.
32287 (casin_test): Likewise.
32288 (casinh_test): Likewise.
32289 (catan_test): Likewise.
32290 (catanh_test): Likewise.
32291 (cbrt_test): Likewise.
32292 (ccos_test): Likewise.
32293 (ccosh_test): Likewise.
32294 (cexp_test): Likewise.
32295 (clog_test): Likewise.
32296 (clog10_test): Likewise.
32297 (cos_test): Likewise.
32298 (cos_test_tonearest): Likewise.
32299 (cos_test_towardzero): Likewise.
32300 (cos_test_downward): Likewise.
32301 (cos_test_upward): Likewise.
32302 (cosh_test): Likewise.
32303 (cosh_test_tonearest): Likewise.
32304 (cosh_test_towardzero): Likewise.
32305 (cosh_test_downward): Likewise.
32306 (cosh_test_upward): Likewise.
32307 (cpow_test): Likewise.
32308 (csin_test): Likewise.
32309 (csinh_test): Likewise.
32310 (csqrt_test): Likewise.
32311 (ctan_test): Likewise.
32312 (ctan_test_tonearest): Likewise.
32313 (ctan_test_towardzero): Likewise.
32314 (ctan_test_downward): Likewise.
32315 (ctan_test_upward): Likewise.
32316 (ctanh_test): Likewise.
32317 (ctanh_test_tonearest): Likewise.
32318 (ctanh_test_towardzero): Likewise.
32319 (ctanh_test_downward): Likewise.
32320 (ctanh_test_upward): Likewise.
32321 (erf_test): Likewise.
32322 (erfc_test): Likewise.
32323 (exp_test): Likewise.
32324 (exp_test_tonearest): Likewise.
32325 (exp_test_towardzero): Likewise.
32326 (exp_test_downward): Likewise.
32327 (exp_test_upward): Likewise.
32328 (exp10_test): Likewise.
32329 (exp2_test): Likewise.
32330 (expm1_test): Likewise.
32331 (fmod_test): Likewise.
32332 (gamma_test): Likewise.
32333 (hypot_test): Likewise.
32334 (j0_test): Likewise.
32335 (j1_test): Likewise.
32336 (jn_test): Likewise.
32337 (lgamma_test): Likewise.
32338 (log_test): Likewise.
32339 (log10_test): Likewise.
32340 (log1p_test): Likewise.
32341 (log2_test): Likewise.
32342 (logb_test_downward): Likewise.
32343 (pow_test): Likewise.
32344 (pow_test_tonearest): Likewise.
32345 (pow_test_towardzero): Likewise.
32346 (pow_test_downward): Likewise.
32347 (pow_test_upward): Likewise.
32348 (remainder_test): Likewise.
32349 (remquo_test): Likewise.
32350 (sin_test): Likewise.
32351 (sin_test_tonearest): Likewise.
32352 (sin_test_towardzero): Likewise.
32353 (sin_test_downward): Likewise.
32354 (sin_test_upward): Likewise.
32355 (sincos_test): Likewise.
32356 (sinh_test): Likewise.
32357 (sinh_test_tonearest): Likewise.
32358 (sinh_test_towardzero): Likewise.
32359 (sinh_test_downward): Likewise.
32360 (sinh_test_upward): Likewise.
32361 (sqrt_test): Likewise.
32362 (tan_test): Likewise.
32363 (tan_test_tonearest): Likewise.
32364 (tan_test_towardzero): Likewise.
32365 (tan_test_downward): Likewise.
32366 (tan_test_upward): Likewise.
32367 (tanh_test): Likewise.
32368 (tgamma_test): Likewise.
32369 (y0_test): Likewise.
32370 (y1_test): Likewise.
32371 (yn_test): Likewise.
32373 * math/gen-libm-test.pl (adjust_arg): Remove function.
32374 (special_function): Remove argument $in_func. Only handle
32375 generating output for tables of tests, not inside functions.
32376 (parse_args): Likewise.
32377 (generate_testfile): Remove variable $in_func. Update call to
32379 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32380 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32381 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32382 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32383 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32384 (MAX_VALUE_INIT): Rename macro to max_value.
32385 (MIN_VALUE_INIT): Rename macro to min_value.
32386 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32387 (plus_zero): Remove variable.
32388 (minus_zero): Likewise.
32389 (plus_infty): Likewise.
32390 (minus_infty): Likewise.
32391 (qnan_value): Likewise.
32392 (max_value): Likewise.
32393 (min_value): Likewise.
32394 (min_subnorm_value): Likewise.
32396 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32398 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32399 uint64_t or uint32_t usage.
32400 * crypt/sha256-block.c: Likewise.
32401 * crypt/sha256-crypt.c: Likewise.
32402 * crypt/sha256.c: Likewise.
32403 * crypt/sha512-block.c: Likewise.
32404 * crypt/sha512-crypt.c: Likewise.
32405 * crypt/sha512.c: Likewise.
32406 * debug/backtrace-tst.c: Likewise.
32407 * debug/pcprofiledump.c: Likewise.
32408 * elf/cache.c: Likewise.
32409 * elf/dl-cache.c: Likewise.
32410 * elf/dl-misc.c: Likewise.
32411 * elf/dl-profile.c: Likewise.
32412 * elf/dl-support.c: Likewise.
32413 * elf/ldconfig.c: Likewise.
32414 * elf/sprof.c: Likewise.
32415 * iconv/dummy-repertoire.c: Likewise.
32416 * iconv/iconv_charmap.c: Likewise.
32417 * iconv/skeleton.c: Likewise.
32418 * iconvdata/8bit-generic.c: Likewise.
32419 * iconvdata/cp737.h: Likewise.
32420 * iconvdata/cp775.h: Likewise.
32421 * iconvdata/ibm1008.h: Likewise.
32422 * iconvdata/ibm1025.h: Likewise.
32423 * iconvdata/ibm1046.h: Likewise.
32424 * iconvdata/ibm1097.h: Likewise.
32425 * iconvdata/ibm1112.h: Likewise.
32426 * iconvdata/ibm1122.h: Likewise.
32427 * iconvdata/ibm1123.h: Likewise.
32428 * iconvdata/ibm1124.h: Likewise.
32429 * iconvdata/ibm1129.h: Likewise.
32430 * iconvdata/ibm1130.h: Likewise.
32431 * iconvdata/ibm1132.h: Likewise.
32432 * iconvdata/ibm1133.h: Likewise.
32433 * iconvdata/ibm1137.h: Likewise.
32434 * iconvdata/ibm1140.h: Likewise.
32435 * iconvdata/ibm1141.h: Likewise.
32436 * iconvdata/ibm1142.h: Likewise.
32437 * iconvdata/ibm1143.h: Likewise.
32438 * iconvdata/ibm1144.h: Likewise.
32439 * iconvdata/ibm1145.h: Likewise.
32440 * iconvdata/ibm1146.h: Likewise.
32441 * iconvdata/ibm1147.h: Likewise.
32442 * iconvdata/ibm1148.h: Likewise.
32443 * iconvdata/ibm1149.h: Likewise.
32444 * iconvdata/ibm1153.h: Likewise.
32445 * iconvdata/ibm1154.h: Likewise.
32446 * iconvdata/ibm1155.h: Likewise.
32447 * iconvdata/ibm1156.h: Likewise.
32448 * iconvdata/ibm1157.h: Likewise.
32449 * iconvdata/ibm1158.h: Likewise.
32450 * iconvdata/ibm1160.h: Likewise.
32451 * iconvdata/ibm1161.h: Likewise.
32452 * iconvdata/ibm1162.h: Likewise.
32453 * iconvdata/ibm1163.h: Likewise.
32454 * iconvdata/ibm1164.h: Likewise.
32455 * iconvdata/ibm1166.h: Likewise.
32456 * iconvdata/ibm1167.h: Likewise.
32457 * iconvdata/ibm12712.h: Likewise.
32458 * iconvdata/ibm1390.h: Likewise.
32459 * iconvdata/ibm1399.h: Likewise.
32460 * iconvdata/ibm16804.h: Likewise.
32461 * iconvdata/ibm4517.h: Likewise.
32462 * iconvdata/ibm4899.h: Likewise.
32463 * iconvdata/ibm4909.h: Likewise.
32464 * iconvdata/ibm4971.h: Likewise.
32465 * iconvdata/ibm5347.h: Likewise.
32466 * iconvdata/ibm803.h: Likewise.
32467 * iconvdata/ibm856.h: Likewise.
32468 * iconvdata/ibm901.h: Likewise.
32469 * iconvdata/ibm902.h: Likewise.
32470 * iconvdata/ibm9030.h: Likewise.
32471 * iconvdata/ibm9066.h: Likewise.
32472 * iconvdata/ibm921.h: Likewise.
32473 * iconvdata/ibm922.h: Likewise.
32474 * iconvdata/ibm9448.h: Likewise.
32475 * iconvdata/isiri-3342.h: Likewise.
32476 * iconvdata/jis0201.h: Likewise.
32477 * include/link.h: Likewise.
32478 * include/netdb.h: Likewise.
32479 * inet/check_native.c: Likewise.
32480 * inet/check_pf.c: Likewise.
32481 * inet/getipv4sourcefilter.c: Likewise.
32482 * inet/getnameinfo.c: Likewise.
32483 * inet/getsourcefilter.c: Likewise.
32484 * inet/htonl.c: Likewise.
32485 * inet/setipv4sourcefilter.c: Likewise.
32486 * inet/setsourcefilter.c: Likewise.
32487 * inet/test-inet6_opt.c: Likewise.
32488 * inet/tst-network.c: Likewise.
32489 * locale/C-collate.c: Likewise.
32490 * locale/C-ctype.c: Likewise.
32491 * locale/C-time.c: Likewise.
32492 * locale/C-translit.h: Likewise.
32493 * locale/loadarchive.c: Likewise.
32494 * locale/programs/3level.h: Likewise.
32495 * locale/programs/charmap.c: Likewise.
32496 * locale/programs/charmap.h: Likewise.
32497 * locale/programs/ld-address.c: Likewise.
32498 * locale/programs/ld-collate.c: Likewise.
32499 * locale/programs/ld-ctype.c: Likewise.
32500 * locale/programs/ld-identification.c: Likewise.
32501 * locale/programs/ld-measurement.c: Likewise.
32502 * locale/programs/ld-messages.c: Likewise.
32503 * locale/programs/ld-monetary.c: Likewise.
32504 * locale/programs/ld-name.c: Likewise.
32505 * locale/programs/ld-numeric.c: Likewise.
32506 * locale/programs/ld-paper.c: Likewise.
32507 * locale/programs/ld-telephone.c: Likewise.
32508 * locale/programs/ld-time.c: Likewise.
32509 * locale/programs/linereader.c: Likewise.
32510 * locale/programs/locale.c: Likewise.
32511 * locale/programs/locarchive.c: Likewise.
32512 * locale/programs/locfile.h: Likewise.
32513 * locale/programs/repertoire.c: Likewise.
32514 * locale/programs/simple-hash.c: Likewise.
32515 * locale/programs/simple-hash.h: Likewise.
32516 * malloc/memusage.c: Likewise.
32517 * malloc/memusagestat.c: Likewise.
32518 * nis/nis_defaults.c: Likewise.
32519 * nis/nis_hash.c: Likewise.
32520 * nis/nis_print.c: Likewise.
32521 * nis/nis_xdr.c: Likewise.
32522 * nscd/connections.c: Likewise.
32523 * nscd/hstcache.c: Likewise.
32524 * nscd/nscd_gethst_r.c: Likewise.
32525 * nscd/nscd_getserv_r.c: Likewise.
32526 * nscd/nscd_helper.c: Likewise.
32527 * nscd/servicescache.c: Likewise.
32528 * nss/makedb.c: Likewise.
32529 * nss/nss_db/db-XXX.c: Likewise.
32530 * nss/nss_db/db-initgroups.c: Likewise.
32531 * nss/nss_db/db-netgrp.c: Likewise.
32532 * nss/nss_files/files-network.c: Likewise.
32533 * nss/nss_files/files-parse.c: Likewise.
32534 * posix/bug-regex5.c: Likewise.
32535 * posix/fnmatch_loop.c: Likewise.
32536 * posix/regcomp.c: Likewise.
32537 * posix/regexec.c: Likewise.
32538 * posix/tst-rfc3484-2.c: Likewise.
32539 * posix/tst-rfc3484-3.c: Likewise.
32540 * posix/tst-rfc3484.c: Likewise.
32541 * resolv/nss_dns/dns-canon.c: Likewise.
32542 * resolv/nss_dns/dns-network.c: Likewise.
32543 * resolv/res_init.c: Likewise.
32544 * resolv/res_mkquery.c: Likewise.
32545 * resolv/tst-aton.c: Likewise.
32546 * stdlib/cxa_atexit.c: Likewise.
32547 * stdlib/cxa_finalize.c: Likewise.
32548 * stdlib/gen-fpioconst.c: Likewise.
32549 * stdlib/strtol_l.c: Likewise.
32550 * string/tst-endian.c: Likewise.
32551 * sunrpc/auth_des.c: Likewise.
32552 * sunrpc/clnt_udp.c: Likewise.
32553 * sunrpc/rtime.c: Likewise.
32554 * sunrpc/svcauth_des.c: Likewise.
32555 * sunrpc/xdr.c: Likewise.
32556 * sunrpc/xdr_intXX_t.c: Likewise.
32557 * sunrpc/xdr_rec.c: Likewise.
32558 * sysdeps/generic/ldconfig.h: Likewise.
32559 * sysdeps/generic/ldsodefs.h: Likewise.
32560 * sysdeps/generic/memusage.h: Likewise.
32561 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32571 * sysdeps/posix/getaddrinfo.c: Likewise.
32572 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32573 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32574 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32575 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32576 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32577 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32578 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32579 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32580 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32581 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32582 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32583 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32584 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32585 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32586 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32587 * sysdeps/x86_64/dl-tls.h: Likewise.
32588 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32589 * time/alt_digit.c: Likewise.
32590 * time/era.c: Likewise.
32591 * wcsmbs/tst-c16c32-1.c: Likewise.
32593 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32595 * math/libm-test.inc (struct test_sincos_data): New type.
32596 (RUN_TEST_LOOP_sincos): New macro.
32597 (sincos_test_data): New variable.
32598 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32600 2013-05-16 Richard Henderson <rth@redhat.com>
32602 * math/atest-exp2.c (LIMB64): New macro.
32603 (CONSTSZ): New macro.
32604 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32606 (print_mpn_fp): ... to function scope.
32607 (read_mpn_hex): Remove.
32608 (get_log2): Remove.
32609 (exp2_mpn): Use mp_log2.
32610 (main): Use mp_exp1.
32612 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32614 * math/libm-test.inc: Remove comment about not testing "inexact"
32616 (INEXACT_EXCEPTION): New macro.
32617 (NO_INEXACT_EXCEPTION): Likewise.
32618 (INVALID_EXCEPTION_OK): Update value.
32619 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32620 (OVERFLOW_EXCEPTION_OK): Likewise.
32621 (UNDERFLOW_EXCEPTION_OK): Likewise.
32622 (IGNORE_ZERO_INF_SIGN): Likewise.
32623 (ERRNO_UNCHANGED): Likewise.
32624 (ERRNO_EDOM): Likewise.
32625 (ERRNO_ERANGE): Likewise.
32626 (test_exceptions): Handle testing "inexact" exceptions.
32627 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32628 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32629 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32630 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32632 (rint_towardzero_test_data): Likewise.
32633 (rint_downward_test_data): Likewise.
32634 (rint_upward_test_data): Likewise.
32636 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32637 with OVERFLOW_EXCEPTION.
32638 (exp10_test_data): Likewise.
32639 (exp2_test_data): Likewise.
32640 (expm1_test_data): Likewise.
32641 (lgamma_test_data): Likewise.
32642 (pow_test_data): Likewise.
32643 (tgamma_test_data): Likewise.
32644 (yn_test_data): Remove duplicate test of overflow.
32646 * math/libm-test.inc (struct test_cc_c_data): New type.
32647 (RUN_TEST_LOOP_cc_c): New macro.
32648 (cpow_test_data): New variable.
32649 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32651 * math/libm-test.inc (struct test_f_L_data): New type.
32652 (RUN_TEST_LOOP_f_L): New macro.
32653 (llrint_test_data): New variable.
32654 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32655 (llrint_tonearest_test_data): New variable.
32656 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32657 (llrint_towardzero_test_data): New variable.
32658 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32659 (llrint_downward_test_data): New variable.
32660 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32661 (llrint_upward_test_data): New variable.
32662 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32663 (llround_test_data): New variable.
32664 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32666 2013-05-13 Peter Collingbourne <pcc@google.com>
32668 * math/atest-exp2.c (get_log2): Remove const attribute.
32670 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32672 * math/libm-test.inc (struct test_f_l_data): New type.
32673 (RUN_TEST_LOOP_f_l): New macro.
32674 (lrint_test_data): New variable.
32675 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32676 (lrint_tonearest_test_data): New variable.
32677 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32678 (lrint_towardzero_test_data): New variable.
32679 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32680 (lrint_downward_test_data): New variable.
32681 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32682 (lrint_upward_test_data): New variable.
32683 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32684 (lround_test_data): New variable.
32685 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32687 2013-05-15 Peter Collingbourne <pcc@google.com>
32689 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32690 (EXTRACT_WORDS64) Use where appropriate.
32691 (INSERT_WORDS64) Likewise.
32693 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32694 constraints with x constraints.
32695 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32697 * malloc/obstack.c (_obstack_compat): Add initializer.
32699 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32701 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32702 si_trapno and add si_addr_lsb to _sifields.sigfault.
32703 (si_trapno): Remove macro.
32704 (si_addr_lsb): Define new macro.
32705 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32707 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32709 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32710 instead of TEST_f_l.
32711 (llrint_test_tonearest): Likewise.
32712 (llrint_test_towardzero): Likewise.
32713 (llrint_test_downward): Likewise.
32714 (llrint_test_upward): Likewise.
32715 (llround_test): Likewise.
32717 * math/libm-test.inc (struct test_f_i_data): Add comment.
32718 (RUN_TEST_LOOP_f_b): New macro.
32719 (RUN_TEST_LOOP_f_b_tg): Likewise.
32720 (finite_test_data): New variable.
32721 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32722 (isfinite_test_data): New variable.
32723 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32724 (isinf_test_data): New variable.
32725 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32726 (isnan_test_data): New variable.
32727 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32728 (isnormal_test_data): New variable.
32729 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32730 (issignaling_test_data): New variable.
32731 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32732 (signbit_test_data): New variable.
32733 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32735 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32736 with INVALID_EXCEPTION.
32737 (acosh_test_data): Likewise.
32738 (asin_test_data): Likewise.
32739 (atanh_test_data): Likewise.
32740 (fmod_test_data): Likewise.
32741 (log_test_data): Likewise.
32742 (log10_test_data): Likewise.
32743 (log2_test_data): Likewise.
32744 (pow_test_data): Likewise.
32745 (sqrt_test_data): Likewise.
32746 (y0_test_data): Likewise.
32747 (y1_test_data): Likewise.
32748 (yn_test_data): Likewise.
32750 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32753 * math/libm-test.inc (struct test_ff_i_data): New type.
32754 (RUN_TEST_LOOP_ff_i_tg): New macro.
32755 (isgreater_test_data): New variable.
32756 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32757 (isgreaterequal_test_data): New variable.
32758 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32759 (isless_test_data): New variable.
32760 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32761 (islessequal_test_data): New variable.
32762 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32763 (islessgreater_test_data): New variable.
32764 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32765 (isunordered_test_data): New variable.
32766 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32768 2013-05-14 David S. Miller <davem@davemloft.net>
32770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32772 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32774 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32776 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32778 (struct test_f_i_data): Change type of max_ulp to int.
32780 * math/libm-test.inc (test_ffI_f1_data): New type.
32781 (RUN_TEST_LOOP_ffI_f1): New macro.
32782 (remquo_test_data): New variable.
32783 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32785 * setjmp/tst-setjmp-fp.c: New file.
32786 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32787 (link-libm): New variable.
32788 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32790 * math/libm-test.inc (struct test_f_i_data): New type.
32791 (RUN_TEST_LOOP_f_i): New macro.
32792 (RUN_TEST_LOOP_f_i_tg): Likewise.
32793 (fpclassify_test_data): New variable.
32794 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32795 (ilogb_test_data): New variable.
32796 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32798 * math/libm-test.inc (scalbln_test): Correct function name in END
32801 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32802 (RUN_TEST_LOOP_fI_f1): New macro.
32803 (frexp_test_data): New variable.
32804 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32806 * math/libm-test.inc (struct test_fF_f1_data): New type.
32807 (RUN_TEST_LOOP_fF_f1): New macro.
32808 (modf_test_data): New variable.
32809 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32811 * math/libm-test.inc (struct test_f_f1_data): New type.
32812 (RUN_TEST_LOOP_f_f1): New macro.
32813 (gamma_test_data): New variable.
32814 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32815 (lgamma_test_data): New variable.
32816 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32818 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32820 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32821 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32822 (main): Comment "tls" pseudo-hwcap.
32824 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32826 * math/libm-test.inc (struct test_fl_f_data): New type.
32827 (RUN_TEST_LOOP_fl_f): New variable.
32828 (scalbln_test_data): New variable.
32829 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32831 * math/libm-test.inc (struct test_fi_f_data): New type.
32832 (RUN_TEST_LOOP_fi_f): New macro.
32833 (ldexp_test_data): New variable.
32834 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32835 (scalbn_test_data): New variable.
32836 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32838 * math/libm-test.inc (struct test_c_f_data): New type.
32839 (RUN_TEST_LOOP_c_f): New macro.
32840 (cabs_test_data): New variable.
32841 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32842 (carg_test_data): New variable.
32843 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32844 (cimag_test_data): New variable.
32845 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32846 (creal_test_data): New variable.
32847 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32849 * math/libm-test.inc (struct test_if_f_data): New type.
32850 (RUN_TEST_LOOP_if_f): New macro.
32851 (jn_test_data): New variable.
32852 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32853 (yn_test_data): New variable.
32854 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32856 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32858 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32860 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32861 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32863 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32865 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32866 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32867 (bench-deps): Add bench-timing.h.
32868 * benchtests-bench-skeleton.c: Include bench-timing.h.
32869 (main): Use TIMING_* macros instead of clock_gettime.
32870 * benchtests/bench-timing.h: New file.
32873 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32874 Renamed from _LIB_VERSION.
32875 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32877 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32879 * math/libm-test.inc (struct test_fff_f_data): New type.
32880 (RUN_TEST_LOOP_fff_f): New macro.
32881 (fma_test_data): New variable.
32882 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32883 (fma_towardzero_test_data): New variable.
32884 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32885 (fma_downward_test_data): New variable.
32886 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32887 (fma_upward_test_data): New variable.
32888 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32890 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32891 (struct test_c_c_data): New type.
32892 (RUN_TEST_LOOP_c_c): New macro.
32893 (cacos_test_data): New variable.
32894 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32895 (cacosh_test_data): New variable.
32896 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32897 (casin_test_data): New variable.
32898 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32899 (casinh_test_data): New variable.
32900 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32901 (catan_test_data): New variable.
32902 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32903 (catanh_test_data): New variable.
32904 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32905 (ccos_test_data): New variable.
32906 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32907 (ccosh_test_data): New variable.
32908 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32909 (cexp_test_data): New variable.
32910 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32911 (clog_test_data): New variable.
32912 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32913 (clog10_test_data): New variable.
32914 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32915 (conj_test_data): New variable.
32916 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32917 (cproj_test_data): New variable.
32918 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32919 (csin_test_data): New variable.
32920 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32921 (csinh_test_data): New variable.
32922 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32923 (csqrt_test_data): New variable.
32924 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32925 (ctan_test_data): New variable.
32926 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32927 (ctan_tonearest_test_data): New variable.
32928 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32929 (ctan_towardzero_test_data): New variable.
32930 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32931 (ctan_downward_test_data): New variable.
32932 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32933 (ctan_upward_test_data): New variable.
32934 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32935 (ctanh_test_data): New variable.
32936 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32937 (ctanh_tonearest_test_data): New variable.
32938 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32939 (ctanh_towardzero_test_data): New variable.
32940 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32941 (ctanh_downward_test_data): New variable.
32942 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32943 (ctanh_upward_test_data): New variable.
32944 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32945 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32948 * math/libm-test.inc (struct test_ff_f_data): New type.
32949 (struct test_ff_f_data_nexttoward): Likewise.
32950 (RUN_TEST_LOOP_2_f): New macro.
32951 (RUN_TEST_LOOP_ff_f): Likewise.
32952 (atan2_test_data): New variable.
32953 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32954 (copysign_test_data): New variable.
32955 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32956 (fdim_test_data): New variable.
32957 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32958 (fmax_test_data): New variable.
32959 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32960 (fmin_test_data): New variable.
32961 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32962 (fmod_test_data): New variable.
32963 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32964 (hypot_test_data): New variable.
32965 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32966 (nextafter_test_data): New variable.
32967 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32968 (nexttoward_test_data): New variable.
32969 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32970 (pow_test_data): New variable.
32971 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32972 (pow_tonearest_test_data): New variable.
32973 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32974 (pow_towardzero_test_data): New variable.
32975 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32976 (pow_downward_test_data): New variable.
32977 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32978 (pow_upward_test_data): New variable.
32979 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32980 (remainder_test_data): New variable.
32981 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32982 (scalb_test_data): New variable.
32983 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32984 * sysdeps/i386/fpu/libm-test-ulps: Update.
32986 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32988 * math/libm-test.inc (fma_test): Use max_value instead of local
32990 (nextafter_test): Likewise.
32992 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32993 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32994 (acos_downward_test_data): New variable.
32995 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32996 (acos_upward_test_data): New variable.
32997 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32998 (acosh_test_data): New variable.
32999 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33000 (asin_test_data): New variable.
33001 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33002 (asin_tonearest_test_data): New variable.
33003 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33004 (asin_towardzero_test_data): New variable.
33005 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33006 (asin_downward_test_data): New variable.
33007 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33008 (asin_upward_test_data): New variable.
33009 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33010 (asinh_test_data): New variable.
33011 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33012 (atan_test_data): New variable.
33013 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33014 (atanh_test_data): New variable.
33015 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33016 (cbrt_test_data): New variable.
33017 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33018 (ceil_test_data): New variable.
33019 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33020 (cos_test_data): New variable.
33021 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33022 (cos_tonearest_test_data): New variable.
33023 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33024 (cos_towardzero_test_data): New variable.
33025 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33026 (cos_downward_test_data): New variable.
33027 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33028 (cos_upward_test_data): New variable.
33029 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33030 (cosh_test_data): New variable.
33031 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33032 (cosh_tonearest_test_data): New variable.
33033 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33034 (cosh_towardzero_test_data): New variable.
33035 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33036 (cosh_downward_test_data): New variable.
33037 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33038 (cosh_upward_test_data): New variable.
33039 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33040 (erf_test_data): New variable.
33041 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33042 (erfc_test_data): New variable.
33043 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33044 (exp_test_data): New variable.
33045 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33046 (exp_tonearest_test_data): New variable.
33047 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33048 (exp_towardzero_test_data): New variable.
33049 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33050 (exp_downward_test_data): New variable.
33051 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33052 (exp_upward_test_data): New variable.
33053 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33054 (exp10_test_data): New variable.
33055 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33056 (exp2_test_data): New variable.
33057 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33058 (expm1_test_data): New variable.
33059 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33060 (fabs_test_data): New variable.
33061 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33062 (floor_test_data): New variable.
33063 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33064 (j0_test_data): New variable.
33065 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33066 (j1_test_data): New variable.
33067 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33068 (log_test_data): New variable.
33069 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33070 (log10_test_data): New variable.
33071 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33072 (log1p_test_data): New variable.
33073 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33074 (log2_test_data): New variable.
33075 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33076 (logb_test_data): New variable.
33077 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33078 (logb_downward_test_data): New variable.
33079 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33080 (nearbyint_test_data): New variable.
33081 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33082 (rint_test_data): New variable.
33083 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33084 (rint_tonearest_test_data): New variable.
33085 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33086 (rint_towardzero_test_data): New variable.
33087 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33088 (rint_downward_test_data): New variable.
33089 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33090 (rint_upward_test_data): New variable.
33091 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33092 (round_test_data): New variable.
33093 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33094 (sin_test_data): New variable.
33095 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33096 (sin_tonearest_test_data): New variable.
33097 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33098 (sin_towardzero_test_data): New variable.
33099 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33100 (sin_downward_test_data): New variable.
33101 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33102 (sin_upward_test_data): New variable.
33103 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33104 (sinh_test_data): New variable.
33105 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33106 (sinh_tonearest_test_data): New variable.
33107 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33108 (sinh_towardzero_test_data): New variable.
33109 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33110 (sinh_downward_test_data): New variable.
33111 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33112 (sinh_upward_test_data): New variable.
33113 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33114 (sqrt_test_data): New variable.
33115 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33116 (tan_test_data): New variable.
33117 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33118 (tan_tonearest_test_data): New variable.
33119 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33120 (tan_towardzero_test_data): New variable.
33121 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33122 (tan_downward_test_data): New variable.
33123 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33124 (tan_upward_test_data): New variable.
33125 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33126 (tanh_test_data): New variable.
33127 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33128 (tgamma_test_data): New variable.
33129 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33130 (trunc_test_data): New variable.
33131 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33132 (y0_test_data): New variable.
33133 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33134 (y1_test_data): New variable.
33135 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33136 (significand_test_data): New variable.
33137 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33139 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33142 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33144 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33146 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33148 2013-05-10 Andreas Jaeger <aj@suse.de>
33151 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33152 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33154 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33156 * math/gen-libm-test.pl (adjust_arg): New function.
33157 (special_functions): Handle generating output in both functions
33159 (parse_args): Likewise.
33160 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33161 $in_func argument to parse_args.
33162 * math/libm-test.inc (struct test_f_f_data): New type.
33163 (IF_ROUND_INIT_): New macro.
33164 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33165 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33166 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33167 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33168 (ROUND_RESTORE_): Likewise.
33169 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33170 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33171 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33172 (ROUND_RESTORE_FE_UPWARD): Likewise.
33173 (RUN_TEST_LOOP_f_f): New macro.
33174 (acos_test_data): New variable.
33175 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33176 (acos_tonearest_test_data): New variable.
33177 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33179 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33181 * benchtests/bench-skeleton.c (startup): Fix coding style.
33183 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33186 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33187 negative infinity argument.
33188 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33189 negative infinity argument.
33190 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33191 negative infinity argument.
33192 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33195 2013-05-10 Florian Weimer <fweimer@redhat.com>
33197 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33198 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33199 * iconv/iconv_prog.c (main): Likewise.
33200 * locale/programs/charmap-dir.c (charmap_readdir)
33201 (fopen_uncompressed): Likewise.
33202 * locale/programs/locfile.c (siblings_uncached)
33203 (write_locale_data): Use lstat64 instead of lstat.
33204 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33207 2013-05-10 Andreas Jaeger <aj@suse.de>
33210 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33212 Include <locale.h>.
33214 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33216 * elf/dl-close.c (_dl_close_worker): Add comments.
33218 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33221 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33223 (__ieee754_rem_pio2l): Update comments.
33226 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33228 (__ieee754_rem_pio2l): Update comments.
33230 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33231 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33233 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33236 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33237 (M_PI_34_LOG10El): Likewise.
33238 (M_PI2_LOG10El): Likewise.
33239 (M_PI4_LOG10El): Likewise.
33240 (M_PI_LOG10El): Likewise.
33242 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33246 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33248 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33249 (MINUS_ZERO_INIT): Likewise.
33250 (PLUS_INFTY_INIT): Likewise.
33251 (MINUS_INFTY_INIT): Likewise.
33252 (QNAN_VALUE_INIT): Likewise.
33253 (MAX_VALUE_INIT): Likewise.
33254 (MIN_VALUE_INIT): Likewise.
33255 (MIN_SUBNORM_VALUE_INIT): Likewise.
33256 (plus_zero): Initialize with PLUS_ZERO_INIT.
33257 (minus_zero): Initialize with MINUS_ZERO_INIT.
33258 (plus_infty): Initialize with PLUS_INFTY_INIT.
33259 (minus_infty): Initialize with MINUS_INFTY_INIT.
33260 (qnan_value): Initialize with QNAN_VALUE_INIT.
33261 (max_value): Initialize with MAX_VALUE_INIT.
33262 (min_value): Initialize with MIN_VALUE_INIT.
33263 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33265 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33266 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33267 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33268 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33270 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33271 (RUN_TEST_2_f): Likewise.
33272 (RUN_TEST_ff_f): Likewise.
33273 (RUN_TEST_fi_f): Likewise.
33274 (RUN_TEST_fl_f): Likewise.
33275 (RUN_TEST_fff_f): Likewise.
33276 (RUN_TEST_c_f): Likewise.
33277 (RUN_TEST_f_f1): Likewise.
33278 (RUN_TEST_fF_f1): Likewise.
33279 (RUN_TEST_fI_f1): Likewise.
33280 (RUN_TEST_ffI_f1): Likewise.
33281 (RUN_TEST_c_c): Likewise.
33282 (RUN_TEST_cc_c): Likewise.
33283 (RUN_TEST_f_i): Likewise.
33284 (RUN_TEST_f_i_tg): Likewise.
33285 (RUN_TEST_ff_i_tg): Likewise.
33286 (RUN_TEST_f_b): Likewise.
33287 (RUN_TEST_f_b_tg): Likewise.
33288 (RUN_TEST_f_l): Likewise.
33289 (RUN_TEST_f_L): Likewise.
33290 (RUN_TEST_sincos): Likewise.
33291 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33292 whether to show exceptions. Do not include ");\n" in return
33294 (special_functions): Output call to RUN_TEST_sincos instead of
33295 check_float calls. Update calls to new_test.
33296 (parse_args): Output call to single RUN_TEST_* macro instead of
33297 check_* calls and other assignments. Update calls to new_test.
33303 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33304 input to result for tgamma overflow.
33305 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33306 (gamma_coeff): New variable.
33307 (NCOEFF): New macro.
33308 (gamma_positive): New function.
33309 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33310 underflow here. Use gamma_positive instead of exp (lgamma) for
33312 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33313 (gamma_coeff): New variable.
33314 (NCOEFF): New macro.
33315 (gammaf_positive): New function.
33316 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33317 underflow here. Use gamma_positive instead of exp (lgamma) for
33319 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33320 (gamma_coeff): New variable.
33321 (NCOEFF): New macro.
33322 (gammal_positive): New function.
33323 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33324 underflow here. Use gamma_positive instead of exp (lgamma) for
33326 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33327 (gamma_coeff): New variable.
33328 (NCOEFF): New macro.
33329 (gammal_positive): New function.
33330 (__ieee754_gammal_r): Handle positive infinity, overflow and
33331 underflow here. Handle NaN the same as positive infinity. Remove
33332 check x < 0xffffffff for negative integers. Use gamma_positive
33333 instead of exp (lgamma) for other arguments.
33334 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33335 (gamma_coeff): New variable.
33336 (NCOEFF): New macro.
33337 (gammal_positive): New function.
33338 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33339 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33340 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33341 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33343 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33344 * sysdeps/generic/math_private.h (__gamma_productf): New
33346 (__gamma_product): Likewise.
33347 (__gamma_productl): Likewise.
33348 * math/Makefile (libm-calls): Add gamma_product.
33349 * math/libm-test.inc (tgamma_test): Add more tests.
33350 * sysdeps/i386/fpu/libm-test-ulps: Update.
33351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33353 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33355 * benchtests/bench-skeleton.c (main): Preheat CPU.
33357 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33359 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33361 2013-05-07 Roland McGrath <roland@hack.frob.com>
33363 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33364 and _dl_skip_args_internal.
33366 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33368 * manual/message.texi (Message Translation): Talk about users.
33369 Message to key mapping impacts design.
33371 2013-05-06 Roland McGrath <roland@hack.frob.com>
33373 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33375 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33377 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33378 * sysdeps/wordsize-64/glob64.c: ... here.
33380 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33381 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33384 * debug/getlogin_r_chk.c: Moved to ...
33385 * login/getlogin_r_chk.c: ... here.
33386 * debug/Makefile (routines): Move getlogin_r_chk to ...
33387 * login/Makefile (routines): ... here.
33388 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33389 * login/Versions (libc: GLIBC_2.4): ... here.
33391 * io/poll.c (__poll): Renamed from poll.
33392 Add libc_hidden_def.
33393 (poll): Define as weak alias.
33395 * debug/ptsname_r_chk.c: Moved to ...
33396 * login/ptsname_r_chk.c: ... here.
33397 * debug/Makefile (routines): Move ptsname_r_chk to ...
33398 * login/Makefile (routines): ... here.
33399 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33400 * login/Versions (libc: GLIBC_2.4): ... here.
33402 * posix/getlogin.c: Moved to ...
33403 * login/getlogin.c: ... here.
33404 * posix/getlogin_r.c: Moved to ...
33405 * login/getlogin_r.c: ... here.
33406 * posix/getlogin_r.c: Moved to ...
33407 * login/getlogin_r.c: ... here.
33408 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33409 * login/Makefile (routines): ... here.
33410 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33411 * login/Versions (libc: GLIBC_2.0): ... here.
33413 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33414 (setrlimit): Define as weak alias.
33416 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33417 Call __ names for open, ftruncate, and close.
33418 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33419 (truncate): Define as weak alias.
33421 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33423 * math/gen-libm-test.pl (parse_args): Initialize x before each
33424 test of frexp, modf and remquo.
33426 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33427 test signgam value.
33429 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33433 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33435 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33437 2013-05-06 Roland McGrath <roland@hack.frob.com>
33439 * elf/dl-writev.h: New file.
33440 * elf/dl-misc.c: Include it.
33441 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33442 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33444 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33446 * math/libm-test.inc (noXFails): Remove variable.
33447 (noXPasses): Likewise.
33448 (BUILD_COMPLEX_INT): Remove macro.
33449 (print_screen): Remove xfail argument.
33450 (print_screen_max_error): Likewise.
33451 (update_stats): Likewise.
33452 (print_max_error): Likewise. Update calls to other affected
33454 (print_complex_max_error): Likewise.
33455 (test_single_exception): Update calls to print_screen.
33456 (test_single_errno): Likewise.
33457 (check_float_internal): Remove xfail argument. Update calls to
33458 other affected functions.
33459 (check_float): Likewise.
33460 (check_complex): Likewise.
33461 (check_int): Likewise.
33462 (check_long): Likewise.
33463 (check_bool): Likewise.
33464 (check_longlong): Likewise.
33465 (main): Don't print noXFails and noXPasses.
33466 * math/gen-libm-test.pl (top level): Don't mention expected
33467 failure handling in comment.
33468 (new_test): Don't handle expected failures.
33469 (parse_args): Don't mention expected failure handling in comment.
33470 (generate_testfile): Don't handle expected failures.
33471 (parse_ulps): Likewise.
33472 (print_ulps_file): Likewise.
33473 (get_failure): Remove function.
33474 (output_test): Don't handle expected failures.
33475 * make/README.libm-test: Don't mention expected failure handling.
33477 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33478 (minus_zero): Likewise.
33479 (plus_infty): Likewise.
33480 (minus_infty): Likewise.
33481 (qnan_value): Likewise.
33482 (max_value): Likewise.
33483 (min_value): Likewise.
33484 (min_subnorm_value): Likewise.
33485 (initialize): Do not initialize those variables dynamically.
33487 2013-05-03 Roland McGrath <roland@hack.frob.com>
33489 * io/open.c (__open_2): Moved to ...
33490 * io/open_2.c: ... this new file.
33491 * io/open64.c (__open64_2): Moved to ...
33492 * io/open64_2.c: ... this new file.
33493 * io/openat.c (__openat_2): Moved to ...
33494 * io/openat_2.c: ... this new file.
33495 * io/openat64.c (__openat64_2): Moved to ...
33496 * io/openat64_2.c: ... this new file.
33497 * io/Makefile (routines): Add them.
33498 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33499 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33500 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33501 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33502 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33503 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33504 (__openat64): Add hidden_ver.
33505 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33506 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33508 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33509 Separately conditionalize setting of GLRO(dl_sysinfo) so
33510 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33511 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33513 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33515 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33516 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33518 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33519 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33520 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33521 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33522 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33524 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33526 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33527 test signgam value.
33529 * math/libm-test.inc (hypot_test): Do not use
33530 IGNORE_ZERO_INF_SIGN.
33532 2013-05-03 Andreas Jaeger <aj@suse.de>
33534 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33536 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33537 (PF_MAX): Adjust for VSOCK change.
33539 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33543 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33546 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33547 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33548 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33550 2013-05-02 David S. Miller <davem@davemloft.net>
33552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33554 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33556 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33558 2013-05-01 Roland McGrath <roland@hack.frob.com>
33560 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33562 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33565 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33566 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33567 Use __attribute__ ((__gnu_inline__)).
33568 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33569 Don't use __attribute__ ((__gnu_inline__)).
33571 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33574 * math/s_catan.c (__catan): Handle small real or imaginary part of
33575 input specially to avoid spurious underflow.
33576 * math/s_catanf.c (__catanf): Likewise.
33577 * math/s_catanh.c (__catanh): Likewise.
33578 * math/s_catanhf.c (__catanhf): Likewise.
33579 * math/s_catanhl.c (__catanhl): Likewise.
33580 * math/s_catanl.c (__catanl): Likewise.
33581 * math/libm-test.inc (catan_test): Add more tests.
33582 (catanh_test): Likewise.
33583 * sysdeps/i386/fpu/libm-test-ulps: Update.
33584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33586 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33590 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33593 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33594 accurately for denominator in atan2.
33595 * math/s_catanf.c (__catanf): Likewise.
33596 * math/s_catanh.c (__catanh): Likewise.
33597 * math/s_catanhf.c (__catanhf): Likewise.
33598 * math/s_catanhl.c (__catanhl): Likewise.
33599 * math/s_catanl.c (__catanl): Likewise.
33600 * math/libm-test.inc (catan_test): Add more tests.
33601 (catanh_test): Likewise.
33602 * sysdeps/i386/fpu/libm-test-ulps: Update.
33603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33605 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33607 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33609 * benchtests/Makefile (bench): Remove slow benchmarks.
33610 * benchtests/atan-inputs: Add slow benchmark inputs.
33611 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33612 (BENCH_FUNC): Accept variant offset.
33614 * benchtests/bench-skeleton.c (main): Run benchmark for each
33616 * benchtests/cos-inputs: Add slow benchmark inputs.
33617 * benchtests/exp-inputs: Likewise.
33618 * benchtests/pow-inputs: Likewise.
33619 * benchtests/sin-inputs: Likewise.
33620 * benchtests/slowatan-inputs: Remove.
33621 * benchtests/slowatan.c: Remove.
33622 * benchtests/slowcos-inputs: Remove.
33623 * benchtests/slowcos.c: Remove.
33624 * benchtests/slowexp-inputs: Remove.
33625 * benchtests/slowexp.c: Remove.
33626 * benchtests/slowpow-inputs: Remove.
33627 * benchtests/slowpow.c: Remove.
33628 * benchtests/slowsin-inputs: Remove.
33629 * benchtests/slowsin.c: Remove.
33630 * benchtests/slowtan-inputs: Remove.
33631 * benchtests/slowtan.c: Remove.
33632 * benchtests/tan-inputs: Add slow benchmark inputs.
33633 * scripts/bench.pl: Parse comments and directives.
33635 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33637 ($(objpfx)bench-%.c): Remove *-ITER.
33638 * benchtests/bench-modf.c: Remove definition of ITER.
33639 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33640 (main): Loop for DURATION seconds instead of fixed number of
33642 * scripts/bench.pl: Don't expect iterations in parameters.
33644 2013-04-29 Roland McGrath <roland@hack.frob.com>
33646 * io/fchdir.c (__fchdir): Renamed from fchdir.
33647 (fchdir): Define as weak alias.
33649 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33651 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33652 (ERRNO_EDOM): Likewise.
33653 (ERRNO_ERANGE): Likewise.
33654 (noErrnoTests): New variable.
33655 (init_max_error): Set errno to 0.
33656 (test_single_errno): New function.
33657 (test_errno): Likewise.
33658 (check_float_internal): Call test_errno. Set errno to 0.
33659 (check_complex): Refer to errno tests in comment.
33660 (check_int): Call test_errno. Set errno to 0.
33661 (check_long): Likewise.
33662 (check_bool): Likewise.
33663 (check_longlong): Likewise.
33664 (cos_test): Use ERRNO_* flags for errno tests instead of
33666 (expm1_test): Likewise.
33667 (fmod_test): Likewise.
33668 (ilogb_test): Likewise.
33669 (lgamma_test): Likewise.
33670 (pow_test): Likewise.
33671 (remainder_test): Likewise.
33672 (sin_test): Likewise.
33673 (tan_test): Likewise.
33674 (yn_test): Likewise.
33675 (initialize): Set errno to 0.
33676 (main): Print number of errno tests.
33677 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33679 2013-04-29 Andreas Jaeger <aj@suse.de>
33682 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33686 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33687 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33691 * stdlib/random.c (__initstate): Return NULL if
33695 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33696 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33699 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33703 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33705 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33706 of individual tests.
33707 (casin_test): Likewise.
33708 (casinh_test): Likewise.
33710 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33713 * math/s_catan.c (__catan): Handle arguments with large real or
33714 imaginary part separately without squaring.
33715 * math/s_catanf.c (__catanf): Likewise.
33716 * math/s_catanh.c (__catanh): Likewise.
33717 * math/s_catanhf.c (__catanhf): Likewise.
33718 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33720 (__catanhl): Handle arguments with large real or imaginary part
33721 separately without squaring.
33722 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33724 (__catanl): Handle arguments with large real or imaginary part
33725 separately without squaring.
33726 * math/libm-test.inc (catan_test): Add more tests.
33727 (catanh_test): Likewise.
33728 * sysdeps/i386/fpu/libm-test-ulps: Update.
33729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33731 2013-04-27 Andreas Jaeger <aj@suse.de>
33734 * stdlib/stdlib.h: Update guards for qecvt.
33735 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33738 2013-04-27 Allan McRae <allan@archlinux.org>
33740 * sysdeps/i386/fpu/libm-test-ulps: Update.
33742 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33745 * math/s_catan.c: Include <float.h>.
33746 (__catan): Ensure underflow exception occurs for underflowed
33748 * math/s_catanf.c: Include <float.h>.
33749 (__catanf): Ensure underflow exception occurs for underflowed
33751 * math/s_catanh.c: Include <float.h>.
33752 (__catanh): Ensure underflow exception occurs for underflowed
33754 * math/s_catanhf.c: Include <float.h>.
33755 (__catanhf): Ensure underflow exception occurs for underflowed
33757 * math/s_catanhl.c: Include <float.h>.
33758 (__catanhl): Ensure underflow exception occurs for underflowed
33760 * math/s_catanl.c: Include <float.h>.
33761 (__catanl): Ensure underflow exception occurs for underflowed
33763 * math/libm-test.inc (catan_test): Add more tests.
33764 (catanh_test): Likewise.
33767 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33768 underflowed result.
33769 * math/s_ccoshf.c (__ccoshf): Likewise.
33770 * math/s_ccoshl.c (__ccoshl): Likewise.
33771 * math/s_csin.c (__csin): Likewise.
33772 * math/s_csinf.c (__csinf): Likewise.
33773 * math/s_csinh.c (__csinh): Likewise.
33774 * math/s_csinhf.c (__csinhf): Likewise.
33775 * math/s_csinhl.c (__csinhl): Likewise.
33776 * math/s_csinl.c (__csinl): Likewise.
33777 * math/libm-test.inc (ccos_test): Add more tests.
33778 (ccosh_test): Likewise.
33779 (csin_test): Likewise.
33780 (csinh_test): Likewise.
33782 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33784 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33785 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33786 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33787 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33788 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33789 powerpc/power5+/fpu folders.
33790 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33793 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33797 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33799 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33800 additions to variable.
33801 [$(config-machine) = x86_64] (modules-names): Likewise.
33802 ($(objpfx)tst-audit3): Remove dependency.
33803 ($(objpfx)tst-audit3.out): Likewise.
33804 ($(objpfx)tst-audit4): Likewise.
33805 ($(objpfx)tst-audit4.out): Likewise.
33806 ($(objpfx)tst-audit5): Likewise.
33807 ($(objpfx)tst-audit5.out): Likewise.
33808 ($(objpfx)tst-audit6): Likewise.
33809 ($(objpfx)tst-audit6.out): Likewise.
33810 ($(objpfx)tst-audit7): Likewise.
33811 ($(objpfx)tst-audit7.out): Likewise.
33812 (tst-audit3-ENV): Remove variable.
33813 (tst-audit4-ENV): Likewise.
33814 (tst-audit5-ENV): Likewise.
33815 (tst-audit6-ENV): Likewise.
33816 (tst-audit7-ENV): Likewise.
33817 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33818 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33819 addition to variable.
33820 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33821 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33822 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33823 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33824 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33825 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33826 tst-audit3, tst-audit4 and tst-audit5.
33827 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33828 tst-audit6 and tst-audit7.
33829 [$(subdir) = elf] (modules-names): Add audit modules for those
33831 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33832 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33833 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33834 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33835 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33836 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33837 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33838 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33839 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33840 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33841 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33842 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33843 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33844 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33845 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33846 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33848 [$(subdir) = elf && $(config-cflags-avx) = yes]
33849 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33850 [$(subdir) = elf && $(config-cflags-avx) = yes]
33851 (CFLAGS-tst-auditmod4a.c): Likewise.
33852 [$(subdir) = elf && $(config-cflags-avx) = yes]
33853 (CFLAGS-tst-auditmod4b.c): Likewise.
33854 [$(subdir) = elf && $(config-cflags-avx) = yes]
33855 (CFLAGS-tst-auditmod6b.c): Likewise.
33856 [$(subdir) = elf && $(config-cflags-avx) = yes]
33857 (CFLAGS-tst-auditmod6c.c): Likewise.
33858 [$(subdir) = elf && $(config-cflags-avx) = yes]
33859 (CFLAGS-tst-auditmod7b.c): Likewise.
33860 * elf/tst-audit3.c: Move to ...
33861 * sysdeps/x86_64/tst-audit3.c: ... here.
33862 * elf/tst-audit4.c: Move to ...
33863 * sysdeps/x86_64/tst-audit4.c: ... here.
33864 * elf/tst-audit5.c: Move to ...
33865 * sysdeps/x86_64/tst-audit5.c: ... here.
33866 * elf/tst-audit6.c: Move to ...
33867 * sysdeps/x86_64/tst-audit6.c: ... here.
33868 * elf/tst-audit7.c: Move to ...
33869 * sysdeps/x86_64/tst-audit7.c: ... here.
33870 * elf/tst-auditmod3a.c: Move to ...
33871 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33872 * elf/tst-auditmod3b.c: Move to ...
33873 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33874 * elf/tst-auditmod4a.c: Move to ...
33875 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33876 * elf/tst-auditmod4b.c: Move to ...
33877 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33878 * elf/tst-auditmod5a.c: Move to ...
33879 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33880 * elf/tst-auditmod5b.c: Move to ...
33881 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33882 * elf/tst-auditmod6a.c: Move to ...
33883 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33884 * elf/tst-auditmod6b.c: Move to ...
33885 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33886 * elf/tst-auditmod6c.c: Move to ...
33887 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33888 * elf/tst-auditmod7a.c: Move to ...
33889 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33890 * elf/tst-auditmod7b.c: Move to ...
33891 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33893 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33896 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33897 define unconditionally.
33898 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33899 define unconditionally.
33900 (INT8_C, INT16_C, etc.): Likewise.
33902 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33904 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33905 __ehdr_start with hidden visibility.
33907 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33909 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33911 * math/libm-test.inc (cos_test): Use accurate hex constants.
33912 (sincost_test): Likewise.
33914 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33916 * math/libm-test.inc (catan_test): Add more tests.
33917 (catanh_test): Likewise.
33919 * math/s_catanf.c (__catanf): Use suffixed floating-point
33921 * math/s_catanhf.c (__catanhf): Likewise.
33922 * math/s_catanhl.c (__catanhl): Likewise.
33923 * math/s_catanl.c (__catanl): Likewise.
33926 * math/s_catan.c (__catan): Calculate imaginary part of result
33927 with log1p not log unless computing log of number close to 0.
33928 * math/s_catanf.c (__catanf): Likewise.
33929 * math/s_catanl.c (__catanl): Likewise.
33930 * math/s_catanh.c (__catanh): Calculate real part of result with
33931 log1p not log unless computing log of number close to 0.
33932 * math/s_catanhf.c (__catanhf): Likewise.
33933 * math/s_catanhl.c (__catanhl): Likewise.
33934 * math/libm-test.inc (catan_test): Add more tests.
33935 (catanh_test): Likewise.
33936 * sysdeps/i386/fpu/libm-test-ulps: Update.
33937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33939 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33941 * benchtests/Makefile: Mention files in which fast and slow
33942 paths of math functions are implemented.
33944 2013-04-23 Roland McGrath <roland@hack.frob.com>
33946 * sysdeps/posix/timespec_get.c: New file.
33948 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33950 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33952 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33954 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33955 powerpc/power5/fpu folders.
33956 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33957 * benchtests/Makefile: Add modf testcase.
33958 * benchtests/bench-modf.c: New file: Benchmark test for mo
33960 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33963 * time/Makefile (tests): Add tst-strptime-whitespace.
33964 * time/strptime_l.c (get_number): Use ISSPACE.
33965 (__strptime_internal): Likewise.
33966 * time/tst-strptime-whitespace.c: New test case.
33968 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33970 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33972 (_nss_files_init): Set it here.
33974 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33976 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33977 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33980 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33982 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33984 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33989 2013-04-21 David S. Miller <davem@davemloft.net>
33991 * po/ru.po: Update Russion translation from translation project.
33993 2013-04-17 Adam Conrad <adconrad@0c3.net>
33995 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33998 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34000 * configure.in: Remove i386 configure warning. Remove i386 case.
34001 * configure: Regenerate.
34002 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34003 Add example to error message.
34004 * sysdeps/i386/configure: Regenerate.
34006 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34008 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34010 * benchtests/cos-inputs: New file.
34011 * benchtests/slowcos-inputs: New file.
34012 * benchtests/slowcos.c: New file.
34013 * benchtests/slowtan-inputs: New file.
34014 * benchtests/slowtan.c: New file.
34015 * benchtests/tan-inputs: New file.
34017 2013-04-16 Roland McGrath <roland@hack.frob.com>
34019 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34022 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34024 * benchtests/Makefile: Include cppflags-iterator.mk to add
34025 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34027 * Makefile.in (bench-clean): New target.
34028 * benchtests/Makefile (bench-clean): Likewise.
34030 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34032 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34034 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34036 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34038 2013-04-15 Andreas Schwab <schwab@suse.de>
34040 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34042 * nscd/pwdcache.c (cache_addpw): Likewise.
34043 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34046 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34048 * benchtests/Makefile (bench): Write all output to
34049 bench-out.tmp together.
34051 2013-04-15 Andreas Schwab <schwab@suse.de>
34053 * nscd/nscd.c (main): Don't fork again after closing files.
34055 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34057 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34059 * benchtests/Rules (bench-deps): Collect dependencies into a
34060 single variable. Add Makefile to dependencies.
34061 ($(objpfx)bench-%.c): Depend on bench-deps.
34063 2013-04-12 Roland McGrath <roland@hack.frob.com>
34064 Xavier Roche <roche+kml2@exalead.com>
34067 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34068 just that it's a file descriptor.
34069 * manual/llio.texi (Synchronizing AIO Operations): Update description
34070 for EBADF error from aio_fsync.
34072 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34074 * Rules (bench): Move target definition...
34075 * benchtests/Makefile: ... here.
34077 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34079 * math/libm-test.inc (cos_test): Fix PI/2 test.
34080 (sincos_test): Likewise.
34081 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34082 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34084 2013-04-11 Andreas Schwab <schwab@suse.de>
34087 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34088 accept exponent character only when digits were seen.
34089 * stdio-common/Makefile (tests): Add bug26.
34090 * stdio-common/bug26.c: New file.
34093 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34096 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34098 * Makeconfig (rtld-prefix): Define built linker prefix.
34099 * Rules (run-bench): Use it.
34100 * math/Makefile (run-regen-ulps): Likewise.
34102 * Rules (bench): Remove eval.
34104 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34105 Roland McGrath <roland@hack.frob.com>
34106 Ondrej Bilka <neleai@seznam.cz>
34109 * time/getdate.c: Include ctype.h and alloca.h.
34110 (__getdate_r): Trim leading and trailing spaces of input.
34111 * time/tst-getdate.c (tests): Add tests with leading and
34114 2013-04-08 Roland McGrath <roland@hack.frob.com>
34117 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34118 when computing value.
34120 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34122 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34123 Use testrun.sh to run libm tests.
34126 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34128 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34131 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34133 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34135 * Makefile.in (regen-ulps): New target.
34136 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34137 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34138 [ifneq (no,$(PERL)] (regen-ulps): New target.
34139 [ifeq (no,$(PERL)] (regen-ulps): New target.
34140 * math/libm-test.inc (ulps_file_name): Define.
34141 (output_dir): New variable.
34142 (options): Add "output-dir" option.
34143 (parse_opt): Handle 'o' case.
34144 (main): If output_dir is non-NULL use it as a prefix
34146 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34148 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34150 [BZ #10060, #10062]
34151 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34152 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34153 fail configure if __sync_val_compare_and_swap is not inlined.
34154 * sysdeps/i386/configure: Regenerate.
34155 * configure.in: Build for i686 when configured for i386.
34156 * configure: Regenerate.
34157 * README: Remove i386 reference.
34159 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34161 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34164 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34166 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34167 (lmsnanval): New variables.
34168 (F): Add conversion tests.
34169 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34170 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34172 * stdio-common/tstdiomisc.c (F): Properly collect individual
34175 [BZ #14686, #15336]
34176 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34177 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34178 Instead, use input NaN values or generate a qNaN by arithmetic
34179 operation. Also fix bugs to comply with the standard.
34180 * math/libm-test.inc (remainder_test): Add more tests.
34182 [BZ #15335, #15342]
34183 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34185 input NaN values or generate a qNaN by arithmetic operation.
34187 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34190 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34193 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34196 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34197 underflowed result.
34198 * math/s_cexpf.c (__cexpf): Likewise.
34199 * math/s_cexpl.c (__cexpl): Likewise.
34200 * math/libm-test.inc (cexp_test): Add more tests.
34202 2013-04-03 Andreas Schwab <schwab@suse.de>
34205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34206 order arrays from heap if bigger than alloca cutoff.
34208 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34210 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34211 (SNAN_TESTS_double): Refer to GCC PR56831.
34212 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34215 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34217 * Rules (bench): Move bench.out after the run is complete.
34219 * Rules (bench): Echo currently running benchmark.
34221 * benchtests/Makefile (bench): Add atan and slowatan.
34222 * benchtests/atan-inputs: New file.
34223 * benchtests/slowatan-inputs: New file.
34224 * benchtests/slowatan.c: New file.
34226 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34231 * sysdeps/unix/sysv/linux/kernel-features.h
34232 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34233 __ASSUME_XFS_RESTRICTED_CHOWN.
34234 * sysdeps/unix/sysv/linux/pathconf.c
34235 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34236 Save and restore errno.
34238 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34241 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34242 arguments using __kernel_casinh.
34243 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34244 arguments using __kernel_casinhf.
34245 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34246 arguments using __kernel_casinhl.
34247 * math/libm-test.inc (cacosh_test): Add more tests.
34248 * sysdeps/i386/fpu/libm-test-ulps: Update.
34249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34251 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34253 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34256 * bench/Makefile (bench): Add sin and slowsin.
34257 * benchtests/sin-inputs: New file.
34258 * benchtests/slowsin-inputs: New file.
34259 * benchtests/slowsin.c: New file.
34261 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34262 (bench): Add slowexp and slowpow.
34263 (exp-ITER): Increase iterations.
34264 (pow-ITER): Likewise.
34265 * benchtests/exp-inputs: Change input.
34266 * benchtests/pow-inputs: Likewise.
34267 * benchtests/slowexp-inputs: New file.
34268 * benchtests/slowexp.c: New file.
34269 * benchtests/slowpow-inputs: New file.
34270 * benchtests/slowpow.c: New file.
34272 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34274 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34276 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34277 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34278 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34279 * benchtests/Makefile: Add rint benchtest.
34280 * benchtests/rint-inputs: Input for rint benchtest.
34282 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34284 * Versions.def (libm): Add GLIBC_2.18.
34285 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34286 hidden libm prototypes.
34287 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34288 * math/Makefile (libm-calls): Add s_issignaling.
34289 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34290 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34291 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34293 * math/math.h [__USE_GNU] (issignaling): New macro.
34294 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34295 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34297 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34300 * manual/arith.texi (issignaling): New section.
34301 * manual/libm-err-tab.pl (@all_functions): Update comment.
34302 * math/gen-libm-test.pl (parse_args): Apply special handling for
34304 * math/libm-test.inc (print_float, issignaling_test): New
34306 (check_float_internal): Add issignaling checks.
34307 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34308 default definition.
34309 * sysdeps/powerpc/math-tests.h: New file.
34310 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34312 * math/test-snan.c (TEST_FUNC): Likewise.
34314 2013-03-30 David S. Miller <davem@davemloft.net>
34316 * po/de.po: Update from translation team.
34318 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34321 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34322 imaginary part less than 1.0 and real part less than 0.5
34324 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34325 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34326 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34327 (cacos_test): Add more tests.
34328 (casin_test): Likewise.
34329 (casinh_test): Likewise.
34330 * sysdeps/i386/fpu/libm-test-ulps: Update.
34331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34333 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34335 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34336 ONE with its value.
34338 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34339 (__pow_mp): Replace ONE and MONE with their values.
34340 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34343 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34344 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34347 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34349 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34350 (__pow_mp): Replace ZERO and MZERO with their values.
34351 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34352 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34355 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34356 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34359 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34361 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34363 2013-03-28 Roland McGrath <roland@hack.frob.com>
34365 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34366 Declare with __attribute__ ((weak)).
34367 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34368 Call __call_tls_dtors only if it's not NULL.
34370 2013-03-28 Roland McGrath <roland@hack.frob.com>
34372 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34373 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34374 magic __ehdr_start linker symbol if it's defined.
34375 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34376 them up here if it was already done.
34378 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34379 (_dl_aux_init): Use const in cast when setting it.
34380 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34381 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34382 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34384 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34386 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34387 * csu/libc-tls.c: Nor here.
34388 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34390 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34391 (__libc_message): Never call vsyslog.
34393 2013-03-28 Alan Modra <amodra@gmail.com>
34395 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34397 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34400 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34403 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34407 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34410 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34411 Don't add gid passed as argument.
34413 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34415 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34418 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34419 imaginary part between 1.0 and 1.5 and real part less than 0.5
34421 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34422 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34423 * math/libm-test.inc (cacos_test): Add more tests.
34424 (casin_test): Likewise.
34425 (casinh_test): Likewise.
34426 * sysdeps/i386/fpu/libm-test-ulps: Update.
34427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34429 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34431 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34434 (denorm): Likewise.
34435 (__dbl_mp): Likewise.
34436 (add_magnitudes): Likewise.
34437 (sub_magnitudes): Likewise.
34445 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34447 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34448 (__dubcos): Likewise.
34449 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34450 (__ieee754_acos): Likewise.
34451 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34452 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34453 (__exp1): Likewise.
34454 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34457 (my_log2): Likewise.
34458 (checkint): Likewise.
34459 * sysdeps/ieee754/dbl-64/e_remainder.c
34460 (__ieee754_remainder): Likewise.
34461 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34463 (bsloww): Likewise.
34464 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34466 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34467 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34468 MANTISSA_STORE_T to store computations on mantissa. Use
34469 macros for rounding and division.
34470 (denorm): Likewise.
34471 (__dbl_mp): Likewise.
34472 (add_magnitudes): Likewise.
34473 (sub_magnitudes): Likewise.
34476 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34477 powers of two in terms of TWOPOW macro.
34478 (mp_no): Make type of mantissa as MANTISSA_T.
34479 [!RADIXI]: Define RADIXI.
34480 [!TWO52]: Define TWO52.
34481 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34483 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34485 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34486 llroundl symbol when building for PPC32.
34488 2013-03-24 Mark H Weaver <mhw@netris.org>
34490 * manual/arith.texi (Normalization Functions): Fix prototypes for
34491 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34493 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34497 high value to check if expl overflow.
34498 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34499 to check for underflow and overflow.
34500 * math/libm-test.inc: Add exp test.
34502 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34505 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34508 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34510 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34513 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34515 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34516 wrap blocks consisting of several statements.
34518 * sysdeps/generic/math-tests.h: New file.
34519 * sysdeps/i386/fpu/math-tests.h: Likewise.
34520 * math/test-snan.c: Include it.
34521 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34523 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34526 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34527 (__ieee754_j0l): Do not improve calculations using cos of twice
34528 input for inputs above LDBL_MAX / 2.0L.
34529 (__ieee754_y0l): Likewise.
34530 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34531 (__ieee754_j1l): Do not improve calculations using cos of twice
34532 input for inputs above LDBL_MAX / 2.0L.
34533 (__ieee754_y1l): Likewise.
34534 * math/libm-test.inc (j0_test): Add another test.
34535 (j1_test): Likewise.
34536 (y0_test): Likewise.
34537 (y1_test): Likewise.
34538 * sysdeps/i386/fpu/libm-test-ulps: Update.
34540 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34542 * Rules ($(objpfx)bench-%.c): Include code from a C source
34545 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34548 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34549 imaginary part 1.0 and real part less than 0.5 specially.
34550 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34551 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34552 * math/libm-test.inc (cacos_test): Add more tests.
34553 (casin_test): Likewise.
34554 (casinh_test): Likewise.
34555 * sysdeps/i386/fpu/libm-test-ulps: Update.
34556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34558 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34560 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34561 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34563 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34565 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34566 * config.make.in (config-cflags-sse4): Remove variable.
34567 (config-cflags-avx): Likewise.
34568 (config-cflags-sse2avx): Likewise.
34569 (config-cflags-novzeroupper): Likewise.
34570 (config-asflags-i686): Likewise.
34571 (have-mfma4): Likewise.
34572 (have-as-vis3): Likewise.
34574 * configure.in (MIG): Do not AC_SUBST.
34575 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34576 (libc_cv_cc_sse4): Do not AC_SUBST.
34577 (libc_cv_cc_avx): Likewise.
34578 (libc_cv_cc_sse2avx): Likewise.
34579 (libc_cv_cc_novzeroupper): Likewise.
34580 (libc_cv_cc_fma4): Likewise.
34581 (libc_cv_as_i686): Likewise.
34582 (libc_cv_sparc_as_vis3): Likewise.
34583 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34585 (config-asflags-i686): Likewise.
34586 (config-cflags-avx): Likewise.
34587 (config-cflags-sse2avx): Likewise.
34588 (have-mfma4): Likewise.
34589 (config-cflags-novzeroupper): Likewise.
34590 * sysdeps/mach/configure.in (MIG): Likewise.
34591 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34592 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34594 (config-cflags-avx): Likewise.
34595 (config-cflags-sse2avx): Likewise.
34596 (have-mfma4): Likewise.
34597 (config-cflags-novzeroupper): Likewise.
34598 * configure: Regenerated.
34599 * sysdeps/i386/configure: Likewise.
34600 * sysdeps/mach/configure: Likewise.
34601 * sysdeps/sparc/configure: Likewise.
34602 * sysdeps/x86_64/configure: Likewise.
34604 2013-03-20 Roland McGrath <roland@hack.frob.com>
34607 * locale/programs/localedef.c (options): Put N_ translation marker
34608 on argument names, not just descriptions.
34610 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34612 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34614 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34617 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34619 2013-03-19 Roland McGrath <roland@hack.frob.com>
34621 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34622 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34623 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34624 [!BEFORE_ABORT] (before_abort): New function.
34625 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34626 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34627 (writev_for_fatal): New function.
34628 (WRITEV_FOR_FATAL): New macro; call that.
34629 (backtrace_and_maps): New function.
34630 (BEFORE_ABORT): New macro; call that.
34631 (struct str_list): Type removed.
34632 (__libc_message, __libc_fatal): Functions removed.
34633 Include <sysdeps/posix/libc_fatal.c> instead.
34635 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34637 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34639 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34642 2013-03-19 Andreas Schwab <schwab@suse.de>
34644 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34645 * sysdeps/gnu/configure: Regenerate.
34647 * configure.in: Substitute libc_cv_rtlddir.
34648 * configure: Regenerate.
34649 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34650 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34651 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34652 * elf/Makefile (install-others, CFLAGS-interp.c)
34653 (ldso_install, common-ldd-rewrite): Likewise.
34654 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34655 $(inst_slibdir)/$(rtld-installed-name).
34656 * scripts/rellns-sh: Add -p option.
34657 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34660 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34662 * manual/nptl.texi: Renamed to ...
34663 * manual/threads.texi: ... this.
34664 * manual/Makefile (chapters): Update.
34666 2013-03-18 Roland McGrath <roland@hack.frob.com>
34669 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34670 on argument names, not just descriptions.
34671 * malloc/memusagestat.c (options): Likewise.
34672 * nss/getent.c (options): Likewise.
34674 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34677 * iconv/iconv_prog.c (options): Put N_ translation marker
34678 on argument names, not just descriptions.
34679 * iconv/iconvconfig.c (options): Likewise.
34681 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34683 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34684 implementation which is faster on all x86_64 architectures.
34685 Tested on AMD, Intel Nehalem, SNB, IVB.
34686 * sysdeps/x86_64/strnlen.S: Likewise.
34688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34689 Remove all multiarch strlen and strnlen versions.
34690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34691 Remove strlen and strnlen related parts.
34693 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34694 Inline strlen part.
34695 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34697 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34698 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34699 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34700 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34701 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34702 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34704 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34706 * manual/memory.texi (Malloc Tunable Parameters):
34707 Sort parameters alphabetically. Add comments for missing entries.
34709 2013-03-17 David S. Miller <davem@davemloft.net>
34711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34713 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34716 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34717 for arguments at most half maximum finite value.
34718 * math/libm-test.inc (j0_test): Add more tests.
34719 (j1_test): Likewise.
34720 (y0_test): Likewise.
34721 (y1_test): Likewise.
34722 * sysdeps/i386/fpu/libm-test-ulps: Update.
34723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34726 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34727 1 / x and functions P and Q for arguments above 0x1p256L.
34728 (__ieee754_y0l): Likewise.
34729 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34730 (__ieee754_y1l): Likewise.
34731 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34732 (j1_test): Likewise.
34733 (y0_test): Likewise.
34734 (y1_test): Likewise.
34736 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34738 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34741 2013-03-15 Roland McGrath <roland@hack.frob.com>
34743 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34744 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34745 zero since it's initialized to EXEC_PAGESIZE.
34747 * sysdeps/unix/sysv/linux/ldsodefs.h
34748 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34749 * sysdeps/generic/ldsodefs.h: ... here.
34751 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34753 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34755 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34757 * math/test-snan.c: Renamed from
34758 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34759 * math/Makefile (tests): Add test-snan.
34760 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34763 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34764 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34766 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34767 __builtin_nan family of functions.
34768 * math/libm-test.inc (initialize): Initialize qnan_value with
34769 __builtin_nan family of functions.
34770 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34772 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34774 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34775 storage class. Initialize qNaN_var and sNaN_var with
34776 __builtin_nan and __builtin_nans families of functions,
34779 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34780 (sqrt_test): Remove duplicate test with qNaN input.
34781 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34782 (round_test, signbit_test, significand_test): Note missing +/-Inf
34783 as well as qNaN tests.
34785 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34786 qNaN_var. Fix a few strings, too.
34787 * math/libm-test.inc (nan_value): Rename to qnan_value.
34788 * math/gen-libm-test.pl (%beautify): Adjust to that.
34789 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34790 * math/test-misc.c (main): Likewise.
34791 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34792 to __qnan_bytes, and __qnan_union, respectively.
34793 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34795 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34796 and lqnanval, respectively.
34797 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34798 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34799 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34800 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34802 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34803 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34806 * math/test-misc.c (main): Fix copy'n'pastos.
34807 * misc/tst-efgcvt.c (special): Likewise.
34809 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34810 Remove declarations.
34812 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34814 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34815 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34816 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34817 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34819 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34822 macro to return vdso values correctly in IFUNC implementations.
34823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34824 Optimization by using IFUNC.
34826 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34827 Richard Henderson <rth@redhat.com>
34828 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34830 * Makefile.in (bench): New target.
34831 * NEWS: Mention the benchmark framework.
34832 * Rules (bench): Likewise.
34833 (binaries-bench): Generate binaries for functions to
34835 * benchtests/Makefile: New makefile for benchmark tests.
34836 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34838 * benchtests/exp-inputs: New input file for EXP function.
34839 * benchtests/pow-inputs: New input file for POW function.
34840 * scripts/bench.pl: New script to generate source files for
34841 benchmark programs.
34843 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34845 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34847 computations on mantissa. Use macros for rounding and
34849 (denorm): Likewise.
34850 (__dbl_mp): Likewise.
34851 (add_magnitudes): Likewise.
34852 (sub_magnitudes): Likewise.
34855 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34856 powers of two in terms of TWOPOW macro.
34857 (mp_no): Make type of mantissa as MANTISSA_T.
34858 [!RADIXI]: Define RADIXI.
34859 [!TWO52]: Define TWO52.
34860 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34862 * manual/nptl.texi (cindex): Modify threads to pthreads.
34864 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34866 * sysdeps/x86_64/preconfigure: Regenerated.
34868 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34871 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34873 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34874 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34876 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34877 * math/libm-test.inc (j0_test): Do not allow one spurious
34878 underflow exception.
34879 (y1_test): Likewise.
34881 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34883 * manual/Makefile (chapters): Add nptl.
34884 * manual/debug.texi (Debugging Support): Add link to Threads
34886 * manual/nptl.texi: New file.
34888 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34890 2013-03-14 Petr Baudis <pasky@ucw.cz>
34892 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34893 for non-NULL pointer before the memory validity test. Pointed
34894 out by Holger Brunck <holger.brunck@keymile.com>.
34896 2013-03-13 Andreas Schwab <schwab@suse.de>
34898 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34901 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34903 * timezone/zic.c: Update from tzcode 2013b.
34905 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34907 * manual/install.texi (Configuring and compiling):
34908 Mention i686 and i586.
34909 * INSTALL: Regenerate.
34911 2013-03-12 Roland McGrath <roland@hack.frob.com>
34913 * sysdeps/init_array/elf-init.c: New file.
34915 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34916 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34918 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34919 __gmon_start__ as global, but as static with a .preinit_array pointer.
34920 * sysdeps/init_array/gmon-start.c: New file. Use that.
34921 * sysdeps/init_array/crti.S: New file, empty except for comments.
34922 * sysdeps/init_array/crtn.S: Likewise.
34924 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34926 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34929 Remove Prefer_SSE_for_memop.
34930 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34931 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34932 HAS_PREFER_SSE_FOR_MEMOP.
34933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34936 Remove bzero, memset ifunc support.
34937 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34938 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34939 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34940 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34942 2013-03-11 Andreas Schwab <schwab@suse.de>
34945 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34948 (GLIBC_2.16): Remove pthread_atfork.
34950 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34952 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34953 (ptestcases.h): Likewise.
34955 2013-03-08 Roland McGrath <roland@hack.frob.com>
34957 * Makeconfig ($(common-objpfx)config.status): Depend on
34958 sysdeps/*/preconfigure{,.in} too.
34960 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34962 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34963 (__free_hook): Use void * instead of __malloc_ptr_t.
34964 (__malloc_hook): Likewise.
34965 (__realloc_hook): Likewise.
34966 (__memalign_hook): Likewise.
34967 (__after_morecore_hook): Likewise.
34968 * malloc/arena.c (save_malloc_hook): Likewise.
34969 (save_free_hook): Likewise.
34970 * malloc/hooks.c (malloc_hook_ini): Likewise.
34971 (realloc_hook_ini): Likewise.
34972 (memalign_hook_ini): Likewise.
34973 * malloc/malloc.c (malloc_hook_ini): Likewise.
34974 (realloc_hook_ini): Likewise.
34975 (memalign_hook_ini): Likewise.
34976 (__free_hook): Likewise.
34977 (__malloc_hook): Likewise.
34978 (__realloc_hook): Likewise.
34979 (__memalign_hook): Likewise.
34980 (__libc_malloc): Likewise.
34981 (__libc_free): Likewise.
34982 (__libc_realloc): Likewise.
34983 (__libc_memalign): Likewise.
34984 (__libc_valloc): Likewise.
34985 (__libc_pvalloc): Likewise.
34986 (__libc_calloc): Likewise.
34987 (__posix_memalign): Likewise.
34988 * malloc/morecore.c (__sbrk): Likewise.
34989 (__default_morecore): Likewise.
34991 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34993 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34994 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34995 __malloc_ptrdiff_t.
34997 * malloc/malloc.h (__malloc_size_t): Remove macro.
34998 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35000 (old_memalign_hook): Likewise.
35001 (old_realloc_hook): Likewise.
35002 (struct hdr): Likewise.
35004 (mallochook): Likewise.
35005 (memalignhook): Likewise.
35006 (reallochook): Likewise.
35007 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35008 (tr_old_realloc_hook): Likewise.
35009 (tr_old_memalign_hook): Likewise.
35010 (tr_mallochook): Likewise.
35011 (tr_reallochook): Likewise.
35012 (tr_memalignhook): Likewise.
35014 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35017 default_ldbl_pack and using as default implementation.
35018 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35020 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35021 redundant definition.
35022 (ldbl_insert_mantissa): Likewise.
35023 (ldbl_canonicalize): Likewise.
35024 (ldbl_nearbyint): Likewise.
35025 (ldbl_pack): Rename to ldbl_pack_ppc.
35026 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35027 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35028 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35030 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35033 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35034 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35035 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35037 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35038 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35039 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35041 2013-03-07 Andreas Jaeger <aj@suse.de>
35043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35046 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35048 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35049 Include mpa.h and declare __MPEXP.
35050 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35051 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35052 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35053 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35054 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35055 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35056 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35058 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35059 (__slowpow): Use long double EXPL and LOGL functions to
35061 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35062 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35064 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35065 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35066 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35069 intermediate variable to calculate exponent.
35071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35075 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35076 [!NO__SQR]: Define __sqr.
35077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35078 and NO__SQR. Remove all code except __mul and __sqr. Include
35079 sysdeps/ieee754/dbl-64/mpa.c.
35080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35083 * posix/Makefile (tests): Add tst-pathconf.
35084 * posix/tst-pathconf.c: New test case.
35085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35087 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35089 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35091 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35093 2013-03-06 Andreas Jaeger <aj@suse.de>
35095 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35096 definition via __MAP_ANONYMOUS.
35098 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35099 it's not part of Linux headers.
35101 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35102 (MAP_HUGE_MASK): Define.
35104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35106 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35109 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35110 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35112 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35113 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35115 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35117 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35118 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35119 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35120 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35121 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35122 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35128 Handle f2fs and efivarfs.
35130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35133 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35134 (EFIVARFS_MAGIC): Add.
35135 (F2FS_LINK_MAX): Add.
35137 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35139 * stdio-common/vfprintf.c: Replace __builtin_expect with
35142 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35145 * sysdeps/generic/bp-sym.h: Remove file.
35146 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35147 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35148 <bp-sym.h> and <bp-asm.h>.
35149 (__longjmp): Don't use BP_SYM.
35150 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35152 (memcpy): Don't use BP_SYM.
35153 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35154 <bp-sym.h> and <bp-asm.h>.
35155 (memcpy): Don't use BP_SYM.
35156 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35158 (memcpy): Don't use BP_SYM.
35159 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35161 (memset): Don't use BP_SYM.
35162 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35163 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35164 (__bzero): Don't use BP_SYM.
35165 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35166 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35167 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35168 <bp-sym.h> and <bp-asm.h>.
35169 (memcmp): Don't use BP_SYM. Remove comment about bounded
35171 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35172 <bp-sym.h> and <bp-asm.h>.
35173 (memcpy): Don't use BP_SYM.
35174 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35175 <bp-sym.h> and <bp-asm.h>.
35176 (memset): Don't use BP_SYM.
35177 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35178 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35179 (__bzero): Don't use BP_SYM.
35180 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35181 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35182 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35183 <bp-sym.h> and <bp-asm.h>.
35184 (strncmp): Don't use BP_SYM. Remove comment about bounded
35186 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35187 <bp-sym.h> and <bp-asm.h>.
35188 (memcpy): Don't use BP_SYM.
35189 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35190 <bp-sym.h> and <bp-asm.h>.
35191 (memset): Don't use BP_SYM.
35192 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35193 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35194 (__bzero): Don't use BP_SYM.
35195 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35196 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35198 <bp-sym.h> and <bp-asm.h>.
35199 (__memchr): Don't use BP_SYM.
35200 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35201 <bp-sym.h> and <bp-asm.h>.
35202 (memcmp): Don't use BP_SYM. Remove comment about bounded
35204 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35205 <bp-sym.h> and <bp-asm.h>.
35206 (memcpy): Don't use BP_SYM.
35207 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35208 <bp-sym.h> and <bp-asm.h>.
35209 (__mempcpy): Don't use BP_SYM.
35210 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35211 <bp-sym.h> and <bp-asm.h>.
35212 (__memrchr): Don't use BP_SYM.
35213 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35214 <bp-sym.h> and <bp-asm.h>.
35215 (memset): Don't use BP_SYM.
35216 (__bzero): Likewise.
35217 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35218 <bp-sym.h> and <bp-asm.h>.
35219 (__rawmemchr): Don't use BP_SYM.
35220 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35221 <bp-sym.h> and <bp-asm.h>.
35222 (__STRCMP): Don't use BP_SYM.
35223 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35224 <bp-sym.h> and <bp-asm.h>.
35225 (strchr): Don't use BP_SYM.
35226 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35227 <bp-sym.h> and <bp-asm.h>.
35228 (__strchrnul): Don't use BP_SYM.
35229 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35230 <bp-sym.h> and <bp-asm.h>.
35231 (strlen): Don't use BP_SYM.
35232 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35233 <bp-sym.h> and <bp-asm.h>.
35234 (strncmp): Don't use BP_SYM. Remove comment about bounded
35236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35237 <bp-sym.h> and <bp-asm.h>.
35238 (__strnlen): Don't use BP_SYM.
35239 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35240 <bp-sym.h> and <bp-asm.h>.
35241 (__GI__setjmp): Don't use BP_SYM.
35242 (_setjmp): Likewise.
35243 (__sigsetjmp): Likewise.
35244 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35245 (L(start_addresses)): Don't use BP_SYM.
35246 (_start): Likewise.
35247 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35249 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35250 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35251 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35252 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35253 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35255 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35256 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35257 about bounded pointers.
35258 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35259 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35260 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35262 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35263 about bounded pointers. Remove GKM FIXME comments.
35264 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35265 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35267 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35268 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35269 Remove GKM FIXME comments.
35270 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35271 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35272 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35274 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35275 about bounded pointers. Remove GKM FIXME comment.
35276 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35278 (strncmp): Don't use BP_SYM. Remove comment about bounded
35280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35281 <bp-sym.h> and <bp-asm.h>.
35282 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35284 <bp-sym.h> and <bp-asm.h>.
35285 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35288 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35290 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35293 2013-03-05 David S. Miller <davem@davemloft.net>
35295 * po/es.po: Update from translation team.
35297 2013-03-05 Andreas Jaeger <aj@suse.de>
35299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35300 <bits/mman-linux.h>.
35301 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35303 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35304 <bits/mman-linux.h> to end of file.
35305 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35307 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35308 <bits/mman-linux.h> to end of file.
35309 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35312 <bits/mman-linux.h> to end of file.
35314 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35315 (MCL_CURRENT, MCL_FUTURE): Define here.
35317 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35320 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35322 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35324 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35326 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35327 fourth parameter needed for rt_sigprocmask syscall.
35328 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35329 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35330 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35331 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35332 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35333 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35335 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35338 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35339 comment about bounded pointers.
35340 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35341 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35343 2013-03-04 Andreas Jaeger <aj@suse.de>
35345 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35346 common definitions.
35348 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35349 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35350 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35351 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35352 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35355 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35359 __ieee754_sqrl instead of __sqrl.
35361 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35363 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35364 * sysdeps/powerpc/fpu_control.h: ... here.
35365 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35366 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35367 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35368 * sysdeps/powerpc/bits/mathinline.h: ... here.
35370 2013-03-01 Roland McGrath <roland@hack.frob.com>
35372 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35373 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35374 to just [NEED_DL_SYSINFO_DSO].
35375 * elf/dl-support.c: Likewise.
35376 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35377 * elf/rtld.c (dl_main): Likewise.
35378 * elf/setup-vdso.h (setup_vdso): Likewise.
35379 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35380 * sysdeps/unix/sysv/linux/dl-sysdep.c
35381 (_dl_discover_osversion): Likewise.
35383 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35385 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35386 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35388 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35390 * NEWS: Mention libm performance improvements and non-x86 PI
35393 * csu/libc-start.c (__pthread_initialize_minimal): Change
35394 function arguments.
35395 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35397 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35400 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35401 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35402 <bp-sym.h> and <bp-asm.h>.
35403 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35404 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35406 (memcpy): Don't use BP_SYM.
35407 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35409 (__mpn_add_n): Don't use BP_SYM.
35410 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35411 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35413 (__mpn_addmul_1): Don't use BP_SYM.
35414 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35415 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35417 (_setjmp): Don't use BP_SYM.
35418 (__novmx_setjmp): Likewise.
35419 (__GI__setjmp): Likewise.
35420 (__vmx_setjmp): Likewise.
35421 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35423 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35424 (__bzero): Don't use BP_SYM.
35425 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35426 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35427 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35428 <bp-sym.h> and <bp-asm.h>.
35429 (memcpy): Don't use BP_SYM.
35430 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35431 <bp-sym.h> and <bp-asm.h>.
35432 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35433 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35434 <bp-sym.h> and <bp-asm.h>.
35435 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35436 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35438 (__mpn_lshift): Don't use BP_SYM.
35439 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35440 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35442 (memset): Don't use BP_SYM.
35443 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35444 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35445 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35447 (__mpn_mul_1): Don't use BP_SYM.
35448 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35450 <bp-sym.h> and <bp-asm.h>.
35451 (memcmp): Don't use BP_SYM.
35452 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35453 <bp-sym.h> and <bp-asm.h>.
35454 (memcpy): Don't use BP_SYM.
35455 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35456 <bp-sym.h> and <bp-asm.h>.
35457 (memset): Don't use BP_SYM.
35458 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35459 <bp-sym.h> and <bp-asm.h>.
35460 (strncmp): Don't use BP_SYM.
35461 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35462 <bp-sym.h> and <bp-asm.h>.
35463 (memcpy): Don't use BP_SYM.
35464 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35465 <bp-sym.h> and <bp-asm.h>.
35466 (memset): Don't use BP_SYM.
35467 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35468 <bp-sym.h> and <bp-asm.h>.
35469 (__memchr): Don't use BP_SYM.
35470 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35471 <bp-sym.h> and <bp-asm.h>.
35472 (memcmp): Don't use BP_SYM.
35473 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35474 <bp-sym.h> and <bp-asm.h>.
35475 (memcpy): Don't use BP_SYM.
35476 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35477 <bp-sym.h> and <bp-asm.h>.
35478 (__mempcpy): Don't use BP_SYM.
35479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35480 <bp-sym.h> and <bp-asm.h>.
35481 (__memrchr): Don't use BP_SYM.
35482 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35483 <bp-sym.h> and <bp-asm.h>.
35484 (memset): Don't use BP_SYM.
35485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35486 <bp-sym.h> and <bp-asm.h>.
35487 (__rawmemchr): Don't use BP_SYM.
35488 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35489 <bp-sym.h> and <bp-asm.h>.
35490 (__STRCMP): Don't use BP_SYM.
35491 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35492 <bp-sym.h> and <bp-asm.h>.
35493 (strchr): Don't use BP_SYM.
35494 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35495 <bp-sym.h> and <bp-asm.h>.
35496 (__strchrnul): Don't use BP_SYM.
35497 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35498 <bp-sym.h> and <bp-asm.h>.
35499 (strlen): Don't use BP_SYM.
35500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35501 <bp-sym.h> and <bp-asm.h>.
35502 (strncmp): Don't use BP_SYM.
35503 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35504 <bp-sym.h> and <bp-asm.h>.
35505 (__strnlen): Don't use BP_SYM.
35506 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35508 (__mpn_rshift): Don't use BP_SYM.
35509 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35510 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35511 <bp-sym.h> and <bp-asm.h>.
35512 (__sigsetjmp): Don't use BP_SYM.
35513 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35514 (L(start_addresses)): Don't use BP_SYM.
35515 (_start): Likewise.
35516 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35518 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35519 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35520 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35521 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35523 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35524 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35525 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35526 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35528 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35530 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35531 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35533 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35535 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35536 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35537 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35539 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35541 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35543 (strncmp): Don't use BP_SYM,
35544 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35546 (__mpn_sub_n): Don't use BP_SYM.
35547 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35548 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35550 (__mpn_submul_1): Don't use BP_SYM.
35551 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35553 <bp-sym.h> and <bp-asm.h>.
35554 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35556 <bp-sym.h> and <bp-asm.h>.
35557 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35560 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35563 Use ZK to minimize writes to Z.
35564 (sub_magnitudes): Simplify code a bit.
35565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35566 Use ZK to minimize writes to Z.
35567 (sub_magnitudes): Simplify code a bit.
35569 2013-02-27 Roland McGrath <roland@hack.frob.com>
35571 * csu/gmon-start.c: Add special exception to license text.
35573 2013-02-27 Richard Henderson <rth@redhat.com>
35575 * scripts/config.guess: Update from config.git.
35576 * scripts/config.sub: Likewise.
35578 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35580 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35582 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35584 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35586 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35588 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35590 2013-02-26 Roland McGrath <roland@hack.frob.com>
35592 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35593 [$(build-shared = yes].
35595 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35597 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35598 (__mul): Reduce iterations for calculating mantissa.
35600 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35602 (__mpranred): Likewise.
35605 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35606 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35608 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35610 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35611 Define __attribute__.
35613 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35615 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35617 * posix/regex_internal.h (__attribute): Remove.
35618 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35619 (re_string_context_at): Likewise.
35620 (bitset_not): Use __attribute__ and mark function as possibly
35622 (bitset_merge): Likewise.
35623 (bitset_mask): Likewise.
35624 (re_string_char_size_at): Likewise.
35625 (re_string_wchar_at): Likewise.
35626 (re_string_elem_size_at): Likewise.
35628 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35630 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35634 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35638 (denorm): Likewise.
35639 (__dbl_mp): Likewise.
35640 (add_magnitudes): Likewise.
35641 (sub_magnitudes): Likewise.
35645 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35648 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35651 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35655 up changes with default code.
35656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35659 2013-02-24 Allan McRae <allan@archlinux.org>
35661 * manual/socket.texi (The Internet Namespace): Order menu items
35662 to match that in the file.
35664 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35665 node listing of the info page menu.
35667 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35670 * sysdeps/i386/bp-asm.h: Remove file.
35671 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35672 (PARMS): Do not use macros from bp-asm.h.
35676 (__mpn_add_n): Do not use BP_SYM
35677 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35679 (PARMS): Do not use macros from bp-asm.h.
35682 (__mpn_addmul_1): Do not use BP_SYM
35683 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35685 (PARMS): Do not use macros from bp-asm.h.
35686 (SIGMSK): Likewise.
35687 (_setjmp): Likewise. Do not use BP_SYM.
35688 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35690 (PARMS): Do not use macros from bp-asm.h.
35691 (SIGMSK): Likewise.
35692 (setjmp): Likewise. Do not use BP_SYM.
35693 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35695 (PARMS): Do not use macros from bp-asm.h.
35696 (__frexp): Do not use BP_SYM.
35698 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35700 (PARMS): Do not use macros from bp-asm.h.
35701 (__frexpf): Do not use BP_SYM.
35702 (frexpf): Likewise.
35703 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35705 (PARMS): Do not use macros from bp-asm.h.
35706 (__frexpl): Do not use BP_SYM.
35707 (frexpl): Likewise.
35708 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35710 (PARMS): Do not use macros from bp-asm.h.
35711 (__remquo): Do not use BP_SYM.
35712 (remquo): Likewise.
35713 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35715 (PARMS): Do not use macros from bp-asm.h.
35716 (__remquof): Do not use BP_SYM.
35717 (remquof): Likewise.
35718 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35720 (PARMS): Do not use macros from bp-asm.h.
35721 (__remquol): Do not use BP_SYM.
35722 (remquol): Likewise.
35723 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35725 (PARMS): Do not use macros from bp-asm.h.
35728 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35729 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35731 (PARMS): Do not use macros from bp-asm.h.
35732 (strlen): Do not use BP_SYM.
35733 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35735 (PARMS): Do not use macros from bp-asm.h.
35739 (__mpn_add_n): Do not use BP_SYM.
35740 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35742 (PARMS): Do not use macros from bp-asm.h.
35745 (__mpn_addmul_1): Do not use BP_SYM.
35746 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35749 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35751 (PARMS): Do not use macros from bp-asm.h.
35754 (__mpn_lshift): Do not use BP_SYM.
35755 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35757 (PARMS): Do not use macros from bp-asm.h.
35761 (memcpy): Likewise. Do not use BP_SYM.
35762 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35763 libc_hidden_def and weak_alias.
35764 (mempcpy): Do not use BP_SYM in weak_alias.
35765 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35767 (PARMS): Do not use macros from bp-asm.h.
35770 [!BZERO_P] (CHR): Likewise.
35771 (memset): Likewise. Do not use BP_SYM.
35772 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35774 (PARMS): Do not use macros from bp-asm.h.
35777 (__mpn_mul_1): Do not use BP_SYM.
35778 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35780 (PARMS): Do not use macros from bp-asm.h.
35783 (__mpn_rshift): Do not use BP_SYM.
35784 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35786 (PARMS): Do not use macros from bp-asm.h.
35789 (strchr): Likewise. Do not use BP_SYM.
35790 (index): Do not use BP_SYM in weak_alias.
35791 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35793 (PARMS): Do not use macros from bp-asm.h.
35796 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35797 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35799 (PARMS): Do not use macros from bp-asm.h.
35800 (strlen): Do not use BP_SYM.
35801 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35803 (PARMS): Do not use macros from bp-asm.h.
35807 (__mpn_sub_n): Do not use BP_SYM.
35808 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35810 (PARMS): Do not use macros from bp-asm.h.
35813 (__mpn_submul_1): Do not use BP_SYM.
35814 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35816 (PARMS): Do not use macros from bp-asm.h.
35820 (__mpn_add_n): Do not use BP_SYM.
35821 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35824 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35826 (PARMS): Do not use macros from bp-asm.h.
35829 (memcmp): Do not use BP_SYM.
35830 (bcmp): Do not use BP_SYM in weak_alias.
35831 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35833 (PARMS): Do not use macros from bp-asm.h.
35837 (memcpy): Likewise. Do not use BP_SYM.
35838 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35840 (PARMS): Do not use macros from bp-asm.h.
35844 (memmove): Likewise. Do not use BP_SYM.
35845 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35847 (PARMS): Do not use macros from bp-asm.h.
35851 (__mempcpy): Likewise. Do not use BP_SYM.
35852 (mempcpy): Do not use BP_SYM in weak_alias.
35853 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35855 (PARMS): Do not use macros from bp-asm.h.
35858 [!BZERO_P] (CHR): Likewise.
35859 (memset): Likewise. Do not use BP_SYM.
35860 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35862 (PARMS): Do not use macros from bp-asm.h.
35864 (strcmp): Do not use BP_SYM.
35865 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35867 (PARMS): Do not use macros from bp-asm.h.
35870 [USE_AS_STRTOK_R] (SAVE): Likewise.
35871 (FUNCTION): Likewise. Do not use BP_SYM.
35872 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35874 (strtok_r): Likewise.
35875 (__GI___strtok_r): Likewise.
35876 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35877 (PARMS): Do not use macros from bp-asm.h.
35880 (__mpn_lshift): Do not use BP_SYM.
35881 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35882 (PARMS): Do not use macros from bp-asm.h.
35885 (__memchr): Do not use BP_SYM.
35886 (memchr): Do not use BP_SYM in weak_alias.
35887 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35888 (PARMS): Do not use macros from bp-asm.h.
35891 (memcmp): Do not use BP_SYM.
35892 (bcmp): Do not use BP_SYM in weak_alias.
35893 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35894 (PARMS): Do not use macros from bp-asm.h.
35897 (__mpn_mul_1): Do not use BP_SYM.
35898 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35900 (PARMS): Do not use macros from bp-asm.h.
35903 (__rawmemchr): Do not use BP_SYM.
35904 (rawmemchr): Do not use BP_SYM in weak_alias.
35905 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35906 (PARMS): Do not use macros from bp-asm.h.
35909 (__mpn_rshift): Do not use BP_SYM.
35910 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35911 (PARMS): Do not use macros from bp-asm.h.
35912 (SIGMSK): Likewise.
35913 (__sigsetjmp): Likewise. Do not use BP_SYM.
35914 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35915 (_start): Do not use BP_SYM.
35916 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35917 (PARMS): Do not use macros from bp-asm.h.
35920 (__stpcpy): Likewise. Do not use BP_SYM.
35921 (stpcpy): Do not use BP_SYM in weak_alias.
35922 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35924 (PARMS): Do not use macros from bp-asm.h.
35928 (__stpncpy): Likewise. Do not use BP_SYM.
35929 (stpncpy): Do not use BP_SYM in weak_alias.
35930 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35931 (PARMS): Do not use macros from bp-asm.h.
35934 (strchr): Likewise. Do not use BP_SYM.
35935 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35937 (PARMS): Do not use macros from bp-asm.h.
35940 (__strchrnul): Likewise. Do not use BP_SYM.
35941 (strchrnul): Do not use BP_SYM in weak_alias.
35942 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35944 (PARMS): Do not use macros from bp-asm.h.
35946 (strcspn): Do not use BP_SYM.
35947 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35949 (PARMS): Do not use macros from bp-asm.h.
35952 (strpbrk): Likewise. Do not use BP_SYM.
35953 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35955 (PARMS): Do not use macros from bp-asm.h.
35958 (strrchr): Likewise. Do not use BP_SYM.
35959 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35960 (PARMS): Do not use macros from bp-asm.h.
35962 (strspn): Do not use BP_SYM.
35963 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35964 (PARMS): Do not use macros from bp-asm.h.
35968 (FUNCTION): Likewise. Do not use BP_SYM.
35969 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35971 (strtok_r): Likewise.
35972 (__GI___strtok_r): Likewise.
35973 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35974 (PARMS): Do not use macros from bp-asm.h.
35978 (__mpn_sub_n): Do not use BP_SYM.
35979 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35981 (PARMS): Do not use macros from bp-asm.h.
35984 (__mpn_submul_1): Do not use BP_SYM.
35985 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35987 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35989 (PARMS): Do not use macros from bp-asm.h.
35994 (__clone): Do not use BP_SYM.
35995 (clone): Do not use BP_SYM in weak_alias.
35996 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35998 (PARMS): Do not use macros from bp-asm.h.
36000 (__mmap64): Do not use BP_SYM.
36001 (mmap64): Do not use BP_SYM in weak_alias.
36002 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36003 <bp-sym.h> and <bp-asm.h>.
36004 (PARMS): Do not use macros from bp-asm.h.
36005 (__posix_fadvise64_l64): Do not use BP_SYM.
36006 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36007 (PARMS): Do not use macros from bp-asm.h.
36009 (semtimedop): Do not use BP_SYM.
36010 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36013 2013-02-21 Allan McRae <allan@archlinux.org>
36015 * manual/message.texi (Charset conversion in gettext):
36016 Move @end statement to beginning of line.
36018 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36026 (denorm): Likewise.
36027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36030 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36032 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36033 tail-call to the resolved function if pltexit isn't needed.
36035 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36038 or Y being zero as being unlikely.
36039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36042 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36044 * manual/nss.texi (System Databases and Name Service Switch):
36045 Remove frobnicate @pxref.
36047 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36049 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36050 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36052 2013-02-20 Petr Machata <pmachata@redhat.com>
36054 * elf/elf.h (R_ARM_TARGET1): New macro.
36055 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36056 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36057 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36058 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36059 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36060 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36061 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36062 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36063 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36064 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36065 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36066 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36067 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36068 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36069 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36070 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36071 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36072 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36073 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36074 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36075 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36076 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36077 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36078 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36079 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36080 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36081 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36082 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36083 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36084 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36085 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36086 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36087 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36088 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36089 (R_ARM_THM_GOT_BREL12): Likewise.
36090 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36091 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36092 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36093 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36094 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36095 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36096 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36097 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36098 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36100 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36102 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36103 __attribute_used__ to __attribute__ ((unused)).
36105 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36107 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36110 comment formatting.
36111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36113 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36116 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36118 (ENTER): Remove both macro definitions.
36120 (CHECK_BOUNDS_LOW): Likewise.
36121 (CHECK_BOUNDS_HIGH): Likewise.
36122 (CHECK_BOUNDS_BOTH): Likewise.
36123 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36124 (RETURN_BOUNDED_POINTER): Likewise.
36125 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36126 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36127 (POP_ERRNO_LOCATION_RETURN): Likewise.
36128 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36129 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36130 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36132 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36133 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36134 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36135 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36136 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36137 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36138 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36139 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36140 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36141 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36142 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36143 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36144 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36145 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36147 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36148 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36150 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36151 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36152 * sysdeps/i386/i586/memset.S (memset): Likewise.
36153 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36154 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36155 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36157 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36158 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36159 Change uses of L(2) to L(out).
36160 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36161 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36162 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36163 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36164 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36166 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36167 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36169 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36170 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36171 (RETURN): Do not use macro LEAVE.
36172 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36173 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36174 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36175 * sysdeps/i386/i686/memset.S (memset): Likewise.
36176 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36177 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36178 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36179 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36181 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36182 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36183 L(1_2) and L(1_3) into L(1).
36184 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36185 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36186 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36187 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36188 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36189 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36190 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36191 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36192 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36194 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36195 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36196 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36197 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36198 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36199 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36200 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36201 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36202 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36203 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36204 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36205 * sysdeps/i386/strspn.S (strspn): Likewise.
36206 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36208 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36209 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36210 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36211 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36212 L(1_3) into L(1_1).
36213 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36214 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36215 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36217 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36219 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36221 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36224 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36226 * math/atest-exp.c (exp_mpn): Remove ROUND.
36227 * math/atest-exp2.c (exp_mpn): Likewise.
36228 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36230 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36231 * stdlib/tst-tls-atexit-lib.c: Likewise.
36232 * stdlib/tst-tls-atexit.c: Likewise.
36234 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36236 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36237 and __attribute_alloc_size__.
36239 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36241 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36242 __attribute_alloc_size__.
36243 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36244 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36246 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36248 * include/programs/xmalloc.h: New file.
36249 * catgets/gencat.c: Include it.
36250 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36251 * elf/pldd.c: Likewise.
36252 * iconv/iconv_charmap.c: Likewise.
36253 * iconv/iconvconfig.c: Likewise.
36254 * iconv/strtab.c: Likewise.
36255 * locale/programs/locale.c: Likewise.
36256 * locale/programs/localedef.h: Likewise.
36257 * locale/programs/simple-hash.c: Likewise.
36258 * nscd/nscd.h: Likewise.
36259 * nss/makedb.c: Likewise.
36260 * sysdeps/generic/ldconfig.h: Likewise.
36262 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36264 * Versions.def: Add GLIBC_2.18.
36265 * include/link.h (struct link_map): New member l_tls_dtor_count.
36266 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36267 (__call_tls_dtors): Likewise.
36268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36269 __cxa_thread_atexit_impl.
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36286 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36287 (tests): Add test case tst-tls-atexit.
36288 (modules-names): Add shared library for tst-tls-atexit.
36289 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36290 (GLIBC_PRIVATE): Add __call_tls_dtors.
36291 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36293 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36294 * stdlib/tst-tls-atexit.c: New test case.
36295 * stdlib/tst-tls-atexit-lib.c: New test case.
36297 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36299 * elf/Versions (ld): Add _dl_find_dso_for_object.
36300 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36301 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36302 (dl_open_worker): Use _dl_find_dso_for_object.
36303 * elf/dl-sym.c (do_sym): Likewise.
36304 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36306 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36308 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36309 Syntactic changes only.
36310 (_dl_runtime_profile): Do a tail-call to the resolved function.
36312 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36315 * sysdeps/x86_64/bp-asm.h: Remove file.
36316 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36317 <bp-sym.h> and <bp-asm.h>.
36318 (__clone): Do not use BP_SYM.
36319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36320 <bp-sym.h> and <bp-asm.h>.
36321 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36322 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36324 (_setjmp): Do not use BP_SYM.
36325 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36327 (setjmp): Do not use BP_SYM.
36328 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36330 (mempcpy): Do not use BP_SYM in weak_alias.
36331 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36333 (strchr): Do not use BP_SYM.
36334 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36336 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36337 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36338 (_start): Do not use BP_SYM.
36339 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36341 (strcat): Do not use BP_SYM.
36342 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36344 (STRCMP): Do not use BP_SYM.
36345 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36347 (STRCPY): Do not use BP_SYM.
36348 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36350 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36352 (FUNCTION): Do not use BP_SYM.
36353 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36355 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36357 2013-02-17 Andreas Jaeger <aj@suse.de>
36359 * time/Versions: Sort entries.
36360 * string/Versions: Likewise.
36361 * resolv/Versions: Likewise.
36362 * posix/Versions: Likewise.
36363 * iconv/Versions: Likewise.
36364 * elf/Versions: Likewise.
36365 * wcsmbs/Versions: Likewise.
36367 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36369 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36370 loop termination condition.
36372 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36373 variable to calculate EZ.
36376 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36377 the lower precision input.
36379 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36382 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36383 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36384 (run-via-rtld-prefix): Do not handle %-bp tests.
36385 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36386 (all-object-suffixes): Remove .ob.
36387 (bppfx): Remove variable.
36388 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36389 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36390 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36391 [$(build-bounded) = yes] (libtype.ob): Likewise.
36392 * Makerules (elide-routines.ob): Remove variable.
36393 (do-tests-clean): Do not handle *-bp.out.
36394 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36395 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36396 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36397 (tests): Do not include $(tests-bp.out).
36398 (xtests): Do not include $(xtests-bp.out).
36399 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36400 [$(build-bounded) = yes] ($(addprefix
36401 $(objpfx),$(binaries-bounded))): Remove rule.
36402 ($(objpfx)%-bp.out): Remove rule.
36403 * config.make.in (build-bounded): Remove variable.
36404 * crypt/Makefile [$(build-bounded) = yes]
36405 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36406 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36407 append to variable.
36408 [$(build-bounded) = yes] (install-lib): Likewise.
36409 [$(build-bounded) = yes] (generated): Likewise.
36410 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36412 * intl/Makefile [$(build-bounded) = yes]
36413 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36414 * math/Makefile [$(build-bounded) = yes]
36415 ($(tests:%=$(objpfx)%-bp): Likewise.
36416 * misc/Makefile [$(build-bounded) = yes]
36417 ($(objpfx)tst-tsearch-bp): Likewise.
36418 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36419 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36421 * string/Makefile (o-objects.ob): Remove variable.
36422 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36423 (CFLAGS-.ob): Remove variable.
36424 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36425 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36426 both definitions of variable.
36427 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36428 (ASFLAGS-.ob): Remove variable.
36430 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36433 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36434 Remove __BOUNDED_POINTERS__ from condition.
36435 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36436 * string/bits/string2.h [!__NO_STRING_INLINES &&
36437 !__BOUNDED_POINTERS__]: Likewise.
36438 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36440 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36441 Remove conditional code.
36442 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36443 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36444 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36448 * csu/libc-start.c: Do not include <bp-sym.h>.
36449 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36450 * elf/dl-open.c: Do not include <bp-sym.h>.
36451 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36452 * math/fegetenv.c: Do not include <bp-sym.h>.
36453 (fegetenv): Do not use BP_SYM in versioned symbols.
36454 * nptl/sysdeps/pthread/bits/libc-lockP.h
36455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36458 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36460 (__pthread_mutex_destroy): Likewise.
36461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36462 (__pthread_mutex_lock): Likewise.
36463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36464 (__pthread_mutex_trylock): Likewise.
36465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36466 (__pthread_mutex_unlock): Likewise.
36467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36468 (__pthread_mutexattr_init): Likewise.
36469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36470 (__pthread_mutexattr_destroy): Likewise.
36471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36472 (__pthread_mutexattr_settype): Likewise.
36473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36474 (__pthread_rwlock_init): Likewise.
36475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36476 (__pthread_rwlock_destroy): Likewise.
36477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36478 (__pthread_rwlock_rdlock): Likewise.
36479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36480 (__pthread_rwlock_tryrdlock): Likewise.
36481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36482 (__pthread_rwlock_wrlock): Likewise.
36483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36484 (__pthread_rwlock_trywrlock): Likewise.
36485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36486 (__pthread_rwlock_unlock): Likewise.
36487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36488 (__pthread_key_create): Likewise.
36489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36490 (__pthread_setspecific): Likewise.
36491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36492 (__pthread_getspecific): Likewise.
36493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36496 (_pthread_cleanup_push_defer): Likewise.
36497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36498 (_pthread_cleanup_pop_restore): Likewise.
36499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36500 (pthread_setcancelstate): Likewise.
36501 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36503 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36504 (memchr): Do not use BP_SYM in weak_alias.
36505 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36506 (fegetenv): Do not use BP_SYM in versioned symbols.
36507 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36508 (fesetenv): Do not use BP_SYM in versioned symbols.
36509 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36510 (feupdateenv): Do not use BP_SYM in versioned symbols.
36511 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36512 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36513 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36514 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36515 (open64): Do not use BP_SYM in weak_alias.
36516 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36517 (fegetenv): Do not use BP_SYM in versioned symbols.
36518 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36519 (fesetenv): Do not use BP_SYM in versioned symbols.
36520 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36521 (feupdateenv): Do not use BP_SYM in versioned symbols.
36522 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36523 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36524 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36525 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36526 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36527 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36528 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36530 (__libc_start_main): Do not use BP_SYM.
36532 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36535 redundant return line.
36537 (denorm): Likewise.
36538 (dbl_mp): Likewise.
36539 (sub_magnitudes): Likewise.
36545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36547 (denorm): Likewise.
36548 (dbl_mp): Likewise.
36549 (sub_magnitudes): Likewise.
36556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36558 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36559 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36562 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36563 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36565 of __mul for squares.
36566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36570 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36573 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36576 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36578 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36579 prototype or function definition. Rename ubp_* variables and
36580 parameters. Remove argv definitions conditional on
36581 [__BOUNDED_POINTERS__].
36582 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36583 * elf/dl-runtime.c (_dl_fixup): Likewise.
36584 * include/set-hooks.h (RUN_HOOK): Likewise.
36585 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36587 * string/strcpy.c (strcpy): Do not use __unbounded.
36588 * sysdeps/generic/frame.h (struct layout): Likewise.
36589 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36590 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36591 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36592 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36593 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36594 (__backtrace): Likewise.
36595 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36597 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36598 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36599 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36601 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36602 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36603 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36604 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36605 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36606 Do not use __unbounded.
36607 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36608 Rename __unboundedrlimits parameter to rlimits in prototype.
36609 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36610 Do not use __unbounded.
36611 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36612 not use __ptrvalue.
36613 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36614 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36615 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36616 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36617 __ptrvalue or __unbounded.
36618 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36619 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36621 (__new_msgctl): Do not use __ptrvalue.
36622 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36624 (__libc_msgrcv): Do not use __ptrvalue.
36625 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36626 startup_info): Do not use __unbounded.
36627 (__libc_start_main): Likewise. Rename ubp_* variables and
36628 parameters. Remove argv definitions conditional on
36629 [__BOUNDED_POINTERS__].
36630 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36632 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36634 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36636 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36638 (__new_shmctl): Do not use __ptrvalue.
36639 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36640 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36642 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36644 (__libc_sigaction): Likewise.
36645 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36646 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36648 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36650 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36652 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36654 * string/mempcpy.c: Implement by calling memcpy.
36656 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36664 values in the mantissa.
36666 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36667 minimize writes to Z.
36668 (sub_magnitudes): Simplify code a bit.
36670 2013-02-12 Roland McGrath <roland@hack.frob.com>
36672 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36673 from the message. The linker prefixes all warnings with that already.
36675 2013-02-12 Andreas Schwab <schwab@suse.de>
36678 * posix/regexec.c (extend_buffers): Add parameter min_len.
36679 (check_matching): Pass minimum needed length.
36680 (clean_state_log_if_needed): Likewise.
36681 (get_subexp): Likewise.
36682 * posix/Makefile (tests): Add bug-regex34.
36683 (bug-regex34-ENV): Define.
36684 * posix/bug-regex34.c: New file.
36687 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36688 elements compare against the byte sequence of it, not its name.
36689 * posix/Makefile (tests): Add bug-regex35.
36690 (bug-regex35-ENV): Define.
36691 * posix/bug-regex35.c: New file.
36693 2013-02-11 Tom de Vries <tom@codesourcery.com>
36695 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36697 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36698 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36699 (CHECK_EOL): Add undef.
36701 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36703 * bits/stdlib-bsearch.h: New file.
36704 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36705 * stdlib/stdlib.h: Likewise.
36707 2013-02-11 Roland McGrath <roland@hack.frob.com>
36709 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36710 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36712 * manual/search.texi (Array Search Function): Add missing const in
36714 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36715 declaration to use rlim_t.
36716 (Basic Scheduling Functions): Remove erroneous const from
36717 sched_getparam prototype. Remove erroneous * from
36718 sched_get_priority_max and sched_get_priority_min prototypes.
36719 (Resource Usage): Fix summary @comment on vtimes to refer to
36720 sys/vtimes.h rather than vtimes.h.
36721 Add missing *s in vtimes prototype.
36722 (Limits on Resources): Fix ulimit prototype to return long int.
36723 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36724 prototypes to use long int rather than double.
36725 (BSD Random): Fix initstate and setstate to use char *, not void *.
36726 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36727 prototype to make second argument 'struct aiocb64 *const[]'.
36728 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36729 (Status of AIO Operations): Remove erroneous const in aio_return and
36730 aio_return64 prototypes.
36731 (Synchronizing I/O): Fix sync prototype to return void.
36732 * manual/startup.texi (Suboptions): Remove an erroneous const in
36733 getsubopt prototype.
36734 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36735 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36736 use size_t rather than int.
36737 (Scanning All Users): Likewise for getpwent_r.
36738 (Setting Groups): Add missing const to setgroups prototype.
36739 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36740 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36741 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36742 'const void *' rather than 'const char *'.
36743 (Host Address Functions): Likewise for inet_ntop.
36744 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36745 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36746 ssize_t for return value.
36747 (Sending Data): Likewise for send, sendto, sendmsg.
36748 (Socket Option Functions): Add a missing const in setsockopt prototype.
36749 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36750 use wchar_t for the argument.
36751 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36752 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36754 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36755 double/float/long double for second argument.
36756 Fix return types of significand, significandf, significandl.
36757 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36758 argument in fchmod prototype.
36759 (File Owner): Use uid_t and gid_t in fchown prototype.
36760 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36761 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36762 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36763 use 'const struct dirent **' as argument types to CMP function pointer
36765 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36766 (File Times): Fix summary magic @comment for struct utimbuf and utime
36767 to refer to utime.h, not time.h.
36768 * manual/string.texi (Argz Functions): Add missing const in
36769 argz_extract and argz_next prototypes.
36770 (Finding Tokens in a String): Likewise for basename.
36771 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36772 (Copying and Concatenation): Fix typo in wmemmove prototype.
36773 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36774 (Signal Stack): Remove erroneous const in sigstack prototype.
36775 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36777 (Simple Calendar Time): Likewise for stime.
36778 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36780 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36781 say sys/sysctl.h instead.
36782 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36783 and vsyslog prototypes.
36785 2013-02-11 Tom de Vries <tom@codesourcery.com>
36787 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36790 2013-02-11 Roland McGrath <roland@hack.frob.com>
36792 * misc/sys/mman.h: Fix typo in mremap comment.
36794 2013-02-08 Roland McGrath <roland@hack.frob.com>
36796 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36797 the '\0' terminator.
36799 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36802 * debug/segfault.c: Don't include <bp-checks.h>.
36803 * sysdeps/generic/bp-checks.h: Remove file.
36804 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36805 (__GETDENTS): Don't use CHECK_N.
36806 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36807 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36808 (__getgroups): Don't use CHECK_N.
36809 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36810 (setgroups): Don't use CHECK_N.
36811 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36812 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36813 (__libc_msgrcv): Don't use CHECK_N.
36814 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36815 (__libc_msgsnd): Don't use CHECK_N.
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36818 (__libc_pread): Don't use CHECK_N.
36819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36820 include <bp-checks.h>.
36821 (__libc_pread64): Don't use CHECK_N.
36822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36823 include <bp-checks.h>.
36824 (__libc_pwrite): Don't use CHECK_N.
36825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36826 include <bp-checks.h>.
36827 (__libc_pwrite64): Don't use CHECK_N.
36828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36830 (__libc_pread): Don't use CHECK_N.
36831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36832 include <bp-checks.h>.
36833 (__libc_pread64): Don't use CHECK_N.
36834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36835 include <bp-checks.h>.
36836 (__libc_pwrite): Don't use CHECK_N.
36837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36838 include <bp-checks.h>.
36839 (__libc_pwrite64): Don't use CHECK_N.
36840 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36841 (do_pread): Don't use CHECK_N.
36842 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36843 (do_pread64): Don't use CHECK_N.
36844 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36845 (do_pwrite): Don't use CHECK_N.
36846 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36847 (do_pwrite64): Don't use CHECK_N.
36848 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36849 (__libc_readv): Don't use CHECK_N.
36850 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36851 (semop): Don't use CHECK_N.
36852 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36854 (semtimedop): Don't use CHECK_N.
36855 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36856 (__libc_pread): Don't use CHECK_N.
36857 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36859 (__libc_pread64): Don't use CHECK_N.
36860 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36862 (__libc_pwrite): Don't use CHECK_N.
36863 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36865 (__libc_pwrite64): Don't use CHECK_N.
36866 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36868 (__libc_msgrcv): Don't use CHECK_N.
36869 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36870 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36871 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36872 (__libc_writev): Don't use CHECK_N.
36874 2013-02-08 Roland McGrath <roland@hack.frob.com>
36876 * string/strcpy.c: Removed unused variable.
36878 * Makeconfig (+sysdep-includes): Define with := rather than =.
36879 Use an existing include/ subdir of each sysdeps dir before it.
36881 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36883 * nscd/connection.c (register_traced_file): Comment function.
36884 [HAVE_INOTIFY] (union __inev): Define.
36885 [HAVE_INOTIFY] (inotify_check_files): New function.
36886 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36887 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36889 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36891 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36893 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36894 loaded if not already and that a failure is permanent.
36896 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36899 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36900 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36902 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36905 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36906 (CHECK_1_NULL_OK): Likewise.
36907 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36908 (__fxstat): Do not use CHECK_1.
36909 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36911 (___fxstat64): Do not use CHECK_1.
36912 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36914 (__fxstatat): Do not use CHECK_1.
36915 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36917 (__fxstatat64): Do not use CHECK_1.
36918 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36920 (__fxstat): Do not use CHECK_1.
36921 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36923 (__fxstatat): Do not use CHECK_1.
36924 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36926 (__getresgid): Do not use CHECK_1.
36927 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36929 (__getresuid): Do not use CHECK_1.
36930 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36932 (__lxstat): Do not use CHECK_1.
36933 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36935 (__old_msgctl): Do not use CHECK_1.
36936 (__new_msgctl): Likewise.
36937 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36939 (__new_setrlimit): Do not use CHECK_1.
36940 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36942 (__old_shmctl): Do not use CHECK_1.
36943 (__new_shmctl): Likewise.
36944 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36946 (__xstat): Do not use CHECK_1.
36947 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36948 (__lxstat): Do not use CHECK_1.
36949 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36951 (___lxstat64): Do not use CHECK_1.
36952 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36953 (__old_msgctl): Do not use CHECK_1.
36954 (__new_msgctl): Likewise.
36955 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36957 (__gettimeofday): Do not use CHECK_1.
36958 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36959 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36960 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36962 (__gettimeofday): Do not use CHECK_1.
36963 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36964 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36965 (__new_shmctl): Do not use CHECK_1.
36966 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36968 (do_sigtimedwait): Do not use CHECK_1.
36969 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36971 (do_sigwaitinfo): Do not use CHECK_1.
36972 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36974 (msgctl): Do not use CHECK_1.
36975 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36977 (shmctl): Do not use CHECK_1.
36978 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36979 (ustat): Do not use CHECK_1.
36980 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36982 (__fxstat): Do not use CHECK_1.
36983 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36985 (__fxstatat): Do not use CHECK_1.
36986 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36988 (__lxstat): Do not use CHECK_1.
36989 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36991 (__xstat): Do not use CHECK_1.
36992 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36993 (__xstat): Do not use CHECK_1.
36994 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36995 (___xstat64): Do not use CHECK_1.
36998 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37000 (CHECK_BOUNDS_HIGH): Likewise.
37001 * string/strcpy.c: Do not include <bp-checks.h>.
37002 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37004 2013-02-07 Roland McGrath <roland@hack.frob.com>
37006 * nscd/nscd-client.h (__nscd_drop_map_ref):
37007 Add __attribute__ ((unused)).
37008 * nis/nss-nisplus.h (niserr2nss): Likewise.
37010 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37011 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37013 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37014 Remove inline keyword.
37015 * include/rounding-mode.h (round_away): Likewise.
37016 * libio/wfileops.c (adjust_wide_data): Likewise.
37017 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37018 (__m128i_strloadu_tolower): Likewise.
37019 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37020 (__m128i_strloadu_tolower): Likewise.
37021 * time/mktime.c (ydhms_diff): Likewise.
37022 * locale/elem-hash.h (elem_hash): Likewise.
37023 * locale/setlocale.c (setdata): Likewise.
37024 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37025 (re_string_wchar_at): Likewise.
37026 (bitset_not, bitset_merge, bitset_mask): Likewise.
37027 [!(__GNUC__ > 3)] (inline): Remove macro.
37028 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37029 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37030 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37031 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37032 * string/memcmp.c (memcmp_bytes): Likewise.
37033 * locale/programs/locarchive.c (compute_hashval): Likewise.
37034 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37035 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37036 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37037 * nss/getent.c (print_rpc, print_protocols): Likewise.
37038 (print_passwd, print_group, print_aliases): Likewise.
37039 * nis/nss-nisplus.h (niserr2nss): Likewise.
37040 * nscd/connections.c (restart_p): Likewise.
37041 Change return type to bool.
37043 2013-02-05 Roland McGrath <roland@hack.frob.com>
37045 * Makeconfig (all-Depend-files): Add existing
37046 $(sorted-subdirs:=/Depend) files.
37047 (all-subdirs): Remove nss.
37048 * sysdeps/unix/inet/Subdirs: Add it here instead.
37049 * hesiod/Depend: New file.
37051 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37052 instead of calling alloca.
37054 * io/lseek.c (__lseek): Rename to __libc_lseek.
37055 Define __lseek as an alias.
37057 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37059 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37061 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37062 else clause and remove check for non-standard endianness.
37064 2013-02-04 David S. Miller <davem@davemloft.net>
37066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37068 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37071 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37072 (__ubp_memchr): Remove prototype.
37073 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37074 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37075 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37076 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37077 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37079 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37080 (__ubp_memchr): Likewise.
37081 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37082 (__ubp_memchr): Likewise.
37083 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37084 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37085 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37086 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37088 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37089 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37090 (__getcwd): Do not use CHECK_STRING.
37091 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37093 (__real_chown): Do not use CHECK_STRING.
37094 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37096 (fchownat): Do not use CHECK_STRING.
37097 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37099 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37101 (__lchown): Do not use CHECK_STRING.
37102 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37103 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37104 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37105 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37107 include <bp-checks.h>.
37108 (truncate64): Do not use CHECK_STRING.
37109 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37111 (__real_chown): Do not use CHECK_STRING.
37112 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37114 (__lchown): Do not use CHECK_STRING.
37115 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37117 (__chown): Do not use CHECK_STRING.
37118 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37120 (truncate64): Do not use CHECK_STRING.
37121 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37123 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37124 (__xmknod): Do not use CHECK_STRING.
37125 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37127 (__xmknodat): Do not use CHECK_STRING.
37128 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37129 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37131 2013-02-04 Andreas Schwab <schwab@suse.de>
37134 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37135 * include/netdb.h: Likewise for h_errno.
37136 * elf/tst-stackguard1.c: Include <tls.h>.
37138 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37140 * elf/link.h (struct link_map): Extend the l_addr comment.
37141 * include/link.h (struct link_map): Likewise.
37143 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37146 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37147 (BOUNDED_1): Remove macro.
37148 * debug/backtrace.c: Don't include <bp-checks.h>.
37149 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37150 (__backtrace): Likewise.
37151 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37153 (__backtrace): Don't use BOUNDED_1.
37154 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37156 (__backtrace): Don't use BOUNDED_1.
37157 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37158 (__backtrace): Don't use BOUNDED_1.
37159 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37160 (shmat): Don't use BOUNDED_N.
37162 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37165 * sysdeps/generic/bp-start.h: Remove file.
37166 * csu/libc-start.c: Don't include <bp-start.h>.
37167 (LIBC_START_MAIN): Set up __environ directly instead of using
37168 INIT_ARGV_and_ENVIRON.
37169 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37173 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37175 (CHECK_FCNTL): Likewise.
37176 (CHECK_N_PAGES): Likewise.
37179 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37181 (CHECK_SIGSET_NULL_OK): Likewise.
37182 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37184 (sigpending): Don't use CHECK_SIGSET.
37185 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37187 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37188 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37190 (do_sigsuspend): Don't use CHECK_SIGSET.
37191 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37193 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37194 (do_sigwait): Don't use CHECK_SIGSET.
37195 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37198 include <bp-checks.h>.
37199 (sigpending): Don't use CHECK_SIGSET.
37200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37201 include <bp-checks.h>.
37202 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37203 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37205 (sigpending): Don't use CHECK_SIGSET.
37206 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37208 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37211 * sysdeps/generic/bp-semctl.h: Remove file.
37212 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37213 <bp-checks.h> and <bp-semctl.h>.
37214 (__old_semctl): Don't use CHECK_SEMCTL.
37215 (__new_semctl): Likewise.
37216 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37218 (__old_semctl): Don't use CHECK_SEMCTL.
37219 (__new_semctl): Likewise.
37220 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37221 <bp-checks.h> and <bp-semctl.h>.
37222 (__old_semctl): Don't use CHECK_SEMCTL.
37223 (__new_semctl): Likewise.
37224 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37225 <bp-checks.h> and <bp-semctl.h>.
37226 (semctl): Don't use CHECK_SEMCTL.
37229 * Makerules (elide-bp-thunks): Remove variable.
37230 (elide-routines.oS): Don't use $(elide-bp-thunks).
37231 (elide-routines.os): Likewise.
37232 (elide-routines.o): Likewise.
37233 (elide-routines.op): Likewise.
37234 (elide-routines.og): Likewise.
37235 (objects): Don't use $(bp-thunks).
37236 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37238 (common-generated): Do not add s-proto-bp.d.
37239 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37242 Do not generate makefile rules for bounded-pointer thunks.
37243 * sysdeps/generic/bp-thunks.h: Remove file.
37244 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37245 * sysdeps/unix/s-proto-bp.S: Likewise.
37248 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37249 parts of result separately when argument is not close to line from
37250 -i to i and one part of argument is small.
37251 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37252 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37253 * math/libm-test.inc (cacos_test): Add more tests.
37254 (casin_test): Likewise.
37255 (casinh_test): Likewise.
37256 * sysdeps/i386/fpu/libm-test-ulps: Update.
37257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37259 2013-01-31 David S. Miller <davem@davemloft.net>
37261 * po/de.po: Update from translation team.
37263 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37265 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37267 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37269 * configure.in (_AC_PROG_CC_C89): New definition.
37270 * configure: Regenerate.
37272 * configure.in (AC_PROG_CPP): New definition.
37273 * configure: Regenerate.
37275 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37277 * debug/tst-backtrace.h: New file.
37278 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37279 (ret): Remove variable.
37281 (FAIL): Remove macro.
37282 (NO_INLINE): Likewise.
37283 (fn1): Use match function instead of strstr.
37284 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37285 (ret): Remove variable.
37287 (FAIL): Remove macro.
37288 (NO_INLINE): Likewise.
37289 (fn): Use match function instead of strstr.
37290 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37291 (ret): Remove variable.
37293 (FAIL): Remove macro.
37294 (NO_INLINE): Likewise.
37295 (handle_signal): Use match function instead of strstr.
37296 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37297 (ret): Remove variable.
37299 (FAIL): Remove macro.
37300 (NO_INLINE): Likewise.
37301 (handle_signal): Use match function instead of strstr.
37303 2013-01-23 Roland McGrath <roland@hack.frob.com>
37305 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37307 2013-01-23 David S. Miller <davem@davemloft.net>
37309 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37310 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37311 argument of CAS if possible.
37312 * sysdeps/sparc/sparc64/bits/atomic.h
37313 (__arch_compare_and_exchange_val_32_acq): Likewise.
37314 (__arch_compare_and_exchange_val_64_acq): Likewise.
37316 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37318 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37319 * sysdeps/posix/ulimit.c: ... this.
37320 Include <limits.h>.
37321 * sysdeps/unix/bsd/ulimit.c: Remove file.
37323 2013-01-23 Adam Conrad <adconrad@0c3.net>
37325 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37326 (LDFLAGS-tst-array5): Likewise.
37328 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37331 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37332 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37333 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37334 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37336 2013-01-21 David S. Miller <davem@davemloft.net>
37338 * sysdeps/sparc/backtrace.c: New file.
37339 * sysdeps/sparc/sparc32/backtrace.h: New file.
37340 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37341 * sysdeps/sparc/sparc64/backtrace.h: New file.
37342 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37343 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37346 2013-01-21 Andreas Schwab <schwab@suse.de>
37349 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37352 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37358 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37359 Mark Mitchell <mark@codesourcery.com>
37360 Tom de Vries <tom@codesourcery.com>
37361 Paul Pluzhnikov <ppluzhnikov@google.com>
37363 * debug/tst-backtrace2.c: New file.
37364 * debug/tst-backtrace3.c: Likewise.
37365 * debug/tst-backtrace4.c: Likewise.
37366 * debug/tst-backtrace5.c: Likewise.
37367 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37368 (CFLAGS-tst-backtrace3.c): Likewise.
37369 (CFLAGS-tst-backtrace4.c): Likewise.
37370 (CFLAGS-tst-backtrace5.c): Likewise.
37371 (LDFLAGS-tst-backtrace2): Likewise.
37372 (LDFLAGS-tst-backtrace3): Likewise.
37373 (LDFLAGS-tst-backtrace4): Likewise.
37374 (LDFLAGS-tst-backtrace5): Likewise.
37375 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37376 tst-backtrace4 and tst-backtrace5.
37378 2013-01-18 Anton Blanchard <anton@samba.org>
37379 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37381 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37382 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37383 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37384 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37386 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37387 "+r" and remove output regs list as redundant. Add explicit inline
37388 asm to specify register of return val to work around compiler codegen
37389 bug. Remove (int) cast on return value. Add return type parameter to
37390 use in macro so that this macro does not truncate return value for
37392 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37393 pass to INTERNAL_VSYSCALL_NCS.
37394 (INLINE_VSYSCALL): Add 'long int' as return type to
37395 INTERNAL_VSYSCALL_NCS macro invocation.
37396 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37397 INTERNAL_VSYSCALL_NCS macro invocation.
37398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37400 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37403 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37404 Fix application of SIMD FP exception mask.
37406 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37407 mp_no from a power of two.
37408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37409 __mpexp_twomm1. Use __pow_mp.
37411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37414 2013-01-17 David S. Miller <davem@davemloft.net>
37416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37418 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37421 * include/complex.h: Condition contents on [!_COMPLEX_H].
37422 (__kernel_casinhf): New prototype.
37423 (__kernel_casinh): Likewise.
37424 (__kernel_casinhl): Likewise.
37425 * math/Makefile (libm_calls): Add k_casinh.
37426 * math/k_casinh.c: New file.
37427 * math/k_casinhf.c: Likewise.
37428 * math/k_casinhl.c: Likewise.
37429 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37430 finite nonzero arguments.
37431 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37432 finite nonzero arguments.
37433 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37434 finite nonzero arguments.
37435 * math/s_casinh.c: Do not include <float.h>.
37436 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37437 * math/s_casinhf.c: Do not include <float.h>.
37438 (__casinhf): Move code for finite nonzero arguments to
37440 * math/s_casinhl.c: Do not include <float.h>.
37441 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37443 (__casinhl): Move code for finite nonzero arguments to
37445 * math/libm-test.inc (cacos_test): Add more tests.
37446 * sysdeps/i386/fpu/libm-test-ulps: Update.
37447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37449 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37451 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37452 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37453 [!HAVE_MREMAP]: Remove [defined linux] case.
37454 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37456 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37458 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37460 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37462 * elf/elf.h (R_386_SIZE32): New relocation.
37463 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37465 (elf_machine_rela): Likewise.
37466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37467 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37469 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37471 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37472 (FP_FAST_FMA): Do not define.
37473 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37474 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37475 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37476 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37477 !_SOFT_FLOAT]: Likewise.
37478 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37479 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37481 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37482 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37483 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37484 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37485 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37486 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37489 2013-01-16 Andreas Schwab <schwab@suse.de>
37492 * include/stdlib.h (__mktemp): Add declaration.
37493 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37494 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37496 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37498 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37500 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37501 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37502 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37504 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37505 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37507 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37509 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37510 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37511 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37513 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37514 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37516 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37518 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37520 2013-01-15 David S. Miller <davem@davemloft.net>
37522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37523 trunc{,f} to libm-sysdep_routes.
37524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37534 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37535 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37536 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37537 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37538 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37539 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37542 nearbyint{,f} to libm-sysdep_routes.
37543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37554 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37556 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37557 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37559 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37560 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37561 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37563 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37564 libc_feholdexcept and libc_fesetenv.
37566 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37568 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37570 2013-01-14 David S. Miller <davem@davemloft.net>
37572 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37573 (SPARC_ASM_VIS2_IFUNC): Likewise.
37574 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37576 use of 'siam' instruction.
37577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37610 routines to libm-sysdep_routines.
37611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37614 fdim/fdimf to libm-sysdep_routines.
37615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37623 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37624 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37625 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37626 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37628 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37630 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37631 to optimize copies.
37633 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37638 local variable MPTWO.
37639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37642 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37644 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37647 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37649 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37651 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37653 * manual/pattern.texi (glob_t): Document gl_flags.
37654 (glob64_t): Likewise.
37656 2013-01-11 David S. Miller <davem@davemloft.net>
37658 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37659 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37660 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37661 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37662 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37663 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37664 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37665 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37666 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37667 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37668 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37669 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37670 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37673 sparc V9 rather than using V8 code.
37674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37677 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37679 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37682 2013-01-11 Roland McGrath <roland@hack.frob.com>
37684 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37685 not in the main loop.
37686 * configure: Regenerated.
37688 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37690 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37691 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37693 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37694 [!__GLIBC_HAVE_LONG_LONG] case.
37695 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37696 condition to just #else.
37697 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37698 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37699 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37700 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37702 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37703 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37704 #elif condition to just #else.
37705 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37706 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37707 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37708 #elif condition to just #else.
37710 2013-01-11 Steve Ellcey <sellcey@mips.com>
37712 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37713 (EF_MIPS_ARCH_64): Fix value.
37714 (EF_MIPS_ARCH_32R2): New.
37715 (EF_MIPS_ARCH_64R2): New.
37717 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37719 * Makeconfig (+link-pie-before-libc): New.
37720 (+link-pie-after-libc): Likewise.
37721 (+link-pie-tests): Likewise.
37722 (+link-pie): Rewritten.
37723 (link-before-libc): Remove $(config-LDFLAGS).
37724 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37725 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37726 (config-LDFLAGS): Renamed to ...
37727 (rtld-LDFLAGS): This.
37728 (rtld-tests-LDFLAGS): New macro.
37729 (link-libc-rpath-link): Likewise.
37730 (link-libc-tests-rpath-link): Likewise.
37731 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37732 (link-libc): Prepand $(link-libc-rpath-link).
37733 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37734 (test-program-prefix): New macro.
37735 (test-via-rtld-prefix): Likewise.
37736 (test-program-cmd): Likewise.
37737 (host-test-program-cmd): Likewise.
37738 * Makefile ($(common-objpfx)testrun.sh): Replace
37739 $(run-program-prefix) with $(test-program-prefix).
37740 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37742 ($(common-objpfx)shlib.lds): Likewise.
37743 (build-module-helper): Likewise.
37744 ($(common-objpfx)format.lds): Likewise.
37745 * Rules (binaries-pie-tests): New.
37746 (binaries-pie-notests): Likewise.
37747 (binaries-pie): Rewritten.
37748 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37749 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37750 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37751 (make-test-out): Replace $(host-built-program-cmd) with
37752 $(host-test-program-cmd).
37753 * config.make.in (build-hardcoded-path-in-tests): New variable.
37754 * configure.in (--enable-hardcoded-path-in-tests): New configure
37756 (hardcoded_path_in_tests): New AC_SUBST.
37757 * configure: Regenerated.
37758 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37759 $(built-program-cmd) with $(test-program-cmd).
37760 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37761 (test_program_cmd): This.
37762 * elf/Makefile ($(objpfx)order.out): Run test with
37763 $(test-program-prefix).
37764 ($(objpfx)order2.out): Likewise.
37765 ($(objpfx)tst-initorder.out): Likewise.
37766 ($(objpfx)tst-initorder2.out): Likewise.
37767 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37768 $(test-program-cmd).
37769 ($(objpfx)tst-array1-static.out): Likewise.
37770 ($(objpfx)tst-array2.out): Likewise.
37771 ($(objpfx)tst-array3.out): Likewise.
37772 ($(objpfx)tst-array4.out): Likewise.
37773 ($(objpfx)tst-array5.out): Likewise.
37774 ($(objpfx)tst-array5-static.out): Likewise.
37775 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37776 $(test-program-cmd).
37777 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37778 $(run-program-prefix) with $(test-program-prefix).
37779 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37780 (test_program_prefix): This.
37781 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37782 $(run-program-prefix) with $(test-program-prefix).
37783 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37784 (test_program_prefix): This.
37785 * iconvdata/tst-tables.sh: Likewise.
37786 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37787 $(run-program-prefix) with $(test-program-prefix).
37788 ($(objpfx)tst-translit.out): Likewise.
37789 ($(objpfx)tst-gettext2.out): Likewise.
37790 ($(objpfx)tst-gettext4.out): Likewise.
37791 ($(objpfx)tst-gettext6.out): Likewise.
37792 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37793 (test_program_prefix): This.
37794 * intl/tst-gettext2.sh: Likewise.
37795 * intl/tst-gettext4.sh Likewise.
37796 * intl/tst-gettext6.sh: Likewise.
37797 * intl/tst-translit.sh: Likewise.
37798 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37799 with $(test-program-cmd).
37800 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37801 $(run-program-prefix) with $(test-program-prefix).
37802 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37803 (test_program_prefix): This.
37804 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37805 $(run-program-prefix) with $(test-program-prefix).
37806 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37807 (test_program_prefix): This.
37808 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37809 * posix/Makefile ($(objpfx)globtest.out): Replace
37810 $(run-via-rtld-prefix) and $(test-wrapper) with
37811 $(test-program-prefix) and $(test-via-rtld-prefix).
37812 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37813 $(test-program-prefix).
37814 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37815 $(host-test-program-cmd).
37816 (tst-spawn-ARGS): Likewise.
37817 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37818 $(test-program-prefix).
37819 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37820 (test_via_rtld_prefix): This.
37821 (test_wrapper): Renamed to ...
37822 (test_program_prefix): This.
37823 (run_program_prefix): Replaced by test_program_prefix.
37824 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37825 (test_program_prefix): This.
37826 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37827 with $(host-test-program-cmd).
37828 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37829 $(run-program-prefix) with $(test-program-prefix).
37830 ($(objpfx)tst-printf.out): Likewise.
37831 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37832 $(test-program-cmd).
37833 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37834 (test_program_prefix): This.
37835 * stdio-common/tst-unbputc.sh: Likewise.
37836 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37837 $(run-program-prefix) with $(test-program-prefix).
37838 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37839 (test_program_prefix): This.
37840 * string/Makefile ($(objpfx)tst-svc.out): Replace
37841 $(built-program-cmd) with $(test-program-cmd).
37843 2013-01-11 Andreas Jaeger <aj@suse.de>
37846 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37847 value. Sync with Linux 3.7.
37849 2013-01-10 David S. Miller <davem@davemloft.net>
37851 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37852 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37853 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37855 2013-01-10 Roland McGrath <roland@hack.frob.com>
37857 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37859 * configure: Regenerated.
37861 2013-01-10 David S. Miller <davem@davemloft.net>
37863 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37864 sparc V9 rather than using V8 code.
37865 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37866 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37868 2013-01-10 Roland McGrath <roland@hack.frob.com>
37870 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37871 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37872 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37873 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37874 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37875 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37876 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37877 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37878 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37879 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37880 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37881 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37882 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37883 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37884 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37885 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37886 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37887 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37888 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37889 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37890 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37891 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37892 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37893 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37894 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37895 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37896 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37898 2013-01-10 David S. Miller <davem@davemloft.net>
37900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37902 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37904 * posix/Makefile (tests-static): New variable.
37905 (tests): Add $(tests-static).
37906 (tst-exec-static-ARGS): New variable.
37907 (tst-spawn-static-ARGS): Likewise.
37908 * posix/tst-exec-static.c: New file.
37909 * posix/tst-spawn-static.c: Likewise.
37910 * posix/tst-exec.c: Support run directly.
37911 * posix/tst-spawn.c: Likewise.
37913 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37915 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37917 * math/bits/mathcalls.h (llrint): Likewise.
37918 (llround): Likewise.
37919 * stdlib/stdlib.h (struct drand48_data): Likewise.
37920 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37921 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37922 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37924 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37926 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37927 (elf_greg_t): Likewise.
37928 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37929 (__jmp_buf): Likewise.
37930 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37932 (llrint): Likewise, for all definitions.
37933 (llrintl): Likewise.
37935 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37936 Remove [__GNUC__] condition.
37937 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37938 condition to just [__USE_ISOC99].
37939 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37941 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37944 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37945 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37947 (_POSIX_V6_ILP32_OFF32): Likewise.
37948 (_XBS5_ILP32_OFF32): Likewise.
37949 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37950 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37952 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37954 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37957 doubles __mpexp_twomm1. Adjust usage.
37958 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37961 2013-01-10 Andreas Schwab <schwab@suse.de>
37964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37965 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37967 2013-01-09 David S. Miller <davem@davemloft.net>
37970 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37971 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37972 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37973 (TCP_FASTOPEN): Define.
37974 (tcp_repair_opt): New structure.
37975 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37977 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37978 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37979 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37980 (tcp_cookie_transactions): New structure.
37982 2013-01-09 Anton Blanchard <anton@samba.org>
37984 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37985 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37987 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37989 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37991 * include/features.h (__USE_ANSI): Remove.
37993 2013-01-09 Roland McGrath <roland@hack.frob.com>
37995 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37997 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37999 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38001 * sysdeps/s390/fpu/libm-test-ulps: Update.
38003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38005 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38009 (denorm): Likewise.
38010 (__mp_dbl): Likewise.
38011 (__dbl_mp): Likewise.
38012 (add_magnitudes): Likewise.
38013 (sub_magnitudes): Likewise.
38019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38023 (denorm): Likewise.
38024 (__mp_dbl): Likewise.
38025 (__dbl_mp): Likewise.
38026 (add_magnitudes): Likewise.
38027 (sub_magnitudes): Likewise.
38033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38037 (denorm): Likewise.
38038 (__mp_dbl): Likewise.
38039 (__dbl_mp): Likewise.
38040 (add_magnitudes): Likewise.
38041 (sub_magnitudes): Likewise.
38048 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38050 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38051 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38052 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38053 2 && __USE_EXTERN_INLINES]: Likewise.
38055 2013-01-08 Andreas Jaeger <aj@suse.de>
38058 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38060 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38061 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38063 2013-01-07 Anton Blanchard <anton@samba.org>
38065 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38066 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38067 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38068 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38069 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38070 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38071 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38072 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38075 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38076 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38079 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38080 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38081 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38082 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38083 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38084 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38086 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38088 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38089 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38090 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38091 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38092 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38093 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38094 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38095 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38097 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38098 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38099 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38100 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38101 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38103 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38104 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38105 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38107 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38109 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38111 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38112 (__MALLOC_PMT): Likewise.
38113 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38114 [__GNUC__], only on [_LIBC].
38115 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38116 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38117 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38118 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38119 forward declaration.
38120 (realloc_hook_ini): Likewise.
38121 (memalign_hook_ini): Likewise.
38122 (__libc_memalign): Do not use __MALLOC_PMT in variable
38124 (__libc_valloc): Likewise.
38125 (__libc_pvalloc): Likewise.
38126 (__libc_calloc): Likewise.
38127 (__posix_memalign): Likewise.
38130 * math/s_casinh.c: Include <float.h>.
38131 (__casinh): Do not do computation with squaring and square root
38132 for large arguments.
38133 * math/s_casinhf.c: Include <float.h>.
38134 (__casinhf): Do not do computation with squaring and square root
38135 for large arguments.
38136 * math/s_casinhl.c: Include <float.h>.
38137 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38138 (__casinhl): Do not do computation with squaring and square root
38139 for large arguments.
38140 * math/libm-test.inc (casin_test): Add more tests.
38141 (casinh_test): Likewise.
38142 * sysdeps/i386/fpu/libm-test-ulps: Update.
38143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38145 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38147 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38148 (__x86_64_raw_data_cache_size): Likewise.
38149 (__x86_64_data_cache_size_half): Likewise.
38150 (__x86_64_raw_data_cache_size_half): Likewise.
38151 (__x86_64_shared_cache_size): Likewise.
38152 (__x86_64_raw_shared_cache_size): Likewise.
38153 (__x86_64_shared_cache_size_half): Likewise.
38154 (__x86_64_raw_shared_cache_size_half): Likewise.
38155 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38157 (__x86_data_cache_size): This.
38158 (__x86_64_raw_data_cache_size): Renamed to ...
38159 (__x86_raw_data_cache_size): This.
38160 (__x86_64_data_cache_size_half): Renamed to ...
38161 (__x86_data_cache_size_half): This.
38162 (__x86_64_raw_data_cache_size_half): Renamed to ...
38163 (__x86_raw_data_cache_size_half): This.
38164 (__x86_64_shared_cache_size): Renamed to ...
38165 (__x86_shared_cache_size): This.
38166 (__x86_64_raw_shared_cache_size): Renamed to ...
38167 (__x86_raw_shared_cache_size): This.
38168 (__x86_64_shared_cache_size_half): Renamed to ...
38169 (__x86_shared_cache_size_half): This.
38170 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38171 (__x86_raw_shared_cache_size_half): This.
38172 * sysdeps/x86_64/memcpy.S: Updated.
38173 * sysdeps/x86_64/memset.S: Likewise.
38174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38178 2013-01-04 David S. Miller <davem@davemloft.net>
38180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38182 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38184 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38185 1 to avoid redefinition warning.
38186 (__USE_GNU): Don't define.
38187 (init_signaling_nan): Protoize.
38189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38191 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38193 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38195 (__cpymn): Likewise.
38196 (norm): Remove commented code.
38197 (denorm): Likewise.
38198 (__mp_dbl): Likewise.
38200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38201 (__cpymn): Likewise.
38202 (norm): Remove commented code.
38203 (denorm): Likewise.
38204 (__mp_dbl): Likewise.
38207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38208 mp_no value for 1.0 and 2.0.
38209 (norm): Use RADIXI instead of radixi.d.
38210 (denorm): Likewise.
38211 (__mul): Use 0.0 instead of zero.d.
38212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38213 mp_no value for 1.0 and 2.0.
38214 (norm): Use RADIXI instead of radixi.d.
38215 (denorm): Likewise.
38216 (__mul): Use 0.0 instead of zero.d.
38218 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38221 * math/s_casinh.c (__casinh): Reduce finite argument to first
38222 quadrant then set signs of results at the end.
38223 * math/s_casinhf.c (__casinhf): Likewise.
38224 * math/s_casinhl.c (__casinhl): Likewise.
38225 * math/libm-test.inc (casin_test): Add more tests.
38226 (casinh_test): Likewise.
38227 * sysdeps/i386/fpu/libm-test-ulps: Update.
38228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38230 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38232 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38234 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38236 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38238 (denorm): Likewise.
38239 (__mp_dbl): Likewise.
38242 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38243 and adjust the header comment.
38245 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38246 variable name from declaration.
38248 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38251 Initialize COMMON_CPUID_INDEX_7 element.
38252 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38253 (CPUID_RTM): Likewise.
38254 (HAS_RTM): Likewise.
38255 (COMMON_CPUID_INDEX_7): New enum.
38257 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38260 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38261 size is zero, record memory as freed.
38263 2013-01-03 Andreas Jaeger <aj@suse.de>
38265 * po/ia.po: Add new Interlingua translation.
38267 2012-01-03 Allan McRae <allan@archlinux.org>
38269 * locale/programs/localedef.c: Fix description of '--posix' flag.
38271 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38273 * NEWS: Update dates in second copyright notice.
38274 * README: Update copyright dates in example.
38275 * manual/libc.texinfo: Update copyright dates.
38276 * scripts/test-installation.pl: Update copyright date in --version
38279 * hurd/ctty-input.c: Fix copyright notice formatting.
38280 * hurd/ctty-output.c: Likewise.
38281 * hurd/dtable.c: Likewise.
38282 * hurd/hurd-raise.c: Likewise.
38283 * hurd/hurdprio.c: Likewise.
38284 * hurd/msgportdemux.c: Likewise.
38285 * misc/sys/file.h: Likewise.
38286 * misc/sys/ioctl.h: Likewise.
38287 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38288 * sysdeps/mach/hurd/chdir.c: Likewise.
38289 * sysdeps/mach/hurd/fchdir.c: Likewise.
38290 * sysdeps/mach/hurd/rename.c: Likewise.
38291 * sysdeps/mach/hurd/rmdir.c: Likewise.
38292 * sysdeps/mach/hurd/seekdir.c: Likewise.
38293 * sysdeps/mach/hurd/setsid.c: Likewise.
38294 * sysdeps/posix/wait3.c: Likewise.
38296 * All files with FSF copyright notices: Update copyright dates
38297 using scripts/update-copyrights.
38298 * intl/plural.c: Regenerated.
38299 * locale/programs/charmap-kw.h: Likewise.
38300 * locale/programs/locfile-kw.h: Likewise.
38302 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38304 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38308 calculation loop and add branch prediction.
38310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38311 check access beyond bounds of m1np.
38313 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38315 (__inv): Remove local variable MPTWO to use the global
38317 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38318 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38320 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38321 MP3HALFS static const.
38323 2013-01-01 David S. Miller <davem@davemloft.net>
38325 * po/ca.po: Update from translation team.
38327 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38329 * scripts/update-copyrights: New file.
38330 * Makeconfig: Reformat copyright notice.
38331 * ctype/ctype.h: Likewise.
38332 * debug/swprintf_chk.c: Likewise.
38333 * elf/dl-cache.c: Likewise.
38334 * elf/dl-debug.c: Likewise.
38335 * elf/dl-object.c: Likewise.
38336 * grp/initgroups.c: Likewise.
38337 * hurd/Makefile: Likewise.
38338 * hurd/hurd/signal.h: Likewise.
38339 * hurd/hurdfault.c: Likewise.
38340 * hurd/hurdioctl.c: Likewise.
38341 * hurd/hurdlookup.c: Likewise.
38342 * hurd/intr-msg.c: Likewise.
38343 * iconv/gconv_open.c: Likewise.
38344 * libio/swprintf.c: Likewise.
38345 * locale/lc-ctype.c: Likewise.
38346 * locale/nl_langinfo.c: Likewise.
38347 * mach/Machrules: Likewise.
38348 * mach/Makefile: Likewise.
38349 * malloc/obstack.h: Likewise.
38350 * manual/Makefile: Likewise.
38351 * manual/tsort.awk: Likewise.
38352 * misc/bits/stab.def: Likewise.
38353 * nis/nis_print_group_entry.c: Likewise.
38354 * nis/nis_table.c: Likewise.
38355 * nis/nss_compat/compat-pwd.c: Likewise.
38356 * nis/nss_compat/compat-spwd.c: Likewise.
38357 * po/Makefile: Likewise.
38358 * posix/fnmatch.c: Likewise.
38359 * posix/regex.h: Likewise.
38360 * resolv/Makefile: Likewise.
38361 * resolv/nss_dns/dns-network.c: Likewise.
38362 * resolv/res_hconf.c: Likewise.
38363 * scripts/gen-sorted.awk: Likewise.
38364 * soft-fp/soft-fp.h: Likewise.
38365 * stdio-common/printf.h: Likewise.
38366 * stdlib/monetary.h: Likewise.
38367 * stdlib/random.c: Likewise.
38368 * stdlib/random_r.c: Likewise.
38369 * sysdeps/generic/Makefile: Likewise.
38370 * sysdeps/gnu/Makefile: Likewise.
38371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38394 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38395 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38396 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38399 * sysdeps/mach/hurd/errnos.awk: Likewise.
38400 * sysdeps/mach/hurd/fork.c: Likewise.
38401 * sysdeps/mach/hurd/getcwd.c: Likewise.
38402 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38403 * sysdeps/mach/hurd/mmap.c: Likewise.
38404 * sysdeps/mach/hurd/utimes.c: Likewise.
38405 * sysdeps/mach/hurd/xmknod.c: Likewise.
38406 * sysdeps/posix/profil.c: Likewise.
38407 * sysdeps/posix/readdir_r.c: Likewise.
38408 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38409 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38410 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38411 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38413 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38414 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38415 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38417 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38418 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38419 * sysdeps/pthread/lio_listio.c: Likewise.
38420 * sysdeps/sparc/dl-procinfo.h: Likewise.
38421 * sysdeps/unix/i386/sysdep.S: Likewise.
38422 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38423 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38424 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38425 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38427 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38428 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38429 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38430 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38431 * sysdeps/wordsize-32/divdi3.c: Likewise.
38432 * time/sys/time.h: Likewise.
38433 * wcsmbs/Makefile: Likewise.
38435 2013-01-01 David S. Miller <davem@davemloft.net>
38437 * po/fr.po: Update from translation team.
38439 * catgets/gencat.c: Update copyright year.
38440 * csu/version.c: Likewise.
38441 * debug/catchsegv.sh: Likewise.
38442 * debug/pcprofiledump.c: Likewise.
38443 * debug/xtrace.sh: Likewise.
38444 * elf/ldconfig.c: Likewise.
38445 * elf/ldd.bash.in: Likewise.
38446 * elf/pldd.c: Likewise.
38447 * elf/sotruss.ksh: Likewise.
38448 * elf/sprof.c: Likewise.
38449 * iconv/iconv_prog.c: Likewise.
38450 * iconv/iconvconfig.c: Likewise.
38451 * locale/programs/locale.c: Likewise.
38452 * locale/programs/localedef.c: Likewise.
38453 * login/programs/pt_chown.c: Likewise.
38454 * malloc/memusage.sh: Likewise.
38455 * malloc/memusagestat.c: Likewise.
38456 * malloc/mtrace.pl: Likewise.
38457 * nscd/nscd.c: Likewise.
38458 * nss/getent.c: Likewise.
38459 * nss/makedb.c: Likewise.
38460 * posix/getconf.c: Likewise.
38462 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38464 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38467 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38469 * math/bits/mathcalls.h (modf): Use __nonnull.
38471 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38473 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38474 (split): Use macro CN instead of the bare value.
38475 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38478 instead of the bare value.
38479 (power1): Likewise.
38481 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38483 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38485 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38487 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38489 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38490 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38491 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38492 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38494 2012-12-28 Andreas Jaeger <aj@suse.de>
38496 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38497 values are from Linux 3.7.
38499 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38500 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38502 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38504 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38507 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38509 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38510 variables with preprocessor constants.
38511 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38512 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38513 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38515 2012-12-27 Bruno Haible <bruno@clisp.org>
38518 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38521 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38524 and use variable directly.
38525 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38527 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38529 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38530 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38532 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38534 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38535 include directive. Remove local variable MPONE.
38536 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38537 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38538 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38540 2012-12-25 David S. Miller <davem@davemloft.net>
38542 * version.h (RELEASE): Set to "development".
38543 (VERSION): Set to "2.17.90".
38544 * NEWS: Add 2.18 section.
38546 2012-12-21 David S. Miller <davem@davemloft.net>
38548 * po/hr.po: Update from translation team.
38550 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38552 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38554 2012-12-19 Steve Ellcey <sellcey@mips.com>
38556 * NEWS: Mention new memcpy for MIPS.
38558 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38560 * manual/contrib.texi (Contributors): Spelling correction.
38562 2012-12-15 David S. Miller <davem@davemloft.net>
38564 * po/ru.po: Update from translation team.
38566 2012-12-13 David S. Miller <davem@davemloft.net>
38568 * NEWS: Mention IFUNC testsuite enhancements.
38570 * po/pl.po: Update from translation team.
38571 * po/bg.po: Likewise.
38573 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38574 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38576 2012-12-11 David S. Miller <davem@davemloft.net>
38578 * po/sv.po: Update from translation team.
38580 * po/vi.po: Update from translation team.
38582 * po/cs.po: Update from translation team.
38584 * po/de.po: Update from translation team.
38585 * po/eo.po: Likewise.
38586 * po/nl.po: Likewise.
38588 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38591 * manual/argp.texi (Argp Helper Functions): Move node to follow
38592 Argp Parsing State.
38595 * manual/conf.texi (Limits on File System Capacity): Mention if
38596 terminating null is included in the max size.
38598 2012-12-10 Andreas Jaeger <aj@suse.de>
38600 * po/cs.po: Update from translation team.
38602 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38604 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38605 void pointer and cast to uintptr_t.
38606 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38608 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38609 * sysdeps/s390/s390-64/memset.S: Likewise.
38611 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38614 * menual/message.texi (Message Translation): Fix typos.
38615 (Helper programs for gettext): Likewise.
38617 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38620 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38623 2012-12-07 David S. Miller <davem@davemloft.net>
38625 * po/libc.pot: Update.
38627 2012-12-07 Richard Henderson <rth@redhat.com>
38630 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38631 normal/normal case to before the switch.
38632 (_FP_DIV): Likewise.
38634 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38635 Mike Frysinger <vapier@gentoo.org>
38637 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38638 check for __NR_fadvise64_64.
38640 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38642 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38643 0, not just to plain "0" as a statement.
38644 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38647 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38649 * NEWS: Use sourceware.org in Bugzilla URL.
38651 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38654 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38656 * stdio-common/tst-put-error.c (do_test): Add newline to the
38657 padded test to ensure flush.
38659 2012-12-05 Jeff Law <law@redhat.com>
38661 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38663 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38665 * README: Don't refer to ports add-on as distributed separately.
38666 Mention AArch64 in list of systems supported in the ports add-on.
38668 * LICENSES: Add more non-FSF copyright and license notices.
38670 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38673 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38675 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38676 10000 as width of padded output.
38678 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38680 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38683 variable LX with __attribute__ ((unused)).
38684 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38686 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38688 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38689 with __attribute__ ((unused)).
38691 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38693 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38695 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38697 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38698 (CFLAGS-nldbl-acos.c): New variable.
38699 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38700 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38701 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38702 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38703 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38704 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38705 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38706 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38707 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38708 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38709 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38710 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38711 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38712 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38713 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38714 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38715 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38716 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38717 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38718 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38719 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38720 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38721 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38722 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38723 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38724 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38725 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38726 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38727 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38728 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38729 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38730 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38731 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38732 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38733 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38734 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38735 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38736 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38737 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38738 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38739 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38740 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38741 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38742 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38743 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38744 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38745 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38746 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38747 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38748 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38749 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38750 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38751 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38752 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38753 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38754 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38755 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38756 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38757 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38758 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38759 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38760 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38761 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38762 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38763 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38764 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38765 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38766 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38767 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38768 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38769 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38770 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38771 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38772 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38773 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38774 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38775 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38776 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38777 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38778 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38779 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38780 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38781 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38782 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38783 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38784 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38785 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38786 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38787 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38788 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38789 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38790 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38791 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38792 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38793 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38794 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38795 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38798 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38802 whole low double instead of just low 47 bits when splitting values
38805 2012-12-03 Allan McRae <allan@archlinux.org>
38807 * manual/stdio.texi (Predefined Printf Handlers): Remove
38808 @hsep and @vsep usage.
38810 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38812 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38813 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38815 2012-12-03 Jeff Law <law@redhat.com>
38817 * time/sys/time.h (settimeofday): Do not mark TV argument
38820 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38822 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38823 when currently writing and seek to current position when not.
38824 * libio/Makefile (tests): Remove bug-fclose1.
38825 * libio/bug-fclose1.c: Delete.
38827 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38829 * manual/arith.texi (feenableexcept): Fix typo.
38830 (fedisableexcept): Likewise.
38832 2012-11-30 Roland McGrath <roland@hack.frob.com>
38834 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38835 second, differently-typed declaration, rather than a cast.
38837 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38839 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38840 * include/rpc/svc.h: ... here.
38842 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38845 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38846 depending n and resplen2 to catch cases where answer
38849 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38851 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38852 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38854 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38856 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38858 2012-11-29 Roland McGrath <roland@hack.frob.com>
38860 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38862 2012-11-28 Jeff Law <law@redhat.com>
38865 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38866 dataset_temporary. Track alloca usage into alloca_used.
38867 If dataset is large allocate and release it via malloc/free.
38869 2012-06-04 Florian Weimer <fweimer@redhat.com>
38872 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38874 2012-11-28 David S. Miller <davem@davemloft.net>
38876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38878 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38881 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38882 of pi/2 rounded to nearest to 64 bits.
38883 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38884 nearest to 64 bits.
38885 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38888 2012-11-28 Jeff Law <law@redhat.com>
38889 Martin Osvald <mosvald@redhat.com>
38892 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38893 * sunrpc/svc.c: Include time.h.
38894 (__svc_accept_failed): New function.
38895 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38896 any reason other than EINTR, call __svc_accept_failed.
38897 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38898 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38900 2012-11-28 Andreas Schwab <schwab@suse.de>
38902 * scripts/abilist.awk: Also handle indirect functions in .opd
38905 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38908 * sysdeps/x86/fpu/powl_helper.c: New file.
38909 * sysdeps/x86/fpu/Makefile: Likewise.
38910 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38912 (__ieee754_powl): Use __powl_helper for finite arguments except
38913 integer exponents below 8.
38914 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38916 (__ieee754_powl): Use __powl_helper for finite arguments except
38917 integer exponents below 8.
38918 * math/libm-test.inc (pow_test): Add more tests and enable some
38919 previously disabled tests.
38920 * sysdeps/i386/fpu/libm-test-ulps: Update.
38921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38923 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38924 Carlos O'Donell <carlos_odonell@mentor.com>
38926 * nss/makedb.c (is_prime): Assert that input is odd and greater
38927 than 4. Note that fact in a comment too.
38928 (next_prime): Add 4 to input.
38930 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38933 * libio/Makefile (tests): Add test case tst-fwrite-error.
38934 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38935 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38936 * libio/tst-fwrite-error.c: New test case.
38938 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38940 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38941 before casting to void *.
38942 * include/libc-internal.h (__pointer_type): New macro.
38943 (__integer_if_pointer_type_sub): Likewise.
38944 (__integer_if_pointer_type): Likewise.
38945 (cast_to_integer): Likewise.
38946 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38947 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38948 before casting to atomic64_t.
38949 (atomic_exchange_acq): Likewise.
38950 (__arch_exchange_and_add_body): Likewise.
38951 (__arch_add_body): Likewise.
38952 (atomic_add_negative): Likewise.
38953 (atomic_add_zero): Likewise.
38955 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38957 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38958 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38959 (add_fdes): Likewise.
38960 (linear_search_fdes): Likewise.
38961 (binary_search_unencoded_fdes): Likewise.
38963 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38965 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38967 2012-11-24 Adam Conrad <adconrad@0c3.net>
38969 * configure.in: Autodetect C++ header directories.
38970 * configure: Regenerated.
38972 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38974 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38976 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38980 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38982 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38983 LDBL_MANT_DIG == 106]: Disable some tests.
38984 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38986 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38990 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38991 input for small inputs. Return +/- pi/2 for large inputs.
38992 * math/libm-test.inc (atan_test): Add more tests.
38994 * sysdeps/generic/unwind-dw2-fde-glibc.c
38995 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38996 __attribute__ ((unused)).
38999 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39000 x * y if x and y are nonzero and z is zero.
39003 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39004 nonzero exponents with absolute value below 0x1p-117 to +/-
39008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39009 up arguments below 2**-450, not just those below 2**-500.
39010 * math/libm-test.inc (hypot_test): Add another test.
39013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39014 Return a+b for ratio over 2**120, not 2**60.
39015 * math/libm-test.inc (hypot_test): Add another test.
39017 * math/libm-test.inc (clog_test): Use
39018 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39019 (clog10_test): Likewise.
39022 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39024 2012-11-22 Andreas Schwab <schwab@suse.de>
39026 * sysdeps/i386/fpu/libm-test-ulps: Update.
39028 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39030 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39031 printf output with newline.
39033 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39036 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39037 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39038 -z nodlopen, -z initfirst and -z execstack support.
39039 * configure: Regenerated.
39041 * elf/elf.h (DF_1_NODIRECT): New macro.
39042 (DF_1_IGNMULDEF): Likewise.
39043 (DF_1_NOKSYMS): Likewise.
39044 (DF_1_NOHDR): Likewise.
39045 (DF_1_EDITED): Likewise.
39046 (DF_1_NORELOC): Likewise.
39047 (DF_1_SYMINTPOSE): Likewise.
39048 (DF_1_GLOBAUDIT): Likewise.
39049 (DF_1_SINGLETON): Likewise.
39050 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39051 DT_1_SUPPORTED_MASK bits.
39052 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39054 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39056 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39058 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39060 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39063 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39064 (sendmmsg): Move declarations...
39065 * socket/sys/socket.h: ... here.
39066 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39067 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39069 * socket/recvmmsg.c: ... this new file.
39070 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39071 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39072 definition of __sendmmsg hidden.
39073 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39074 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39075 Move ENOSYS stub into and include it from...
39076 * socket/sendmmsg.c: ... this new file.
39077 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39078 (sysdep_routines): Move recvmmsg and sendmmsg...
39079 * socket/Makefile (routines): ... here.
39080 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39081 (GLIBC_PRIVATE): Add __sendmmsg.
39082 * include/sys/socket.h (__sendmmsg): Add declarations.
39083 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39086 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39089 variable I1 with __attribute__ ((unused)).
39090 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39092 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39094 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39095 DUMMY variables with __attribute__ ((unused)).
39097 * bits/byteswap.h: Include <bits/types.h>.
39098 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39100 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39102 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39103 string_t. Do not manually set errno.
39104 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39105 length with __strnlen. Make sure to both set errno and return it on
39108 2012-11-19 David S. Miller <davem@davemloft.net>
39110 With help from Joseph Myers.
39111 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39112 very large arguments properly.
39113 * math/libm-test.inc (atan_test): New tests.
39114 (atan2_test): New tests.
39115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39118 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39121 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39124 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39125 [POSIX] (EADDRNOTAVAIL): Likewise.
39126 [POSIX] (EAFNOSUPPORT): Likewise.
39127 [POSIX] (EALREADY): Likewise.
39128 [POSIX] (ECONNABORTED): Likewise.
39129 [POSIX] (ECONNREFUSED): Likewise.
39130 [POSIX] (ECONNRESET): Likewise.
39131 [POSIX] (EDESTADDRREQ): Likewise.
39132 [POSIX] (EDQUOT): Likewise.
39133 [POSIX] (EHOSTUNREACH): Likewise.
39134 [POSIX] (EIDRM): Likewise.
39135 [POSIX] (EISCONN): Likewise.
39136 [POSIX] (ELOOP): Likewise.
39137 [POSIX] (EMULTIHOP): Likewise.
39138 [POSIX] (ENETDOWN): Likewise.
39139 [POSIX] (ENETUNREACH): Likewise.
39140 [POSIX] (ENOBUFS): Likewise.
39141 [POSIX] (ENODATA): Likewise.
39142 [POSIX] (ENOLINK): Likewise.
39143 [POSIX] (ENOMSG): Likewise.
39144 [POSIX] (ENOPROTOOPT): Likewise.
39145 [POSIX] (ENOSR): Likewise.
39146 [POSIX] (ENOSTR): Likewise.
39147 [POSIX] (ENOTCONN): Likewise.
39148 [POSIX] (ENOTSOCK): Likewise.
39149 [POSIX] (EOPNOTSUPP): Likewise.
39150 [POSIX] (EOVERFLOW): Likewise.
39151 [POSIX] (EPROTO): Likewise.
39152 [POSIX] (EPROTONOSUPPORT): Likewise.
39153 [POSIX] (EPROTOTYPE): Likewise.
39154 [POSIX] (ESTALE): Likewise.
39155 [POSIX] (ETIME): Likewise.
39156 [POSIX] (ETXTBSY): Likewise.
39157 [POSIX] (EWOULDBLOCK): Likewise.
39158 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39159 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39160 [POSIX] (SEEK_CUR): Likewise.
39161 [POSIX] (SEEK_END): Likewise.
39162 [POSIX || UNIX98] (mode_t): Do not require.
39163 [POSIX] (off_t): Likewise.
39164 [POSIX] (pid_t): Likewise.
39165 [POSIX] (sys/stat.h): Do not allow header.
39166 [POSIX] (unistd.h): Likewise.
39167 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39168 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39169 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39170 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39172 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39173 sigevent): Specify elements.
39174 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39176 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39177 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39179 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39180 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39181 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39182 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39183 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39184 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39185 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39186 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39187 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39188 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39189 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39190 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39191 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39192 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39194 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39196 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39198 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39200 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39201 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39202 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39203 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39205 Specify lower bound on value.
39206 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39212 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39213 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39215 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39217 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39218 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39220 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39221 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39223 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39224 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39225 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39226 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39227 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39228 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39229 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39230 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39231 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39232 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39234 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39236 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39237 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39238 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39239 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39240 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39241 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39243 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39244 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39245 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39246 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39247 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39248 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39249 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39251 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39252 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39253 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39254 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39255 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39256 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39257 specify as optional.
39258 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39259 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39260 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39261 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39262 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39263 [XPG3] (NL_LANGMAX): Likewise.
39264 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39265 [POSIX || XPG3] (NL_NMAX): Likewise.
39266 [POSIX || XPG3] (NL_SETMAX): Likewise.
39267 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39268 [XPG3] (NZERO): Likewise.
39269 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39270 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39271 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39272 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39273 (REG_ERANGE): Expect.
39274 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39276 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39277 Use (void) in prototype.
39278 [POSIX] (*_t): Allow.
39279 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39280 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39281 (WRDE_BADVAL): Expect.
39283 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39285 [XPG3 || XPG4] (O_RSYNC): Likewise.
39286 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39288 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39289 [XPG3 || XPG4] (sigqueue): Likewise.
39290 [XPG3 || XPG4] (sigtimedwait): Likewise.
39291 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39292 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39293 [XPG3 || XPG4] (vsnprintf): Likewise.
39294 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39296 [XPG3 || XPG4] (blksize_t): Likewise.
39297 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39299 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39300 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39301 [XPG3 || XPG4] (struct itimerspec): Likewise.
39302 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39303 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39304 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39305 [XPG3 || XPG4] (clockid_t): Likewise.
39306 [XPG3 || XPG4] (timer_t): Likewise.
39307 [XPG3 || XPG4] (clock_getres): Likewise.
39308 [XPG3 || XPG4] (clock_gettime): Likewise.
39309 [XPG3 || XPG4] (clock_settime): Likewise.
39310 [XPG3 || XPG4] (nanosleep): Likewise.
39311 [XPG3 || XPG4] (timer_create): Likewise.
39312 [XPG3 || XPG4] (timer_delete): Likewise.
39313 [XPG3 || XPG4] (timer_gettime): Likewise.
39314 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39315 [XPG3 || XPG4] (timer_settime): Likewise.
39316 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39317 [XPG3 || XPG4] (getlogin_r): Likewise.
39318 [XPG3 || XPG4] (pread): Likewise.
39319 [XPG3 || XPG4] (pthread_atfork): Likewise.
39320 [XPG3 || XPG4] (pwrite): Likewise.
39323 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39326 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39328 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39329 finalizing MALLSTREAM.
39331 * sysdeps/mach/hurd/syncfs.c: New file.
39333 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39336 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39337 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39338 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39339 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39340 (_nss_dns_gethostbyname4_r): Likewise.
39341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39342 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39344 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39347 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39349 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39351 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39352 * elf/cache.c (print_entry): Print ",AArch64" for
39355 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39356 * elf/cache.c (print_entry): Print ",hard-float" for
39359 2012-11-18 David S. Miller <davem@davemloft.net>
39361 With help from Joseph Myers.
39362 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39364 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39366 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39367 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39369 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39370 * math/libm-test.inc (y0_test): New tests.
39371 (y1_test): New tests.
39372 * sysdeps/i386/fpu/libm-test-ulps: Update.
39373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39376 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39378 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39380 * configure: Regenerated.
39382 2012-11-17 David S. Miller <davem@davemloft.net>
39385 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39386 nonzero exponents with absolute value below 0x1p-128 to +/-
39389 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39391 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39393 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39395 * posix/getconf-speclist.c: New file.
39396 * posix/posix-envs.def: Likewise.
39397 * posix/confstr.c (START_ENV_GROUP): New macro.
39398 (END_ENV_GROUP): Likewise.
39399 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39400 (KNOWN_PRESENT_ENV_STRING): Likewise.
39401 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39402 (UNKNOWN_ENVIRONMENT): Likewise.
39403 (confstr): Include posix-envs.def instead of handling
39404 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39405 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39406 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39407 (END_ENV_GROUP): Likewise.
39408 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39409 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39410 (UNKNOWN_ENVIRONMENT): Likewise.
39411 (__sysconf): Include posix-envs.def instead of handling associated
39412 cases directly here.
39413 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39414 preprocessing getconf-speclist.c rather than running getconf or
39415 generating empty file.
39417 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39419 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39421 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39424 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39426 2012-11-16 David S. Miller <davem@davemloft.net>
39428 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39429 smaller than LDBL_EPSILON/2.0L, just return xm1.
39431 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39433 * elf/tst-array1.c (init): Set constructor priority to 1000.
39434 (fini): Set destructor priority to 1000.
39435 * elf/tst-array2dep.c: Likewise.
39437 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39440 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39441 (_IO_new_file_xsputn): Also return EOF if none of the input
39442 data was written when overflow failed.
39443 * libio/iopadn.c (_IO_padn): Likewise.
39444 * libio/iowpadn.c (_IO_wpadn): Likewise.
39445 * stdio-common/tst-put-error.c: Add copyright notice.
39446 (do_test): Add case for printing padded string.
39447 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39448 _IO_padn returned error.
39449 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39450 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39453 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39455 * libio/libioP.h: Add comment note that the references to C++
39456 bits are now obsolete.
39458 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39460 * math/libm-test.inc (check_complex): Use asprintf.
39462 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39464 * debug/pcprofiledump.c (print_version): Update copyright year.
39465 * malloc/memusagestat.c (print_version): Likewise.
39467 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39470 * elf/Makefile (tests): Add tst-audit8.
39471 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39472 ($(objpfx)tst-audit8.out): New target.
39473 (tst-audit8-ENV): New variable.
39474 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39475 audit if l_reloc_result is NULL.
39476 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39477 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39478 * elf/tst-audit8.c: New file.
39480 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39482 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39483 * misc/Makefile (CFLAGS-select.c): Define.
39484 * posix/Makefile (CFLAGS-pause.c): Define.
39486 2012-11-13 David S. Miller <davem@davemloft.net>
39488 * crypt/Makefile: Move test targets after toplevel Rules
39489 inclusion. Grab any necessary sysdep routines when linking.
39490 * crypt/md5.c (md5_process_block): Remove define, we will always
39491 name it __md5_process_block.
39492 (md5_finish_ctx): Update md5_process_block call.
39493 (md5_stream): Likewise.
39494 (md5_process_bytes): Likewise.
39495 (md5_process_block): Rename to __md5_process_block and move to ...
39496 * crypt/md5-block.c: ... here.
39497 * crypt/sha256.c (sha256_process_block): Move to ...
39498 * crypt/sha256-block.c: ... here.
39499 * crypt/sha512.c (sha512_process_block): Move to ...
39500 * crypt/sha512-block.c: ... here.
39501 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39503 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39504 * sysdeps/sparc/sparc64/multiarch/Makefile
39505 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39507 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39508 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39510 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39511 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39512 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39513 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39514 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39515 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39516 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39517 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39518 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39520 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39521 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39523 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39525 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39527 * timezone/tzselect.ksh: Update from tzcode git revision
39528 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39529 * timezone/zdump.c: Likewise.
39530 * timezone/zic.c: Likewise.
39531 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39532 in TZVERSION setting, not $(PKGVERSION).
39533 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39534 REPORT_BUGS_TO settings.
39537 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39540 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39542 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39543 detection to immediately after _FP_ROUND().
39544 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39547 2012-11-11 David S. Miller <davem@davemloft.net>
39549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39551 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39552 __close rather than their public counterparts.
39554 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39556 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39558 [UNIX98] (sem_timedwait): Do not expect.
39559 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39560 [XPG4 || UNIX98] (sockatmark): Do not expect.
39561 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39562 (clock_getcpuclockid): Do not expect.
39563 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39564 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39566 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39567 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39568 [UNIX98] (vwscanf): Likewise.
39569 [UNIX98] (vswscanf): Likewise.
39571 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39573 * timezone/version.h: Remove file.
39574 * timezone/README: Do not refer to version.h.
39575 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39576 $(objpfx)version.h.
39577 ($(objpfx)zdump.o): Likewise.
39578 ($(objpfx)version.h): New target.
39580 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39582 * timezone/README: Don't mention modification to tzselect.ksh.
39583 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39584 work on unmodified tzselect.ksh. Substitute version numbers in
39587 * Makefile (format-me): Remove.
39588 (INSTALL): Adjust indentation. Use commands directly instead of
39589 using $(format-me).
39591 * aclocal.m4 (ACX_PKGVERSION): New macro.
39592 (ACX_BUGURL): Likewise.
39593 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39594 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39595 (REPORT_BUGS_TO): Likewise.
39596 * configure: Regenerated.
39597 * config.h.in (PKGVERSION): New macro.
39598 (REPORT_BUGS_TO): Likewise.
39599 * config.make.in (PKGVERSION): New variable.
39600 (PKGVERSION_TEXI): Likewise.
39601 (REPORT_BUGS_TO): Likewise.
39602 (REPORT_BUGS_TEXI): Likewise.
39603 * Makefile (format-me): Use -I$(common-objpfx)manual.
39604 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39605 ($(common-objpfx)manual/%): New target.
39606 (manual/%): Remove target.
39607 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39608 (print_version): Use PKGVERSION.
39609 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39610 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39611 and REPORT_BUGS_TO.
39612 ($(objpfx)xtrace): Likewise.
39613 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39614 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39615 (print_version): Use PKGVERSION.
39616 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39617 (do_version): Use PKGVERSION.
39618 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39620 (common-ldd-rewrite): Likewise.
39621 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39622 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39623 (print_version): Use PKGVERSION.
39624 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39625 * elf/pldd.c (argp_program_bug_address): Remove variable.
39626 (more_help): New function.
39627 (argp): Use more_help.
39628 (print_version): Use PKGVERSION.
39629 * elf/sln.c (main): Use PKGVERSION.
39630 (usage): Use REPORT_BUGS_TO.
39631 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39632 (top level): Use PKGVERSION.
39633 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39634 (print_version): Use PKGVERSION.
39635 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39636 (print_version): Use PKGVERSION.
39637 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39638 (print_version): Use PKGVERSION.
39639 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39640 (print_version): Use PKGVERSION.
39641 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39642 (print_version): Use PKGVERSION.
39643 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39644 (print_version): Use PKGVERSION.
39645 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39647 ($(objpfx)memusage): Likewise.
39648 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39649 (do_version): Use PKGVERSION.
39650 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39651 (print_version): Use PKGVERSION.
39652 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39653 ($PKGVERSION): New variable.
39654 ($REPORT_BUGS_TO): Likewise.
39655 (usage): Use $REPORT_BUGS_TO.
39656 (top level): Use $PKGVERSION.
39657 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39658 ($(objpfx)pkgvers.texi): New rule.
39659 ($(objpfx)stamp-pkgvers): Likewise.
39660 * manual/install.texi: Include pkgvers.texi.
39661 (--with-pkgversion): Document new configure option.
39662 (--with-bugurl): Likewise.
39663 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39664 than necessarily for this particular distribution. Use
39665 REPORT_BUGS_TO for where to report bugs.
39666 * INSTALL: Regenerated.
39667 * manual/libc.texinfo: Include pkgvers.texi.
39668 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39669 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39670 (print_version): Use PKGVERSION.
39671 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39672 (print_version): Use PKGVERSION.
39673 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39674 (print_version): Use PKGVERSION.
39675 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39676 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39678 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39679 (print_version): Use PKGVERSION.
39680 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39681 (print_version): Use PKGVERSION.
39682 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39685 * timezone/checktab.awk: Update from tzcode 2012i.
39686 * timezone/ialloc.c: Likewise.
39687 * timezone/private.h: Likewise.
39688 * timezone/scheck.c: Likewise.
39689 * timezone/tzfile.h: Likewise.
39690 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39691 (TZVERSION): Hardcode tzcode version number.
39692 * timezone/zdump.c: Update from tzcode 2012i.
39693 * timezone/zic.c: Likewise.
39694 * timezone/version.h: New file.
39695 * timezone/README: Describe version.h. Update upstream location.
39698 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39699 (mktemp): Enable declaration.
39700 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39702 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39703 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39717 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39718 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39719 for copies of such integer values.
39720 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39721 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39723 2012-11-09 Andreas Jaeger <aj@suse.de>
39725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39726 definitions and declarations that are provided by
39727 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39729 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39731 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39732 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39733 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39736 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39738 * elf/elf.h: Update comment before AArch64 relocations.
39740 2012-11-07 David S. Miller <davem@davemloft.net>
39742 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39743 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39744 (__start_context): Declare.
39745 (__makecontext_ret): Delete.
39746 (__makecontext): Hook up __start_context instead of
39748 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39749 (sysdep_routines): Add __start_context when in stdlib.
39751 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39753 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39754 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39755 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39757 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39758 (READELF): New variable. Use it instead of hardcoded "readelf".
39760 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39762 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39763 * sysdeps/x86/Makefile: Here.
39764 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39765 * sysdeps/x86/tst-xmmymm.sh: This.
39767 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39769 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39771 [UNIX98] (pthread_barrier_t): Do not expect.
39772 [UNIX98] (pthread_barrierattr_t): Likewise.
39773 [UNIX98] (pthread_spinlock_t): Likewise.
39774 [UNIX98] (pthread_barrier_destroy): Likewise.
39775 [UNIX98] (pthread_barrier_init): Likewise.
39776 [UNIX98] (pthread_barrier_wait): Likewise.
39777 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39778 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39779 [UNIX98] (pthread_barrierattr_init): Likewise.
39780 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39781 [UNIX98] (pthread_getcpuclockid): Likewise.
39782 [UNIX98] (pthread_mutex_timedlock): Likewise.
39783 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39784 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39785 [UNIX98] (pthread_sigmask): Likewise.
39786 [UNIX98] (pthread_spin_destroy): Likewise.
39787 [UNIX98] (pthread_spin_init): Likewise.
39788 [UNIX98] (pthread_spin_lock): Likewise.
39789 [UNIX98] (pthread_spin_trylock): Likewise.
39790 [UNIX98] (pthread_spin_unlock): Likewise.
39791 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39793 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39794 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39795 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39796 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39797 [XPG3 || XPG4] (pthread_key_t): Likewise.
39798 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39799 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39800 [XPG3 || XPG4] (pthread_once_t): Likewise.
39801 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39802 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39803 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39804 [XPG3 || XPG4] (pthread_t): Likewise.
39806 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39808 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39810 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39811 Change function return type to int.
39813 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39814 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39815 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39816 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39817 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39818 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39819 [!POSIX] (posix_madvise): Likewise.
39820 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39822 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39823 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39824 (mode_t): Likewise.
39825 (posix_mem_offset): Likewise.
39826 (posix_typed_mem_get_info): Likewise.
39827 (posix_typed_mem_open): Likewise.
39829 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39830 Change condition to [XOPEN2K8].
39832 * conform/conformtest.pl: Preprocess allow-header data with -x c
39833 instead of from stdin.
39834 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39835 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39836 [C99-based standards] (cerfc): Likewise.
39837 [C99-based standards] (cexp2): Likewise.
39838 [C99-based standards] (cexpm1): Likewise.
39839 [C99-based standards] (clog10): Likewise.
39840 [C99-based standards] (clog1p): Likewise.
39841 [C99-based standards] (clog2): Likewise.
39842 [C99-based standards] (clgamma): Likewise.
39843 [C99-based standards] (ctgamma): Likewise.
39844 [C99-based standards] (cerff): Likewise.
39845 [C99-based standards] (cerfcf): Likewise.
39846 [C99-based standards] (cexp2f): Likewise.
39847 [C99-based standards] (cexpm1f): Likewise.
39848 [C99-based standards] (clog10f): Likewise.
39849 [C99-based standards] (clog1pf): Likewise.
39850 [C99-based standards] (clog2f): Likewise.
39851 [C99-based standards] (clgammaf): Likewise.
39852 [C99-based standards] (ctgammaf): Likewise.
39853 [C99-based standards] (cerfl): Likewise.
39854 [C99-based standards] (cerfcl): Likewise.
39855 [C99-based standards] (cexp2l): Likewise.
39856 [C99-based standards] (cexpm1l): Likewise.
39857 [C99-based standards] (clog10l): Likewise.
39858 [C99-based standards] (clog1pl): Likewise.
39859 [C99-based standards] (clog2l): Likewise.
39860 [C99-based standards] (clgammal): Likewise.
39861 [C99-based standards] (ctgammal): Likewise.
39862 * conform/data/inttypes.h-data [C99-based standards]: Include
39863 stdint.h-data. Remove all expectations for stdint.h contents.
39864 [C99-based standards] (PRI*): Do not allow.
39865 [C99-based standards] (SCN*): Likewise.
39866 [C99-based standards] (*_t): Likewise.
39867 [C99-based-standards] (PRId8): Expect macro.
39868 [C99-based-standards] (PRIi8): Likewise.
39869 [C99-based-standards] (PRIo8): Likewise.
39870 [C99-based-standards] (PRIu8): Likewise.
39871 [C99-based-standards] (PRIx8): Likewise.
39872 [C99-based-standards] (PRIX8): Likewise.
39873 [C99-based-standards] (SCNd8): Likewise.
39874 [C99-based-standards] (SCNi8): Likewise.
39875 [C99-based-standards] (SCNo8): Likewise.
39876 [C99-based-standards] (SCNu8): Likewise.
39877 [C99-based-standards] (SCNx8): Likewise.
39878 [C99-based-standards] (PRIdLEAST8): Likewise.
39879 [C99-based-standards] (PRIiLEAST8): Likewise.
39880 [C99-based-standards] (PRIoLEAST8): Likewise.
39881 [C99-based-standards] (PRIuLEAST8): Likewise.
39882 [C99-based-standards] (PRIxLEAST8): Likewise.
39883 [C99-based-standards] (PRIXLEAST8): Likewise.
39884 [C99-based-standards] (SCNdLEAST8): Likewise.
39885 [C99-based-standards] (SCNiLEAST8): Likewise.
39886 [C99-based-standards] (SCNoLEAST8): Likewise.
39887 [C99-based-standards] (SCNuLEAST8): Likewise.
39888 [C99-based-standards] (SCNxLEAST8): Likewise.
39889 [C99-based-standards] (PRIdFAST8): Likewise.
39890 [C99-based-standards] (PRIiFAST8): Likewise.
39891 [C99-based-standards] (PRIoFAST8): Likewise.
39892 [C99-based-standards] (PRIuFAST8): Likewise.
39893 [C99-based-standards] (PRIxFAST8): Likewise.
39894 [C99-based-standards] (PRIXFAST8): Likewise.
39895 [C99-based-standards] (SCNdFAST8): Likewise.
39896 [C99-based-standards] (SCNiFAST8): Likewise.
39897 [C99-based-standards] (SCNoFAST8): Likewise.
39898 [C99-based-standards] (SCNuFAST8): Likewise.
39899 [C99-based-standards] (SCNxFAST8): Likewise.
39900 [C99-based-standards] (PRId16): Likewise.
39901 [C99-based-standards] (PRIi16): Likewise.
39902 [C99-based-standards] (PRIo16): Likewise.
39903 [C99-based-standards] (PRIu16): Likewise.
39904 [C99-based-standards] (PRIx16): Likewise.
39905 [C99-based-standards] (PRIX16): Likewise.
39906 [C99-based-standards] (SCNd16): Likewise.
39907 [C99-based-standards] (SCNi16): Likewise.
39908 [C99-based-standards] (SCNo16): Likewise.
39909 [C99-based-standards] (SCNu16): Likewise.
39910 [C99-based-standards] (SCNx16): Likewise.
39911 [C99-based-standards] (PRIdLEAST16): Likewise.
39912 [C99-based-standards] (PRIiLEAST16): Likewise.
39913 [C99-based-standards] (PRIoLEAST16): Likewise.
39914 [C99-based-standards] (PRIuLEAST16): Likewise.
39915 [C99-based-standards] (PRIxLEAST16): Likewise.
39916 [C99-based-standards] (PRIXLEAST16): Likewise.
39917 [C99-based-standards] (SCNdLEAST16): Likewise.
39918 [C99-based-standards] (SCNiLEAST16): Likewise.
39919 [C99-based-standards] (SCNoLEAST16): Likewise.
39920 [C99-based-standards] (SCNuLEAST16): Likewise.
39921 [C99-based-standards] (SCNxLEAST16): Likewise.
39922 [C99-based-standards] (PRIdFAST16): Likewise.
39923 [C99-based-standards] (PRIiFAST16): Likewise.
39924 [C99-based-standards] (PRIoFAST16): Likewise.
39925 [C99-based-standards] (PRIuFAST16): Likewise.
39926 [C99-based-standards] (PRIxFAST16): Likewise.
39927 [C99-based-standards] (PRIXFAST16): Likewise.
39928 [C99-based-standards] (SCNdFAST16): Likewise.
39929 [C99-based-standards] (SCNiFAST16): Likewise.
39930 [C99-based-standards] (SCNoFAST16): Likewise.
39931 [C99-based-standards] (SCNuFAST16): Likewise.
39932 [C99-based-standards] (SCNxFAST16): Likewise.
39933 [C99-based-standards] (PRId32): Likewise.
39934 [C99-based-standards] (PRIi32): Likewise.
39935 [C99-based-standards] (PRIo32): Likewise.
39936 [C99-based-standards] (PRIu32): Likewise.
39937 [C99-based-standards] (PRIx32): Likewise.
39938 [C99-based-standards] (PRIX32): Likewise.
39939 [C99-based-standards] (SCNd32): Likewise.
39940 [C99-based-standards] (SCNi32): Likewise.
39941 [C99-based-standards] (SCNo32): Likewise.
39942 [C99-based-standards] (SCNu32): Likewise.
39943 [C99-based-standards] (SCNx32): Likewise.
39944 [C99-based-standards] (PRIdLEAST32): Likewise.
39945 [C99-based-standards] (PRIiLEAST32): Likewise.
39946 [C99-based-standards] (PRIoLEAST32): Likewise.
39947 [C99-based-standards] (PRIuLEAST32): Likewise.
39948 [C99-based-standards] (PRIxLEAST32): Likewise.
39949 [C99-based-standards] (PRIXLEAST32): Likewise.
39950 [C99-based-standards] (SCNdLEAST32): Likewise.
39951 [C99-based-standards] (SCNiLEAST32): Likewise.
39952 [C99-based-standards] (SCNoLEAST32): Likewise.
39953 [C99-based-standards] (SCNuLEAST32): Likewise.
39954 [C99-based-standards] (SCNxLEAST32): Likewise.
39955 [C99-based-standards] (PRIdFAST32): Likewise.
39956 [C99-based-standards] (PRIiFAST32): Likewise.
39957 [C99-based-standards] (PRIoFAST32): Likewise.
39958 [C99-based-standards] (PRIuFAST32): Likewise.
39959 [C99-based-standards] (PRIxFAST32): Likewise.
39960 [C99-based-standards] (PRIXFAST32): Likewise.
39961 [C99-based-standards] (SCNdFAST32): Likewise.
39962 [C99-based-standards] (SCNiFAST32): Likewise.
39963 [C99-based-standards] (SCNoFAST32): Likewise.
39964 [C99-based-standards] (SCNuFAST32): Likewise.
39965 [C99-based-standards] (SCNxFAST32): Likewise.
39966 [C99-based-standards] (PRId64): Likewise.
39967 [C99-based-standards] (PRIi64): Likewise.
39968 [C99-based-standards] (PRIo64): Likewise.
39969 [C99-based-standards] (PRIu64): Likewise.
39970 [C99-based-standards] (PRIx64): Likewise.
39971 [C99-based-standards] (PRIX64): Likewise.
39972 [C99-based-standards] (SCNd64): Likewise.
39973 [C99-based-standards] (SCNi64): Likewise.
39974 [C99-based-standards] (SCNo64): Likewise.
39975 [C99-based-standards] (SCNu64): Likewise.
39976 [C99-based-standards] (SCNx64): Likewise.
39977 [C99-based-standards] (PRIdLEAST64): Likewise.
39978 [C99-based-standards] (PRIiLEAST64): Likewise.
39979 [C99-based-standards] (PRIoLEAST64): Likewise.
39980 [C99-based-standards] (PRIuLEAST64): Likewise.
39981 [C99-based-standards] (PRIxLEAST64): Likewise.
39982 [C99-based-standards] (PRIXLEAST64): Likewise.
39983 [C99-based-standards] (SCNdLEAST64): Likewise.
39984 [C99-based-standards] (SCNiLEAST64): Likewise.
39985 [C99-based-standards] (SCNoLEAST64): Likewise.
39986 [C99-based-standards] (SCNuLEAST64): Likewise.
39987 [C99-based-standards] (SCNxLEAST64): Likewise.
39988 [C99-based-standards] (PRIdFAST64): Likewise.
39989 [C99-based-standards] (PRIiFAST64): Likewise.
39990 [C99-based-standards] (PRIoFAST64): Likewise.
39991 [C99-based-standards] (PRIuFAST64): Likewise.
39992 [C99-based-standards] (PRIxFAST64): Likewise.
39993 [C99-based-standards] (PRIXFAST64): Likewise.
39994 [C99-based-standards] (SCNdFAST64): Likewise.
39995 [C99-based-standards] (SCNiFAST64): Likewise.
39996 [C99-based-standards] (SCNoFAST64): Likewise.
39997 [C99-based-standards] (SCNuFAST64): Likewise.
39998 [C99-based-standards] (SCNxFAST64): Likewise.
39999 [C99-based-standards] (PRIdMAX): Likewise.
40000 [C99-based-standards] (PRIiMAX): Likewise.
40001 [C99-based-standards] (PRIoMAX): Likewise.
40002 [C99-based-standards] (PRIuMAX): Likewise.
40003 [C99-based-standards] (PRIxMAX): Likewise.
40004 [C99-based-standards] (PRIXMAX): Likewise.
40005 [C99-based-standards] (SCNdMAX): Likewise.
40006 [C99-based-standards] (SCNiMAX): Likewise.
40007 [C99-based-standards] (SCNoMAX): Likewise.
40008 [C99-based-standards] (SCNuMAX): Likewise.
40009 [C99-based-standards] (SCNxMAX): Likewise.
40010 [C99-based-standards] (PRIdPTR): Likewise.
40011 [C99-based-standards] (PRIiPTR): Likewise.
40012 [C99-based-standards] (PRIoPTR): Likewise.
40013 [C99-based-standards] (PRIuPTR): Likewise.
40014 [C99-based-standards] (PRIxPTR): Likewise.
40015 [C99-based-standards] (PRIXPTR): Likewise.
40016 [C99-based-standards] (SCNdPTR): Likewise.
40017 [C99-based-standards] (SCNiPTR): Likewise.
40018 [C99-based-standards] (SCNoPTR): Likewise.
40019 [C99-based-standards] (SCNuPTR): Likewise.
40020 [C99-based-standards] (SCNxPTR): Likewise.
40021 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40023 * conform/data/stdint.h-data: Update comments to clarify
40025 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40027 [C99-based standards] (INT8_MAX): Likewise.
40028 [C99-based standards] (INT16_MIN): Likewise.
40029 [C99-based standards] (INT16_MAX): Likewise.
40030 [C99-based standards] (INT32_MIN): Likewise.
40031 [C99-based standards] (INT32_MAX): Likewise.
40032 [C99-based standards] (INT64_MIN): Likewise.
40033 [C99-based standards] (INT64_MAX): Likewise.
40034 [C99-based standards] (UINT8_MAX): Likewise.
40035 [C99-based standards] (UINT16_MAX): Likewise.
40036 [C99-based standards] (UINT32_MAX): Likewise.
40037 [C99-based standards] (UINT64_MAX): Likewise.
40038 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40039 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40040 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40041 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40042 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40043 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40044 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40045 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40046 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40047 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40048 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40049 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40050 [C99-based standards] (INT_FAST8_MIN): Likewise.
40051 [C99-based standards] (INT_FAST8_MAX): Likewise.
40052 [C99-based standards] (INT_FAST16_MIN): Likewise.
40053 [C99-based standards] (INT_FAST16_MAX): Likewise.
40054 [C99-based standards] (INT_FAST32_MIN): Likewise.
40055 [C99-based standards] (INT_FAST32_MAX): Likewise.
40056 [C99-based standards] (INT_FAST64_MIN): Likewise.
40057 [C99-based standards] (INT_FAST64_MAX): Likewise.
40058 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40059 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40060 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40061 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40062 [C99-based standards] (INTPTR_MIN): Likewise.
40063 [C99-based standards] (INTPTR_MAX): Likewise.
40064 [C99-based standards] (UINTPTR_MAX): Likewise.
40065 [C99-based standards] (INTMAX_MIN): Likewise.
40066 [C99-based standards] (INTMAX_MAX): Likewise.
40067 [C99-based standards] (UINTMAX_MAX): Likewise.
40068 [C99-based standards] (PTRDIFF_MIN): Likewise.
40069 [C99-based standards] (PTRDIFF_MAX): Likewise.
40070 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40071 [C99-based standards] (SIZE_MAX): Likewise.
40072 [C99-based standards] (WCHAR_MAX): Likewise.
40073 [C99-based standards] (WINT_MAX): Likewise.
40074 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40075 constraint on value.
40076 [C99-based standards] (WCHAR_MIN): Likewise.
40077 [C99-based standards] (WINT_MIN): Likewise.
40078 [C99-based standards] (*_t): Allow.
40079 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40080 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40081 Include math.h-data and complex.h-data. Remove all expectations
40082 of math.h and complex.h contents.
40083 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40085 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40086 (struct tm): Expect tag.
40087 [C99-based-standards] (wcstof): Expect function.
40088 [C99-based-standards] (wcstold): Likewise.
40089 [C99-based-standards] (wcstoll): Likewise.
40090 [C99-based-standards] (wcstoull): Likewise.
40091 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40092 macro-int-constant. Specify type.
40093 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40094 constraint on value.
40095 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40097 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40099 [ISO C standards]: Do not allow headers.
40100 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40101 wcs[abcdefghijklmnopqrstuvwxyz]*.
40102 [ISO C standards] (*_t): Do not allow.
40103 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40105 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40106 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40108 [ISO C standards]: Do not allow headers.
40109 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40110 is[abcdefghijklmnopqrstuvwxyz]*.
40111 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40112 to[abcdefghijklmnopqrstuvwxyz]*.
40113 [ISO C standards] (*_t): Do not allow.
40114 * conform/data/stdalign.h-data: New file.
40115 * conform/data/stdbool.h-data: Likewise.
40116 * conform/data/stdnoreturn.h-data: Likewise.
40118 2012-11-07 Roland McGrath <roland@hack.frob.com>
40121 * manual/filesys.texi (Directory Entries): Typo fix.
40122 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40124 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40126 * elf/elf.h (EM_AARCH64): New macro.
40127 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40128 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40129 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40130 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40131 (R_AARCH64_TLSDESC): Likewise.
40132 (NT_ARM_TLS): Likewise.
40133 (NT_ARM_HW_BREAK): Likewise.
40134 (NT_ARM_HW_WATCH): Likewise.
40136 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40139 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40140 (__ieee754_powl): Saturate nonzero exponents with absolute value
40141 below 0x1p-79 to +/- 0x1p-79.
40142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40143 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40144 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40145 nonzero exponents with absolute value below 0x1p-32 to +/-
40147 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40148 (__ieee754_powl): Saturate nonzero exponents with absolute value
40149 below 0x1p-79 to +/- 0x1p-79.
40150 * math/libm-test.inc (pow_test): Add more tests.
40152 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40154 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40155 _dl_s390_cap_flags with kernel. Increase string length.
40156 (_dl_s390_platforms): Add z196 and zEC12.
40158 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40160 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40161 Change XOPEN21K to XOPEN2K.
40163 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40165 * string/memmove.c: Use memcpy when possible.
40167 2012-11-06 Andreas Jaeger <aj@suse.de>
40169 * po/eo.po: Update from translation team.
40171 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40175 exponent and small x and y exponents, scale x or y up. Increase
40176 by 2 the exponent used in scaling up.
40177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40179 * math/libm-test.inc (fma_test): Add more tests.
40180 (fma_test_towardzero): Likewise.
40181 (fma_test_downward): Likewise.
40182 (fma_test_upward): Likewise.
40184 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40187 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40191 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40192 namespace for names of struct fields.
40193 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40195 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40196 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40198 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40201 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40203 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40205 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40209 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40212 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40216 definitely overflow as x * y not x * y + z.
40217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40219 * math/libm-test.inc (fma_test): Add more tests.
40220 (fma_test_towardzero): Likewise.
40221 (fma_test_downward): Likewise.
40222 (fma_test_upward): Likewise.
40224 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40228 * include/stub-tag.h: Remove file.
40229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40231 * manual/maint.texi (Porting): Don't reference it.
40232 * Makerules ($(objpfx)stubs): Likewise.
40233 * dirent/closedir.c: Don't include <stub-tag.h>.
40234 * dirent/dirfd.c: Likewise.
40235 * dirent/fdopendir.c: Likewise.
40236 * dirent/getdents.c: Likewise.
40237 * dirent/getdents64.c: Likewise.
40238 * dirent/opendir.c: Likewise.
40239 * dirent/readdir.c: Likewise.
40240 * dirent/readdir64.c: Likewise.
40241 * dirent/readdir64_r.c: Likewise.
40242 * dirent/readdir_r.c: Likewise.
40243 * dirent/rewinddir.c: Likewise.
40244 * dirent/seekdir.c: Likewise.
40245 * dirent/telldir.c: Likewise.
40246 * gmon/profil.c: Likewise.
40247 * grp/setgroups.c: Likewise.
40248 * inet/if_index.c: Likewise.
40249 * io/access.c: Likewise.
40250 * io/chdir.c: Likewise.
40251 * io/chmod.c: Likewise.
40252 * io/chown.c: Likewise.
40253 * io/close.c: Likewise.
40254 * io/dup.c: Likewise.
40255 * io/dup2.c: Likewise.
40256 * io/dup3.c: Likewise.
40257 * io/euidaccess.c: Likewise.
40258 * io/faccessat.c: Likewise.
40259 * io/fchdir.c: Likewise.
40260 * io/fchmod.c: Likewise.
40261 * io/fchmodat.c: Likewise.
40262 * io/fchown.c: Likewise.
40263 * io/fchownat.c: Likewise.
40264 * io/fcntl.c: Likewise.
40265 * io/flock.c: Likewise.
40266 * io/fstatfs.c: Likewise.
40267 * io/fstatfs64.c: Likewise.
40268 * io/fstatvfs.c: Likewise.
40269 * io/fstatvfs64.c: Likewise.
40270 * io/futimens.c: Likewise.
40271 * io/fxstat.c: Likewise.
40272 * io/fxstat64.c: Likewise.
40273 * io/fxstatat.c: Likewise.
40274 * io/fxstatat64.c: Likewise.
40275 * io/getcwd.c: Likewise.
40276 * io/isatty.c: Likewise.
40277 * io/lchmod.c: Likewise.
40278 * io/lchown.c: Likewise.
40279 * io/link.c: Likewise.
40280 * io/linkat.c: Likewise.
40281 * io/lseek.c: Likewise.
40282 * io/lseek64.c: Likewise.
40283 * io/lxstat64.c: Likewise.
40284 * io/mkdir.c: Likewise.
40285 * io/mkdirat.c: Likewise.
40286 * io/mkfifo.c: Likewise.
40287 * io/mkfifoat.c: Likewise.
40288 * io/open.c: Likewise.
40289 * io/open64.c: Likewise.
40290 * io/openat.c: Likewise.
40291 * io/openat64.c: Likewise.
40292 * io/pipe.c: Likewise.
40293 * io/pipe2.c: Likewise.
40294 * io/poll.c: Likewise.
40295 * io/posix_fadvise.c: Likewise.
40296 * io/posix_fadvise64.c: Likewise.
40297 * io/posix_fallocate.c: Likewise.
40298 * io/posix_fallocate64.c: Likewise.
40299 * io/read.c: Likewise.
40300 * io/readlink.c: Likewise.
40301 * io/readlinkat.c: Likewise.
40302 * io/rmdir.c: Likewise.
40303 * io/sendfile.c: Likewise.
40304 * io/sendfile64.c: Likewise.
40305 * io/statfs.c: Likewise.
40306 * io/statfs64.c: Likewise.
40307 * io/statvfs.c: Likewise.
40308 * io/statvfs64.c: Likewise.
40309 * io/symlink.c: Likewise.
40310 * io/symlinkat.c: Likewise.
40311 * io/ttyname.c: Likewise.
40312 * io/ttyname_r.c: Likewise.
40313 * io/umask.c: Likewise.
40314 * io/unlink.c: Likewise.
40315 * io/unlinkat.c: Likewise.
40316 * io/utime.c: Likewise.
40317 * io/utimensat.c: Likewise.
40318 * io/write.c: Likewise.
40319 * io/xmknod.c: Likewise.
40320 * io/xmknodat.c: Likewise.
40321 * io/xstat.c: Likewise.
40322 * io/xstat64.c: Likewise.
40323 * login/getpt.c: Likewise.
40324 * login/grantpt.c: Likewise.
40325 * login/unlockpt.c: Likewise.
40326 * math/e_acoshl.c: Likewise.
40327 * math/e_acosl.c: Likewise.
40328 * math/e_asinl.c: Likewise.
40329 * math/e_atan2l.c: Likewise.
40330 * math/e_atanhl.c: Likewise.
40331 * math/e_coshl.c: Likewise.
40332 * math/e_expl.c: Likewise.
40333 * math/e_fmodl.c: Likewise.
40334 * math/e_gammal_r.c: Likewise.
40335 * math/e_hypotl.c: Likewise.
40336 * math/e_j0l.c: Likewise.
40337 * math/e_j1l.c: Likewise.
40338 * math/e_jnl.c: Likewise.
40339 * math/e_lgammal_r.c: Likewise.
40340 * math/e_log10l.c: Likewise.
40341 * math/e_log2l.c: Likewise.
40342 * math/e_logl.c: Likewise.
40343 * math/e_powl.c: Likewise.
40344 * math/e_rem_pio2l.c: Likewise.
40345 * math/e_sinhl.c: Likewise.
40346 * math/e_sqrtl.c: Likewise.
40347 * math/fclrexcpt.c: Likewise.
40348 * math/fedisblxcpt.c: Likewise.
40349 * math/feenablxcpt.c: Likewise.
40350 * math/fegetenv.c: Likewise.
40351 * math/fegetexcept.c: Likewise.
40352 * math/fegetround.c: Likewise.
40353 * math/feholdexcpt.c: Likewise.
40354 * math/fesetenv.c: Likewise.
40355 * math/fesetround.c: Likewise.
40356 * math/feupdateenv.c: Likewise.
40357 * math/fgetexcptflg.c: Likewise.
40358 * math/fraiseexcpt.c: Likewise.
40359 * math/fsetexcptflg.c: Likewise.
40360 * math/ftestexcept.c: Likewise.
40361 * math/k_cosl.c: Likewise.
40362 * math/k_rem_pio2l.c: Likewise.
40363 * math/k_sinl.c: Likewise.
40364 * math/k_tanl.c: Likewise.
40365 * math/s_asinhl.c: Likewise.
40366 * math/s_atanl.c: Likewise.
40367 * math/s_cbrtl.c: Likewise.
40368 * math/s_erfl.c: Likewise.
40369 * math/s_expm1l.c: Likewise.
40370 * math/s_log1pl.c: Likewise.
40371 * math/s_tanhl.c: Likewise.
40372 * misc/acct.c: Likewise.
40373 * misc/brk.c: Likewise.
40374 * misc/chflags.c: Likewise.
40375 * misc/chroot.c: Likewise.
40376 * misc/fchflags.c: Likewise.
40377 * misc/fgetxattr.c: Likewise.
40378 * misc/flistxattr.c: Likewise.
40379 * misc/fremovexattr.c: Likewise.
40380 * misc/fsetxattr.c: Likewise.
40381 * misc/fsync.c: Likewise.
40382 * misc/ftruncate.c: Likewise.
40383 * misc/futimes.c: Likewise.
40384 * misc/futimesat.c: Likewise.
40385 * misc/getdomain.c: Likewise.
40386 * misc/getdtsz.c: Likewise.
40387 * misc/gethostid.c: Likewise.
40388 * misc/gethostname.c: Likewise.
40389 * misc/getloadavg.c: Likewise.
40390 * misc/getpagesize.c: Likewise.
40391 * misc/getsysstats.c: Likewise.
40392 * misc/getxattr.c: Likewise.
40393 * misc/gtty.c: Likewise.
40394 * misc/ioctl.c: Likewise.
40395 * misc/lgetxattr.c: Likewise.
40396 * misc/listxattr.c: Likewise.
40397 * misc/llistxattr.c: Likewise.
40398 * misc/lremovexattr.c: Likewise.
40399 * misc/lsetxattr.c: Likewise.
40400 * misc/lutimes.c: Likewise.
40401 * misc/madvise.c: Likewise.
40402 * misc/mincore.c: Likewise.
40403 * misc/mlock.c: Likewise.
40404 * misc/mlockall.c: Likewise.
40405 * misc/mmap.c: Likewise.
40406 * misc/mprotect.c: Likewise.
40407 * misc/msync.c: Likewise.
40408 * misc/munlock.c: Likewise.
40409 * misc/munlockall.c: Likewise.
40410 * misc/munmap.c: Likewise.
40411 * misc/preadv.c: Likewise.
40412 * misc/preadv64.c: Likewise.
40413 * misc/ptrace.c: Likewise.
40414 * misc/pwritev.c: Likewise.
40415 * misc/pwritev64.c: Likewise.
40416 * misc/readv.c: Likewise.
40417 * misc/reboot.c: Likewise.
40418 * misc/remap_file_pages.c: Likewise.
40419 * misc/removexattr.c: Likewise.
40420 * misc/revoke.c: Likewise.
40421 * misc/select.c: Likewise.
40422 * misc/setdomain.c: Likewise.
40423 * misc/setegid.c: Likewise.
40424 * misc/seteuid.c: Likewise.
40425 * misc/sethostid.c: Likewise.
40426 * misc/sethostname.c: Likewise.
40427 * misc/setregid.c: Likewise.
40428 * misc/setreuid.c: Likewise.
40429 * misc/setxattr.c: Likewise.
40430 * misc/sstk.c: Likewise.
40431 * misc/stty.c: Likewise.
40432 * misc/swapoff.c: Likewise.
40433 * misc/swapon.c: Likewise.
40434 * misc/sync.c: Likewise.
40435 * misc/syncfs.c: Likewise.
40436 * misc/syscall.c: Likewise.
40437 * misc/truncate.c: Likewise.
40438 * misc/ualarm.c: Likewise.
40439 * misc/usleep.c: Likewise.
40440 * misc/ustat.c: Likewise.
40441 * misc/utimes.c: Likewise.
40442 * misc/vhangup.c: Likewise.
40443 * misc/writev.c: Likewise.
40444 * posix/_exit.c: Likewise.
40445 * posix/alarm.c: Likewise.
40446 * posix/execve.c: Likewise.
40447 * posix/fexecve.c: Likewise.
40448 * posix/fork.c: Likewise.
40449 * posix/fpathconf.c: Likewise.
40450 * posix/getaddrinfo.c: Likewise.
40451 * posix/getegid.c: Likewise.
40452 * posix/geteuid.c: Likewise.
40453 * posix/getgid.c: Likewise.
40454 * posix/getgroups.c: Likewise.
40455 * posix/getlogin.c: Likewise.
40456 * posix/getlogin_r.c: Likewise.
40457 * posix/getpgid.c: Likewise.
40458 * posix/getpid.c: Likewise.
40459 * posix/getppid.c: Likewise.
40460 * posix/getresgid.c: Likewise.
40461 * posix/getresuid.c: Likewise.
40462 * posix/getsid.c: Likewise.
40463 * posix/getuid.c: Likewise.
40464 * posix/glob64.c: Likewise.
40465 * posix/nanosleep.c: Likewise.
40466 * posix/pathconf.c: Likewise.
40467 * posix/pause.c: Likewise.
40468 * posix/posix_madvise.c: Likewise.
40469 * posix/pread.c: Likewise.
40470 * posix/pread64.c: Likewise.
40471 * posix/pwrite.c: Likewise.
40472 * posix/pwrite64.c: Likewise.
40473 * posix/sched_getaffinity.c: Likewise.
40474 * posix/sched_getp.c: Likewise.
40475 * posix/sched_gets.c: Likewise.
40476 * posix/sched_primax.c: Likewise.
40477 * posix/sched_primin.c: Likewise.
40478 * posix/sched_rr_gi.c: Likewise.
40479 * posix/sched_setaffinity.c: Likewise.
40480 * posix/sched_setp.c: Likewise.
40481 * posix/sched_sets.c: Likewise.
40482 * posix/sched_yield.c: Likewise.
40483 * posix/setgid.c: Likewise.
40484 * posix/setlogin.c: Likewise.
40485 * posix/setpgid.c: Likewise.
40486 * posix/setresgid.c: Likewise.
40487 * posix/setresuid.c: Likewise.
40488 * posix/setsid.c: Likewise.
40489 * posix/setuid.c: Likewise.
40490 * posix/sleep.c: Likewise.
40491 * posix/spawni.c: Likewise.
40492 * posix/sysconf.c: Likewise.
40493 * posix/times.c: Likewise.
40494 * posix/wait.c: Likewise.
40495 * posix/wait3.c: Likewise.
40496 * posix/wait4.c: Likewise.
40497 * posix/waitpid.c: Likewise.
40498 * resolv/gai_sigqueue.c: Likewise.
40499 * resource/getpriority.c: Likewise.
40500 * resource/getrlimit.c: Likewise.
40501 * resource/getrusage.c: Likewise.
40502 * resource/nice.c: Likewise.
40503 * resource/setpriority.c: Likewise.
40504 * resource/setrlimit.c: Likewise.
40505 * resource/ulimit.c: Likewise.
40506 * rt/aio_cancel.c: Likewise.
40507 * rt/aio_fsync.c: Likewise.
40508 * rt/aio_read.c: Likewise.
40509 * rt/aio_sigqueue.c: Likewise.
40510 * rt/aio_suspend.c: Likewise.
40511 * rt/aio_write.c: Likewise.
40512 * rt/clock_getres.c: Likewise.
40513 * rt/clock_gettime.c: Likewise.
40514 * rt/clock_nanosleep.c: Likewise.
40515 * rt/clock_settime.c: Likewise.
40516 * rt/lio_listio.c: Likewise.
40517 * rt/mq_close.c: Likewise.
40518 * rt/mq_getattr.c: Likewise.
40519 * rt/mq_notify.c: Likewise.
40520 * rt/mq_open.c: Likewise.
40521 * rt/mq_receive.c: Likewise.
40522 * rt/mq_send.c: Likewise.
40523 * rt/mq_setattr.c: Likewise.
40524 * rt/mq_timedreceive.c: Likewise.
40525 * rt/mq_timedsend.c: Likewise.
40526 * rt/mq_unlink.c: Likewise.
40527 * rt/shm_open.c: Likewise.
40528 * rt/shm_unlink.c: Likewise.
40529 * rt/timer_create.c: Likewise.
40530 * rt/timer_delete.c: Likewise.
40531 * rt/timer_getoverr.c: Likewise.
40532 * rt/timer_gettime.c: Likewise.
40533 * rt/timer_settime.c: Likewise.
40534 * setjmp/__longjmp.c: Likewise.
40535 * setjmp/setjmp.c: Likewise.
40536 * signal/kill.c: Likewise.
40537 * signal/killpg.c: Likewise.
40538 * signal/raise.c: Likewise.
40539 * signal/sigaction.c: Likewise.
40540 * signal/sigaltstack.c: Likewise.
40541 * signal/sigblock.c: Likewise.
40542 * signal/sigignore.c: Likewise.
40543 * signal/sigintr.c: Likewise.
40544 * signal/signal.c: Likewise.
40545 * signal/sigpause.c: Likewise.
40546 * signal/sigpending.c: Likewise.
40547 * signal/sigqueue.c: Likewise.
40548 * signal/sigreturn.c: Likewise.
40549 * signal/sigset.c: Likewise.
40550 * signal/sigsetmask.c: Likewise.
40551 * signal/sigstack.c: Likewise.
40552 * signal/sigsuspend.c: Likewise.
40553 * signal/sigtimedwait.c: Likewise.
40554 * signal/sigvec.c: Likewise.
40555 * signal/sigwait.c: Likewise.
40556 * signal/sigwaitinfo.c: Likewise.
40557 * signal/sysv_signal.c: Likewise.
40558 * socket/accept.c: Likewise.
40559 * socket/accept4.c: Likewise.
40560 * socket/bind.c: Likewise.
40561 * socket/connect.c: Likewise.
40562 * socket/getpeername.c: Likewise.
40563 * socket/getsockname.c: Likewise.
40564 * socket/getsockopt.c: Likewise.
40565 * socket/isfdtype.c: Likewise.
40566 * socket/listen.c: Likewise.
40567 * socket/recv.c: Likewise.
40568 * socket/recvfrom.c: Likewise.
40569 * socket/recvmsg.c: Likewise.
40570 * socket/send.c: Likewise.
40571 * socket/sendmsg.c: Likewise.
40572 * socket/sendto.c: Likewise.
40573 * socket/setsockopt.c: Likewise.
40574 * socket/shutdown.c: Likewise.
40575 * socket/sockatmark.c: Likewise.
40576 * socket/socket.c: Likewise.
40577 * socket/socketpair.c: Likewise.
40578 * stdio-common/ctermid.c: Likewise.
40579 * stdio-common/cuserid.c: Likewise.
40580 * stdio-common/remove.c: Likewise.
40581 * stdio-common/rename.c: Likewise.
40582 * stdio-common/renameat.c: Likewise.
40583 * stdio-common/tempname.c: Likewise.
40584 * stdlib/getcontext.c: Likewise.
40585 * stdlib/makecontext.c: Likewise.
40586 * stdlib/setcontext.c: Likewise.
40587 * stdlib/swapcontext.c: Likewise.
40588 * stdlib/system.c: Likewise.
40589 * streams/fattach.c: Likewise.
40590 * streams/fdetach.c: Likewise.
40591 * streams/getmsg.c: Likewise.
40592 * streams/getpmsg.c: Likewise.
40593 * streams/putmsg.c: Likewise.
40594 * streams/putpmsg.c: Likewise.
40595 * sysdeps/unix/bsd/getpt.c: Likewise.
40596 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40597 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40598 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40601 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40602 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40603 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40604 * sysvipc/msgctl.c: Likewise.
40605 * sysvipc/msgget.c: Likewise.
40606 * sysvipc/msgrcv.c: Likewise.
40607 * sysvipc/msgsnd.c: Likewise.
40608 * sysvipc/semctl.c: Likewise.
40609 * sysvipc/semget.c: Likewise.
40610 * sysvipc/semop.c: Likewise.
40611 * sysvipc/semtimedop.c: Likewise.
40612 * sysvipc/shmat.c: Likewise.
40613 * sysvipc/shmctl.c: Likewise.
40614 * sysvipc/shmdt.c: Likewise.
40615 * sysvipc/shmget.c: Likewise.
40616 * termios/tcdrain.c: Likewise.
40617 * termios/tcflow.c: Likewise.
40618 * termios/tcflush.c: Likewise.
40619 * termios/tcgetattr.c: Likewise.
40620 * termios/tcgetpgrp.c: Likewise.
40621 * termios/tcsendbrk.c: Likewise.
40622 * termios/tcsetattr.c: Likewise.
40623 * termios/tcsetpgrp.c: Likewise.
40624 * time/adjtime.c: Likewise.
40625 * time/clock.c: Likewise.
40626 * time/getitimer.c: Likewise.
40627 * time/gettimeofday.c: Likewise.
40628 * time/setitimer.c: Likewise.
40629 * time/settimeofday.c: Likewise.
40630 * time/stime.c: Likewise.
40631 * time/time.c: Likewise.
40633 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40635 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40638 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40640 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40642 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40646 FE_TONEAREST before applying Dekker multiplication and Knuth
40647 addition. Clear inexact exceptions and check for exact zero
40648 results afterwards.
40649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40650 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40652 * math/libm-test.inc (fma_test): Add more tests.
40653 (fma_test_towardzero): Likewise.
40654 (fma_test_downward): Likewise.
40655 (fma_test_upward): Likewise.
40656 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40658 (libc_fesetround): New macro.
40659 (libc_fesetroundf): Likewise.
40660 (libc_fesetroundl): Likewise.
40661 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40663 (libc_fesetround_387): Likewise.
40664 (libc_fesetroundf): New macro.
40665 (libc_fesetround): Likewise.
40666 (libc_fesetroundl): Likewise.
40667 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40669 (libc_fesetroundf): New macro.
40670 (libc_fesetround): Likewise.
40671 (libc_fesetroundl): Likewise.
40672 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40673 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40674 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40676 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40677 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40679 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40680 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40682 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40686 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40687 integer constant usable in #if and use that to give value to enum
40689 (FE_DIVBYZERO): Likewise.
40690 (FE_UNDERFLOW): Likewise.
40691 (FE_OVERFLOW): Likewise.
40692 (FE_INVALID): Likewise.
40693 (FE_INVALID_SNAN): Likewise.
40694 (FE_INVALID_ISI): Likewise.
40695 (FE_INVALID_IDI): Likewise.
40696 (FE_INVALID_ZDZ): Likewise.
40697 (FE_INVALID_IMZ): Likewise.
40698 (FE_INVALID_COMPARE): Likewise.
40699 (FE_INVALID_SOFTWARE): Likewise.
40700 (FE_INVALID_SQRT): Likewise.
40701 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40702 (FE_TONEAREST): Likewise.
40703 (FE_TOWARDZERO): Likewise.
40704 (FE_UPWARD): Likewise.
40705 (FE_DOWNWARD): Likewise.
40706 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40707 (FE_DIVBYZERO): Likewise.
40708 (FE_OVERFLOW): Likewise.
40709 (FE_UNDERFLOW): Likewise.
40710 (FE_INEXACT): Likewise.
40711 (FE_TONEAREST): Likewise.
40712 (FE_DOWNWARD): Likewise.
40713 (FE_UPWARD): Likewise.
40714 (FE_TOWARDZERO): Likewise.
40715 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40716 (FE_UNDERFLOW): Likewise.
40717 (FE_OVERFLOW): Likewise.
40718 (FE_DIVBYZERO): Likewise.
40719 (FE_INVALID): Likewise.
40720 (FE_TONEAREST): Likewise.
40721 (FE_TOWARDZERO): Likewise.
40722 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40723 (FE_OVERFLOW): Likewise.
40724 (FE_UNDERFLOW): Likewise.
40725 (FE_DIVBYZERO): Likewise.
40726 (FE_INEXACT): Likewise.
40727 (FE_TONEAREST): Likewise.
40728 (FE_TOWARDZERO): Likewise.
40729 (FE_UPWARD): Likewise.
40730 (FE_DOWNWARD): Likewise.
40731 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40732 (FE_DIVBYZERO): Likewise.
40733 (FE_OVERFLOW): Likewise.
40734 (FE_UNDERFLOW): Likewise.
40735 (FE_INEXACT): Likewise.
40736 (FE_TONEAREST): Likewise.
40737 (FE_DOWNWARD): Likewise.
40738 (FE_UPWARD): Likewise.
40739 (FE_TOWARDZERO): Likewise.
40741 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40743 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40745 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40747 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40748 commands. Quote $PWD.
40749 (blacklist_exports): Don't use remove_newlines. Replace "declare
40751 (remove_newlines): Remove.
40753 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40755 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40756 * stdlib/stdlib.h (atof): Moved to ...
40757 * include/bits/stdlib-float.h: Here. New file.
40758 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40759 * stdlib/bits/stdlib-float.h: New file.
40760 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40762 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40765 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40767 * conform/conformtest.pl (@headers): Add fenv.h.
40768 * conform/data/fenv.h-data: New file.
40769 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40770 include of <math/fenv.h>.
40772 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40773 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40774 && !UNIX98]. Enables tests for XOPEN2K8.
40775 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40776 POSIX2008]: Likewise.
40778 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40779 (struct rusage): Do not expect type or its members.
40782 * math/math.h (FP_NAN): Define macro to integer constant usable in
40783 #if and use that to give value to enum constant.
40784 (FP_INFINITE): Likewise.
40785 (FP_ZERO): Likewise.
40786 (FP_SUBNORMAL): Likewise.
40787 (FP_NORMAL): Likewise.
40789 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40791 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40792 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40795 2012-11-02 Roland McGrath <roland@hack.frob.com>
40797 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40798 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40799 autoconf-time if not.
40800 * configure.in: Remove AC_PREREQ.
40802 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40804 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40805 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40806 of the internal implementation.
40808 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40810 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40811 except include of <misc/sys/syslog.h>.
40813 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40816 function returns with a NULL context exit with zero.
40818 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40820 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40822 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40824 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40825 (run_program_cmd): This.
40826 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40827 (tst_langinfo): New variable. Use it.
40829 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40831 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40832 floating point opcodes.
40834 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40836 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40839 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40841 * sysdeps/mach/hurd/powerpc: Remove directory.
40842 * sysdeps/mach/powerpc: Likewise.
40844 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40846 * scripts/check-local-headers.sh: Ignore c++ headers.
40848 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40850 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40851 __libc_cleanup_region_start argument.
40853 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40858 x * y using scaling, not as x * y + z.
40859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40860 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40861 * math/libm-test.inc (fma_test): Add more tests.
40862 (fma_test_towardzero): Likewise.
40863 (fma_test_downward): Likewise.
40864 (fma_test_upward): Likewise.
40866 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40868 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40870 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40872 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40875 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40877 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40879 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40886 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40889 Fix the order of the list for glibc 2.17.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40893 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40897 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40901 for low part of x being zero before using __atanl (y).
40902 * math/libm-test.inc (atan2_test): Add another test.
40904 * manual/install.texi (Configuring and compiling): Document
40905 general use of test-wrapper and test-wrapper-env.
40906 * INSTALL: Regenerated.
40908 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40909 (__fma): Do not extract and scale down low bits on after-rounding
40910 systems when result rounded to normal precision would have normal
40912 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40913 (__fmal): Do not extract and scale down low bits on after-rounding
40914 systems when result rounded to normal precision would have normal
40916 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40917 (__fmal): Do not extract and scale down low bits on after-rounding
40918 systems when result rounded to normal precision would have normal
40920 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40922 (fma_test): Add more tests.
40923 (fma_test_towardzero): Likewise.
40924 (fma_test_downward): Likewise.
40925 (fma_test_upward): Likewise.
40927 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40929 * sysdeps/i386/tininess.h: Renamed to ...
40930 * sysdeps/x86/tininess.h: This.
40931 * sysdeps/x86_64/tininess.h: Removed.
40933 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40935 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40936 input. Use $(build-program-cmd).
40937 ($(objpfx)tst-array1-static.out): Likewise.
40938 ($(objpfx)tst-array2.out): Likewise.
40939 ($(objpfx)tst-array3.out): Likewise.
40940 ($(objpfx)tst-array4.out): Likewise.
40941 ($(objpfx)tst-array5.out): Likewise.
40942 ($(objpfx)tst-array5-static.out): Likewise.
40944 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40946 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40949 * nss/nsswitch.h (nss_interface_function): Provide new
40950 macro for use with NSS functions.
40951 * grp/initgroups.c: Use new macro.
40952 * nss/getXXbyYY.c: Likewise.
40953 * nss/getXXbyYY_r.c: Likewise.
40954 * nss/getXXent.c: Likewise.
40955 * nss/getXXent_r.c: Likewise.
40956 * sysdeps/posix/getaddrinfo.c: Likewise.
40958 2012-10-30 Andreas Jaeger <aj@suse.de>
40960 * po/ru.po: Update Russion translation from translation project.
40962 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40967 result and shift together with sticky bit instead of replicating
40968 round-to-nearest rounding.
40969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40971 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40972 missing underflow exceptions.
40973 (fma_test_towardzero): Add more tests.
40974 (fma_test_downward): Likewise.
40975 (fma_test_upward): Likewise.
40978 * sysdeps/generic/tininess.h: New file.
40979 * sysdeps/i386/tininess.h: Likewise.
40980 * sysdeps/sh/tininess.h: Likewise.
40981 * sysdeps/x86_64/tininess.h: Likewise.
40982 * stdlib/tst-strtod-underflow.c: Likewise.
40983 * stdlib/tst-tininess.c: Likewise.
40984 * stdlib/strtod_l.c: Include <tininess.h>.
40985 (round_and_return): Do not set errno for exact underflow cases.
40986 Force an underflow exception when setting errno for underflow.
40987 Determine underflow based on rounding to normal precision if
40988 TININESS_AFTER_ROUNDING.
40989 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40990 ERANGE for exact underflow cases.
40991 * stdlib/Makefile (tests): Add tst-tininess and
40992 tst-strtod-underflow.
40993 ($(objpfx)tst-tininess): Use $(link-libm).
40994 ($(objpfx)tst-strtod-underflow): Likewise.
40996 2012-10-30 Andreas Jaeger <aj@suse.de>
40999 * elf/Makefile (tests): Remove conditional for have-initfini-array
41000 since this is now always required and the variable does not exist
41002 (tests-static): Likewise.
41003 (modules-names): Likewise.
41005 * po/eo.po: Add Esperanto translation from translation project.
41007 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41008 merged with constructor/destructor.
41009 (init_array): Likewise.
41010 * elf/tst-array2dep.c (fini_array): Likewise.
41011 (init_array): Likewise.
41013 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41015 * manual/message.texi: Delete @cartouche tags.
41017 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41019 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41021 * sysdeps/mach/hurd/fsync.c: Likewise.
41023 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41024 [_POSIX_REALTIME_SIGNALS]: Change condition to
41025 [_POSIX_REALTIME_SIGNALS > 0].
41027 2012-10-27 Andreas Jaeger <aj@suse.de>
41029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41030 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41032 [__WORDSIZE != 64]: Likewise.
41034 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41036 * iconvdata/tst-table.sh: Remove ${SHELL}.
41037 * iconvdata/tst-tables.sh: Likewise.
41039 2012-10-25 David S. Miller <davem@davemloft.net>
41041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41042 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41048 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41049 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41052 2012-10-25 Roland McGrath <roland@hack.frob.com>
41054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41055 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41058 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41059 Jim Blandy <jimb@codesourcery.com>
41061 * scripts/cross-test-ssh.sh: New file.
41062 * manual/install.texi (Configuring and compiling): Document use of
41064 * INSTALL: Regenerated.
41066 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41068 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41071 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41073 * Makeconfig (run-program-prefix): Fix comment.
41075 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41076 Jim Blandy <jimb@codesourcery.com>
41078 * Makeconfig (test-wrapper): New variable,
41079 (test-wrapper-env): Likewise.
41080 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41081 (run-built-tests): Define to yes.
41082 (run-program-prefix): Use $(test-wrapper).
41083 (built-program-cmd): Likewise.
41084 * Rules (make-test-out): Use $(test-wrapper-env) and
41085 $(host-built-program-cmd).
41086 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41087 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41089 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41090 $(test-wrapper-env) to tst-rtld-load-self.sh.
41091 ($(objpfx)order2.out): Use $(test-wrapper).
41092 ($(objpfx)tst-initorder.out): Likewise.
41093 ($(objpfx)tst-initorder2.out): Likewise.
41094 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41095 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41096 (test_wrapper_env): New variable. Use it to run ld.so.
41097 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41098 Use it to run ld.so.
41099 (test_wrapper_env): Likewise.
41100 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41101 $(test-wrapper) to run-iconv-test.sh.
41102 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41103 (ICONV): Use $test_wrapper.
41104 * posix/Makefile ($(objpfx)globtest.out): Pass
41105 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41106 globtest.sh, not $(run-program-prefix).
41107 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41108 (test_wrapper): Likewise.
41109 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41110 set together with run_via_rtld_prefix.
41111 (run_program_prefix): Define in terms of test_wrapper and
41112 run_via_rtld_prefix.
41114 2012-10-24 Roland McGrath <roland@hack.frob.com>
41116 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41117 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41121 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41122 Declare __clock_getres, __clock_gettime, __clock_settime,
41123 __clock_nanosleep, and __clock_getcpuclockid.
41124 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41125 Remove librt_hidden_def (clock_gettime).
41126 * sysdeps/unix/clock_gettime.c: Likewise.
41127 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41128 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41129 * rt/clock_getres.c: Define __clock_getres as an alias.
41130 * sysdeps/posix/clock_getres.c: Likewise.
41131 * rt/clock_settime.c: Define __clock_settime as an alias.
41132 * sysdeps/unix/clock_settime.c: Likewise.
41133 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41134 * sysdeps/unix/clock_nanosleep.c: Likewise.
41135 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41136 * rt/clock-compat.c: New file.
41137 * rt/Makefile (librt-routines): Add clock-compat and move
41138 $(clock-routines) to ...
41139 (routines): ... here, new variable.
41140 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41141 Don't add get_clockfreq here.
41142 * rt/Versions (libc: GLIBC_2.17): New version set.
41143 Add clock_* symbols here.
41144 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41146 (GLIBC_2.17): Add clock_* symbols.
41147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41149 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41158 * NEWS: Mention the move.
41160 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41161 Use __open, __read, __close rather than their public counterparts.
41162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41163 (__get_clockfreq_via_cpuinfo): Likewise.
41164 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41165 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41167 * config.h.in (HAVE_IFUNC): New #undef.
41168 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41170 * configure: Regenerated.
41172 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41174 * configure.in: Move READELF check to start of file.
41175 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41176 libc_cv_asm_gnu_indirect_function in the process.
41177 * configure: Regenerated.
41179 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41181 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41182 send the output to /dev/null.
41183 (libc_cv_cc_with_libunwind): Likewise.
41184 (libc_cv_as_noexecstack): Likewise.
41185 * configure: Regenerate.
41187 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41189 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41191 * posix/globtest.sh (TMPDIR): Do not set.
41192 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41193 (testout): Likewise.
41195 2012-10-24 Andreas Jaeger <aj@suse.de>
41197 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41198 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41199 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41200 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41201 posix_fadvise64, posix_fallocate64.
41203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41204 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41205 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41207 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41209 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41212 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41213 <bits/fcntl-linux.h>.
41214 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41217 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41218 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41219 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41220 [__WORDSIZE != 64]: Likewise.
41222 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41224 * Makeconfig (run-built-tests): New variable.
41225 * Rules [$(cross-compiling) = yes]: Change condition to
41226 [$(run-built-tests) = no].
41227 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41228 to [$(run-built-tests) = yes].
41229 * elf/Makefile [$(cross-compiling) = no]: Likewise
41230 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41231 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41232 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41233 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41234 * io/Makefile [$(cross-compiling) = no]: Likewise.
41235 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41236 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41237 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41238 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41239 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41240 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41241 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41242 * string/Makefile [$(cross-compiling) = no]: Likewise.
41244 * posix/Makefile ($(objpfx)globtest.out): Pass
41245 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41246 $(rtld-installed-name).
41247 * posix/globtest.sh (elf_objpfx): Remove variable.
41248 (rtld_installed_name): Likewise.
41249 (library_path): Likewise.
41250 (run_program_prefix): New variable. Use for running globtest
41253 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41254 Joseph Myers <joseph@codesourcery.com>
41256 * Makeconfig (host-built-program-cmd): New variable.
41257 * elf/Makefile (tst-stackguard1-ARGS): Use
41258 $(host-built-program-cmd).
41259 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41260 (tst-spawn-ARGS): Likewise.
41261 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41263 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41264 Jim Blandy <jimb@codesourcery.com>
41266 * Makeconfig (run-via-rtld-prefix): New variable.
41267 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41268 (built-program-cmd): Likewise.
41270 2012-10-22 Andreas Jaeger <aj@suse.de>
41272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41273 __O_RSYNC if it exists, otherwise to O_SYNC.
41275 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41276 Joseph Myers <joseph@codesourcery.com>
41278 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41280 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41282 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41285 2012-10-22 Andreas Jaeger <aj@suse.de>
41287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41292 bits/fcntl-linux.h.
41294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41295 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41302 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41303 Joseph Myers <joseph@codesourcery.com>
41305 * config.make.in (NM): New variable.
41307 2012-10-21 Andreas Jaeger <aj@suse.de>
41309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41310 definitions and declarations that are provided by
41311 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41313 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41316 * elf/Makefile (tests-static): Add tst-leaks1-static.
41317 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41318 ($(objpfx)tst-leaks1-static): New rule.
41319 ($(objpfx)tst-leaks1-static-mem): Likewise.
41320 (tst-leaks1-static-ENV): New macro.
41321 * elf/dl-open.c (dl_open_worker): Check the main application
41322 only if SHARED is defined.
41323 * elf/tst-leaks1-static.c: New file.
41325 2012-10-20 Andreas Jaeger <aj@suse.de>
41327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41328 generic values for Linux.
41329 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41330 and declarations that are provided by <bits/fcntl-linux.h> and
41331 include <bits/fcntl-linux.h>.
41332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41335 2012-10-20 Roland McGrath <roland@hack.frob.com>
41337 * io/fcntl.h: Move include of <bits/types.h> to the top and
41338 include it unconditionally.
41340 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41342 * wcsmbs/Makefile (tests-ifunc): New variable.
41343 (tests): Add $(tests-ifunc).
41344 * wcsmbs/test-wcschr-ifunc.c: New file.
41345 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41346 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41347 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41348 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41349 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41351 * string/Makefile (tests-ifunc): New variable.
41352 (tests): Add $(tests-ifunc).
41353 * string/test-memccpy.c (TEST_NAME): New macro.
41354 * string/test-memchr.c (TEST_NAME): Likewise.
41355 * string/test-memcmp.c (TEST_NAME): Likewise.
41356 * string/test-memcpy.c (TEST_NAME): Likewise.
41357 * string/test-memmem.c (TEST_NAME): Likewise.
41358 * string/test-memmove.c (TEST_NAME): Likewise.
41359 * string/test-memset.c (TEST_NAME): Likewise.
41360 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41361 * string/test-stpcpy.c (TEST_NAME): Likewise.
41362 * string/test-stpncpy.c (TEST_NAME): Likewise.
41363 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41364 * string/test-strcasestr.c (TEST_NAME): Likewise.
41365 * string/test-strcat.c (TEST_NAME): Likewise.
41366 * string/test-strchr.c (TEST_NAME): Likewise.
41367 * string/test-strcmp.c(TEST_NAME): Likewise.
41368 * string/test-strcpy.c (TEST_NAME): Likewise.
41369 * string/test-strcspn.c (TEST_NAME): Likewise.
41370 * string/test-strlen.c (TEST_NAME): Likewise.
41371 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41372 * string/test-strncmp.c (TEST_NAME): Likewise.
41373 * string/test-strncpy.c (TEST_NAME): Likewise.
41374 * string/test-strnlen.c (TEST_NAME): Likewise.
41375 * string/test-strpbrk.c (TEST_NAME): Likewise.
41376 * string/test-strrchr.c (TEST_NAME): Likewise.
41377 * string/test-strspn.c (TEST_NAME): Likewise.
41378 * string/test-strstr.c (TEST_NAME): Likewise.
41379 * string/test-bcopy-ifunc.c: New file.
41380 * string/test-bzero-ifunc.c: Likewise.
41381 * string/test-memccpy-ifunc.c: Likewise.
41382 * string/test-memchr-ifunc.c: Likewise.
41383 * string/test-memcmp-ifunc.c: Likewise.
41384 * string/test-memcpy-ifunc.c: Likewise.
41385 * string/test-memmem-ifunc.c: Likewise.
41386 * string/test-memmove-ifunc.c: Likewise.
41387 * string/test-mempcpy-ifunc.c: Likewise.
41388 * string/test-memset-ifunc.c: Likewise.
41389 * string/test-rawmemchr-ifunc.c: Likewise.
41390 * string/test-stpcpy-ifunc.c: Likewise.
41391 * string/test-stpncpy-ifunc.c: Likewise.
41392 * string/test-strcasecmp-ifunc.c: Likewise.
41393 * string/test-strcasestr-ifunc.c: Likewise.
41394 * string/test-strcat-ifunc.c: Likewise.
41395 * string/test-strchr-ifunc.c: Likewise.
41396 * string/test-strchrnul-ifunc.c: Likewise.
41397 * string/test-strcmp-ifunc.c: Likewise.
41398 * string/test-strcpy-ifunc.c: Likewise.
41399 * string/test-strcspn-ifunc.c: Likewise.
41400 * string/test-strlen-ifunc.c: Likewise.
41401 * string/test-strncasecmp-ifunc.c: Likewise.
41402 * string/test-strncat-ifunc.c: Likewise.
41403 * string/test-strncmp-ifunc.c: Likewise.
41404 * string/test-strncpy-ifunc.c: Likewise.
41405 * string/test-strnlen-ifunc.c: Likewise.
41406 * string/test-strpbrk-ifunc.c: Likewise.
41407 * string/test-strrchr-ifunc.c: Likewise.
41408 * string/test-strspn-ifunc.c: Likewise.
41409 * string/test-strstr-ifunc.c: Likewise.
41411 * debug/Makefile (tests-ifunc): New variable.
41412 (tests): Add $(tests-ifunc).
41413 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41414 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41415 * debug/test-stpcpy_chk-ifunc.c: New file.
41416 * debug/test-strcpy_chk-ifunc.c: Likewise.
41418 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41421 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41422 header is not read in.
41424 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41426 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41427 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41428 directly. Pass built executable to script as
41429 $(built-program-cmd).
41430 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41431 $testprogram without using LD_LIBRARY_PATH and $ldso.
41433 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41434 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41435 $(rtld-installed-name).
41436 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41437 (rtld_installed_name): Likewise.
41438 (library_path): Likewise.
41439 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41440 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41441 $(run-program-prefix) to tst-tables.sh.
41442 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41443 it to run tst-table-from and tst-table-to.
41444 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41445 Pass it to tst-table.sh.
41446 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41447 $(run-program-prefix) to tst-gettext.sh.
41448 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41450 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41452 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41453 to run tst-gettext.
41454 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41455 to run tst-gettext2.
41456 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41457 to run tst-translit.
41458 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41459 $(run-program-prefix) to tst-mtrace.sh.
41460 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41462 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41463 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41464 $(rtld-installed-name).
41465 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41466 (rtld_installed_name): Likewise.
41467 (run_program_prefix): New variable. Use it to run wordexp-test.
41469 * Makeconfig (ARCH): Remove all definitions.
41470 (machine): Likewise.
41471 [ARCH]: Remove conditional code.
41472 [!objdir]: Give error.
41473 [!objdir] (objpfx): Remove.
41474 [!objdir] (common-objpfx): Likewise.
41475 [!objdir] (common-objdir): Likewise.
41476 * configure.in (config_makefile): Remove. Hardcode Makefile in
41477 AC_CONFIG_FILES call.
41478 * configure: Regenerated.
41481 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41483 (testout): Likewise.
41485 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41486 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41487 $(rtld-installed-name).
41488 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41489 (rtld_installed_name): Likwise.
41490 (runit): Remove function.
41491 (run_getconf): New variable, Use it for running getconf binary.
41493 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41496 * string/test-memmem.c (check_result): New function.
41497 (do_one_test): Use it.
41498 (check1): New function.
41499 (test_main): Use it.
41501 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41503 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41505 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41507 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41508 (_G_LSEEK64): Likewise.
41509 (_G_MMAP64): Likewise.
41510 (_G_FSTAT64): Likewise.
41511 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41512 (_G_LSEEK64): Likewise.
41513 (_G_MMAP64): Likewise.
41514 (_G_FSTAT64): Likewise.
41515 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41516 unconditional. Call __mmap64 directly.
41517 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41518 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41519 __lseek64 directly.
41520 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41521 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41523 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41524 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41525 __lseek64 directly.
41526 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41527 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41528 __lseek64 directly.
41529 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41530 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41531 __lseek64 directly.
41532 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41533 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41534 __fxstat64 directly.
41535 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41536 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41538 (freopen64) [!_G_OPEN64]: Remove conditional code.
41539 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41541 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41542 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41544 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41545 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41547 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41548 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41550 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41551 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41553 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41554 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41556 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41557 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41559 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41561 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41564 * manual/memory.texi (Malloc Tunable Parameters): Add note
41565 about free list pointers overwriting some perturb bytes.
41566 Wording suggested by Roland McGrath.
41568 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41570 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41571 (lgamma_test): Likewise.
41572 (tgamma_test): Likewise.
41574 2012-10-16 Florian Weimer <fweimer@redhat.com>
41577 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41578 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41580 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41582 * NEWS: Mention BZ #14716.
41583 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41584 when removing AVAILABLE1_USES_J macro.
41586 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41588 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41589 (__bswap_64): __uint64_t for unsigned 64-bit int.
41591 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41593 * include/string.h (memmem): Declare libc hidden alias.
41594 * string/memmem.c (memmem): Define libc hidden alias.
41595 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41596 __read, __close instead of open, read, close.
41598 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41601 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41603 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41604 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41605 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41607 (__rawmemchr_sse2): Likewise.
41608 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41609 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41610 (__strchr_sse2): Likewise.
41611 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41612 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41613 (__strcasecmp_sse2): Likewise.
41614 (__strncasecmp_sse2): Likewise.
41615 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41616 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41617 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41618 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41619 (__strrchr_sse2): Likewise.
41620 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41622 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41623 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41624 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41625 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41626 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41627 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41628 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41629 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41630 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41631 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41632 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41633 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41634 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41635 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41636 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41637 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41638 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41639 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41640 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41641 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41642 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41643 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41644 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41645 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41646 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41647 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41648 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41649 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41650 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41651 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41653 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41655 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41656 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41657 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41658 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41660 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41662 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41663 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41664 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41665 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41667 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41668 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41669 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41670 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41671 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41672 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41673 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41674 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41675 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41676 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41677 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41678 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41679 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41680 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41681 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41682 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41683 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41684 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41685 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41686 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41687 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41688 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41689 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41690 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41691 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41692 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41693 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41694 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41695 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41696 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41697 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41698 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41699 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41700 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41701 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41702 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41703 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41704 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41705 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41706 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41707 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41709 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41710 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41711 * include/ifunc-impl-list.h: New file.
41712 * misc/ifunc-impl-list.c: Likewise.
41713 * misc/Makefile (routines): Add ifunc-impl-list.
41714 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41715 * string/test-string.h: Include <ifunc-impl-list.h>.
41716 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41717 TEST_NAME]: New variables.
41718 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41720 (test_init): Call __libc_ifunc_impl_list to initialize
41721 func_list if TEST_IFUNC and TEST_NAME are defined.
41723 * string/Makefile (strop-tests): Add bcopy and bzero.
41724 * string/test-bcopy.c: New file.
41725 * string/test-bzero.c: Likewise.
41726 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41728 * string/test-memset.c: Support bzero test if TEST_BZERO is
41730 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41732 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41734 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41737 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41739 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41740 * configure: Regenerated.
41742 * Makeconfig (+link-static-before-libc): Don't include
41743 $(link-static-libc).
41745 * libio/libio.h (_IO_pos_t): Remove.
41747 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41749 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41752 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41754 * crypt/crypt-entry.c: Include fips-private.h.
41755 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41756 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41757 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41758 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41760 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41762 * crypt/crypt-private.h: Include stdbool.h.
41763 (_ufc_setup_salt_r): Return bool.
41764 * crypt/crypt-entry.c: Include errno.h.
41765 (__crypt_r): Return NULL with EINVAL for bad salt.
41766 * crypt/crypt_util.c (bad_for_salt): New.
41767 (_ufc_setup_salt_r): Check that salt is long enough and within
41768 the specified alphabet.
41769 * crypt/badsalttest.c: New file.
41770 * crypt/Makefile (tests): Add it.
41771 ($(objpfx)badsalttest): New.
41773 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41775 * NEWS: Add entry for BZ #14602.
41777 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41779 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41781 * math/libm-test.inc: Update comment listing what functions and
41783 (isgreater_test): New function.
41784 (isgreaterequal_test): Likewise.
41785 (isless_test): Likewise.
41786 (islessequal_test): Likewise.
41787 (islessgreater_test): Likewise.
41788 (isunordered_test): Likewise.
41789 (main): Call the new functions.
41791 2012-10-09 Roland McGrath <roland@hack.frob.com>
41793 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41794 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41795 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41796 * sysdeps/i386/configure: Regenerated.
41797 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41798 * sysdeps/mach/configure: Regenerated.
41799 * sysdeps/mach/hurd/configure: Regenerated.
41800 * sysdeps/powerpc/configure: Regenerated.
41801 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41802 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41803 * sysdeps/s390/s390-32/configure: Regenerated.
41804 * sysdeps/s390/s390-64/configure: Regenerated.
41805 * sysdeps/sh/configure: Regenerated.
41806 * sysdeps/sparc/configure: Regenerated.
41807 * sysdeps/unix/sysv/linux/configure: Regenerated.
41808 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41809 * sysdeps/x86_64/configure: Regenerated.
41811 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41812 defined. Don't check if MAP is NULL.
41814 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41816 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41817 (_G_stat64): Likewise.
41818 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41819 (_G_stat64): Likewise.
41820 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41821 instead of struct _G_stat64.
41822 * libio/fileops.c (mmap_remap_check): Likewise.
41823 (decide_maybe_mmap): Likewise.
41824 (_IO_new_file_seekoff): Likewise.
41825 (_IO_file_stat): Likewise.
41826 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41828 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41829 instead of struct _G_stat64.
41830 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41832 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41835 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41837 (CHECK_EOL): New macro.
41838 (two_way_short_needle): Check beginning of haystack for EOL. Use
41840 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41841 Replace with CHECK_EOL.
41842 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41843 Replace with CHECK_EOL.
41845 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41847 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41849 * math/libm-test.inc: Update comment listing what functions and
41851 (finite_test): New function.
41852 (isinf_test): Likewise.
41853 (isnan_test): Likewise.
41854 (fpclassify_test): Test subnormal input.
41855 (isfinite_test): Likewise.
41856 (isnormal_test): Likewise.
41857 (main): Call the new functions.
41859 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41862 * Makerules (%.dynsym): Force C locale when running
41863 $(OBJDUMP) --dynamic-syms.
41865 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41867 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41870 2012-10-06 David S. Miller <davem@davemloft.net>
41872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41873 upper 32-bits of the length value in %o2 since we use branch-on-register
41874 tests which consider the entire 64-bit register.
41876 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41878 * string/test-strstr.c (check2): Add a test for page boundary.
41880 2012-10-05 David S. Miller <davem@davemloft.net>
41882 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41883 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41885 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41888 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41889 and bzero when HWCAP_SPARC_CRYPTO is present.
41891 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41894 * string/test-strstr.c (check2): New function.
41895 (test_main): Call check2.
41897 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41899 * string/bug-strcasestr1.c (do_test): Moved to ...
41900 * string/test-strcasestr.c (check1): Here. New function.
41901 (do_one_test): Break out result checking code into ...
41902 (check_result): This. New function.
41903 (do_one_test): Call check_result.
41904 (test_main): Call check1.
41905 * string/bug-strchr1.c (do_test): Moved to ...
41906 * string/test-strchr.c (check1): Here. New function.
41907 (do_one_test): Break out result checking code into ...
41908 (check_result): This. New function.
41909 (do_one_test): Call check_result.
41910 (test_main): Call check1.
41911 * string/bug-strstr1.c (main): Moved to ...
41912 * string/test-strstr.c (check1): Here. New function.
41913 (do_one_test): Break out result checking code into ...
41914 (check_result): This. New function.
41915 (do_one_test): Call check_result.
41916 (test_main): Call check1.
41917 * string/bug-strcasestr1.c: Removed.
41918 * string/bug-strchr1.c: Likewise.
41919 * string/bug-strstr1.c: Likewise.
41921 * elf/Makefile (dl-routines): Add hwcaps.
41922 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41923 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41924 (_dl_important_hwcaps): Moved to ...
41925 * elf/dl-hwcaps.c: Here. New file.
41926 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41929 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41930 if IS_IN_rtld isn't defined.
41932 * elf/dl-support.c (_dl_sysinfo_map): New.
41933 Include "get-dynamic-info.h" and "setup-vdso.h".
41934 (_dl_non_dynamic_init): Call setup_vdso.
41935 * elf/dynamic-link.h: Don't include <assert.h>.
41936 (elf_get_dynamic_info): Moved to ...
41937 * elf/get-dynamic-info.h: Here. New file.
41938 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41939 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41940 * elf/setup-vdso.h: Here. New file.
41941 * elf/rtld.c: Include "setup-vdso.h".
41942 (dl_main): Call setup_vdso.
41944 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41946 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41947 creal in comment listing functions tested. List finite, isinf,
41948 isnan, isless, islessequal, isgreater, isgreaterequal,
41949 islessgreater, isunordered, lgamma_r and pow10 as functions and
41950 macros not tested. Mention which functions not tested are aliases
41951 for other functions. Fix typo. Note that signs of NaNs are not
41954 * scripts/config.guess: Update from config.git.
41955 * scripts/config.sub: Likewise.
41957 2012-10-04 Roland McGrath <roland@hack.frob.com>
41959 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41960 * misc/madvise.c (madvise): Renamed to __madvise.
41961 Make madvise a weak alias.
41962 * include/sys/mman.h: Declare __madvise.
41963 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41964 * sysdeps/unix/syscalls.list
41965 (madvise): Make __madvise the strong name, and madvise a weak alias.
41966 * sysdeps/unix/sysv/linux/syscalls.list
41967 (madvise, mmap): Remove redundant entries.
41968 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41969 * malloc/malloc.c (mtrim): Likewise.
41970 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41972 2012-10-03 Roland McGrath <roland@hack.frob.com>
41974 * sysdeps/mach/hurd/dl-cache.c: File removed.
41975 * config.h.in (USE_LDCONFIG): New #undef.
41976 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41977 * configure: Regenerated.
41978 * elf/Makefile (dl-routines): Add dl-cache only under
41979 [$(use-ldconfig) = yes].
41980 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41981 cache on [USE_LDCONFIG].
41982 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41984 * elf/rtld.c (dl_main): Likewise.
41986 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41988 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41989 _SC_LEVEL4_CACHE_LINESIZE.
41991 2012-10-03 Roland McGrath <roland@hack.frob.com>
41993 * sysdeps/unix/bsd/confstr.h: File removed.
41995 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41997 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42000 2012-10-02 Roland McGrath <roland@hack.frob.com>
42002 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42003 Make 'mapoff' field ElfW(Off) rather than off_t.
42005 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42007 * nscd/Makefile: Remove nscd-cflags and all its users.
42008 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42009 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42012 * malloc.c (malloc_printerr): Clarify error message.
42014 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42018 Set bit_FMA_Usable if FMA is supported.
42019 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42021 (bit_FMA4_Usable): Updated.
42022 (index_FMA_Usable): New macro.
42023 (CPUID_FMA): Likewise
42024 (HAS_FMA): Defined with bit_FMA_Usable.
42026 2012-10-01 Roland McGrath <roland@hack.frob.com>
42028 * bits/types.h (__swblk_t): Type removed.
42029 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42030 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42032 (__SWBLK_T_TYPE): Likewise.
42033 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42034 (__SWBLK_T_TYPE): Likewise.
42035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42036 (__SWBLK_T_TYPE): Likewise.
42037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42038 (__SWBLK_T_TYPE): Likewise.
42040 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42041 Honza Horak <hhorak@redhat.com>
42043 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42044 (xdr_mapname): Use YPMAXMAP as maxsize.
42045 (xdr_peername): Use YPMAXPEER as maxsize.
42046 (xdr_keydat): Use YPAXRECORD as maxsize.
42047 (xdr_valdat): Use YPMAXRECORD as maxsize.
42049 2012-10-01 Roland McGrath <roland@hack.frob.com>
42051 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42053 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42054 * csu/init-first.c: ... here.
42055 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42056 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42057 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42058 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42059 * sysdeps/i386/init-first.c: File removed.
42060 * sysdeps/sh/init-first.c: File removed.
42062 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42066 if x * y might underflow to zero and z is zero.
42067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42069 * math/libm-test.inc (min_subnorm_value): New variable.
42070 (fma_test): Add more tests.
42071 (fma_test_towardzero): Likewise.
42072 (fma_test_downward): Likewise
42073 (fma_test_upward): Likewise.
42074 (initialize): Set min_subnorm_value.
42076 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42081 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42082 mode for addition resulting in exact zero.
42083 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42086 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42088 * math/libm-test.inc (fma_test): Add more tests.
42089 (fma_test_towardzero): New function.
42090 (fma_test_downward): Likewise.
42091 (fma_test_upward): Likewise.
42092 (main): Call the new functions.
42094 2012-09-28 David S. Miller <davem@davemloft.net>
42096 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42098 2012-09-28 Roland McGrath <roland@hack.frob.com>
42100 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42101 instead of SIGALRM.
42103 * sysdeps/gnu/_G_config.h: Moved to ...
42104 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42105 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42106 * sysdeps/generic/_G_config.h: ... here.
42108 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42110 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42112 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42113 Conditionalize target on [libnss_test1.so-version].
42115 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42117 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42118 (elfobjdir): Move out of conditionals.
42120 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42121 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42122 (__nss_lookup_function): Conditionalize label remove_from_tree on
42123 [!DO_STATIC_NSS || SHARED], matching its only use.
42125 2012-09-28 David S. Miller <davem@davemloft.net>
42127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42128 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42130 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42132 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42134 when HWCAP_SPARC_CRYPTO is present.
42136 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42138 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42140 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42143 * stdio-common/vfprintf.c (process_string_arg): Revert
42146 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42148 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42150 * stdio-common/tst-sprintf.c: Include <locale.h>
42151 (main): Test sprintf's handling of incomplete multibyte
42154 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42156 * elf/dl-runtime.c (VERSYMIDX): Removed.
42157 * elf/dl-version.c (VERSYMIDX): Likewise.
42158 * elf/do-rel.h (VERSYMIDX): Likewise.
42159 (VALIDX): Likewise.
42160 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42161 * elf/rtld.c (VALIDX): Likewise.
42162 (ADDRIDX): Likewise.
42163 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42164 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42165 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42166 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42167 (VALIDX): Likewise.
42168 (ADDRIDX): Likewise.
42170 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42172 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42174 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42177 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42179 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42180 addresses are in the same scope as 192.0.2/24.
42181 * posix/gai.conf: Document new scope table defaults.
42183 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42186 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42187 for ftell. Compute offsets from write pointers instead.
42188 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42190 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42193 * libio/Makefile (tests): New test case tst-fseek.
42194 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42195 combination works in wide mode.
42196 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42197 state when the external buffer state changes.
42199 2012-09-27 David S. Miller <davem@davemloft.net>
42202 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42203 pass reloc->r_addend in as the 'high' argument to
42204 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42208 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42210 * rt/tst-aio2.c: Include <pthread.h>.
42211 * rt/tst-aio3.c: Likewise.
42213 2012-09-27 Steve Ellcey <sellcey@mips.com>
42215 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42217 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42219 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42220 contents on [SHARED].
42222 2012-09-26 Marek Polacek <polacek@redhat.com>
42226 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42227 for C++ and GCC <4.3 as well as for non GCC compilers.
42229 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42233 2012-09-25 Roland McGrath <roland@hack.frob.com>
42235 * Makefile.in (all, install): Declare with .PHONY.
42236 Reported by Michael Hope <michael.hope@linaro.org>.
42238 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42240 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42241 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42243 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42245 (sydep_routines): Add the new and the internal functions.
42246 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42247 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42249 (GLIBC_2.17): Add the new function.
42250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42251 (GLIBC_2.17): Likewise.
42252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42253 (GLIBC_2.17): Likewise.
42254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42255 (GLIBC_2.17): Likewise.
42256 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42258 2012-09-25 Alan Modra <amodra@gmail.com>
42260 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42261 Add release barrier before setting once_control to say
42262 initialisation is done. Add hints on lwarx. Use macro in
42264 (clear_once_control): Add release barrier.
42266 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42269 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42271 * math/s_clog10.c (__clog10): Likewise.
42272 * math/s_clog10f.c (__clog10f): Likewise.
42273 * math/s_clog10l.c (__clog10l): Likewise.
42274 * math/s_clogf.c (__clogf): Likewise.
42275 * math/s_clogl.c (__clogl): Likewise.
42276 * math/Makefile (libm-calls): Add x2y2m1.
42277 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42278 (__x2y2m1): Likewise.
42279 (__x2y2m1l): Likewise.
42280 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42281 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42282 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42283 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42284 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42285 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42286 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42287 * sysdeps/i386/fpu/libm-test-ulps: Update.
42288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42291 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42292 int as type of variable DEPTH.
42293 (glob): Use size_t instead of int as type of variables NEWCOUNT
42296 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42298 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42299 Add s_sincosf-sse2.
42300 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42301 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42302 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42303 macros for using routine as __sincosf_ia32.
42304 Use macro for function declaration and weak_alias.
42305 * sysdeps/i386/fpu/libm-test-ulps: Update.
42307 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42310 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42311 subnormal argument.
42312 * math/s_cexpf.c (__cexpf): Likewise.
42313 * math/s_csinf.c (__csinf): Likewise.
42314 * math/s_csinhf.c (__csinhf): Likewise.
42315 * math/s_ctanf.c (__ctanf): Likewise.
42316 * math/s_ctanhf.c (__ctanhf): Likewise.
42317 * math/s_ccosh.c (__ccoshf): Likewise.
42318 * math/s_cexp.c (__cexpl): Likewise.
42319 * math/s_csin.c (__csin): Likewise.
42320 * math/s_csinh.c (__csinh): Likewise.
42321 * math/s_ctan.c (__ctan): Likewise.
42322 * math/s_ctanh.c (ctanh): Likewise.
42323 * math/s_ccoshl.c (__ccoshl): Likewise.
42324 * math/s_cexpl.c (__cexpl): Likewise.
42325 * math/s_csinl.c (__csinl): Likewise.
42326 * math/s_csinhl.c (__csinhl): Likewise.
42327 * math/s_ctanl.c (__ctanl): Likewise.
42328 * math/s_ctanhl.c (__ctanhl): Likewise.
42330 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42332 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42333 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42334 (_IO_off_t): Define to __off_t, not _G_off_t.
42335 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42336 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42337 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42338 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42339 type of __dummy and __dummy2 fields.
42340 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42341 (_G_ssize_t): Likewise.
42342 (_G_off_t): Likewise.
42343 (_G_pid_t): Likewise.
42344 (_G_uid_t): Likewise.
42345 (_G_wchar_t): Likewise.
42346 (_G_wint_t): Likewise.
42347 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42348 (_G_ssize_t): Likewise.
42349 (_G_off_t): Likewise.
42350 (_G_pid_t): Likewise.
42351 (_G_uid_t): Likewise.
42352 (_G_wchar_t): Likewise.
42353 (_G_wint_t): Likewise.
42354 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42355 (_G_ssize_t): Likewise.
42356 (_G_off_t): Likewise.
42357 (_G_pid_t): Likewise.
42358 (_G_uid_t): Likewise.
42359 (_G_wchar_t): Likewise.
42360 (_G_wint_t): Likewise.
42362 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42364 * malloc/arena.c: Include malloc-sysdep.h.
42365 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42366 is sufficient to shrink the heap or an unmap is needed.
42367 * sysdeps/generic/malloc-sysdep.h: New file. Define
42368 new function check_may_shrink_heap.
42369 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42370 new function check_may_shrink_heap.
42372 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42374 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42377 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42379 * catgets/test-gencat.sh: Add "set -e".
42380 * elf/tst-pathopt.sh: Likewise.
42381 * grp/tst_fgetgrent.sh: Likewise.
42382 * iconvdata/run-iconv-test.sh: Likewise.
42383 * intl/tst-gettext.sh: Likewise.
42384 * intl/tst-gettext2.sh: Likewise.
42385 * intl/tst-gettext4.sh: Likewise.
42386 * intl/tst-gettext6.sh: Likewise.
42387 * intl/tst-translit.sh: Likewise.
42388 * io/ftwtest-sh: Likewise.
42389 * libio/test-freopen.sh: Likewise.
42390 * malloc/tst-mtrace.sh: Likewise.
42391 * posix/globtest.sh: Likewise.
42392 * posix/tst-getconf.sh: Likewise.
42393 * posix/wordexp-tst.sh: Likewise.
42394 * stdio-common/tst-printf.sh: Likewise.
42395 * stdio-common/tst-unbputc.sh: Likewise.
42396 * stdlib/tst-fmtmsg.sh: Likewise.
42397 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42398 * catgets/Makefile: Do not specify -e option when running
42399 testsuite shell scripts.
42400 * elf/Makefile: Likewise.
42401 * grp/Makefile: Likewise.
42402 * iconvdata/Makefile: Likewise.
42403 * intl/Makefile: Likewise.
42404 * io/Makefile: Likewise.
42405 * libio/Makefile: Likewise.
42406 * malloc/Makefile: Likewise.
42407 * posix/Makefile: Likewise.
42408 * stdio-common/Makefile: Likewise.
42409 * stdlib/Makefile: Likewise.
42410 * sysdeps/x86_64/Makefile: Likewise.
42412 * io/ftwtest-sh: Add copyright header.
42413 * posix/globtest.sh: Likewise.
42414 * posix/tst-getconf.sh: Likewise.
42415 * posix/wordexp-tst.sh: Likewise.
42416 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42418 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42421 * Makeconfig (+link): Defined as $(+link-static) if
42422 $(build-shared) isn't yes.
42423 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42425 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42427 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42430 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42431 new chunk size with MALLOC_ALIGN_MASK.
42433 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42436 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42438 (__printf_fphex): Determine rounding using get_rounding_mode and
42440 * stdio-common/tst-printf-round.c (struct hex_test): New
42442 (hex_tests): New variable.
42443 (test_hex_in_one_mode): New function.
42444 (do_test): Also run tests for hex float output.
42446 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42448 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42449 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42450 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42451 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42452 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42453 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42454 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42455 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42457 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42459 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42460 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42461 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42462 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42464 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42467 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42469 * elf/tst-rtld-load-self.sh: New test.
42470 * elf/Makefile: Run it.
42472 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42474 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42475 (tst-writev-ENV): Remove.
42476 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42478 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42480 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42482 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42484 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42486 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42488 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42489 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42490 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42493 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42496 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42497 * config.make.in (have-cpp-asm-debuginfo): Removed.
42498 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42499 * configure: Regenerated.
42501 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42504 * stdio-common/printf_fp.c: Include <stdbool.h> and
42506 (___printf_fp): Determine rounding using get_rounding_mode and
42508 * stdio-common/tst-printf-round.c: New file.
42509 * stdio-common/Makefile (tests): Add tst-printf-round.
42510 (link-libm): New variable.
42511 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42513 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42516 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42517 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42519 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42522 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42524 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42525 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42526 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42527 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42529 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42532 * include/rounding-mode.h: New file.
42533 * sysdeps/generic/get-rounding-mode.h: Likewise.
42534 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42535 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42536 (MAX_VALUE): New macro.
42537 (MIN_VALUE): Likewise.
42538 (overflow_value): New function.
42539 (underflow_value): Likewise.
42540 (round_and_return): Use overflow_value and underflow_value to
42541 determine return values in overflow and underflow cases. Use
42542 round_away to determine rounding depending on rounding mode.
42543 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42544 determine return values in overflow and underflow cases.
42545 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42546 (struct test_results): New structure.
42547 (struct test): Use struct test_results to store expected results
42548 for all rounding modes.
42549 (TEST): Include expected results for all rounding modes.
42550 (test_in_one_mode): New function.
42551 (do_test): Use test_in_one_mode to compute and check results.
42552 Check results for all rounding modes.
42553 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42556 2012-12-09 Allan McRae <allan@archlinux.org>
42558 * sysdeps/i386/fpu/libm-test-ulps: Update
42560 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42562 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42563 (_G_int32_t): Likewise.
42564 (_G_uint16_t): Likewise.
42565 (_G_uint32_t): Likewise.
42566 (_G_HAVE_BOOL): Likewise.
42567 (_G_HAVE_ATEXIT): Likewise.
42568 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42569 (_G_HAVE_IO_FILE_OPEN): Likewise.
42570 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42571 (_G_int32_t): Likewise.
42572 (_G_uint16_t): Likewise.
42573 (_G_uint32_t): Likewise.
42574 (_G_HAVE_BOOL): Likewise.
42575 (_G_HAVE_ATEXIT): Likewise.
42576 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42577 (_G_HAVE_IO_FILE_OPEN): Likewise.
42578 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42579 (_G_int32_t): Likewise.
42580 (_G_uint16_t): Likewise.
42581 (_G_uint32_t): Likewise.
42582 (_G_HAVE_BOOL): Likewise.
42583 (_G_HAVE_ATEXIT): Likewise.
42584 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42585 (_G_HAVE_IO_FILE_OPEN): Likewise.
42587 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42589 * csu/libc-tls.c: Update copyright years.
42591 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42593 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42594 [!_G_USING_THUNKS]: Remove conditional code.
42595 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42596 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42598 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42599 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42600 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42601 (_G_VTABLE_LABEL_PREFIX): Likewise.
42602 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42603 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42604 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42605 (_G_VTABLE_LABEL_PREFIX): Likewise.
42606 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42607 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42608 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42609 (_G_VTABLE_LABEL_PREFIX): Likewise.
42610 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42612 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42614 * libio/Makefile: Include ../Makeconfig before tests.
42615 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42616 only if $(build-shared) is yes.
42618 * iconv/gconv_db.c: Update copyright years.
42620 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42622 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42623 unwind info if defined PIC. Fix special cases description.
42624 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42626 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42628 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42630 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42632 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42634 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42637 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42638 (LDLIBS-tst-chk4): This.
42639 (LDFLAGS-tst-chk5): Renamed to ...
42640 (LDLIBS-tst-chk5): This.
42641 (LDFLAGS-tst-chk6): Renamed to ...
42642 (LDLIBS-tst-chk6): This.
42643 (LDFLAGS-tst-lfschk4): Renamed to ...
42644 (LDLIBS-tst-lfschk4): This.
42645 (LDFLAGS-tst-lfschk5): Renamed to ...
42646 (LDLIBS-tst-lfschk5): This.
42647 (LDFLAGS-tst-lfschk6): Renamed to ...
42648 (LDLIBS-tst-lfschk6): This.
42650 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42651 on $(common-objpfx)soversions.mk.
42653 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42656 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42659 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42661 * malloc/arena.c (arena_get_retry): New function that gets
42662 another arena for the caller to try its request on.
42663 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42664 current arena cannot fulfill the request.
42665 (__libc_memalign): Likewise.
42666 (__libc_memalign): Likewise.
42667 (__libc_pvalloc): Likewise.
42668 (__libc_calloc): Likewise.
42670 2012-09-05 John Tobey <john.tobey@gmail.com>
42673 * manual/arith.texi (Operations on Complex): Fix description
42674 of carg branch cut.
42676 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42679 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42683 * manual/memory.texi (Memory): Make order of menu items match
42686 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42688 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42689 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42690 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42692 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42694 * csu/libc-tls.c (static_dtv): Renamed to ...
42695 (_dl_static_dtv): This. Make it global.
42696 (_dl_initial_dtv): Removed.
42697 (__libc_setup_tls): Updated.
42698 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42699 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42702 2012-09-06 Petr Machata <pmachata@redhat.com>
42704 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42705 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42706 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42707 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42709 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42712 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42713 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42716 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42719 * Makeconfig (link-static-before-libc): Replace $(+prector)
42721 (link-static-after-libc): Replace $(+postctor) with
42723 (link-bounded): Replace $(+prector)/$(+postctor) with
42724 $(+prectorT)/$(+postctorT).
42725 (+prectorT): New macro.
42726 (+postctorT): Likewise.
42728 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42730 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42731 (round_str): Handle values above the maximum for IBM long double
42733 * stdlib/tst-strtod-round.c (tests): Regenerated.
42735 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42737 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42739 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42740 zarch_nohighgprs around the zarch optimized routines.
42741 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42742 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42743 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42746 2012-09-05 David S. Miller <davem@davemloft.net>
42748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42750 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42751 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42752 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42753 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42756 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42758 * malloc/arena.c: Fold copyright years.
42759 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42761 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42763 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42765 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42767 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42769 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42771 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42772 change internal state upon failure.
42774 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42776 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42777 * malloc/memusage.c (mmap): Likewise.
42778 (mmap64, mremap): Likewise. Adjust name in comment.
42780 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42782 * libio/fileops.c: Fix typos in comments.
42783 * libio/oldfileops.c: Likewise.
42784 * libio/wfileops.c: Likewise.
42786 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42789 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42790 (tst-malloc-usable-ENV): Set environment for test case.
42791 * malloc/hooks.c (malloc_check_get_size): New function to get
42793 * malloc/malloc.c (musable): Use malloc_check_get_size.
42794 * malloc/tst-malloc-usable.c: New test case.
42796 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42798 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42800 2012-09-05 Allan McRae <allan@archlinux.org>
42803 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42804 determine header location.
42805 * configure: Regenerated.
42807 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42809 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42811 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42812 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42814 (test): Regenerate.
42816 2012-09-04 David S. Miller <davem@davemloft.net>
42818 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42819 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42820 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42822 2012-09-04 Florian Weimer <fweimer@redhat.com>
42824 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42827 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42829 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42832 * libio/iogetdelim.c: Include <limits.h>.
42833 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42834 + len + 1 would overflow.
42836 2012-09-03 Andreas Jaeger <aj@suse.de>
42838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42839 * sysdeps/i386/fpu/libm-test-ulps: Update.
42841 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42843 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42844 Add s_sinf-sse2, s_conf-sse2.
42846 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42847 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42848 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42849 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42851 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42852 for using routine as __sinf_ia32.
42853 Use macro for function declaration and weak_alias.
42854 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42855 for using routine as __cosf_ia32.
42856 Use macro for function declaration and weak_alias.
42858 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42859 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42861 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42862 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42865 * math/libm-test.inc (cos_test): Add more test cases.
42866 (sin_test): Likewise.
42867 (sincos_test): Likewise.
42869 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42871 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42872 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42874 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42876 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42879 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42880 first element of the GOT.
42881 (elf_machine_load_address): Return the difference between
42882 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42884 2012-09-01 Allan McRae <allan@archlinux.org>
42887 * configure.in (AWK): Require gawk version 3.0 or later.
42888 * configure: Regenerated.
42890 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42892 * sysdeps/unix/sysv/linux/kernel-features.h
42893 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42895 [__NR_clock_getres]: Make code unconditional.
42896 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42897 (clock_getcpuclockid): Remove code left unreachable by removal of
42899 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42900 code unconditional.
42901 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42902 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42903 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42904 Make code unconditional.
42905 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42906 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42907 * sysdeps/unix/sysv/linux/clock_settime.c
42908 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42910 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42911 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42913 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42916 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42917 scripts/test-installation.pl.
42919 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42920 and $ld_so_version if it is set.
42922 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42925 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42926 failure if reading from procfs failed.
42927 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42929 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42931 * sysdeps/unix/sysv/linux/kernel-features.h
42932 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42933 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42934 Remove conditional code.
42935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42936 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42937 Remove conditional code.
42938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42939 * sysdeps/unix/sysv/linux/i386/fxstat.c
42940 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42942 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42943 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42945 * sysdeps/unix/sysv/linux/i386/lxstat.c
42946 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42948 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42949 Remove conditional code.
42950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42951 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42952 Remove conditional code.
42953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42954 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42955 <kernel-features.h>.
42956 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42958 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42959 Remove conditional code.
42960 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42961 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42962 Remove conditional.
42964 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42967 * NEWS: Add fixed bug number.
42969 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42972 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42973 underflowing exponent in case of negative sign.
42974 * stdlib/tst-strtod-round-data: Add more tests.
42975 * stdlib/tst-strtod-round.c (tests): Regenerated.
42978 * stdlib/strtod_l.c (NDIG): Remove.
42979 (HEXNDIG): Likewise.
42980 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42981 smallest representable value.
42982 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42983 lie within an exact representation of 1/2 ulp of the result.
42984 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42986 (TENS_P9_IDX): Define unconditionally.
42987 (TENS_P9_SIZE): Likewise.
42988 (TENS_P10_IDX): Likewise.
42989 (TENS_P10_SIZE): Likewise.
42990 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42991 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42992 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42993 entries for 10^2^13 and 10^2^14.
42994 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42995 (TENS_P13_IDX): Define.
42996 (TENS_P13_SIZE): Likewise.
42997 (TENS_P14_IDX): Likewise.
42998 (TENS_P14_SIZE): Likewise.
42999 (_fpioconst_pow10): Change array size to
43000 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43002 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43003 1024]: Add entries for 10^2^13 and 10^2^14.
43004 [LAST_POW10 > _LAST_POW10]: Remove #error.
43005 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43006 (_fpioconst_pow10): Change array size to
43007 FPIOCONST_POW10_ARRAY_SIZE.
43008 * stdlib/gen-fpioconst.c: New file.
43009 * stdlib/gen-tst-strtod-round.c: Likewise.
43010 * stdlib/tst-strtod-round-data: Likewise.
43011 * stdlib/tst-strtod-round.c: Likewise.
43012 * stdlib/Makefile (tests): Add tst-strtod-round.
43015 * stdlib/strtod_l.c: Include <stdint.h>.
43016 (NDEBUG): Do not define.
43017 (round_and_return): Change EXPONENT parameter to type intmax_t.
43018 Rearrange calculations to avoid internal overflow possibilities.
43019 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43020 Rearrange calculations to avoid internal overflow possibilities.
43021 Assert that number fits inside MPNSIZE limbs.
43022 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43023 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43024 calculations and add assertions to avoid internal overflow
43025 possibilities. Add casts to avoid signed/unsigned operations.
43026 * stdlib/tst-strtod-overflow.c: New file.
43027 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43029 2012-08-25 Marek Polacek <polacek@redhat.com>
43031 * time/time.h: Fix some typos in comments.
43033 2012-08-23 Roland McGrath <roland@hack.frob.com>
43035 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43036 * posix/tst-rfc3484-2.c: Likewise.
43037 * posix/tst-rfc3484-3.c: Likewise.
43039 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43041 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43042 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43044 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43046 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43047 #include of fxstatat64.c.
43049 2012-08-22 Roland McGrath <roland@hack.frob.com>
43051 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43052 * shadow/getspent_r.c: Likewise.
43053 * shadow/getspnam.c: Likewise.
43054 * shadow/getspnam_r.c: Likewise.
43055 * gshadow/getsgent.c: Likewise.
43056 * gshadow/getsgent_r.c: Likewise.
43057 * gshadow/getsgnam.c: Likewise.
43058 * gshadow/getsgnam_r.c: Likewise.
43059 * inet/getnetbyad.c: Likewise.
43060 * inet/getnetbyad_r.c: Likewise.
43061 * inet/getnetbynm.c: Likewise.
43062 * inet/getnetbynm_r.c: Likewise.
43063 * inet/getnetent.c: Likewise.
43064 * inet/getnetent_r.c: Likewise.
43065 * inet/getproto.c: Likewise.
43066 * inet/getproto_r.c: Likewise.
43067 * inet/getprtent.c: Likewise.
43068 * inet/getprtent_r.c: Likewise.
43069 * inet/getprtname.c: Likewise.
43070 * inet/getprtname_r.c: Likewise.
43071 * inet/getrpcbyname.c: Likewise.
43072 * inet/getrpcbyname_r.c: Likewise.
43073 * inet/getrpcbynumber.c: Likewise.
43074 * inet/getrpcbynumber_r.c: Likewise.
43075 * inet/getrpcent.c: Likewise.
43076 * inet/getrpcent_r.c: Likewise.
43077 * inet/getaliasent.c: Likewise.
43078 * inet/getaliasent_r.c: Likewise.
43079 * inet/getaliasname.c: Likewise.
43080 * inet/getaliasname_r.c: Likewise.
43081 * nscd/getgrgid_r.c: Likewise.
43082 * nscd/getgrnam_r.c: Likewise.
43083 * nscd/gethstbyad_r.c: Likewise.
43084 * nscd/gethstbynm3_r.c: Likewise.
43085 * nscd/getpwnam_r.c: Likewise.
43086 * nscd/getpwuid_r.c: Likewise.
43087 * nscd/getsrvbynm_r.c: Likewise.
43088 * nscd/getsrvbypt_r.c: Likewise.
43089 * nscd/gai.c: Likewise.
43091 * configure.in (build_nscd): New substituted variable, set
43092 by --disable-build-nscd and defaults to $use_nscd.
43093 * configure: Regenerated.
43094 * config.make.in (build-nscd): New substituted variable.
43095 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43096 Change conditional to require [$(build-nscd) = yes] as well.
43097 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43100 * configure.in (use_nscd): New substituted variable, set by
43101 --disable-nscd. If enabled, define USE_NSCD.
43102 * configure: Regenerated.
43103 * config.h.in: Add USE_NSCD.
43104 * config.make.in (use-nscd): New substituted variable.
43105 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43106 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43107 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43108 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43109 (CFLAGS-getgrnam_r.c): Likewise.
43110 (CFLAGS-initgroups.c): Likewise.
43111 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43112 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43114 * inet/getnetgrent_r.c
43115 (nscd_setnetgrent): New function, broken out of ...
43116 (setnetgrent): ... here. Call it.
43117 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43118 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43119 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43120 * nscd/Makefile (routines, aux): Move definitions after include of
43121 Makeconfig. Conditionalize on [$(use-nscd) != no].
43122 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43123 Conditionalize on [USE_NSCD].
43124 (is_nscd, nscd_init_cb): Likewise.
43125 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43126 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43127 * nss/nss_db/db-init.c: Likewise.
43128 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43130 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43131 (make_request): Use it.
43132 (cache_valid_p): New function.
43133 (__check_pf): Use it.
43134 * NEWS: Add item for --disable-nscd.
43136 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43138 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43139 to support sed >= 4.2.1-20-ga9bf076.
43140 * configure: Regenerated.
43142 2012-08-22 Roland McGrath <roland@hack.frob.com>
43144 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43145 Conditionalize whole body on [IREL].
43147 2012-08-22 Jeff Law <law@redhat.com>
43150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43151 if the family is PF_UNSPEC.
43153 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43155 * Makerules (lib-version): Rename from V.
43156 (install-lib-nosubdir): Change V to lib-version.
43158 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43161 * powerpc32/power6/wcschr.c: New file.
43162 * powerpc32/power6/wcscpy.c: New file.
43163 * powerpc32/power6/wcsrchr.c: New file.
43164 * powerpc64/power6/wcschr.c: New file.
43165 * powerpc64/power6/wcscpy.c: New file.
43166 * powerpc64/power6/wcsrchr.c: New file.
43168 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43170 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43171 (two_way_short_needle): Use it.
43172 * string/strstr.c (AVAILABLE1_USES_J): Define.
43173 * string/strcasestr.c: Likewise.
43175 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43177 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43180 * NEWS: Add an entry.
43181 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43182 define their defaults.
43183 (two_way_short_needle): Detect end-of-string on-the-fly.
43184 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43185 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43186 * string/bug-strcasestr1.c: New test.
43187 * string/Makefile: Run it.
43189 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43192 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43193 the first character.
43195 2012-08-21 Roland McGrath <roland@hack.frob.com>
43197 * csu/elf-init.c (__libc_csu_irel): Function removed.
43198 * csu/libc-start.c (apply_irel): New function.
43199 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43201 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43203 * sysdeps/unix/sysv/linux/kernel-features.h
43204 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43205 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43206 <kernel-features.h>.
43207 [__NR_fadvise64_64]: Make code unconditional.
43208 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43209 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43210 !__NR_fadvise64_64)]: Likewise.
43211 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43212 !__NR_fadvise64_64))]: Likewise.
43213 [__NR_fadvise64]: Make code unconditional.
43214 [!__NR_fadvise64]: Remove conditional code.
43215 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43216 <kernel-features.h>.
43217 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43219 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43222 not include <kernel-features.h>.
43223 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43225 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43227 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43228 include <kernel-features.h>.
43229 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43231 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43234 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43236 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43237 slight instruction rearrangements per scrollpipe analysis.
43238 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43240 2012-08-20 Roland McGrath <roland@hack.frob.com>
43242 * manual/syslog.texi (syslog; vsyslog, closelog):
43243 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43244 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43246 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43247 DSOCAPS to match condition on defining it.
43249 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43251 * sysdeps/unix/sysv/linux/kernel-features.h
43252 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43254 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43255 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43257 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43258 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43260 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43261 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43263 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43264 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43266 * sysdeps/unix/sysv/linux/kernel-features.h
43267 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43268 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43270 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43271 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43272 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43273 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43274 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43275 Make code unconditional.
43276 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43277 (__mmap64) [!__NR_mmap2]: Likewise.
43278 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43279 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43280 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43281 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43282 [__NR_mmap2]: Make code unconditional.
43283 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43284 (__mmap64) [!__NR_mmap2]: Likewise.
43286 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43288 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43290 2012-08-18 Andreas Jaeger <aj@suse.de>
43292 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43294 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43296 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43297 * include/unistd.h (__have_sock_cloexec): Likewise.
43298 (__have_pipe2): Likewise.
43299 (__have_dup3): Likewise.
43301 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43304 * include/unistd.h (__have_pipe2): Change define into an extern int.
43305 (__have_dup3): Likewise.
43306 * socket/have_sock_cloexec.c: Include fcntl.h.
43307 (__have_pipe2): New variable.
43308 (__have_dup3): Likewise.
43310 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43312 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43314 2012-08-17 Marek Polacek <polacek@redhat.com>
43316 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43317 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43319 2012-08-17 Roland McGrath <roland@hack.frob.com>
43321 * configure.in: Add AC_SUBST for sysheaders.
43322 * configure: Regenerated.
43323 * config.make.in (sysheaders): New substituted variable.
43325 * sysdeps/unix/mkfifo.c: Moved ...
43326 * sysdeps/posix/mkfifo.c: ... here.
43327 * sysdeps/unix/mkfifoat.c: Moved ...
43328 * sysdeps/posix/mkfifoat.c: ... here.
43330 * sysdeps/unix/utime.c: Moved ...
43331 * sysdeps/posix/utime.c: ... here.
43333 * sysdeps/unix/time.c: Moved ...
43334 * sysdeps/posix/time.c: ... here.
43335 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43336 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43338 * sysdeps/unix/nice.c: Moved ...
43339 * sysdeps/posix/nice.c: ... here.
43341 * sysdeps/unix/alarm.c: Moved ...
43342 * sysdeps/posix/alarm.c: ... here.
43344 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43346 2012-08-17 Jeff Law <law@redhat.com>
43348 * intl/Makefile (codeset_mo): New variable.
43349 ($(codeset_mo)): New target.
43350 (tst-codeset.out): Depend on that. Remove explicit rule.
43351 (tst-gettext3.out, tst-gettext5.out): Likewise.
43352 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43353 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43354 * intl/tst-codeset.sh: Remove.
43355 * intl/tst-gettext3.sh: Likewise.
43356 * intl/tst-gettext5.sh: Likewise.
43358 2012-08-17 Roland McGrath <roland@hack.frob.com>
43360 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43361 * sysdeps/unix/syscalls.list: ... here.
43363 * sysdeps/posix/getaddrinfo.c
43364 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43365 (gaiconf_init, gaiconf_reload): Use them.
43366 [!_STATBUF_ST_NSEC]
43367 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43368 Define using time_t rather than struct timespec.
43370 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43371 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43373 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43375 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43376 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43379 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43380 __libc_cleanup_push argument.
43382 * bits/param.h: New file.
43383 * misc/sys/param.h: New file.
43384 * include/sys/param.h: New file.
43385 * misc/Makefile (headers): Add bits/param.h.
43386 * sysdeps/generic/sys/param.h: File removed.
43387 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43388 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43389 * sysdeps/mach/hurd/bits/param.h: New file.
43390 * sysdeps/mach/hurd/sys/param.h: File removed.
43392 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43395 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43397 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43398 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43401 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43402 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43403 rather than -D_IO_MTSAFE_IO conditionally.
43404 * stdio-common/Makefile (CPPFLAGS): Likewise.
43405 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43406 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43407 Use $(libio-mtsafe).
43408 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43409 of -D_IO_MTSAFE_IO.
43410 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43411 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43412 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43413 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43414 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43415 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43416 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43417 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43418 (CFLAGS-fread_u_chk.c): Likewise.
43419 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43420 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43421 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43422 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43423 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43424 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43425 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43426 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43427 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43429 * libio/Makefile: Test [$(libc-reentrant) = yes]
43430 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43433 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43434 * sysdeps/pthread/configure: File removed.
43435 * sysdeps/pthread/Makeconfig: New file.
43436 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43437 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43439 2012-08-16 Gary Benson <gbenson@redhat.com>
43441 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43442 unmapping the first object in a namespace.
43444 2012-08-16 Roland McGrath <roland@hack.frob.com>
43446 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43447 (__internal_setnetgrent): ... this. Add internal_function to
43448 definition. Add libc_hidden_def.
43449 (setnetgrent): Update caller.
43450 (internal_endnetgrent): Renamed to ...
43451 (__internal_endnetgrent): ... this. Add internal_function to
43452 definition. Add libc_hidden_def.
43453 (endnetgrent): Update caller.
43454 (internal_getnetgrent_r): Renamed to ...
43455 (__internal_getnetgrent_r): ... this. Add internal_function to
43456 definition. Add libc_hidden_def.
43457 (__getnetgrent_r): Update caller.
43458 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43460 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43462 * stdlib/longlong.h: Update from GCC.
43464 2012-08-16 Roland McGrath <roland@hack.frob.com>
43466 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43467 on _QL, which is set by umul_ppmm but never used.
43468 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43469 variables, which are set by GMP macros but never used.
43470 * stdio-common/_itowa.c (_itowa): Likewise.
43471 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43472 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43474 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43476 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43477 struct La_sh_regs is not constant.
43478 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43479 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43480 and struct La_sparc64_regs are not constant.
43482 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43484 * sysdeps/unix/sysv/linux/kernel-features.h
43485 (__ASSUME_POSIX_TIMERS): Remove.
43486 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43487 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43488 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43489 Make code unconditional.
43490 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43491 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43492 Make code unconditional.
43493 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43494 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43495 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43497 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43498 Make code unconditional.
43499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43500 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43501 (__libc_missing_posix_timers): Remove.
43503 2012-08-15 Roland McGrath <roland@hack.frob.com>
43505 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43506 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43508 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43510 * elf/dl-sym.c: Include <stdlib.h>.
43512 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43513 constants, which avoids warnings in 32-bit builds.
43515 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43516 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43518 * misc/lseek.c: File moved to ...
43519 * io/lseek.c: ... here.
43521 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43523 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43524 shifting LEN more than 31 bits at once.
43526 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43529 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43530 segmentation fault for a case of two empty input strings.
43531 * string/test-strncasecmp.c (check1): Renamed to...
43532 (bz12205): ...this.
43533 (bz14195): Add new testcase for two empty input strings and N > 0.
43534 (test_main): Call new testcase, adapt for renamed function.
43536 2012-08-15 Andreas Jaeger <aj@suse.de>
43539 * crypt/md5test2.c: New test, based on test supplied by Serge
43540 Belyshev <belyshev@depni.sinp.msu.ru>.
43541 * crypt/Makefile (xtests): Add md5test-giant..
43542 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43544 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43547 * crypt/md5.c (md5_process_block): Don't assume the buffer
43548 length is less than 2**32.
43549 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43550 length is less than 2**64.
43552 2012-08-15 Roland McGrath <roland@hack.frob.com>
43554 * string/str-two-way.h: Include <sys/param.h>.
43555 (MAX): Macro removed.
43557 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43558 Move #define and #undef of memmove to just before and after
43559 including <string.h>.
43561 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43562 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43563 and after including <string.h>. Move declarations of
43564 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43565 to before #include "string/memmove.c".
43567 * include/dirent.h: Declare __getdirentries.
43569 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43570 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43572 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43574 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43575 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43576 * sysdeps/i386/configure: Regenerated.
43577 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43578 STABS_CURRENT_FILE, and STABS_FUN.
43579 (END): Remove call to STABS_FUN_END.
43580 (STABS_CURRENT_FILE1): Delete.
43581 (STABS_CURRENT_FILE): Likewise.
43582 (STABS_FUN): Likewise.
43583 (STABS_FUN_END): Likewise.
43584 (STABS_FUN2): Likewise.
43585 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43586 * sysdeps/x86_64/configure: Regenerated.
43588 2012-08-14 Roland McGrath <roland@hack.frob.com>
43590 * elf/dl-open.c: Include <atomic.h>.
43591 * elf/dl-lookup.c: Likewise.
43593 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43595 * sysdeps/unix/sysv/linux/kernel-features.h
43596 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43597 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43599 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43601 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43602 condition on __ASSUME_CLONE_THREAD_FLAGS.
43604 2012-08-14 Andreas Jaeger <aj@suse.de>
43606 * sysdeps/i386/fpu/libm-test-ulps: Update.
43608 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43610 * include/atomic.h (atomic_exchange_and_add): Split into ...
43611 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43614 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43618 2012-08-13 Jeff Law <law@redhat.com>
43620 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43621 null byte in the output string.
43623 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43625 * sysdeps/unix/sysv/linux/kernel-features.h
43626 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43627 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43628 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43629 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43630 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43631 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43632 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43634 2012-08-09 Jeff Law <law@redhat.com>
43637 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43638 When avoid_arena is set, don't retry in the that arena. Pick the
43639 next one, whatever it might be.
43640 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43641 (arena_lock): Pass in new parameter to arena_get2.
43642 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43644 (__libc_malloc): Unify retrying after main arena failure with
43645 __libc_memalign version.
43646 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43648 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43651 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43652 to __redirect_strstr.
43653 (__strstr_sse42): Use typeof __redirect_strstr.
43654 (__strstr_ia32): Likewise.
43655 (__libc_strstr): New prototype.
43656 (strstr): Renamed to ...
43657 (__libc_strstr): This.
43658 (strstr): New strong alias of __libc_strstr.
43659 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43660 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43663 (__libc_time): New prototype.
43664 (time_ifunc): Replace time with __libc_time.
43665 (time): New strong alias and hidden definition of __libc_time.
43666 (__GI_time): Remove strong alias.
43667 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43668 Include <stddef.h>.
43669 (memmove): Redefined to __redirect_memmove.
43670 (__memmove_sse2): Use typeof __redirect_memmove.
43671 (__memmove_ssse3): Likewise.
43672 (__memmove_ssse3_back): Likewise.
43673 (__libc_memmove): New prototype.
43674 (memmove): Renamed to ...
43675 (__libc_memmove): This.
43676 (memmove): New strong alias of __libc_memmove.
43678 2012-08-08 Mark Salter <msalter@redhat.com>
43681 (R_MN10300_TLS_GD): Define.
43682 (R_MN10300_TLS_LD): Likewise.
43683 (R_MN10300_TLS_LDO): Likewise.
43684 (R_MN10300_TLS_GOTIE): Likewise.
43685 (R_MN10300_TLS_IE): Likewise.
43686 (R_MN10300_TLS_LE): Likewise.
43687 (R_MN10300_TLS_DTPMOD): Likewise.
43688 (R_MN10300_TLS_DTPOFF): Likewise.
43689 (R_MN10300_TLS_TPOFF): Likewise.
43690 (R_MN10300_SYM_DIFF): Likewise.
43691 (R_MN10300_ALIGN): Likewise.
43692 (R_MN10300_NUM): Update.
43694 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43699 2012-08-08 Roland McGrath <roland@hack.frob.com>
43701 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43703 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43704 sysdeps/unix -> sysdeps/posix move.
43705 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43707 2012-08-07 Allan McRae <allan@archlinux.org>
43710 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43711 (SUNOS_CPP): Likewise.
43712 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43714 (open_input): Call CPP using execvp.
43716 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43718 * sysdeps/unix/sysv/linux/kernel-features.h
43719 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43720 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43721 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43722 (__ASSUME_WAITID_SYSCALL): Likewise.
43723 * sysdeps/unix/sysv/linux/dl-execstack.c
43724 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43725 code unconditional.
43726 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43728 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43729 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43730 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43732 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43734 [__ASSUME_WAITID_SYSCALL]: Likewise.
43735 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43737 2012-08-07 Roland McGrath <roland@hack.frob.com>
43739 * sysdeps/unix/closedir.c: Renamed to ...
43740 * sysdeps/posix/closedir.c: ... here.
43741 * sysdeps/unix/dirfd.c: Renamed to ...
43742 * sysdeps/posix/dirfd.c: ... here.
43743 * sysdeps/unix/dirstream.h: Renamed to ...
43744 * sysdeps/posix/dirstream.h: ... here.
43745 * sysdeps/unix/fdopendir.c: Renamed to ...
43746 * sysdeps/posix/fdopendir.c: ... here.
43747 * sysdeps/unix/opendir.c: Renamed to ...
43748 * sysdeps/posix/opendir.c: ... here.
43749 * sysdeps/unix/readdir.c: Renamed to ...
43750 * sysdeps/posix/readdir.c: ... here.
43751 * sysdeps/unix/readdir_r.c: Renamed to ...
43752 * sysdeps/posix/readdir_r.c: ... here.
43753 * sysdeps/unix/rewinddir.c: Renamed to ...
43754 * sysdeps/posix/rewinddir.c: ... here.
43755 * sysdeps/unix/seekdir.c: Renamed to ...
43756 * sysdeps/posix/seekdir.c: ... here.
43757 * sysdeps/unix/telldir.c: Renamed to ...
43758 * sysdeps/posix/telldir.c: ... here.
43759 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43760 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43761 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43762 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43764 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43765 * bits/fcntl.h: ... here.
43767 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43769 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43770 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43771 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43772 (struct flock): Move l_start, l_len to the beginning.
43773 Use __pid_t for l_pid.
43774 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43775 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43776 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43777 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43778 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43779 [__USE_LARGEFILE64] (struct flock64): New type.
43780 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43782 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43783 * bits/dirent.h: ... here.
43785 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43786 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43788 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43791 Change from 2.6.0 to 2.6.16.
43792 * sysdeps/unix/sysv/linux/configure: Regenerated.
43793 * sysdeps/unix/sysv/linux/kernel-features.h
43794 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43795 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43797 (__ASSUME_UTIMES): Likewise.
43798 (__ASSUME_CLONE_STOPPED): Remove.
43799 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43800 architectures, not kernel version.
43801 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43802 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43803 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43804 (__ASSUME_WAITID_SYSCALL): Likewise.
43805 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43806 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43807 * README: State 2.6.16 as minimum Linux kernel version. Do not
43808 refer to older versions.
43810 2012-08-06 Roland McGrath <roland@hack.frob.com>
43812 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43813 Define alphasort64 as an alias.
43814 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43815 Define versionsort64 as an alias.
43816 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43817 Define scandir64 as an alias.
43818 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43819 Define scandirat64 as an alias.
43820 * dirent/alphasort64.c (alphasort64):
43821 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43822 * dirent/versionsort64.c: Likewise.
43823 * dirent/scandir64.c: Likewise.
43824 * dirent/scandirat64.c: Likewise.
43825 * sysdeps/wordsize-64/alphasort.c: File removed.
43826 * sysdeps/wordsize-64/alphasort64.c: File removed.
43827 * sysdeps/wordsize-64/scandir.c: File removed.
43828 * sysdeps/wordsize-64/scandir64.c: File removed.
43829 * sysdeps/wordsize-64/scandirat.c: File removed.
43830 * sysdeps/wordsize-64/scandirat64.c: File removed.
43831 * sysdeps/wordsize-64/versionsort.c: File removed.
43832 * sysdeps/wordsize-64/versionsort64.c: File removed.
43833 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43834 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43835 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43836 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43837 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43838 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43839 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43840 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43842 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43844 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43846 [defined __arch64__ || defined __sparcv9]
43847 (__INO_T_MATCHES_INO64_T): New macro.
43848 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43849 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43850 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43851 * sysdeps/unix/sysv/linux/bits/dirent.h
43852 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43853 (_DIRENT_MATCHES_DIRENT64): New macro.
43855 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43856 Define lockf64 as an alias.
43857 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43858 Define fseeko64 as an alias.
43859 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43860 Define ftello64 as an alias.
43861 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43862 Define _IO_fgetpos64 and fgetpos64 as aliases.
43863 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43864 Define _IO_fsetpos64 and fsetpos64 as aliases.
43865 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43866 Conditionalize body on this.
43867 * libio/fseeko64.c: Likewise.
43868 * libio/ftello64.c: Likewise.
43869 * libio/iofgetpos64.c: Likewise.
43870 * libio/iofsetpos64.c: Likewise.
43871 * sysdeps/wordsize-64/lockf.c: File removed.
43872 * sysdeps/wordsize-64/lockf64.c: File removed.
43873 * sysdeps/wordsize-64/fseeko.c: File removed.
43874 * sysdeps/wordsize-64/fseeko64.c: File removed.
43875 * sysdeps/wordsize-64/ftello.c: File removed.
43876 * sysdeps/wordsize-64/ftello64.c: File removed.
43877 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43878 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43879 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43880 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43881 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43882 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43883 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43884 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43885 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43886 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43887 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43888 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43889 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43890 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43892 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43894 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43896 [defined __arch64__ || defined __sparcv9]
43897 (__OFF_T_MATCHES_OFF64_T): New macro.
43898 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43899 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43901 (__OFF_T_MATCHES_OFF64_T): New macro.
43903 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43905 * stdlib/secure-getenv.c (__secure_getenv): Replace
43906 GLIBC_2_16 with GLIBC_2_17.
43908 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43910 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43911 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43913 2012-08-03 David S. Miller <davem@davemloft.net>
43915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43917 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43919 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43921 (__ASSUME_CORRECT_SI_PID): Likewise.
43922 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43923 (__ASSUME_TMPFS_NAME): Likewise.
43924 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43925 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43926 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43927 (HAVE_AUX_SECURE): Make definition unconditional.
43928 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43929 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43931 2012-08-03 Roland McGrath <roland@hack.frob.com>
43933 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43934 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43935 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43936 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43937 __eloop_threshold instead of SYMLOOP_MAX.
43939 * sysdeps/generic/eloop-threshold.h: New file.
43940 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43942 * elf/chroot_canon.c (chroot_canon): Likewise.
43944 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43948 Change to 2.6.0 everywhere.
43949 * sysdeps/unix/sysv/linux/configure: Regenerated.
43950 * sysdeps/unix/sysv/linux/kernel-features.h
43951 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43952 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43954 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43955 (__ASSUME_FUTEX_REQUEUE): Remove.
43956 (__ASSUME_STATFS64): Define unconditionally.
43957 (__ASSUME_AT_SECURE): Likewise.
43958 (__ASSUME_CORRECT_SI_PID): Likewise.
43959 (__ASSUME_TGKILL): Define without depending on kernel version for
43961 (__ASSUME_UTIMES): Likewise.
43962 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43964 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43965 (__ASSUME_TMPFS_NAME): Likewise.
43966 * README: Update reference to Linux kernel versions.
43968 2012-08-02 Marek Polacek <polacek@redhat.com>
43971 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43972 libc_cv_asm_type_prefix with %.
43973 * configure: Regenerated.
43974 * include/libc-symbols.h: Remove comment about
43975 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43976 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43977 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43978 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43979 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43980 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43981 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43982 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43983 * elf/tst-unique2mod1.c: Likewise.
43984 * elf/tst-unique1mod2.c: Likewise.
43985 * elf/tst-unique1mod1.c: Likewise.
43986 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43987 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43988 Replace ASM_TYPE_DIRECTIVE with .type.
43989 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43990 * sysdeps/i386/sysdep.h: Likewise.
43991 * sysdeps/x86_64/sysdep.h: Likewise.
43992 * sysdeps/sh/sysdep.h: Likewise.
43993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43994 Do not define ASM_TYPE_DIRECTIVE.
43995 * sysdeps/powerpc/sysdep.h: Likewise.
43996 * sysdeps/powerpc/powerpc32/sysdep.h:
43997 Replace ASM_TYPE_DIRECTIVE with .type.
43998 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43999 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44000 * sysdeps/i386/fpu/e_powf.S: Likewise.
44001 * sysdeps/i386/fpu/e_expl.S: Likewise.
44002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44003 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44004 * sysdeps/i386/fpu/e_pow.S: Likewise.
44005 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44006 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44007 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44008 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44009 * sysdeps/i386/fpu/e_log2.S: Likewise.
44010 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44011 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44012 * sysdeps/i386/fpu/e_powl.S: Likewise.
44013 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44014 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44015 * sysdeps/i386/fpu/e_logl.S: Likewise.
44016 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44017 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44018 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44019 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44020 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44021 * sysdeps/i386/fpu/e_log.S: Likewise.
44022 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44023 * sysdeps/i386/fpu/e_logf.S: Likewise.
44024 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44026 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44027 * sysdeps/i386/fpu/e_log10.S: Likewise.
44028 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44029 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44030 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44031 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44032 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44033 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44034 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44035 * sysdeps/i386/i686/strtok.S: Likewise.
44036 * sysdeps/i386/i386-mcount.S: Likewise.
44037 * sysdeps/i386/strtok.S: Likewise.
44038 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44039 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44040 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44041 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44042 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44043 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44044 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44045 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44046 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44047 * sysdeps/x86_64/_mcount.S: Likewise.
44048 * sysdeps/x86_64/strtok.S: Likewise.
44049 * sysdeps/sh/_mcount.S: Likewise.
44051 2012-08-01 Roland McGrath <roland@hack.frob.com>
44053 * libio/iofopen.c: Include <fcntl.h>.
44054 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44055 (_IO_fopen64, fopen64): Define as aliases.
44056 * libio/iofopen64.c: Include <fcntl.h>.
44057 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44058 Conditionalize body on this.
44059 * sysdeps/wordsize-64/iofopen.c: File removed.
44060 * sysdeps/wordsize-64/iofopen64.c: File removed.
44062 2012-08-01 Marek Polacek <polacek@redhat.com>
44064 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44065 Use dlfcn directly instead of a variable.
44066 (binfmt-subdir): Do not define.
44069 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44072 Remove all definitions.
44073 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44074 <kernel-features.h>.
44075 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44076 (miss_F_GETOWN_EX): Remove all definitions.
44077 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44079 [!__ASSUME_FCNTL64]: Remove conditional code.
44080 [__ASSUME_FCNTL64]: Make code unconditional.
44081 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44082 <kernel-features.h>.
44083 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44084 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44085 (lockf64) [__NR_fcntl64]: Make code unconditional.
44086 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44088 * sysdeps/unix/sysv/linux/kernel-features.h
44089 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44090 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44091 Make code unconditional.
44092 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44093 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44095 [__NR_vfork]: Make code unconditional.
44096 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44097 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44099 [__NR_vfork]: Make code unconditional.
44100 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44101 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44103 2012-08-01 Roland McGrath <roland@hack.frob.com>
44105 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44106 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44108 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44109 Define mkstemp64 as an alias.
44110 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44111 Define mkstemps64 as an alias.
44112 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44113 Define mkostemp64 as an alias.
44114 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44115 Define mkostemps64 as an alias.
44116 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44117 Conditionalize body on this.
44118 * misc/mkostemp64.c: Likewise.
44119 * misc/mkostemps64.c: Likewise.
44120 * misc/mkstemps64.c: Likewise.
44121 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44122 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44123 * sysdeps/wordsize-64/mkostemp.c: File removed.
44124 * sysdeps/wordsize-64/mkstemp.c: File removed.
44125 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44126 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44127 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44128 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44131 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44132 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44133 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44134 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44136 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44137 compat_symbol macros from <shlib-compat.h> rather than the underlying
44138 default_symbol_version and symbol_version macros, so that DEFAULT
44139 lines in shlib-versions are respected.
44140 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44142 2012-08-01 Florian Weimer <fweimer@redhat.com>
44144 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44145 Declare with warn_unused_result.
44146 (setgid, setregid, setegid, setresgid): Likewise.
44147 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44149 * WUR-REPORT: Remove set*id functions.
44151 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44153 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44155 2012-07-31 Roland McGrath <roland@hack.frob.com>
44158 * include/sys/socket.h (__libc_accept, __libc_accept4):
44159 Add attribute_hidden.
44160 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44162 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44164 * inet/getnetgrent_r.c (setup): Likewise.
44166 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44168 2012-07-31 David S. Miller <davem@davemloft.net>
44170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44172 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44175 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44176 value between 1.0 and 2.0 and smaller part has absolute value less
44178 * math/s_clog10.c (__clog10): Likewise.
44179 * math/s_clog10f.c (__clog10f): Likewise.
44180 * math/s_clog10l.c (__clog10l): Likewise.
44181 * math/s_clogf.c (__clogf): Likewise.
44182 * math/s_clogl.c (__clogl): Likewise.
44183 * math/libm-test.inc (clog_test): Add more tests.
44184 (clog10_test): Likewise.
44185 * sysdeps/i386/fpu/libm-test-ulps: Update.
44186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44188 2012-07-31 Florian Weimer <fweimer@redhat.com>
44190 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44191 Exit with zero in case no suitable GID is found, and write a
44192 message to standard error.
44194 2012-07-30 Roland McGrath <roland@hack.frob.com>
44196 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44198 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44199 (MAXPATHLEN): Removed.
44200 (NOGROUP, NODEV): New macros.
44201 (setbit, clrbit, isset, isclr): New macros.
44202 (howmany, roundup, powerof2): New macros.
44203 (DEV_BSIZE): New macro.
44205 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44206 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44208 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44209 definition on [!__NO_LONG_DOUBLE_MATH].
44211 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44212 PTR_MANGLE and PTR_DEMANGLE.
44214 * socket/accept4.c (accept4): Rename to __libc_accept4.
44215 Define accept4 as a weak alias.
44217 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44218 on [_DIRENT_HAVE_D_TYPE].
44219 * io/ftw.c (ftw_dir): Likewise.
44221 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44223 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44225 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44226 Use the BSD numbers rather than the arbitrary ones we had.
44227 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44228 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44229 (SIGXCPU, SIGXFSZ): New macros.
44232 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44233 initializer on [_LIBC_REENTRANT].
44235 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44236 definitions inside [_POSIX_MAPPED_FILES].
44238 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44240 * dirent/opendir.c: Include <fcntl.h>.
44242 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44243 (__libc_getspecific): Likewise.
44244 (__libc_key_create): Likewise.
44246 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44247 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44248 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44249 (tmpfile64): Define as alias.
44250 * sysdeps/wordsize-64/tmpfile.c: File removed.
44251 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44252 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44253 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44255 * stdio-common/vfscanf.c: Include <stdbool.h>.
44256 * nss/makedb.c: Likewise.
44257 * stdio-common/_i18n_number.h: Likewise.
44258 * argp/argp-help.c: Likewise.
44259 * posix/wordexp.c: Likewise.
44260 * sysdeps/posix/spawni.c: Likewise.
44261 * nss/nss_files/files-initgroups.c: Likewise.
44262 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44263 * nss/nss_files/files-initgroups.c: Likewise.
44264 * nss/nss_db/db-netgrp.c: Likewise.
44265 * nss/nss_db/db-initgroups.c: Likewise.
44266 * io/fchmodat.c: Include <sys/stat.h>.
44268 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44269 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44271 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44274 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44275 Add multiple inclusion protection.
44277 2012-07-27 David S. Miller <davem@davemloft.net>
44279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44281 2012-07-27 Gary Benson <gbenson@redhat.com>
44284 * elf/rtld.c: Include <stap-probe.h>.
44285 (dl_main): Added static probes "init_start" and "init_complete".
44286 * elf/dl-load.c: Include <stap-probe.h>.
44287 (lose): Take new parameter "nsid".
44288 Added static probe "map_failed".
44289 (_dl_map_object_from_fd): Pass namespace id to lose.
44290 Added static probe "map_start".
44291 (open_verify): Pass namespace id to lose.
44292 * elf/dl-open.c: Include <stap-probe.h>.
44293 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44294 and "reloc_complete".
44295 * elf/dl-close.c: Include <stap-probe.h>.
44296 (_dl_close_worker): Added static probes "unmap_start" and
44298 * elf/rtld-debugger-interface.txt: New file documenting the above.
44300 2012-07-26 Roland McGrath <roland@hack.frob.com>
44302 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44303 rather than a string variable.
44304 * sunrpc/rpc_main.c (h_output): Likewise.
44305 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44307 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44309 * inet/check_native.c: New file.
44311 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44314 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44315 if larger part has absolute value 1.0.
44316 * math/s_clog10.c (__clog10): Likewise.
44317 * math/s_clog10f.c (__clog10f): Likewise.
44318 * math/s_clog10l.c (__clog10l): Likewise.
44319 * math/s_clogf.c (__clogf): Likewise.
44320 * math/s_clogl.c (__clogl): Likewise.
44321 * math/libm-test.inc (clog_test): Add more tests.
44322 (clog10_test): Likewise.
44323 * sysdeps/i386/fpu/libm-test-ulps: Update.
44324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44326 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44327 (pltexit): Likewise.
44328 (La_regs): Likewise.
44329 (La_retval): Likewise.
44330 (int_retval): Likewise.
44331 Update #error for removed macros to refer only to definitions in
44333 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44335 (pltexit): Likewise.
44336 (La_regs): Likewise.
44337 (La_retval): Likewise.
44338 (int_retval): Likewise.
44339 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44341 (pltexit): Likewise.
44342 (La_regs): Likewise.
44343 (La_retval): Likewise.
44344 (int_retval): Likewise.
44345 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44347 (pltexit): Likewise.
44348 (La_regs): Likewise.
44349 (La_retval): Likewise.
44350 (int_retval): Likewise.
44351 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44353 (pltexit): Likewise.
44354 (La_regs): Likewise.
44355 (La_retval): Likewise.
44356 (int_retval): Likewise.
44357 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44359 (pltexit): Likewise.
44360 (La_regs): Likewise.
44361 (La_retval): Likewise.
44362 (int_retval): Likewise.
44363 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44365 (pltexit): Likewise.
44366 (La_regs): Likewise.
44367 (La_retval): Likewise.
44368 (int_retval): Likewise.
44369 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44370 macro definitions in tst-audit.h.
44371 * sysdeps/i386/tst-audit.h: New file.
44372 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44373 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44374 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44375 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44376 * sysdeps/sh/tst-audit.h: Likewise.
44377 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44378 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44379 * sysdeps/x86_64/tst-audit.h: Likewise.
44381 2012-07-26 Andreas Jaeger <aj@suse.de>
44383 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44386 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44387 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44388 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44390 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44391 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44392 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44394 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44397 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44399 (si_call_addr, si_syscall, si_arch): Define new macro.
44400 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44402 (si_call_addr, si_syscall, si_arch): Define new marcro.
44403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44405 (si_call_addr, si_syscall, si_arch): Define new macro.
44406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44408 (si_call_addr, si_syscall, si_arch): Define new macro.
44410 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44414 Change to 2.4.21 where previously 2.4.1.
44415 * sysdeps/unix/sysv/linux/configure: Regenerated.
44416 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44417 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44418 Linux kernel version.
44419 (__ASSUME_STD_AUXV): Remove.
44420 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44422 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44423 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44424 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44425 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44426 (__ASSUME_NETLINK_SUPPORT): Likewise.
44427 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44428 (__no_netlink_support): Remove conditional definition.
44429 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44431 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44432 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44433 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44434 (if_nameindex_ioctl): Remove.
44435 (if_nameindex_netlink): Do not handle __no_netlink_support.
44436 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44438 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44439 Remove conditional code.
44440 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44442 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44444 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44445 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44446 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44448 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44449 [!__ASSUME_STD_AUXV]: Remove conditional code.
44450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44451 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44452 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44454 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44455 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44457 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44459 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44460 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44462 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44464 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44467 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44470 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44471 code unconditional.
44472 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44474 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44476 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44479 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44481 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44484 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44485 code unconditional.
44486 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44488 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44490 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44493 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44494 code unconditional.
44495 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44497 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44499 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44502 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44504 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44505 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44506 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44507 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44508 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44509 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44510 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44511 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44512 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44513 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44514 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44515 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44516 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44517 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44518 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44519 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44520 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44522 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44524 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44525 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44528 2012-07-25 Florian Weimer <fweimer@redhat.com>
44530 * Versions.def: Add GLIBC_2.17.
44531 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44532 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44533 Introduce __libc_secure_getenv.
44534 * stdlib/Versions (2.17): Add secure_getenv
44535 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44536 * stdlib/secure-getenv.c: Rename __secure_getenv to
44537 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44538 symbol __secure_getenv for GLIBC_2.0.
44539 * stdlib/tst-secure-getenv.c: New.
44540 * stdlib/Makefile (tests): Add testcase.
44541 * manual/startup.texi (Environment Access): Document
44543 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44544 __libc_secure_getenv.
44545 * inet/ruserpass.c (ruserpass): Likewise.
44546 * malloc/mtrace.c (mtrace): Likewise.
44547 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44548 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44549 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44550 * sysdeps/posix/tempname.c: Likewise. Evaluate
44551 HAVE_SECURE_GETENV.
44552 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44553 __secure_getenv to __libc_secure_getenv.
44554 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44567 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44569 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44570 (struct La_i86_retval): Likewise.
44571 (struct La_x86_64_regs): Likewise.
44572 (struct La_x86_64_retval): Likewise.
44573 (struct La_x32_regs): Likewise.
44574 (struct La_x32_retval): Likewise.
44575 (struct La_ppc32_regs): Likewise.
44576 (struct La_ppc32_retval): Likewise.
44577 (struct La_ppc64_regs): Likewise.
44578 (struct La_ppc64_retval): Likewise.
44579 (struct La_sh_regs): Likewise.
44580 (struct La_sh_retval): Likewise.
44581 (struct La_s390_32_regs): Likewise.
44582 (struct La_s390_32_retval): Likewise.
44583 (struct La_s390_64_regs): Likewise.
44584 (struct La_s390_64_retval): Likewise.
44585 (struct La_sparc32_regs): Likewise.
44586 (struct La_sparc32_retval): Likewise.
44587 (struct La_sparc64_regs): Likewise.
44588 (struct La_sparc64_retval): Likewise.
44589 (struct audit_ifaces): Remove architecture-specific pltenter and
44591 * sysdeps/i386/ldsodefs.h: New file.
44592 * sysdeps/powerpc/ldsodefs.h: Likewise.
44593 * sysdeps/s390/ldsodefs.h: Likewise.
44594 * sysdeps/sh/ldsodefs.h: Likewise.
44595 * sysdeps/sparc/ldsodefs.h: Likewise.
44596 * sysdeps/x86_64/ldsodefs.h: Likewise.
44598 2012-07-25 Marek Polacek <polacek@redhat.com>
44601 * math/libm-test.inc (yn_test): Add another test.
44602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44603 to ERANGE when the result is +-Inf.
44604 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44605 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44606 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44607 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44609 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44611 * conform/data/time.h-data (NULL): Use macro-constant. Require
44613 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44615 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44617 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44619 * configure.in <sysdeps resolving>: Correct printing
44621 * configure: Regenerate.
44623 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44625 * math/w_ilogb.c: Include <limits.h>.
44626 * math/w_ilogbl.c: Likewise.
44628 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44630 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44631 va_copy. Document allowing for unavailable va_copy only as
44632 pre-C99 compatibility.
44633 * manual/string.texi (Copying and Concatenation): Use va_copy
44634 instead of __va_copy in concat example.
44636 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44638 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44639 (__sendto): Use create_address_port. Initialize APORT and deallocate
44642 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44643 with O_NOLINK passed to __file_name_lookup.
44645 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44646 with O_NOLINK passed to __file_name_lookup.
44648 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44649 negative N or less than NGIDS.
44651 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44652 type to string_t. Set ERANGE as errno and return it if NAME is not big
44653 enough. Use memcpy instead of strncpy.
44655 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44657 * elf/Makefile (check-data): Remove.
44658 (localplt.data): New vpath directive.
44659 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44660 instead of $(check-data).
44661 * scripts/data/localplt-generic.data: Move to ...
44662 * sysdeps/generic/localplt.data: ... here.
44663 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44664 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44665 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44668 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44671 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44674 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44677 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44680 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44684 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44686 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44687 PPC32 and PPC64 files.
44688 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44689 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44691 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44693 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44694 __makecontext_ret to ...
44695 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44696 ... here and call exit if uc_link is NULL. New file.
44697 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44698 __makecontext_ret.S.
44699 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44700 __makecontext_ret to ...
44701 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44702 ... here and call exit if uc_link is NULL. New file.
44703 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44704 __makecontext_ret.S.
44706 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44708 * elf/elf.h (R_390_IRELATIVE): New definition.
44709 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44710 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44711 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44712 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44713 (elf_machine_lazy_rel): Likewise.
44714 * sysdeps/s390/dl-irel.h: New file.
44715 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44716 * sysdeps/s390/s390-64/memset.S: New asm code.
44717 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44718 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44719 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44720 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44721 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44722 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44724 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44725 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44726 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44727 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44728 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44729 * sysdeps/s390/s390-32/memset.S: New asm code.
44730 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44732 2012-07-17 Marek Polacek <polacek@redhat.com>
44735 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44736 * sysdeps/s390/s390-64/configure.in: Likewise.
44737 * sysdeps/sparc/configure.in: Likewise.
44738 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44739 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44740 * sysdeps/i386/configure.in: Likewise.
44741 * sysdeps/x86_64/configure.in: Likewise.
44742 * sysdeps/sh/configure.in: Likewise.
44743 * sysdeps/s390/s390-32/configure: Regenerated.
44744 * sysdeps/s390/s390-64/configure: Likewise.
44745 * sysdeps/x86_64/configure: Likewise.
44746 * sysdeps/sh/configure: Likewise.
44747 * sysdeps/powerpc/powerpc64/configure: Likewise.
44748 * sysdeps/powerpc/powerpc32/configure: Likewise.
44749 * sysdeps/sparc/configure: Likwise.
44750 * sysdeps/i386/configure: Likewise.
44752 * elf/dl-open.c: Comment fixes.
44754 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44756 * Makefile [CXX] (check-data): Remove.
44757 [CXX] (c++-types.data): New vpath directive.
44758 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44759 vpath. Do not allow for C++ type data being missing.
44760 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44761 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44762 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44763 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44764 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44765 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44766 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44769 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44772 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44775 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44778 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44781 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44784 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44787 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44790 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44791 definitions to architecture-specific files.
44792 (TLS_IE): Likewise.
44793 (TLS_LD): Likewise.
44794 (TLS_GD): Likewise.
44795 * sysdeps/i386/tls-macros.h: New file.
44796 * sysdeps/powerpc/tls-macros.h: Likewise.
44797 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44798 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44799 * sysdeps/sh/tls-macros.h: Likewise.
44800 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44801 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44802 * sysdeps/x86_64/tls-macros.h: Likewise.
44804 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44806 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44807 zero value for regular exit case.
44809 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44810 (__start_context): Preserve zero value for regular exit case.
44812 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44813 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44815 * manual/setjmp.texi (setcontext): Clarify normal process
44816 termination when uc_link is the null pointer.
44817 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44820 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44822 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44823 preprocessor. Test for each exception mask separately.
44825 2012-07-16 Andreas Jaeger <aj@suse.de>
44827 * po/ru.po: Update from translation team.
44829 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44831 * conform/data/string.h-data (NULL): Use macro-constant. Require
44833 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44834 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44835 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44836 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44839 2012-07-13 Andreas Jaeger <aj@suse.de>
44841 * po/fr.po: Update from translation team.
44843 2012-07-12 Marek Polacek <polacek@redhat.com>
44846 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44847 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44850 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44854 Change to 2.4.1 where previously 2.4.0.
44855 * sysdeps/unix/sysv/linux/configure: Regenerated.
44856 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44857 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44859 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44860 (__ASSUME_AT_CLKTCK): Remove.
44861 (__ASSUME_AT_PAGESIZE): Likewise.
44862 (__ASSUME_AT_XID): Likewise.
44863 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44864 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44865 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44867 (HAVE_AUX_PAGESIZE): Likewise.
44868 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44869 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44870 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44872 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44876 the temporary buffer used to invoke __gethostbyname2_r,
44877 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44878 host_data / struct gaih_addrtuple.
44879 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44880 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44881 header file nss/nsswitch.h.
44882 * nss/nsswitch.h (global scope): Add definition of implementation
44883 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44884 resolv/nss_dns/dns-host.c).
44886 2012-07-11 Andreas Jaeger <aj@suse.de>
44888 * po/fr.po: Update from translation team.
44890 * po/sv.po: Update from translation team
44891 * po/fr.po: Another update from translation team.
44893 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44895 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44896 for subnormals or multiply small sinh result by itself.
44897 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44900 2012-07-11 David S. Miller <davem@davemloft.net>
44902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44904 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44907 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44908 (INTERNAL_MARK): Shift it here.
44910 2012-07-10 Marek Polacek <polacek@redhat.com>
44913 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44914 libc_cv_asm_global_directive with .globl.
44915 * configure: Regenerated.
44916 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44918 * sysdeps/i386/configure: Regenerated.
44919 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44921 * sysdeps/x86_64/configure: Regenerated.
44922 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44923 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44924 * elf/tst-unique2mod2.c: Likewise.
44925 * elf/tst-unique2mod1.c: Likewise.
44926 * elf/tst-unique1mod2.c: Likewise.
44927 * elf/tst-unique1mod1.c: Likewise.
44928 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44929 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44930 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44931 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44932 * sysdeps/mach/sysdep.h: Likewise.
44933 * sysdeps/i386/sysdep.h: Likewise.
44934 * sysdeps/i386/i386-mcount.S: Likewise.
44935 * sysdeps/x86_64/_mcount.S: Likewise.
44936 * sysdeps/x86_64/sysdep.h: Likewise.
44937 * sysdeps/sh/_mcount.S: Likewise.
44938 * sysdeps/sh/sysdep.h: Likewise.
44939 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44940 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44941 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44942 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44943 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44944 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44945 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44946 * locale/localeinfo.h: Likewise.
44947 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44948 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44950 2012-07-09 Roland McGrath <roland@hack.frob.com>
44953 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44955 * manual/message.texi (The Uniforum approach): Likewise.
44956 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44957 (glibc iconv Implementation): Likewise.
44959 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44962 * math/s_clog.c (__clog): Avoid scaling a value down where that
44963 could result in underflow.
44964 * math/s_clog10.c (__clog10): Likewise.
44965 * math/s_clog10f.c (__clog10f): Likewise.
44966 * math/s_clog10l.c (__clog10l): Likewise.
44967 * math/s_clogf.c (__clogf): Likewise.
44968 * math/s_clogl.c (__clogl): Likewise.
44969 * math/libm-test.inc (clog_test): Add more tests.
44970 (clog10_test): Likewise.
44971 * sysdeps/i386/fpu/libm-test-ulps: Update.
44972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44974 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44977 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44978 by 7 not 8 to examine high bit of fractional part.
44981 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44982 for call to __mcount_internal.
44983 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44984 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44985 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44987 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44990 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44991 approximation for values within 0x1p-13f of an odd multiple of
44993 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44994 exception. Add more tests.
44995 * sysdeps/i386/fpu/libm-test-ulps: Update.
44998 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44999 inputs and return -1 for them. Do not check for +Inf in case not
45000 reachable for +Inf.
45001 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45002 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45003 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45004 and return -1 for them. Do not check for +Inf in case not
45005 reachable for +Inf.
45006 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45009 and return -1 for them. Do not check for +Inf in case not
45010 reachable for +Inf.
45011 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45012 spurious underflow.
45013 * sysdeps/i386/fpu/libm-test-ulps: Update.
45014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45016 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45018 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45020 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45024 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45025 could result in spurious underflow. Scale down values above
45026 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45027 * math/s_csqrtf.c (__csqrtf): Likewise.
45028 * math/s_csqrtl.c (__csqrtl): Likewise.
45029 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45030 spurious underflow.
45031 * sysdeps/i386/fpu/libm-test-ulps: Update.
45032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45034 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45036 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45038 * catgets/xopen-msg.awk: New file.
45039 * catgets/xopen-msg.sed: Removed.
45041 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45043 * intl/po2test.awk: New file.
45044 * intl/po2test.sed: Removed.
45046 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45049 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45050 or multiply small sinh result by itself.
45051 * math/s_ctanf.c (__ctanf): Likewise.
45052 * math/s_ctanh.c (__ctanh): Likewise.
45053 * math/s_ctanhf.c (__ctanhf): Likewise.
45054 * math/s_ctanhl.c (__ctanhl): Likewise.
45055 * math/s_ctanl.c (__ctanl): Likewise.
45056 * math/libm-test.inc (ctan_test_tonearest): New function.
45057 (ctan_test_towardzero): Likewise.
45058 (ctan_test_downward): Likewise.
45059 (ctan_test_upward): Likewise.
45060 (ctanh_test_tonearest): Likewise.
45061 (ctanh_test_towardzero): Likewise.
45062 (ctanh_test_downward): Likewise.
45063 (ctanh_test_upward): Likewise.
45064 (main): Call these new functions.
45065 * sysdeps/i386/fpu/libm-test-ulps: Update.
45066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45068 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45070 * .gitignore: Delete /ports entry.
45072 2012-07-03 Andreas Jaeger <aj@suse.de>
45074 * po/bg.po: Update from translation team.
45075 * po/cs.po: Likewise.
45076 * po/de.po: Likewise.
45077 * po/hr.po: Likewise.
45078 * po/nl.pl: Likewise.
45079 * po/pl.po: Likewise.
45080 * po/vi.po: Likewise.
45082 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45084 * Makeconfig [!+link] (+link-before-libc): New variable.
45085 [!+link] (+link-after-libc): Likewise.
45086 [!+link] (+link-tests): Likewise.
45087 [!+link] (+link): Define in terms of $(+link-before-libc) and
45088 $(+link-after-libc).
45089 [!+link-static] (+link-static-before-libc): New variable.
45090 [!+link-static] (+link-static-after-libc): Likewise.
45091 [!+link-static] (+link-static-tests): Likewise.
45092 [!+link-static] (+link-static): Define in terms of
45093 $(+link-static-before-libc) and $(+link-static-after-libc).
45094 [build-shared] (link-libc-before-gnulib): New variable.
45095 [build-shared] (link-libc-tests): Likewise.
45096 [build-shared] (link-libc): Define in terms of
45097 $(link-libc-before-gnulib).
45098 [!build-shared] (link-libc-tests): New variable.
45099 (link-libc-static-tests): New variable.
45100 [!gnulib] (gnulib-arch): New variable.
45101 [!gnulib] (gnulib-tests): Likewise.
45102 [!gnulib] (static-gnulib-arch): Likewise.
45103 [!gnulib] (static-gnulib-tests): Likewise.
45104 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45105 Define with "=" instead of ":=".
45106 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45107 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45108 * Rules (binaries-all-notests): New variable.
45109 (binaries-all-tests): Likewise.
45110 (binaries-static-notests): Likewise.
45111 (binaries-static-tests): Likewise.
45112 (binaries-all): Define using $(binaries-all-notests) and
45113 $(binaries-all-tests).
45114 (binaries-static): Define using $(binaries-static-notests) and
45115 $(binaries-static-tests).
45116 (binaries-shared-tests): New variable.
45117 (binaries-shared-notests): Likewise.
45118 (binaries-shared): Remove variable.
45119 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45120 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45121 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45122 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45123 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45124 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45125 * elf/Makefile (sln-modules): New variable.
45126 (extra-objs): Add $(sln-modules:=.o).
45127 (ldconfig-modules): Add static-stubs.
45128 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45129 * elf/static-stubs.c: New file.
45132 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45133 by 7 not 8 to examine high bit of fractional part. Use volatile
45134 variables when splitting into final array of floats if
45135 __FLT_EVAL_METHOD__ != 0.
45136 * math/libm-test.inc (cos_test): Add another test.
45137 (sin_test): Likewise.
45138 * sysdeps/i386/fpu/libm-test-ulps: Update.
45141 * math/libm-test.inc (cosh_test): Add more tests.
45143 * version.h (RELEASE): Set to "development".
45144 (VERSION): Set to "2.16.90".
45146 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45148 * NEWS: Update copyright. Remove last-updated date.
45149 Mention math library bug fixes and timezone data changes.
45150 * README: Mention GNU/Hurd, x32, and HPPA support status.
45152 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45154 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45156 2012-06-27 Andreas Jaeger <aj@suse.de>
45158 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45160 2012-06-25 Andreas Jaeger <aj@suse.de>
45162 * sysdeps/s390/fpu/libm-test-ulps: Update.
45164 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45165 Thomas Schwinge <thomas@codesourcery.com>
45167 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45168 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45169 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45172 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45174 * sysdeps/mach/start.c: Remove file.
45175 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45176 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45177 * sysdeps/sh/init-first.c: Likewise.
45179 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45180 registers for frame unwinding purposes, add CFI directives.
45181 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45182 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45183 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45186 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45187 __fortify_fail returning.
45188 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45190 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45191 sysdeps/sh/____longjmp_chk.S.
45192 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45193 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45194 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45195 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45197 * sysdeps/sh/abort-instr.h: New file.
45198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45199 process in case exit returns.
45201 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45202 initialize the GOT register before use.
45204 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45205 calculation of ARGC > 4.
45207 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45208 meaningful names to some local labels.
45210 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45211 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45213 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45214 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45215 (__arch_compare_and_exchange_val_16_acq): Likewise.
45216 (__arch_compare_and_exchange_val_32_acq): Likewise.
45217 (atomic_exchange_and_add): Fix gUSA sequence.
45218 (atomic_add): Likewise.
45219 (atomic_add_negative): Likewise.
45220 (atomic_add_zero): Likewise.
45221 (atomic_bit_test_set): Likewise.
45223 2012-06-22 Andreas Schwab <schwab@redhat.com>
45226 * include/link.h (struct link_map): Add l_free_initfini.
45227 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45229 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45230 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45231 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45234 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45236 * configure.in: Use AC_LANG_SOURCE.
45237 * configure: Regenerate.
45239 2012-06-22 Roland McGrath <roland@hack.frob.com>
45241 * configure.in (libc_cv_localstatedir): New substituted variable.
45242 * configure: Regenerated.
45243 * config.make.in (localstatedir): New variable, substituted from
45244 libc_cv_localstatedir.
45245 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45246 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45247 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45248 * sysdeps/gnu/configure: Regenerated.
45250 2012-06-21 Jeff Law <law@redhat.com>
45253 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45254 free. Simplify list management for _LIBC case.
45256 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45259 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45260 Clear sign bit of 64-bit integer value before comparing against
45263 * sysdeps/mach/configure: Regenerated.
45265 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45268 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45270 2012-06-21 Jeff Law <law@redhat.com>
45273 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45274 uint16_t for elements in the "seen" array to avoid char overflows.
45275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45276 * elf/dl-open.c (dl_open_worker): Likewise.
45278 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45280 * scripts/list-sources.sh: Scan PORTS for translations.
45281 * po/libc.pot: Regenerated.
45283 2012-06-21 Andreas Jaeger <aj@suse.de>
45286 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45288 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45289 * bits/byteswap-16.h (__bswap_16): Likewise.
45290 * bits/byteswap.h (__bswap_constant_16): Likewise.
45292 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45295 * sysdeps/i386/fpu_control.h: Removed.
45296 * sysdeps/x86_64/fpu_control.h: Moved to ...
45297 * sysdeps/x86/fpu_control.h: Here.
45299 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45300 (_FPU_SETCW): Likewise.
45302 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45305 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45306 * sysdeps/x86/fpu/bits/mathinline.h: This.
45307 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45311 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45312 functions if __x86_64__ is defined.
45314 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45316 * string/endian.h: Add !__ASSEMBLER__ condition for including
45317 conversion interfaces.
45319 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45323 of ABS(x) in calculating zero to negative powers other than odd
45325 * math/libm-test.inc (pow_test): Add more tests.
45327 2012-06-15 Andreas Jaeger <aj@suse.de>
45329 * manual/contrib.texi (Contributors): Update entry of Liubov
45330 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45333 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45335 * string/string.h: Add __wur to GNU version of strerror_r.
45337 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45340 * string/Makefile (tests): Add tst-strtok_r.
45341 * string/tst-strtok_r.c: New file.
45342 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45343 RAX_LP/RDX_LP on SAVE_PTR.
45345 2012-06-14 Roland McGrath <roland@hack.frob.com>
45347 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45349 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45351 * libm_test.inc (csqrt_test): Allow more spurious underflow
45353 (j0_test): Likewise.
45354 (j1_test): Likewise.
45355 (y0_test): Likewise.
45356 (y1_test): Likewise.
45358 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45360 * po/Makefile (libc.pot): Use UTF-8 charset.
45362 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45365 Suppress sign-conversion warning from FD_SET.
45366 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45367 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45368 not unsigned long int.
45369 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45371 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45375 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45376 __extern_always_inline instead of __extern_inline.
45377 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45378 (__signbit): Likewise.
45379 (__signbitl): Support C++ namespace.
45380 (lrintf): New inline function.
45382 (llrintf): Likewise.
45383 (llrint): Likewise.
45393 (floorf): Likewise.
45394 (nearbyint): Likewise.
45395 (nearbyintf): Likewise.
45397 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45399 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45400 non-default versions.
45402 2012-06-11 Roland McGrath <roland@hack.frob.com>
45405 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45407 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45409 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45410 (FE_UPWARD, FE_DOWNWARD): Don't define.
45411 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45412 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45414 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45416 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45417 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45419 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45421 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45423 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45424 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45426 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45429 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45430 * sysdeps/i386/fpu/Implies: New file.
45431 * sysdeps/x86_64/fpu/Implies: Likewise.
45432 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45433 * sysdeps/x86/fpu/bits/fenv.h: This.
45435 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45438 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45441 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45442 character 0xffff that matches the last element of the
45445 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45450 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45452 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45453 values higher than 25.6283.
45455 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45457 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45458 subnormal exponent extraction and add some __builtin_expect.
45459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45460 Fix for subnormal mantissa calculation.
45462 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45464 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45465 cpu2 is -1 and errno is not ENOSYS.
45467 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45470 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45471 * sysdeps/x86/bits/string.h: This.
45472 * sysdeps/x86_64/bits/string.h: Removed.
45474 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45475 if not compiling for x86-64, but compiling for >= i486.
45477 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45478 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45480 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45481 New macro from Linux kernel 3.4.0.
45482 (FP_XSTATE_MAGIC2): Likewise.
45483 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45484 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45485 (struct _fpx_sw_bytes): New struct.
45486 (struct _xsave_hdr): Likewise.
45487 (struct _ymmh_state): Likewise.
45488 (struct _xstate): Likewise.
45490 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45491 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45492 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45493 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45494 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45495 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45497 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45499 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45500 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45501 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45502 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45504 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45507 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45508 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45509 (sysdep_headers): Include sys/platform/ppc.h.
45510 * sysdeps/powerpc/test-gettimebase.c: Test for
45511 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45512 * manual/Makefile (appendices): Include platform.texi.
45513 * manual/contrib.texi (Contributors): Update @node pointers.
45514 * manual/maint.texi (Maintenance): Likewise.
45515 (Platform): New node.
45516 * manual/platform.texi: New file. Document the new features.
45518 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45519 Jakub Jelinek <jakub@redhat.com>
45522 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45523 where __builtin_expect is unavailable.
45525 2012-06-03 David S. Miller <davem@davemloft.net>
45527 * stdlib/longlong.h: Updated from GCC.
45529 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45532 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45533 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45536 (GLIBC_2.16): Likewise.
45538 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45540 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45542 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45545 (default-abi): New variable.
45546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45547 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45549 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45551 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45553 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45556 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45557 definition. Document in comment.
45559 2012-06-01 David S. Miller <davem@davemloft.net>
45561 * stdlib/longlong.h: Updated from GCC.
45563 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45566 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45567 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45568 sys/debugreg.h sys/io.h here.
45569 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45570 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45572 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45573 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45574 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45575 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45576 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45577 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45579 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45580 Define only if __x86_64__ is defined.
45582 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45585 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45586 Use int64_t for variable i.
45587 * math/libm-test.inc (fmod_test): Add more tests.
45589 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45590 z computation is not scheduled after fetestexcept.
45591 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45592 Use math_force_eval instead of asm to ensure calculation scheduled
45593 before exception test.
45594 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45595 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45597 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45600 computation is not scheduled after fetestexcept.
45602 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45605 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45606 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45608 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45610 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45611 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45613 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45616 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45618 (__WCHAR_MIN): Support __WORDSIZE == 64.
45619 (__WCHAR_MAX): Likewise.
45621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45622 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45626 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45629 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45630 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45632 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45633 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45635 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45636 Defined to 1 if __x86_64__ isn't defined.
45637 (_STAT_VER_LINUX_OLD): New.
45638 (st_atime): Remove duplicate.
45639 (st_mtime): Likewise.
45640 (st_ctime): Likewise.
45642 2012-05-31 David S. Miller <davem@davemloft.net>
45644 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45647 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45649 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45653 * elf/dl-reloc.c: Include <_itoa.h>.
45654 (_dl_reloc_bad_type): Remove use of INTUSE.
45655 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45656 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45657 * stdio-common/psiginfo.c (psiginfo): Likewise.
45658 * stdio-common/psignal.c (psignal): Likewise.
45659 * string/strsignal.c (strsignal): Likewise.
45660 * include/signal.h (_sys_siglist): Declare hidden proto.
45661 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45662 INTVARDEF with libc_hidden_data_def.
45663 * stdio-common/itoa-udigits.c: Likewise.
45664 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45665 (_itoa_lower_digits_internal): Remove declaration.
45666 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45667 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45668 (_sys_sigabbrev_internal): Remove aliases.
45669 (_sys_siglist): Define hidden alias.
45671 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45676 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45679 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45680 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45682 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45683 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45684 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45685 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45686 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45687 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45689 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45690 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45691 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45693 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45705 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45706 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45707 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45708 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45709 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45710 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45713 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45715 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45716 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45720 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45722 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45723 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45725 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45727 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45728 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45729 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45731 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45733 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45735 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45737 * math/math.h (M_El): Use two more decimal places.
45738 (M_LOG2El): Likewise.
45739 (M_LOG10El): Likewise.
45740 (M_LN2l): Likewise.
45741 (M_LN10l): Likewise.
45743 (M_PI_2l): Likewise.
45744 (M_PI_4l): Likewise.
45745 (M_1_PIl): Likewise.
45746 (M_2_PIl): Likewise.
45747 (M_2_SQRTPIl): Likewise.
45748 (M_SQRT2l): Likewise.
45749 (M_SQRT1_2l): Likewise.
45751 2012-05-31 David S. Miller <davem@davemloft.net>
45753 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45754 values between float registers.
45755 * sysdeps/sparc/sparc64/memset.S: Likewise.
45756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45758 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45760 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45761 -D_FORTIFY_SOURCE=1.
45762 (CPPFLAGS-tst-longjmp_chk.c): Define.
45763 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45764 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45765 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45766 CFLAGS-tst-wchar-h.c.
45768 2012-05-31 Marek Polacek <polacek@redhat.com>
45771 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45772 __endmntent_internal): Remove declaration.
45773 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45774 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45775 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45777 2012-05-30 David S. Miller <davem@davemloft.net>
45779 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45780 (___Q_simulate_exceptions): Use real FP ops rather than writing
45782 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45785 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45788 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45789 * sysdeps/x86/bits/xtitypes.h: This.
45791 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45792 * sysdeps/x86/bits/wordsize.h: This.
45794 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45795 * sysdeps/x86/bits/huge_vall.h: This.
45797 * sysdeps/i386/bits/select.h: Removed.
45798 * sysdeps/x86_64/bits/select.h: Renamed to ...
45799 * sysdeps/x86/bits/select.h: This.
45801 * sysdeps/i386/bits/setjmp.h: Removed.
45802 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45803 * sysdeps/x86/bits/setjmp.h: This.
45805 * sysdeps/i386/bits/mathdef.h: Removed.
45806 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45807 * sysdeps/x86/bits/mathdef.h: This.
45809 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45812 * include/sys/socket.h (__connect_internal)
45813 (__libc_sa_len_internal): Remove declaration.
45814 (__connect, __libc_sa_len): Declare hidden_proto.
45815 (SA_LEN): Remove use of INTUSE.
45816 * socket/connect.c: Add libc_hidden_def.
45817 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45818 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45819 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45821 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45822 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45823 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45824 of adding _internal alias.
45826 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45829 * sysdeps/i386/bits/link.h: Removed.
45830 * sysdeps/i386/bits/linkmap.h: Likewise.
45831 * sysdeps/x86_64/bits/link.h: Renamed to ...
45832 * sysdeps/x86/bits/link.h: This.
45833 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45834 * sysdeps/x86/bits/linkmap.h: This.
45836 * sysdeps/i386/bits/endian.h: Removed.
45837 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45838 * sysdeps/x86/bits/endian.h: This.
45840 * sysdeps/i386/bits/byteswap.h: Removed.
45841 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45842 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45843 * sysdeps/x86/bits/byteswap.h: This.
45844 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45845 * sysdeps/x86/bits/byteswap-16.h: This.
45846 * sysdeps/i386/Implies: Add x86.
45847 * sysdeps/x86_64/Implies: Likewise.
45849 2012-05-30 David S. Miller <davem@davemloft.net>
45851 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45852 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45853 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45854 (FP_TRAPPING_EXCEPTIONS): Define.
45855 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45856 (FP_TRAPPING_EXCEPTIONS): Define.
45857 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45858 subnormals only when inexact has been signalled or underflow
45859 exceptions are enabled.
45860 (_FP_PACK_CANONICAL): Likewise.
45862 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45865 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45866 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45868 2012-05-30 Richard Henderson <rth@twiddle.net>
45870 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45871 with #ifndef NOT_IN_libc.
45873 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45874 marked to avoid plt entry.
45876 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45879 * Makeconfig (default-abi): New macro.
45880 (abi-includes): Likewise.
45881 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45882 $(abi-$(default-abi)-lib-soname) for soname if defined.
45883 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45885 * Makefile (installed-stubs): Likewise.
45886 * include/stubs-biarch.h: Removed.
45887 * scripts/lib-names.awk: Only handle one library at a time.
45888 * scripts/soversions.awk: Remove WORDSIZE support.
45889 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45891 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45893 (syscall-list-default-condition): Likewise.
45894 (syscall-list-default-condition): Likewise.
45895 (syscall-list-includes): Likewise.
45896 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45897 syscall-list-* with abi-*. Handle undefined abi-variants.
45898 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45899 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45900 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45901 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45902 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45903 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45905 (syscall-list-32-options): Likewise.
45906 (syscall-list-32-condition): Likewise.
45907 (syscall-list-64-options): Likewise.
45908 (syscall-list-64-condition): Likewise.
45909 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45911 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45914 (abi-64-ld-soname): New macro.
45915 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45916 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45919 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45920 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45922 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45924 * sysdeps/unix/sysv/linux/kernel-features.h
45925 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45926 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45927 include <kernel-features.h>.
45928 [!__NR_ftruncate64]: Remove conditional code.
45929 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45930 [__NR_ftruncate64]: Make code unconditional.
45931 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45932 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45933 include <kernel-features.h>.
45934 [!__NR_ftruncate64]: Remove conditional code.
45935 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45936 [__NR_ftruncate64]: Make code unconditional.
45937 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45939 include <kernel-features.h>.
45940 [!__NR_ftruncate64]: Remove conditional code.
45941 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45942 [__NR_ftruncate64]: Make code unconditional.
45943 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45945 include <kernel-features.h>.
45946 [!__NR_ftruncate64]: Remove conditional code.
45947 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45948 [__NR_ftruncate64]: Make code unconditional.
45949 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45951 * configure.in (libc_cv_fpie): Weaken to a compile test using
45952 LIBC_TRY_CC_OPTION.
45953 * configure: Regenerated.
45955 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45970 2012-05-27 David S. Miller <davem@davemloft.net>
45972 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45974 (__Q_simulate_exceptions): Return void. Change to simulate
45975 exceptions by writing into the %fsr.
45976 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45977 (__Qp_handle_exceptions): Likewise.
45979 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45980 __Qp_handle_exceptions.
45981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45982 __Qp_handle_exceptions.
45983 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45984 as unused and give dummy FP_RND_NEAREST initializer.
45985 (FP_INHIBIT_RESULTS): Define.
45986 (___Q_simulate_exceptions): Update declaration.
45987 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45989 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45990 as unused and give dummy FP_RND_NEAREST initializer.
45991 (__Qp_handle_exceptions): Update declaration.
45992 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45995 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45997 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45998 the temporary FPU control word.
45999 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46000 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46001 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46002 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46003 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46004 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46005 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46006 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46007 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46008 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46009 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46011 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46013 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46016 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46018 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46019 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46020 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46021 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46023 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46024 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46027 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46029 * po/h.po: Update from translation team.
46031 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46033 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46035 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46036 handling of denormals.
46037 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46038 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46039 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46040 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46046 2012-05-26 Marek Polacek <polacek@redhat.com>
46049 * math/libm-test.inc (fma_test): Don't always expect underflow
46052 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46055 * elf/tst-execstack.c: Include stackinfo.h.
46056 (do_test): Adjust test case to ensure that pthread_getattr_np
46057 behaviour remains the same after marking stack executable.
46059 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46061 * sysdeps/unix/sysv/linux/kernel-features.h
46062 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46063 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46065 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46066 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46067 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46069 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46070 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46072 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46074 * configure.in: Define the default includes to being none.
46075 * configure: Regenerated.
46077 2012-05-25 Roland McGrath <roland@hack.frob.com>
46079 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46080 * sysdeps/x86_64/setjmp.S: Likewise.
46081 * sysdeps/i386/bsd-setjmp.S: Likewise.
46082 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46083 * sysdeps/i386/setjmp.S: Likewise.
46084 * sysdeps/i386/__longjmp.S: Likewise.
46085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46086 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46088 * include/stap-probe.h: New file.
46089 * configure.in: Handle --enable-systemtap.
46090 * configure: Regenerated.
46091 * config.h.in (USE_STAP_PROBE): New #undef.
46092 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46093 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46094 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46096 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46100 to 2.4.0 where earlier.
46101 * sysdeps/unix/sysv/linux/configure: Regenerated.
46102 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46103 <kernel-features.h>.
46104 [__ASSUME_32BITUIDS]: Make code unconditional.
46105 [!__ASSUME_32BITUIDS]: Remove conditional code.
46106 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46107 <kernel-features.h>.
46108 [__ASSUME_32BITUIDS]: Make code unconditional.
46109 [!__ASSUME_32BITUIDS]: Remove conditional code.
46110 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46111 [__ASSUME_32BITUIDS]: Make code unconditional.
46112 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46113 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46114 <kernel-features.h>.
46115 [__ASSUME_32BITUIDS]: Make code unconditional.
46116 [!__ASSUME_32BITUIDS]: Remove conditional code.
46117 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46118 <kernel-features.h>.
46119 [__ASSUME_32BITUIDS]: Make code unconditional.
46120 [!__ASSUME_32BITUIDS]: Remove conditional code.
46121 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46122 <kernel-features.h>.
46123 [__ASSUME_32BITUIDS]: Make code unconditional.
46124 [!__ASSUME_32BITUIDS]: Remove conditional code.
46125 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46126 <kernel-features.h>.
46127 [__ASSUME_32BITUIDS]: Make code unconditional.
46128 [!__ASSUME_32BITUIDS]: Remove conditional code.
46129 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46130 <kernel-features.h>.
46131 [__ASSUME_32BITUIDS]: Make code unconditional.
46132 [!__ASSUME_32BITUIDS]: Remove conditional code.
46133 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46134 <kernel-features.h>.
46135 [__ASSUME_32BITUIDS]: Make code unconditional.
46136 [!__ASSUME_32BITUIDS]: Remove conditional code.
46137 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46138 <kernel-features.h>.
46139 [__ASSUME_32BITUIDS]: Make code unconditional.
46140 [!__ASSUME_32BITUIDS]: Remove conditional code.
46141 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46142 <kernel-features.h>.
46143 [__ASSUME_32BITUIDS]: Make code unconditional.
46144 [!__ASSUME_32BITUIDS]: Remove conditional code.
46145 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46146 <kernel-features.h>.
46147 [__ASSUME_32BITUIDS]: Make code unconditional.
46148 [!__ASSUME_32BITUIDS]: Remove conditional code.
46149 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46150 <kernel-features.h>.
46151 [__ASSUME_32BITUIDS]: Make code unconditional.
46152 [!__ASSUME_32BITUIDS]: Remove conditional code.
46153 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46154 <kernel-features.h>.
46155 [__NR_setresgid] (__setresgid): Do not declare.
46156 [__ASSUME_32BITUIDS]: Make code unconditional.
46157 [!__ASSUME_32BITUIDS]: Remove conditional code.
46158 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46159 <kernel-features.h>.
46160 [__NR_setresuid] (__setresuid): Do not declare.
46161 [__ASSUME_32BITUIDS]: Make code unconditional.
46162 [!__ASSUME_32BITUIDS]: Remove conditional code.
46163 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46164 <kernel-features.h>.
46165 [__ASSUME_32BITUIDS]: Make code unconditional.
46166 [!__ASSUME_32BITUIDS]: Remove conditional code.
46167 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46168 <kernel-features.h>.
46169 [__ASSUME_32BITUIDS]: Make code unconditional.
46170 [!__ASSUME_32BITUIDS]: Remove conditional code.
46171 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46172 <kernel-features.h>.
46173 [__ASSUME_32BITUIDS]: Make code unconditional.
46174 [!__ASSUME_32BITUIDS]: Remove conditional code.
46175 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46176 <kernel-features.h>.
46177 [__ASSUME_32BITUIDS]: Make code unconditional.
46178 [!__ASSUME_32BITUIDS]: Remove conditional code.
46179 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46180 <kernel-features.h>.
46181 [__ASSUME_32BITUIDS]: Make code unconditional.
46182 [!__ASSUME_32BITUIDS]: Remove conditional code.
46183 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46184 <kernel-features.h>.
46185 [__ASSUME_32BITUIDS]: Make code unconditional.
46186 [!__ASSUME_32BITUIDS]: Remove conditional code.
46187 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46188 <kernel-features.h>.
46189 [__ASSUME_32BITUIDS]: Make code unconditional.
46190 [!__ASSUME_32BITUIDS]: Remove conditional code.
46191 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46192 <kernel-features.h>.
46193 [__ASSUME_32BITUIDS]: Make code unconditional.
46194 [!__ASSUME_32BITUIDS]: Remove conditional code.
46195 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46196 <kernel-features.h>.
46197 [__ASSUME_32BITUIDS]: Make code unconditional.
46198 [!__ASSUME_32BITUIDS]: Remove conditional code.
46199 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46200 <kernel-features.h>.
46201 [__ASSUME_32BITUIDS]: Make code unconditional.
46202 [!__ASSUME_32BITUIDS]: Remove conditional code.
46203 * sysdeps/unix/sysv/linux/kernel-features.h
46204 (__ASSUME_SETRESUID_SYSCALL): Remove.
46205 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46206 (__ASSUME_32BITUIDS): Likewise.
46207 (__ASSUME_LDT_WORKS): Likewise.
46208 (__ASSUME_O_DIRECTORY): Likewise.
46209 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46210 architecture but not kernel version.
46211 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46212 (__ASSUME_MMAP2_SYSCALL): Likewise.
46213 (__ASSUME_STAT64_SYSCALL): Likewise.
46214 (__ASSUME_IPC64): Likewise.
46215 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46216 <kernel-features.h>.
46217 [__ASSUME_32BITUIDS]: Make code unconditional.
46218 [!__ASSUME_32BITUIDS]: Remove conditional code.
46219 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46220 <kernel-features.h>.
46221 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46222 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46223 132096]: Remove conditional code.
46224 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46225 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46226 <kernel-features.h>.
46227 [__ASSUME_32BITUIDS]: Make code unconditional.
46228 [!__ASSUME_32BITUIDS]: Remove conditional code.
46229 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46230 <kernel-features.h>.
46231 [__ASSUME_32BITUIDS]: Make code unconditional.
46232 [!__ASSUME_32BITUIDS]: Remove conditional code.
46233 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46234 <kernel-features.h>.
46235 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46237 (__setresgid): Do not declare.
46238 [__ASSUME_32BITUIDS]: Make code unconditional.
46239 [!__ASSUME_32BITUIDS]: Remove conditional code.
46240 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46241 <kernel-features.h>.
46242 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46244 (__setresuid): Do not declare.
46245 [__ASSUME_32BITUIDS]: Make code unconditional.
46246 [!__ASSUME_32BITUIDS]: Remove conditional code.
46247 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46248 <kernel-features.h>.
46249 [__ASSUME_32BITUIDS]: Make code unconditional.
46250 [!__ASSUME_32BITUIDS]: Remove conditional code.
46251 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46252 <kernel-features.h>.
46253 [__ASSUME_32BITUIDS]: Make code unconditional.
46254 [!__ASSUME_32BITUIDS]: Remove conditional code.
46256 2012-05-25 Richard Henderson <rth@twiddle.net>
46258 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46259 dl_hwcap to ifunc resolver.
46260 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46262 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46263 dl_hwcap to ifunc resolver.
46264 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46266 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46269 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46270 for |x| <= 2**-26, not 2**-57.
46271 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46274 2012-05-24 Jeff Law <law@redhat.com>
46276 * stdio-common/Makefile (tests): Add bug25.
46277 * stdio-common/bug25.c: New test.
46279 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46282 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46283 multiple of MALLOC_ALIGNMENT in size.
46284 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46286 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46288 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46290 (FILENAME_MAX): Use macro-int-constant.
46291 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46292 (_IOFBF): Use macro-int-constant.
46293 (_IOLBF): Likewise.
46294 (_IONBF): Likewise.
46295 (SEEK_CUR): Likewise.
46296 (SEEK_END): Likewise.
46297 (SEEK_SET): Likewise.
46298 (TMP_MAX): Likewise.
46299 (EOF): Use macro-int-constant. Require < 0.
46300 (NULL): Use macro-constant. Require == 0.
46301 (stdin): Require type to be FILE *.
46302 (stdout): Likewise.
46303 (stderr): Likewise.
46304 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46305 macro-int-constant.
46306 (EXIT_SUCCESS): Likewise.
46307 (NULL): Use macro-constant. Require == 0.
46308 (RAND_MAX): Use macro-int-constant.
46309 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46310 [C99-based standards] (strtof): Require function.
46311 [C99-based standards] (strtold): Likewise.
46312 [C99-based standards] (strtoll): Likewise.
46313 [C99-based standards] (strtoull): Likewise.
46314 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46315 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46316 [ISO || ISO99 || ISO11] (math.h): Likewise.
46317 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46318 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46321 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46324 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46325 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46326 * intl/dgettext.c (DCGETTEXT): Likewise.
46327 * intl/gettext.c (DCGETTEXT): Likewise.
46328 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46329 * posix/regex_internal.h (gettext): Likewise.
46330 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46331 Remove declaration.
46332 * include/argz.h (__argz_count_internal)
46333 (__argz_stringify_internal): Remove declaration.
46334 (__argz_count, __argz_stringify): Declare hidden proto.
46335 * intl/dcgettext.c: Remove use of INTDEF.
46336 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46337 * string/argz-stringify.c: Likewise.
46338 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46339 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46340 Declare hidden proto.
46341 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46342 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46343 Declare hidden proto.
46344 * include/stdio.h (__asprintf_internal): Don't declare.
46345 (__asprintf): Don't define as macro. Declare hidden proto.
46346 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46347 (__fsetlocking): Declare hidden proto.
46348 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46349 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46351 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46352 (_IO_setlinebuf): Remove use of INTUSE.
46353 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46354 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46355 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46356 Remove declaration.
46357 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46358 (_IO_do_flush): Remove use of INTUSE.
46359 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46360 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46361 (_IO_adjust_column, _IO_least_wmarker)
46362 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46363 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46364 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46365 (_IO_default_doallocate, _IO_wdefault_doallocate)
46366 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46367 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46368 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46369 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46370 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46371 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46372 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46373 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46374 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46375 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46376 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46377 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46378 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46380 (_IO_flush_all_internal, _IO_adjust_column_internal)
46381 (_IO_default_uflow_internal, _IO_default_finish_internal)
46382 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46383 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46384 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46385 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46386 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46387 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46388 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46389 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46390 (_IO_file_close_internal, _IO_file_close_it_internal)
46391 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46392 (_IO_file_init_internal, _IO_file_attach_internal)
46393 (_IO_file_fopen_internal, _IO_file_read_internal)
46394 (_IO_file_sync_internal, _IO_file_seek_internal)
46395 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46396 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46397 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46398 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46399 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46400 (_IO_list_all_internal, _IO_link_in_internal)
46401 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46402 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46403 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46404 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46405 (_IO_do_write_internal, _IO_padn_internal)
46406 (_IO_getline_info_internal, _IO_getline_internal)
46407 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46408 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46409 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46410 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46411 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46412 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46413 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46414 with libc_hidden_ver, remove use of INTUSE.
46415 * libio/genops.c: Likewise.
46416 * libio/freopen.c: Likewise.
46417 * libio/freopen64.c: Likewise.
46418 * libio/iofclose.c: Likewise.
46419 * libio/iofdopen.c: Likewise.
46420 * libio/iofflush.c: Likewise.
46421 * libio/iofflush_u.c: Likewise.
46422 * libio/iofgets.c: Likewise.
46423 * libio/iofgets_u.c: Likewise.
46424 * libio/iofopen.c: Likewise.
46425 * libio/iofopncook.c: Likewise.
46426 * libio/iofread.c: Likewise.
46427 * libio/iofread_u.c: Likewise.
46428 * libio/ioftell.c: Likewise.
46429 * libio/iofwrite.c: Likewise.
46430 * libio/iogetline.c: Likewise.
46431 * libio/iogets.c: Likewise.
46432 * libio/iogetwline.c: Likewise.
46433 * libio/iopadn.c: Likewise.
46434 * libio/iopopen.c: Likewise.
46435 * libio/ioseekoff.c: Likewise.
46436 * libio/ioseekpos.c: Likewise.
46437 * libio/iosetbuffer.c: Likewise.
46438 * libio/iosetvbuf.c: Likewise.
46439 * libio/ioungetc.c: Likewise.
46440 * libio/ioungetwc.c: Likewise.
46441 * libio/iovdprintf.c: Likewise.
46442 * libio/iovsprintf.c: Likewise.
46443 * libio/iovsscanf.c: Likewise.
46444 * libio/memstream.c: Likewise.
46445 * libio/obprintf.c: Likewise.
46446 * libio/oldfileops.c: Likewise.
46447 * libio/oldiofclose.c: Likewise.
46448 * libio/oldiofdopen.c: Likewise.
46449 * libio/oldiofopen.c: Likewise.
46450 * libio/oldiopopen.c: Likewise.
46451 * libio/oldstdfiles.c: Likewise.
46452 * libio/putc.c: Likewise.
46453 * libio/setbuf.c: Likewise.
46454 * libio/setlinebuf.c: Likewise.
46455 * libio/stdfiles.c: Likewise.
46456 * libio/strops.c: Likewise.
46457 * libio/vasprintf.c: Likewise.
46458 * libio/vscanf.c: Likewise.
46459 * libio/vsnprintf.c: Likewise.
46460 * libio/vswprintf.c: Likewise.
46461 * libio/wfiledoalloc.c: Likewise.
46462 * libio/wfileops.c: Likewise.
46463 * libio/wgenops.c: Likewise.
46464 * libio/wmemstream.c: Likewise.
46465 * libio/wstrops.c: Likewise.
46466 * libio/__fpurge.c: Likewise.
46467 * libio/__fsetlocking.c: Likewise.
46468 * assert/assert.c: Likewise.
46469 * debug/fgets_chk.c: Likewise.
46470 * debug/fgets_u_chk.c: Likewise.
46471 * debug/fread_chk.c: Likewise.
46472 * debug/fread_u_chk.c: Likewise.
46473 * debug/gets_chk.c: Likewise.
46474 * debug/obprintf_chk.c: Likewise.
46475 * debug/vasprintf_chk.c: Likewise.
46476 * debug/vdprintf_chk.c: Likewise.
46477 * debug/vsnprintf_chk.c: Likewise.
46478 * debug/vsprintf_chk.c: Likewise.
46479 * malloc/mtrace.c: Likewise.
46480 * misc/error.c: Likewise.
46481 * misc/syslog.c: Likewise.
46482 * stdio-common/asprintf.c: Likewise.
46483 * stdio-common/fxprintf.c: Likewise.
46484 * stdio-common/getw.c: Likewise.
46485 * stdio-common/isoc99_fscanf.c: Likewise.
46486 * stdio-common/isoc99_scanf.c: Likewise.
46487 * stdio-common/isoc99_vfscanf.c: Likewise.
46488 * stdio-common/isoc99_vscanf.c: Likewise.
46489 * stdio-common/isoc99_vsscanf.c: Likewise.
46490 * stdio-common/printf-prs.c: Likewise.
46491 * stdio-common/printf_fp.c: Likewise.
46492 * stdio-common/printf_fphex.c: Likewise.
46493 * stdio-common/printf_size.c: Likewise.
46494 * stdio-common/putw.c: Likewise.
46495 * stdio-common/scanf.c: Likewise.
46496 * stdio-common/sprintf.c: Likewise.
46497 * stdio-common/tmpfile.c: Likewise.
46498 * stdio-common/vfprintf.c: Likewise.
46499 * stdio-common/vfscanf.c: Likewise.
46500 * stdlib/strfmon_l.c: Likewise.
46501 * sunrpc/openchild.c: Likewise.
46502 * sunrpc/xdr_stdio.c: Likewise.
46503 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46504 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46506 2012-05-24 Roland McGrath <roland@hack.frob.com>
46508 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46510 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46511 in the third column, to generate for the shared library an IFUNC
46512 that uses _dl_vdso_vsym.
46513 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46514 * Makeconfig (object-suffixes-noshared): New variable.
46516 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46517 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46518 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46519 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46522 * include/sys/time.h (__gettimeofday): Remove macro.
46523 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46524 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46526 (__gettimeofday): Add libc_hidden_def.
46527 (gettimeofday): Add libc_hidden_weak.
46528 * sysdeps/mach/gettimeofday.c: Likewise.
46529 * sysdeps/posix/gettimeofday.c: Likewise.
46530 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46531 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46533 (__gettimeofday_internal): Remove strong_alias.
46534 (__gettimeofday): Add libc_hidden_def.
46535 (gettimeofday): Add libc_hidden_weak.
46536 * sysdeps/unix/syscalls.list (gettimeofday):
46537 Remove __gettimeofday_internal alias.
46539 2012-05-24 Daniel Jacobowitz <drow@false.org>
46540 H.J. Lu <hongjiu.lu@intel.com>
46543 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46544 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46545 (largebin_index_32_big): New.
46546 (largebin_index): Use it for 16-byte alignment.
46547 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46548 correction with front_misalign.
46550 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46578 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46579 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46581 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46585 * math/libm-test.inc (exp_test): Add test from bug 14036.
46586 (pow_test): Add test from bug 10846.
46588 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46590 (special_function): Do not include flags in test name.
46591 (parse_args): Likewise.
46592 * sysdeps/i386/fpu/libm-test-ulps: Update.
46593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46594 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46595 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46598 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46600 * math/libm-test.inc ("Philosophy"): Update comment about
46602 (UNDERFLOW_EXCEPTION): New macro.
46603 (UNDERFLOW_EXCEPTION_OK): Likewise.
46604 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46605 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46606 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46607 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46608 (INVALID_EXCEPTION_OK): Update value.
46609 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46610 (OVERFLOW_EXCEPTION_OK): Likewise.
46611 (IGNORE_ZERO_INF_SIGN): Likewise.
46612 (test_exceptions): Handle underflow exceptions.
46613 (acos_test): Update for underflow exception expectations.
46614 (cexp_test): Likewise.
46615 (clog_test): Likewise.
46616 (clog10_test): Likewise.
46617 (csqrt_test): Likewise.
46618 (ctan_test): Likewise.
46619 (ctanh_test): Likewise.
46620 (exp_test): Likewise.
46621 (exp10_test): Likewise.
46622 (exp2_test): Likewise.
46623 (expm1_test): Likewise.
46624 (fma_test): Likewise.
46625 (j0_test): Likewise.
46626 (jn_test): Likewise.
46627 (nexttoward_test): Likewise.
46628 (pow_test): Likewise.
46629 (scalbn_test): Likewise.
46630 (scalbln_test): Likewise.
46631 (tan_test): Likewise.
46632 (y1_test): Likewise.
46633 * sysdeps/i386/fpu/libm-test-ulps: Update.
46634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46636 2012-05-23 David S. Miller <davem@davemloft.net>
46638 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46639 (__libc_sigaction): Remove unused local variables.
46641 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46643 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46645 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46647 mktime: avoid signed integer overflow
46648 * time/mktime.c (__mktime_internal): Do not mishandle the case
46649 where diff == INT_MIN.
46651 mktime: simplify computation of average
46652 * time/mktime.c (ranged_convert): Use new time_t_avg function
46653 instead of rolling our own (probably-slower) code.
46655 mktime: do not assume signed right shift propagates sign bit
46656 * time/mktime.c (isdst_differ): New static function.
46657 (__mktime_internal): No need to normalize tm_isdst now.
46658 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46661 mktime: merge another wrapv change from gnulib
46662 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46663 from some compilers.
46665 mktime: remove incorrect attempt at unusual arithmetics
46666 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46667 The code didn't really work on such machines anyway.
46668 (TYPE_MINIMUM): Assume two's complement.
46669 (twos_complement_arithmetic): Verify that long_int and time_t
46670 are two's complement (or unsigned, in the latter case).
46672 mktime: check signed shifts on long_int and time_t, too
46673 * time/mktime.c (SHR): Check that shifts work as desired
46674 on the types long_int and time_t too, as SHR is used on
46677 mktime: do not assume 'long' is wide enough
46678 * time/mktime.c (verify): Move decl up.
46679 (long_int): New type.
46680 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46681 to remove assumption in the code that 'long' is wide enough to
46682 store year values. This assumption is not true on x32 and on
46683 some non-glibc platforms.
46685 mktime: merge wrapv change from gnulib
46686 * time/mktime.c (WRAPV): New macro.
46687 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46688 (guess_time_tm, __mktime_internal): Do not assume that signed
46689 integer overflow wraps around; modern compilers generate code
46690 where this assumption is no longer valid.
46692 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46694 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46695 Replace "jmp L(pseudo_end)" with "ret".
46696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46699 2012-05-23 Andreas Jaeger <aj@suse.de>
46701 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46702 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46704 2012-05-23 Andreas Jaeger <aj@suse.de>
46705 Maximilian Attems <max@stro.at>
46707 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46710 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46712 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46713 code so that pseudo_end is just ret and the stack pointer is
46714 correct also for static library in error case.
46716 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46718 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46719 move to syscalls.list.
46720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46725 * manual/install.texi (Running make install): Do not mention Linux
46726 kernel version for which pt_chown is not needed.
46727 (Linux): Do not mention problems with nscd with 2.0 kernels.
46728 * INSTALL: Regenerated.
46730 2012-05-23 Andreas Jaeger <aj@suse.de>
46732 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46733 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46735 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46736 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46737 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46738 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46739 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46740 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46741 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46742 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46744 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46745 * sysdeps/unix/sysv/linux/bits/in.h
46746 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46748 2012-05-22 Roland McGrath <roland@hack.frob.com>
46750 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46751 (PREPARE_VERSION): Just use assert instead, it will be elided
46752 under [NDEBUG] anyway.
46754 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46756 * sysdeps/unix/sysv/linux/Makefile: Include
46757 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46758 (sysdep_routines): Remove sysctl.
46759 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46760 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46761 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46762 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46763 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46765 2012-05-22 Andreas Jaeger <aj@suse.de>
46767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46768 that pseudo_end is just ret and the stack pointer is correct also
46769 for static library in error case.
46771 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46774 * nss/nsswitch.c (defconfig_entries): New variable.
46775 (__nss_database_lookup): Don't leak defconfig entries.
46776 (nss_parse_service_list): Don't leak on error paths.
46777 (free_database_entries): New function.
46778 (free_defconfig): New function.
46779 (free_mem): Move common code to free_database_entries.
46781 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46783 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46785 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46787 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46788 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46791 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46792 (INTERNAL_SYSCALL_TYPES): Likewise.
46793 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46794 (LOAD_REGS_TYPES_[1-6]): Likewise.
46795 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46796 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46798 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46800 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46801 copysignl for GLIBC_2_0.
46802 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46803 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46805 logbl for GLIBC_2_0.
46806 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46807 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46809 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46812 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46814 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46817 * time/mktime.c: Update copyright years.
46819 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46821 mktime: merge comment-quoting-style change from gnulib
46822 * time/mktime.c: Quote 'like this' in comments.
46823 The GNU coding standards suggest that we no longer quote `like this',
46824 as "`" and "'" are typically rendered asymmetrically nowadays.
46825 The typical gnulib style is to quote 'like this' when quoting
46826 code, and "like this" when quoting English.
46828 * time/mktime.c (compile-command): Add "-I.".
46830 mktime: merge mktime-internal.h change from gnulib
46831 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46833 mktime: merge time_r change from gnulib
46834 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46836 mktime: merge DEBUG change from gnulib
46837 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46838 case system <time.h> has a #define.
46840 mktime: merge <sys/types.h> change from gnulib
46841 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46842 since <time.t> is now guaranteed to define time_t.
46844 mktime: merge HAVE_CONFIG_H change from gnulib
46845 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46847 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46852 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46854 (struct rusage): Use anonymous union to pad each field to
46857 2012-05-21 David S. Miller <davem@davemloft.net>
46859 * Makefules (o-iterator): Remove .s cases.
46860 (compile-command.s): Delete.
46861 (COMPILE.s): Delete.
46862 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46864 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46866 * configure.in (libc_cv_predef_stack_protector): Only consider
46867 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46868 * configure: Regenerated.
46870 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46873 New macro. Use R*LP on int and pointer.
46874 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46875 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46876 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46877 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46879 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46880 [__WORDSIZE_TIME64_COMPAT32] instead of
46881 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46882 (struct utmp): Likewise.
46883 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46884 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46886 (__WORDSIZE_TIME64_COMPAT32): This.
46887 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46888 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46889 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46890 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46891 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46892 (__WORDSIZE_TIME64_COMPAT32): New macro.
46894 2012-05-21 Andreas Jaeger <aj@suse.de>
46896 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46897 only if [SHARED]. Add prototype for __wcschr_ia32.
46899 2012-05-21 Roland McGrath <roland@hack.frob.com>
46901 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46902 of %rbp unmolested in the jmp_buf while mangling the low bits.
46903 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46904 unmolested high bits of %rbp while demangling the low bits.
46905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46907 2012-05-21 Andreas Jaeger <aj@suse.de>
46909 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46910 * sunrpc/svc_simple.c: Use it for registerrpc.
46911 * sunrpc/xcrypt.c: Use it for passwd2des.
46913 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46915 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46917 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46918 Don't define if [__SYSCALL_WORDSIZE != 32].
46919 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46922 2012-05-21 Bruno Haible <bruno@clisp.org>
46923 Andreas Jaeger <aj@suse.de>
46925 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46926 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46927 inptr and inend for must_buffer_ch.
46928 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46929 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46930 * stdio-common/Makefile (tests): Remove bug15.
46931 (bug15-ENV): Remove macro.
46932 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46935 2012-05-19 Andreas Jaeger <aj@suse.de>
46936 Roland McGrath <roland@hack.frob.com>
46938 * manual/contrib.texi: Completely rewritten. It contains now an
46939 alphabetical list of contributors and their contributions.
46941 2012-05-21 Richard Henderson <rth@twiddle.net>
46943 * misc/getauxval.c (__getauxval): Use unsigned long int.
46944 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46945 (getauxval): Use unsigned long int.
46947 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46949 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46951 2012-05-21 Roland McGrath <roland@hack.frob.com>
46953 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46954 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46955 __alignof__ (long double).
46957 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46961 2012-05-20 Richard Henderson <rth@twiddle.net>
46963 * misc/getauxval.c: New file.
46964 * misc/sys/auxv.h: New file.
46965 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46966 (routines): Add getauxval.
46967 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46968 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46969 * elf/dl-sysdep.c (_dl_auxv): Remove.
46970 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46971 * elf/dl-support.c (_dl_auxv): New variable.
46972 (_dl_aux_init): Initialize it.
46973 * manual/startup.texi (Auxiliary Vector): New node.
46974 * sysdeps/generic/bits/hwcap.h: New file.
46975 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46976 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46977 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46978 * sysdeps/sparc/sysdep.h: ... here. Include it.
46979 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46992 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46996 2012-05-19 David S. Miller <davem@davemloft.net>
46998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47000 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47003 * math/s_ccosh.c: Include <float.h>
47004 (__ccosh): Avoid internal overflow calculating sinh and cosh
47005 values before multiplying by sin and cos values.
47006 * math/s_ccoshf.c: Likewise.
47007 * math/s_ccoshl.c: Likewise.
47008 * math/s_csin.c: Likewise.
47009 * math/s_csinf.c: Likewise.
47010 * math/s_csinl.c: Likewise.
47011 * math/s_csinh.c: Likewise.
47012 * math/s_csinhf.c: Likewise.
47013 * math/s_csinhl.c: Likewise.
47014 * math/libm-test.inc (ccos_test): Add more tests.
47015 (ccosh_test): Likewise.
47016 (csin_test): Likewise.
47017 (csinh_test): Likewise.
47018 * sysdeps/i386/fpu/libm-test-ulps: Update.
47019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47021 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47023 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47024 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47026 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47028 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47030 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47031 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47032 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47033 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47034 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47035 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47036 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47037 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47038 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47039 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47040 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47041 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47042 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47043 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47044 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47045 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47046 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47047 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47048 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47049 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47050 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47051 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47052 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47053 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47054 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47055 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47056 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47057 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47058 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47059 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47060 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47062 2012-05-18 Andreas Jaeger <aj@suse.de>
47064 * csu/.gitignore: Delete.
47066 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47068 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47069 (timex): Use __syscall_slong_t.
47071 2012-05-18 Andreas Jaeger <aj@suse.de>
47072 Carlos O'Donell <carlos_odonell@mentor.com>
47074 * manual/install.texi (Configuring and compiling): Update
47075 description about files modified in the source directory.
47076 * INSTALL: Regenerated.
47078 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47080 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47081 value. Use "or" to set return value to -1.
47082 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47083 negate return value.
47085 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47087 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47088 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47089 failure if the compiler has Graphite support disabled.
47090 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47092 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47093 (CFLAGS-memmove.c): Likewise.
47094 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47097 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47099 * sysdeps/x86_64/x32/_itoa.h: New file.
47101 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47102 getdents system call only if kernel and user dirents have the
47103 same d_ino and d_off.
47105 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47106 LLONG_MAX != LONG_MAX.
47107 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47108 (_fitoa_word): Likewise.
47110 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47112 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47113 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47114 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47117 include <bits/wordsize.h>. Check __x86_64__ instead of
47119 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47120 if __x86_64__ is defined. Use anonymous union on fpstate.
47122 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47125 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47127 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47128 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47130 Refer to _rtld_local_ro instead of _rtld_global_ro.
47131 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47133 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47135 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47137 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47138 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47139 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47141 * sysdeps/powerpc/powerpc32/dl-machine.c
47142 (__elf_machine_runtime_setup) [PROF]: Don't reference
47145 2012-05-18 Andreas Jaeger <aj@suse.de>
47147 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47148 function only available for GCCs before 3.4 since GCC 3.4
47149 introduced a builtin.
47151 (llrintf): Likewise.
47152 (llrint): Likewise.
47159 (nearbyint): Likewise.
47160 (nearbyintf): Likewise.
47164 (floorf): Likewise.
47166 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47168 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47169 on both fields and cast pointer to __syscall_ulong_t.
47171 * bits/types.h (__fsword_t): New type.
47172 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47173 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47174 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47175 (__FSWORD_T_TYPE): Likewise.
47176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47177 (__FSWORD_T_TYPE): Likewise.
47178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47179 (__FSWORD_T_TYPE): Likewise.
47180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47181 (__FSWORD_T_TYPE): Likewise.
47182 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47183 __SWORD_TYPE with __fsword_t.
47184 (statfs64): Likewise.
47186 2012-05-17 David S. Miller <davem@davemloft.net>
47188 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47190 2012-05-17 Andreas Jaeger <aj@suse.de>
47192 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47195 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47197 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47199 2012-05-17 Andreas Jaeger <aj@suse.de>
47201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47204 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47206 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47208 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47210 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47211 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47213 2012-05-17 Andreas Jaeger <aj@suse.de>
47214 Carlos O'Donell <carlos_odonell@mentor.com>
47217 * sysdeps/x86_64/multiarch/init-arch.h
47218 (bit_YMM_Usable): Rename to...
47219 (bit_AVX_Usable): ... this.
47220 (bit_FMA4_Usable): New macro.
47221 (bit_XMM_state): New macro.
47222 (bit_YMM_state): New macro.
47223 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47224 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47225 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47226 (CPUID_OSXSAVE): New macro.
47227 (CPUID_AVX): New macro.
47228 (CPUID_FMA4): New macro.
47229 (index_YMM_Usable): Rename to...
47230 (index_AVX_Usable): ... this.
47231 (HAS_AVX): Use HAS_ARCH_FEATURE.
47232 (HAS_FMA4): Likewise.
47233 (HAS_YMM_USABLE): Remove.
47234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47235 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47237 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47238 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47239 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47240 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47241 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47243 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47245 * math/libm-test.c: Support platforms without multiple rounding modes.
47246 * math/bug-nextafter.c: Support platforms without FP exceptions.
47247 * math/bug-nexttoward.c: Likewise.
47248 * math/test-fenv.c: Likewise.
47249 * math/test-misc.c: Likewise.
47250 * stdlib/bug-getcontext.c: Likewise.
47252 2012-05-17 Andreas Jaeger <aj@suse.de>
47254 * manual/examples/search.c (critter_cmp): Change signature to
47256 * manual/string.texi (Collation Functions): Likewise.
47258 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47260 * bits/types.h: Fold copyright years.
47261 * bits/typesizes.h: Likewise.
47262 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47266 * time/time.h: Likewise.
47268 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47271 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47272 in instead of returning them. Return void.
47273 (__libc_mallinfo): Accumulate over all arenas.
47274 (__malloc_stats): Adjust for change in int_mallinfo interface.
47276 2012-05-16 Roland McGrath <roland@hack.frob.com>
47279 * configure.in (NM): Add AC_CHECK_TOOL for it.
47280 (libc_extra_cflags): New substituted variable.
47281 Check for -fstack-protector being used implicitly.
47282 * configure: Regenerated.
47283 * config.make.in (config-extra-cflags): New variable,
47284 gets @libc_extra_cflags@.
47285 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47288 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47289 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47290 * configure: Regenerated.
47291 * config.make.in (CPPUNDEFS): New substituted variable.
47292 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47293 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47294 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47296 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47298 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47299 (mq_attr): Use __syscall_slong_t.
47301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47303 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47304 Check __x86_64__ instead of __WORDSIZE.
47305 (_STAT_VER_LINUX): Likewise.
47306 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47307 __syscall_ulong_t and __syscall_slong_t.
47308 (stat64): Likewise.
47310 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47312 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47316 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47318 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47320 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47323 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47324 include <bits/wordsize.h>. Check __x86_64__ instead of
47326 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47328 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47330 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47331 include <bits/wordsize.h>. Check __x86_64__ instead of
47333 (user_regs_struct): Use "__extension__ unsigned long long"
47334 instead of "unsigned long" if __x86_64__ is defined.
47335 (user): Likewise. Pad after pointer field if __ILP32__ is
47338 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47340 * configure.in (makeinfo): Require version 4.5 or later. Allow
47342 * configure: Regenerated.
47343 * manual/install.texi (texinfo): Increase version requirement to
47345 * INSTALL: Regenerated.
47347 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47349 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47351 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47353 * sysdeps/x86_64/x32/ffs.c: New file.
47355 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47357 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47358 defined. Use __syscall_ulong_t.
47359 (shminfo): Use __syscall_ulong_t.
47360 (shm_info): Likewise.
47362 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47365 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47367 (msgqnum_t): Use __syscall_ulong_t.
47368 (msglen_t): Likewise.
47369 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47372 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47373 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47375 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47377 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47378 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47380 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47383 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47384 include <bits/wordsize.h>. Check __x86_64__ instead of
47387 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47388 "unsigned long long int" if __x86_64__ is defined.
47389 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47392 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47393 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47395 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47397 (GET_PC): Cast to uintptr_t first.
47398 (GET_FRAME): Likewise.
47399 (GET_STACK): Likewise.
47401 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47402 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47403 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47404 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47405 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47406 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47407 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47408 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47409 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47410 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47411 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47412 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47413 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47414 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47415 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47416 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47417 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47419 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47420 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47421 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47422 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47423 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47424 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47425 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47426 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47427 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47428 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47429 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47431 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47433 * Makerules (+depfiles): Also collect depfiles from .oS in
47435 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47436 .oS, $(libnldbl-routines)).
47438 * Makerules (native-compile-mkdep-flags): Define.
47439 * sunrpc/Makefile (extra-objs): Add $(addprefix
47440 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47441 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47442 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47443 calling $(make-target-directory).
47445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47447 * bits/types.h (__snseconds_t): Removed.
47448 * time/time.h (struct timespec): Replace __snseconds_t with
47450 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47451 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47454 (__SNSECONDS_T_TYPE): Likewise.
47455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47456 (__SNSECONDS_T_TYPE): Likewise.
47457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47458 (__SNSECONDS_T_TYPE): Likewise.
47460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47462 * sysdeps/mach/hurd/bits/typesizes.h
47463 (__SYSCALL_SLONG_TYPE): New macro.
47464 (__SYSCALL_ULONG_TYPE): Likewise.
47466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47468 * bits/types.h (__syscall_slong_t): New type.
47469 (__syscall_ulong_t): Likewise.
47471 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47472 (__SYSCALL_ULONG_TYPE): Likewise.
47473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47474 (__SYSCALL_SLONG_TYPE): Likewise.
47475 (__SYSCALL_ULONG_TYPE): Likewise.
47476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47477 (__SYSCALL_SLONG_TYPE): Likewise.
47478 (__SYSCALL_ULONG_TYPE): Likewise.
47479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47480 (__SYSCALL_SLONG_TYPE): Likewise.
47481 (__SYSCALL_ULONG_TYPE): Likewise.
47483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47485 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47486 Add sigaltstack-offsets.sym.
47487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47488 <sigaltstack-offsets.h>.
47489 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47490 longjmp_msg pointer.
47491 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47492 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47494 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47496 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47498 * elf/stackguard-macros.h: Remove file.
47499 * sysdeps/generic/stackguard-macros.h: New file.
47500 * sysdeps/i386/stackguard-macros.h: Likewise.
47501 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47502 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47503 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47504 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47505 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47506 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47507 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47508 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47509 <elf/stackguard-macros.h>.
47512 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47513 __aligned__ in attribute.
47514 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47515 (gregset_t): Likewise.
47517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47519 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47520 * sysdeps/x86_64/64/Implies-after: Here. New file.
47521 * sysdeps/x86_64/x32/Implies-after: New file.
47523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47525 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47526 and access return value for _dl_profile_fixup. Use R10_LP to
47529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47531 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47535 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47536 * sysdeps/x86_64/x32/sysdep.h: New file.
47538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47540 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47541 * sysdeps/x86_64/setjmp.S: Likewise.
47543 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47545 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47546 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47547 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47548 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47549 remove unused global constant.
47551 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47553 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47554 include of <not-cancel.h>.
47556 2012-05-15 Roland McGrath <roland@hack.frob.com>
47558 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47560 2012-05-15 Jeff Law <law@redhat.com>
47561 Andreas Jaeger <aj@suse.de>
47564 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47566 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47567 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47568 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47569 code changing __hst_map_handle.map.
47571 2012-05-15 Roland McGrath <roland@hack.frob.com>
47573 * configure.in (sysnames): Look for Implies-before and Implies-after
47575 * configure: Regenerated.
47577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47579 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47580 8-byte data alignment with LP_SIZE alignment.
47582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47584 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47589 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47593 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47594 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47595 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47601 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47602 (stackinfo_sub_sp): Likewise.
47604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47611 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47621 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47625 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47626 into R11_LP and load __x86_64_shared_cache_size_half into
47629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47631 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47634 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47643 powerpc32/power7/fpu/s_logb.c via #include.
47644 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47645 powerpc32/power7/fpu/s_logbf.c via #include.
47646 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47647 powerpc32/power7/fpu/s_logbl.c via #include.
47649 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47651 * README.libm: Remove file.
47653 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47655 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47656 count for x32. Use R*_LP and omit operand-size suffix.
47658 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47660 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47661 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47662 * sysdeps/x86_64/x32/shlib-versions: New file.
47664 2012-05-14 Roland McGrath <roland@hack.frob.com>
47666 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47667 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47668 Use _dl_fatal_printf instead.
47670 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47672 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47673 set if not set by the user. Do not allow for being unset.
47674 * sysdeps/unix/sysv/linux/configure: Regenerated.
47676 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47678 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47679 the `q' suffix from lea and replace .quad with ASM_ADDR.
47681 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47684 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47686 (PTR_DEMANGLE): Likewise.
47688 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47690 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47692 (ASM_ADDR): Likewise.
47693 (RAX_LP): Likewise.
47694 (RBP_LP): Likewise.
47695 (RBX_LP): Likewise.
47696 (RCX_LP): Likewise.
47697 (RDI_LP): Likewise.
47698 (RSI_LP): Likewise.
47699 (RSP_LP): Likewise.
47702 (R10_LP): Likewise.
47703 (R10_LP): Likewise.
47704 (R11_LP): Likewise.
47705 (R12_LP): Likewise.
47706 (R13_LP): Likewise.
47707 (R14_LP): Likewise.
47708 (R15_LP): Likewise.
47710 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47712 * sysdeps/x86_64/x32/dl-machine.h: New file.
47714 2012-05-14 Andreas Jaeger <aj@suse.de>
47716 * manual/Makefile (subdir): Remove export of subdir.
47717 (all): Remove target.
47718 (.PHONY): Remove all from list.
47719 (mkinstalldirs): Remove.
47720 (.PHONY): Remove installdirs from list.
47721 ($(inst_infodir)/libc.info): Use make-target-directory.
47722 (installdirs): Remove.
47723 (subdir_%): Remove.
47724 (glibc-targets): Remove.
47727 ($(objpfx)stubs ../po/manual.pot): Remove.
47728 ($(objpfx)stamp%): Remove.
47729 (make-target-directory): Remove.
47730 (subdir_install): Remove.
47731 (routines): Remove.
47738 * manual/.gitignore: Remove, it's not needed anymore.
47739 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47741 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47743 (texis): Renamed to $(objpfx)texis.
47744 (texis-path): New, contains path to generated files.
47745 (chapters.%): Use texis-path for complete path, add extra argument
47747 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47748 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47749 (summary,texi, stamp-summary): Use complete path of
47750 files. Generate files in build dir.
47751 (dir-add.texi): Build in build dir.
47752 (libm-err.texi,stamp-libm-err): Likewise.
47753 (version.texi, stamp-version): Likewise.
47754 (.%c.texi): Likewise.
47755 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47756 (mostlyclean): Remove target.
47757 (realclean): Remove target.
47758 (generated): Add new variable with contents from mostlyclean and
47759 realclean, remove entries duplicated in common-mostlyclean, add
47760 stamp-libm-err and stamp-version.
47761 (generated-dirs): Add libc directory.
47762 ($(inst_infodir)/libc.info): Install files from build dir.
47764 * manual/install.texi (Configuring and compiling): Adjust since
47765 the info files are not part of the tar ball anymore.
47767 2012-05-14 Andreas Jaeger <aj@suse.de>
47769 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47772 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47776 to 2.2.0 where earlier.
47777 * sysdeps/unix/sysv/linux/configure: Regenerated.
47778 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47779 Remove conditional code.
47780 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47781 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47782 Remove conditional code.
47783 [!__NR_lchown]: Likewise.
47784 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47785 [__NR_lchown]: Likewise.
47786 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47787 comment referencing __ASSUME_LCHOWN_SYSCALL.
47788 * sysdeps/unix/sysv/linux/i386/sigaction.c
47789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47791 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47792 Remove conditional code.
47793 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47794 (__protocol_available): Remove #if 0 code.
47795 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47797 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47798 * sysdeps/unix/sysv/linux/kernel-features.h
47799 (__ASSUME_GETCWD_SYSCALL): Don't define.
47800 (__ASSUME_REALTIME_SIGNALS): Likewise.
47801 (__ASSUME_PREAD_SYSCALL): Likewise.
47802 (__ASSUME_PWRITE_SYSCALL): Likewise.
47803 (__ASSUME_POLL_SYSCALL): Likewise.
47804 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47805 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47807 (__ASSUME_SIOCGIFNAME): Don't define.
47808 (__ASSUME_MSG_NOSIGNAL): Likewise.
47809 (__ASSUME_SENDFILE): Define unconditionally.
47810 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47811 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47813 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47814 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47815 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47816 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47817 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47818 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47819 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47821 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47824 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47830 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47836 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47842 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47844 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47845 Remove conditional code.
47846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47847 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47848 Remove conditional code.
47849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47850 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47851 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47852 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47853 Remove conditional code.
47854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47855 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47856 Remove conditional code.
47857 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47858 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47859 Remove conditional code.
47860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47861 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47862 Remove conditional code.
47863 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47864 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47865 Remove conditional code.
47866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47867 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47868 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47870 * sysdeps/unix/sysv/linux/sigaction.c
47871 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47872 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47873 * sysdeps/unix/sysv/linux/sigpending.c
47874 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47875 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47876 * sysdeps/unix/sysv/linux/sigprocmask.c
47877 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47878 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47879 * sysdeps/unix/sysv/linux/sigsuspend.c
47880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47882 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47883 (__libc_missing_rt_sigs): Remove.
47884 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47885 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47886 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47887 Remove conditional code.
47888 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47889 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47892 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47893 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47894 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47896 2012-05-14 Andreas Jaeger <aj@suse.de>
47898 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47899 it's not used in glibc.
47900 (__coshm1): Likewise.
47901 (__acosh1p): Likewise.
47904 * manual/string.texi (Copying and Concatenation): Add missing
47905 variable in concat example.
47906 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47908 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47912 __builtin_clzl with __builtin_clzll.
47914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47917 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47920 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47922 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47923 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47924 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47925 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47927 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47929 * NEWS: Update ia64 info.
47931 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47933 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47936 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47938 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47939 * sysdeps/unix/syscalls.list (dup3): Likewise.
47940 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47941 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47943 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47945 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47946 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47948 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47950 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47952 (TLS_IE): Use mov/add instead of movq/addq to load thread
47954 (TLS_GD_PREFIX): New.
47957 2012-05-11 David S. Miller <davem@davemloft.net>
47959 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47960 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47961 (_FPU_SETCW): Likewise.
47963 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47965 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47966 is 32-byte aligned.
47968 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47971 * iconvdata/gb18030.c: Update tables.
47972 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47973 characters specially.
47974 (BODY for TO_LOOP): Add encoding of missing ranges.
47976 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47979 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47980 * sysdeps/mach/hurd/dup3.c: Likewise.
47981 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47982 * sysdeps/powerpc/memmove.c:: Likewise.
47984 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47986 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47987 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47989 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47991 * elf/elf.h (R_X86_64_RELATIVE64): New.
47992 (R_X86_64_NUM): Updated.
47993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47994 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47995 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47996 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47997 tst-quad1pie tst-quad2pie
47998 (modules-names): Add tst-quadmod1 tst-quadmod2.
47999 ($(objpfx)tst-quad1): New dependency.
48000 ($(objpfx)tst-quad2): Likewise.
48001 ($(objpfx)tst-quad1pie): Likewise.
48002 ($(objpfx)tst-quad2pie): Likewise.
48003 * sysdeps/x86_64/tst-quad1.c: New file.
48004 * sysdeps/x86_64/tst-quad1pie.c: New file.
48005 * sysdeps/x86_64/tst-quad2.c: Likewise.
48006 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48007 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48008 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48009 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48010 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48012 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48014 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48015 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48016 * streams/stropts.h (t_scalar_t): Define type.
48018 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48019 (_PATH_PRESERVE): Set to "/var/lib".
48020 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48022 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48025 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48026 if __dir_mkfile succeeded.
48028 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48029 checking for _hurd_dtablesize. Unlock it right after having
48030 finished _hurd_dtable allocation.
48032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48034 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48035 * sysdeps/mach/hurd/configure: Regenerated.
48036 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48037 special-casing to...
48038 * sysdeps/gnu/configure.in: ... this new file.
48039 * sysdeps/unix/sysv/linux/configure: Regenerated.
48040 * sysdeps/gnu/configure: New generated file.
48042 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48043 for Linux: use nsec instead of usec, as well as:
48044 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48045 members of type struct timespec.
48046 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48048 (struct stat64): Likewise.
48049 (_STATBUF_ST_NSEC): New macro.
48050 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48052 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48053 __strtoul_internal rather than strtoul.
48055 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48057 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48062 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48063 which preserves existing values.
48064 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48068 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48069 TIMEOUT values. Return EINVAL for NFDS values either negative or
48070 greater than FD_SETSIZE.
48072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48074 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48075 allocated, call __vm_protect to finish enabling the existing space, and
48076 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48077 allocate the remainder.
48079 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48081 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48082 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48084 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48086 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48087 sysdeps/mach/hurd/readlink.c.
48089 * posix/tst-sysconf.c (posix_options): Only use
48090 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48091 _POSIX_SYNCHRONIZED_IO when they are defined
48092 * sysdeps/mach/hurd/bits/posix_opt.h:
48093 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48094 (_XOPEN_REALTIME): Undefine macro.
48095 (_XOPEN_REALTIME_THREADS): Undefine macro.
48096 (_XOPEN_SHM): Undefine macro.
48097 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48099 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48101 (_POSIX_ASYNC_IO): Undefine macro.
48102 (_POSIX_PRIORITIZED_IO): Undefine macro.
48103 (_POSIX_SPIN_LOCKS): Define macro to -1.
48105 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48106 SA_NODEFER, SA_RESETHAND.
48107 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48108 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48113 * elf/Makefile (pldd-modules): Define unconditionally.
48115 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48117 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48121 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48122 Return ENOENT when name is empty.
48123 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48127 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48129 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48133 Fix mlock in all cases except non-readable pages.
48134 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48135 instead of VM_PROT_ALL as parameter to __vm_wire function.
48137 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48138 (__mkdir): When path is `/', just fail with EEXIST.
48139 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48143 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48144 <sys/uio.h> (for writev).
48145 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48146 and <sys/param.h> (for MIN).
48148 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48150 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48151 REQUESTED_TIME. Properly set the remaining time and return EINTR
48154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48156 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48157 Depend on against $(link-rpcuserlibs).
48159 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48161 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48162 (__libc_stack_end): Do not use attribute_relro.
48163 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48164 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48165 to libthread-provided value.
48166 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48172 * bits/libc-lock.h (__libc_once_get): New macro.
48173 * sysdeps/mach/bits/libc-lock.h: Likewise.
48174 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48176 instead of using implementation details.
48178 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48179 * libio/freopen.c: Likewise.
48180 * libio/freopen64.c: Likewise.
48181 * misc/syslog.c: Likewise.
48182 * nscd/connections.c: Likewise.
48183 * nscd/netgroupcache.c: Likewise.
48184 * sysdeps/posix/getcwd.c: Likewise.
48186 2012-05-10 Roland McGrath <roland@hack.frob.com>
48188 * math/w_ilogbf.c: Add #include <limits.h>.
48190 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48192 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48193 path instead of returning without unlocking.
48195 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48196 immediate-write ioctls.
48197 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48199 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48201 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48202 __builtin_frame_address instead of making assumptions about the
48203 location of the return address relative to DATA. Force early load of
48204 the return address.
48205 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48206 __builtin_frame_address.
48209 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48210 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48211 implement dup3 and do some further code clean-ups.
48212 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48213 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48217 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48219 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48220 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48221 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48222 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48223 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48226 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48227 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48228 when handler == SIG_ERR, not when handler != SIG_ERR.
48230 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48232 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48233 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48236 accept4 for GNU Hurd.
48237 * include/sys/socket.h (__libc_accept4): New prototype.
48238 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48239 to implement __libc_accept4.
48240 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48242 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48244 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48245 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48246 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48247 signal-defines.sym.
48249 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48251 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48255 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48256 assertion on O_CLOEXEC flag.
48257 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48258 * hurd/intern-fd.c: Likewise.
48259 * hurd/port2fd.c: Likewise.
48261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48264 * bits/in.h (IPV6_PKTINFO): Define new macro.
48265 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48267 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48272 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48274 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48275 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48277 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48278 * math/libm-test.inc (logb_test) : Additional logb tests.
48280 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48281 Andreas Jaeger <aj@suse.de>
48283 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48284 * configure: Regenerated.
48285 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48286 * config.make.in (link-obsolete-rpc): New substituted variable.
48287 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48288 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48289 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48290 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48291 so that libc.a contains the symbols.
48292 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48293 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48294 * sunrpc/auth_none.c: Likewise.
48295 * sunrpc/auth_unix.c: Likewise.
48296 * sunrpc/authdes_prot.c: Likewise.
48297 * sunrpc/authuxprot.c: Likewise.
48298 * sunrpc/clnt_gen.c: Likewise.
48299 * sunrpc/clnt_perr.c: Likewise.
48300 * sunrpc/clnt_raw.c: Likewise.
48301 * sunrpc/clnt_simp.c: Likewise.
48302 * sunrpc/clnt_tcp.c: Likewise.
48303 * sunrpc/clnt_udp.c: Likewise.
48304 * sunrpc/clnt_unix.c: Likewise.
48305 * sunrpc/des_crypt.c: Likewise.
48306 * sunrpc/des_soft.c: Likewise.
48307 * sunrpc/get_myaddr.c: Likewise.
48308 * sunrpc/key_call.c: Likewise.
48309 * sunrpc/key_prot.c: Likewise.
48310 * sunrpc/netname.c: Likewise.
48311 * sunrpc/pm_getmaps.c: Likewise.
48312 * sunrpc/pm_getport.c: Likewise.
48313 * sunrpc/pmap_clnt.c: Likewise.
48314 * sunrpc/pmap_prot.c: Likewise.
48315 * sunrpc/pmap_prot2.c: Likewise.
48316 * sunrpc/pmap_rmt.c: Likewise.
48317 * sunrpc/publickey.c: Likewise.
48318 * sunrpc/rpc_cmsg.c: Likewise.
48319 * sunrpc/rpc_common.c: Likewise.
48320 * sunrpc/rpc_dtable.c: Likewise.
48321 * sunrpc/rpc_prot.c: Likewise.
48322 * sunrpc/rpc_thread.c: Likewise.
48323 * sunrpc/rtime.c: Likewise.
48324 * sunrpc/svc.c: Likewise.
48325 * sunrpc/svc_auth.c: Likewise.
48326 * sunrpc/svc_raw.c: Likewise.
48327 * sunrpc/svc_run.c: Likewise.
48328 * sunrpc/svc_tcp.c: Likewise.
48329 * sunrpc/svc_udp.c: Likewise.
48330 * sunrpc/svc_unix.c: Likewise.
48331 * sunrpc/svcauth_des.c: Likewise.
48332 * sunrpc/xcrypt.c: Likewise.
48333 * sunrpc/xdr.c: Likewise.
48334 * sunrpc/xdr_array.c: Likewise.
48335 * sunrpc/xdr_float.c: Likewise.
48336 * sunrpc/xdr_intXX_t.c: Likewise.
48337 * sunrpc/xdr_mem.c: Likewise.
48338 * sunrpc/xdr_rec.c: Likewise.
48339 * sunrpc/xdr_ref.c: Likewise.
48340 * sunrpc/xdr_sizeof.c: Likewise.
48341 * sunrpc/xdr_stdio.c: Likewise.
48343 2012-05-10 Roland McGrath <roland@hack.frob.com>
48345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48346 change. Update copyright years.
48348 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48350 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48352 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48353 Joseph Myers <joseph@codesourcery.com>
48354 Paul Pluzhnikov <ppluzhnikov@google.com>
48357 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48359 [cross-compiling] (extra-libs): Likewise.
48360 [cross-compiling] (extra-libs-others): Likewise.
48361 [cross-compiling] (librpcsvc-routines): Likewise.
48362 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48363 [cross-compiling] (omit-deps): Likewise.
48364 (sunrpc-CPPFLAGS): New variable.
48365 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48366 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48367 (cross-rpcgen-objs): New variable.
48368 (extra-objs): Append $(cross-rpcgen-objs).
48369 ($(cross-rpcgen-objs)): New rule.
48370 ($(objpfx)cross-rpcgen): Likewise.
48371 (rpcgen-cmd): Define to use $(built-program-file). Expand
48373 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48374 ($(objpfx)x%.stmp): Likewise.
48375 * sunrpc/proto.h [IS_IN_build] (_): Define.
48376 [IS_IN_build] (_libc_intl_domainname): Likewise.
48378 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48381 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48382 and R_X86_64_TPOFF64.
48384 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48386 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48387 sysdeps/unix/sysv/syscalls.list.
48390 * sysdeps/unix/sysv/syscalls.list: Remove file.
48392 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48395 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48396 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48397 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48398 (__LC_IDENTIFICATION): Make these macros useful in #if
48399 expressions, as required by C99.
48401 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48403 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48404 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48407 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48409 * stdlib/longlong.h: Updated from GCC.
48411 2012-05-09 Andreas Jaeger <aj@suse.de>
48413 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48414 default is first entry.
48415 (run_mode): Set type.
48416 (main): Remove informal message about syslog.
48417 (options): Fix typo.
48420 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48423 (llrintf): Likewise.
48424 (llrint): Likewise.
48427 (nearbyint): Likewise.
48428 (nearbyintf): Likewise.
48430 2012-05-09 Andreas Jaeger <aj@suse.de>
48431 Pedro Alves <palves@redhat.com>
48433 * nscd/nscd.c (run_mode): Use enum.
48434 (main): Cleanup coding style issue.
48436 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48437 Andreas Jaeger <aj@suse.de>
48439 * nscd/nscd.c (go_background): Replaced with...
48440 (run_mode): ... this.
48441 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48442 (options): Add -F --foreground.
48443 (main): Implement it.
48444 (parse_opt): Parse it.
48446 2012-05-09 Andreas Jaeger <aj@suse.de>
48449 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48450 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48451 -Wconversion warning.
48452 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48455 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48457 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48459 (LC_ALL): Use macro-int-constant.
48460 (LC_COLLATE): Likewise.
48461 (LC_CTYPE): Likewise.
48462 (LC_MESSAGES): Likewise.
48463 (LC_MONETARY): Likewise.
48464 (LC_NUMERIC): Likewise.
48465 (LC_TIME): Likewise.
48466 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48467 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48469 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48471 [C99-based standards] (float_t): Expect type.
48472 [C99-based standards] (double_t): Expect type.
48473 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48475 [C99-based standards] (HUGE_VALL): Likewise.
48476 [C99-based standards] (INFINITY): Likewise.
48477 [C99-based standards] (NAN): Likewise.
48478 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48479 [C99-based standards] (FP_NAN): Likewise.
48480 [C99-based standards] (FP_NORMAL): Likewise.
48481 [C99-based standards] (FP_SUBNORMAL): Likewise.
48482 [C99-based standards] (FP_ZERO): Likewise.
48483 [C99-based standards] (FP_FAST_FMA): Use
48484 optional-macro-int-constant. Specify type. Require == 1.
48485 [C99-based standards] (FP_FAST_FMAF): Likewise.
48486 [C99-based standards] (FP_FAST_FMAL): Likewise.
48487 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48488 [C99-based standards] (FP_ILOGBNAN): Likewise.
48489 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48491 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48492 [C99-based standards] (math_errhandling): Specify type.
48493 [ISO99 || ISO11] (signgam): Do not allow.
48494 [non-C99-based standards] (copysignf): Do not allow.
48495 [non-C99-based standards] (exp2f): Likewise.
48496 [non-C99-based standards] (log2f): Likewise.
48497 [non-C99-based standards] (modff): Allow.
48498 [non-C99-based standards] (erff): Do not allow.
48499 [non-C99-based standards] (erfcf): Likewise.
48500 [non-C99-based standards] (gammaf): Likewise.
48501 [non-C99-based standards] (hypotf): Likewise.
48502 [non-C99-based standards] (j0f): Likewise.
48503 [non-C99-based standards] (j1f): Likewise.
48504 [non-C99-based standards] (jnf): Likewise.
48505 [non-C99-based standards] (lgammaf): Likewise.
48506 [non-C99-based standards] (tgammaf): Likewise.
48507 [non-C99-based standards] (y0f): Likewise.
48508 [non-C99-based standards] (y1f): Likewise.
48509 [non-C99-based standards] (ynf): Likewise.
48510 [non-C99-based standards] (isnanf): Likewise.
48511 [non-C99-based standards] (acoshf): Likewise.
48512 [non-C99-based standards] (asinhf): Likewise.
48513 [non-C99-based standards] (atanhf): Likewise.
48514 [non-C99-based standards] (cbrtf): Likewise.
48515 [non-C99-based standards] (expm1f): Likewise.
48516 [non-C99-based standards] (ilogbf): Likewise.
48517 [non-C99-based standards] (log1pf): Likewise.
48518 [non-C99-based standards] (logbf): Likewise.
48519 [non-C99-based standards] (nextafterf): Likewise.
48520 [non-C99-based standards] (remainderf): Likewise.
48521 [non-C99-based standards] (rintf): Likewise.
48522 [non-C99-based standards] (scalbf): Likewise.
48523 [non-C99-based standards] (copysignl): Likewise.
48524 [non-C99-based standards] (exp2l): Likewise.
48525 [non-C99-based standards] (log2l): Likewise.
48526 [non-C99-based standards] (modfl): Allow.
48527 [non-C99-based standards] (erfl): Do not allow.
48528 [non-C99-based standards] (erfcl): Likewise.
48529 [non-C99-based standards] (gammal): Likewise.
48530 [non-C99-based standards] (hypotl): Likewise.
48531 [non-C99-based standards] (j0l): Likewise.
48532 [non-C99-based standards] (j1l): Likewise.
48533 [non-C99-based standards] (jnl): Likewise.
48534 [non-C99-based standards] (lgammal): Likewise.
48535 [non-C99-based standards] (tgammal): Likewise.
48536 [non-C99-based standards] (y0l): Likewise.
48537 [non-C99-based standards] (y1l): Likewise.
48538 [non-C99-based standards] (ynl): Likewise.
48539 [non-C99-based standards] (isnanl): Likewise.
48540 [non-C99-based standards] (acoshl): Likewise.
48541 [non-C99-based standards] (asinhl): Likewise.
48542 [non-C99-based standards] (atanhl): Likewise.
48543 [non-C99-based standards] (cbrtl): Likewise.
48544 [non-C99-based standards] (expm1l): Likewise.
48545 [non-C99-based standards] (ilogbl): Likewise.
48546 [non-C99-based standards] (log1pl): Likewise.
48547 [non-C99-based standards] (logbl): Likewise.
48548 [non-C99-based standards] (nextafterl): Likewise.
48549 [non-C99-based standards] (remainderl): Likewise.
48550 [non-C99-based standards] (rintl): Likewise.
48551 [non-C99-based standards] (scalbl): Likewise.
48552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48553 [non-C99-based standards] (FP_*): Do not allow.
48554 [C99-based standards] (FP_*): Change to
48555 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48556 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48558 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48559 (SIG_ERR): Likewise.
48560 [X/Open-based standards] (SIG_HOLD): Likewise.
48561 (SIG_IGN): Likewise.
48562 (SIGABRT): Use macro-int-constant. Specify type. Require
48564 (SIGFPE): Likewise.
48565 (SIGILL): Likewise.
48566 (SIGINT): Likewise.
48567 (SIGSEGV): Likewise.
48568 (SIGTER): Likewise.
48569 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48570 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48571 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48572 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48573 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48574 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48575 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48576 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48577 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48578 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48579 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48580 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48581 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48582 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48583 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48584 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48585 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48586 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48587 [X/Open-based standards] (SIGTRAP): Likewise.
48588 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48589 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48590 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48591 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48592 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48595 2012-05-08 Ian Wienand <ianw@vmware.com>
48598 * time/tzset.c (__tzset_parse_tz): Update default rules for
48599 daylight time changes in the Energy Policy Act of 2005.
48601 2012-05-09 Andreas Jaeger <aj@suse.de>
48604 * elf/ldconfig.c (parse_conf): Change string to make clear that
48605 ldconfig only issued a warning if ld.so.conf does not exist.
48607 2012-05-08 David S. Miller <davem@davemloft.net>
48609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48610 movxtod instead of popping the value on the stack.
48612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48614 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48616 * config.h.in: Add HAVE_ARM_PCS_VFP.
48618 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48621 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48622 checking but the checks are disabled for any reason.
48624 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48626 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48627 and ELF64_R_TYPE with ELFW(R_TYPE).
48629 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48631 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48632 (ulimit): Likewise.
48634 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48635 (settimeofday): Likewise.
48637 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48639 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48640 a struct th_u2 inside the union, and move tu_block/tu_code into
48641 a new th_u3 union of tu_block/tu_code inside of that. Move
48642 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48643 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48644 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48645 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48646 (th_stuff): Change to th_u1.tu_stuff.
48648 (th_msg): Change to th_u1.th_u2.tu_data.
48650 2012-05-07 David S. Miller <davem@davemloft.net>
48652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48655 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48656 (SETUP_PIC_REG): Use it.
48657 (SETUP_PIC_REG_LEAF): Use it.
48659 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48665 (EXPL_FINITE): Likewise.
48666 (FLDLOG): Likewise.
48667 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48668 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48670 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48672 (EXPL_FINITE): Likewise.
48673 (FLDLOG): Likewise.
48674 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48675 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48677 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48678 test of -max_value argument for long double.
48679 * sysdeps/i386/fpu/libm-test-ulps: Update.
48680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48682 2012-05-06 David S. Miller <davem@davemloft.net>
48684 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48685 quad soft-float symbols whose references which are compiler
48687 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48689 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48693 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48695 (EXPL_FINITE): Likewise.
48696 (FLDLOG): Likewise.
48699 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48700 Adjust comments for base varying.
48701 (__expl_finite): Change alias to EXPL_FINITE.
48702 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48704 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48705 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48706 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48707 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48708 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48710 (EXPL_FINITE): Likewise.
48711 (FLDLOG): Likewise.
48714 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48715 Adjust comments for base varying.
48716 (__expl_finite): Change alias to EXPL_FINITE.
48717 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48722 * math/libm-test.inc (check_float_internal): Correct ulp
48723 calculation for subnormal expected results.
48725 2012-05-06 Andreas Jaeger <aj@suse.de>
48727 * Makeconfig (+math-flags): New, set to -frounding-math.
48728 (+cflags): Add +math-flags so that all of glibc gets compiled with
48731 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48733 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48735 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48741 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48742 (__ieee754_expl): Allow for and saturate large arguments.
48743 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48744 (u_threshold): Likewise.
48745 (__exp): Call __ieee754_exp before checking for overflow and
48747 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48748 (u_threshold): Likewise.
48749 (__expf): Call __ieee754_expf before checking for overflow and
48751 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48752 (u_threshold): Likewise.
48753 (__expl): Call __ieee754_expl before checking for overflow and
48755 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48756 (__ieee754_expl): Allow for and saturate large arguments.
48757 * math/libm-test.inc (exp_test): Add another test. Do not allow
48758 missing overflow exception on overflow.
48759 (expm1_test): Do not allow missing overflow exception on overflow.
48761 * sysdeps/i386/fpu/e_expl.c: Move to ...
48762 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48763 rather than using inline asm.
48764 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48765 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48766 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48768 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48771 (signal): Likewise.
48775 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48777 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48778 sysdeps/unix/common/syscalls.list.
48779 (fchmod): Likewise.
48780 (fchown): Likewise.
48781 (ftruncate): Likewise.
48782 (getrusage): Likewise.
48783 (gettimeofday): Likewise.
48784 (setpgid): Likewise.
48785 (setregid): Likewise.
48786 (setreuid): Likewise.
48787 (sigaction): Likewise.
48788 (truncate): Likewise.
48789 (vhangup): Likewise.
48790 * sysdeps/unix/common/syscalls.list: Remove file.
48791 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48792 * sysdeps/unix/sysv/linux/Implies: Likewise.
48794 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48796 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48798 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48802 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48805 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48808 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48811 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48814 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48817 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48820 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48824 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48828 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48831 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48835 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48839 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48841 * sysdeps/unix/common/bits/dirent.h: Remove file.
48842 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48844 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48845 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48846 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48847 * sysdeps/unix/bsd/isatty.c: Likewise.
48848 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48849 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48850 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48852 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48856 long double comparison inaccuracies.
48857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48860 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48862 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48865 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48869 nonzero digits before rounding a hex value.
48870 * stdlib/tst-strtod.c (tests): Add another test.
48872 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48874 * sysdeps/s390/fpu/libm-test-ulps: Update.
48876 2012-05-03 Andreas Jaeger <aj@suse.de>
48878 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48879 does not get optimized out.
48880 (malloc_opt_barrier): New.
48882 2012-05-03 Andreas Jaeger <aj@suse.de>
48883 Roland McGrath <roland@hack.frob.com>
48885 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48886 intermediate file deletion.
48887 (generated): Add .symlist files.
48889 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48892 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48893 Redirect under this condition.
48894 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48895 [__USE_GNU] (__dprintf_chk): Not under this condition.
48896 [__USE_GNU] (__vdprintf_chk): Likewise.
48897 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48898 under this condition.
48899 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48900 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48901 [__USE_XOPEN2K8] (vdprintf): Likewise.
48902 [__USE_GNU] (__dprintf_chk): Not under this condition.
48903 [__USE_GNU] (__vdprintf_chk): Likewise.
48904 [__USE_GNU] (dprintf): Likewise.
48905 [__USE_GNU] (vdprintf): Likewise.
48907 2012-05-03 Roland McGrath <roland@hack.frob.com>
48909 * elf/Makefile (common-generated): Set this instead of generated for
48910 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48911 $(all-built-dso)-derived lists.
48913 2012-05-03 Andreas Jaeger <aj@suse.de>
48915 * sysdeps/i386/fpu/libm-test-ulps: Update.
48918 * FAQ.in: Likewise.
48919 * scripts/gen-FAQ.pl: Likewise.
48920 * manual/install.texi (Installation): Point to online location of
48922 * Makefile (files-for-dist): Remove FAQ.
48925 2012-05-02 Allan McRae <allan@archlinux.org>
48927 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48928 (LDFLAGS-reldepmod5.so): Likewise.
48929 (LDFLAGS-reldep6mod1.so): Likewise.
48930 (LDFLAGS-reldep6mod4.so): Likewise.
48931 (LDFLAGS-reldep8mod3.so): Likewise.
48932 (LDFLAGS-unload4mod1.so): Likewise.
48933 (LDFLAGS-unload4mod2.so): Likewise.
48934 (LDFLAGS-tst-initorder): Likewise.
48935 (LDFLAGS-tst-initordera2.so): Likewise.
48936 (LDFLAGS-tst-initordera3.so): Likewise.
48937 (LDFLAGS-tst-initordera4.so): Likewise.
48938 (LDFLAGS-tst-initorderb2.so): Likewise.
48939 (LDFLAGS-noload): Likewise.
48940 (LDFLAGS-next): Likewise.
48941 (LDFLAGS-order2mod1.so): Likewise.
48942 (LDFLAGS-order2mod2.so): Likewise.
48943 (LDFLAGS-tst-initorder2): Likewise.
48944 (LDFLAGS-tst-initorder2a.so): Likewise.
48945 (LDFLAGS-tst-initorder2b.so): Likewise.
48946 (LDFLAGS-tst-initorder2c.so): Likewise.
48947 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48949 2012-05-02 David S. Miller <davem@davemloft.net>
48951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48953 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48956 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48958 2012-05-02 Andreas Jaeger <aj@suse.de>
48960 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48961 since we manipulate rounding mode.
48962 (CPPFLAGS-test-idouble.c): Likewise.
48963 (CPPFLAGS-test-ifloat.c): Likewise.
48964 (CFLAGS-test-ldouble.c): Likewise.
48965 (CFLAGS-test-double.c): Likewise.
48966 (CFLAGS-test-float.c): Likewise.
48967 (CFLAGS-test-misc.c): Likewise.
48968 (CFLAGS-test-test-fenv.c): Likewise.
48970 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48974 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48975 comparisons to determine direction to adjust input.
48977 2012-05-01 Roland McGrath <roland@hack.frob.com>
48979 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48980 output to the target.
48982 * scripts/localplt.awk: New file.
48983 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48984 (check-localplt-CFLAGS): Variable removed.
48985 ($(all-built-dso:=.jmprel)): New static pattern rule.
48986 (generated): Add those targets.
48987 (localplt-built-dso): New variable.
48988 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48990 * elf/check-localplt.c: File removed.
48992 * scripts/check-execstack.awk: New file.
48993 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48994 (check-execstack-CFLAGS): Variable removed.
48995 ($(objpfx)check-execstack.h): Target removed.
48996 ($(objpfx)execstack-default): New target.
48997 (generated): Add that instead of check-execstack.h.
48998 ($(all-built-dso:=.phdr)): New static pattern rule.
48999 (generated): Add those targets.
49000 * elf/check-execstack.c: File removed.
49002 * scripts/check-textrel.awk: New file.
49003 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49004 (check-textrel-CFLAGS): Variable removed.
49005 (all-built-dso): Use := to define.o
49006 ($(all-built-dso:=.dyn)): New static pattern rule.
49007 (generated): Add those targets.
49008 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49009 * config.make.in (READELF): New substituted variable.
49010 * elf/check-textrel.c: File removed.
49012 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49014 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49016 * conform/data/ctype.h-data [C99-based standards] (isblank):
49018 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49019 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49021 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49022 Specify type. Require positive value.
49023 (EILSEQ): Likewise.
49024 (ERANGE): Likewise.
49025 [ISO || POSIX] (EILSEQ): Do not expect.
49026 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49027 Specify type. Require positive value.
49028 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49029 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49030 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49031 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49032 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49033 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49034 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49035 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49036 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49037 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49038 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49039 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49040 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49041 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49042 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49043 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49044 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49045 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49046 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49047 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49048 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49049 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49050 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49051 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49052 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49053 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49054 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49055 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49056 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49057 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49058 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49059 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49060 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49061 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49062 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49063 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49064 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49065 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49066 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49067 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49068 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49069 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49070 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49071 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49072 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49073 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49074 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49075 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49076 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49077 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49078 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49079 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49080 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49081 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49082 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49083 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49084 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49085 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49086 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49087 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49088 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49089 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49090 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49091 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49092 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49093 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49094 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49095 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49096 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49097 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49098 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49099 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49100 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49101 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49102 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49103 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49104 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49106 (FLT_ROUNDS): Expect as macro, not constant.
49107 (FLT_MANT_DIG): Use macro-int-constant.
49108 (DBL_MANT_DIG): Likewise.
49109 (LDBL_MANT_DIG): Likewise.
49110 (FLT_DIG): Likewise.
49111 (DBL_DIG): Likewise.
49112 (LDBL_DIG): Likewise.
49113 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49114 (DBL_MIN_EXP): Likewise.
49115 (LDBL_MIN_EXP): Likewise.
49116 (FLT_MAX_EXP): Use macro-int-constant.
49117 (DBL_MAX_EXP): Likewise.
49118 (LDBL_MAX_EXP): Likewise.
49119 (FLT_MAX_10_EXP): Likewise.
49120 (DBL_MAX_10_EXP): Likewise.
49121 (LDBL_MAX_10_EXP): Likewise.
49122 (FLT_MAX): Use macro-constant.
49123 (DBL_MAX): Likewise.
49124 (LDBL_MAX): Likewise.
49125 (FLT_EPSILON): Use macro-constant. Give upper bound.
49126 (DBL_EPSILON): Likewise.
49127 (LDBL_EPSILON): Likewise.
49128 (FLT_MIN): Likewise.
49129 (DBL_MIN): Likewise.
49130 (LDBL_MIN): Likewise.
49131 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49132 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49133 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49134 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49135 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49136 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49137 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49138 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49139 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49140 [ISO11] (FLT_TRUE_MIN): Likewise.
49141 [ISO11] (LDBL_TRUE_MIN): Likewise.
49142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49143 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49144 (SCHAR_MIN): Use macro-int-constant. Specify type.
49145 (SCHAR_MAX): Likewise.
49146 (UCHAR_MAX): Likewise.
49147 (CHAR_MIN): Likewise.
49148 (CHAR_MAX): Likewise.
49149 (MB_LEN_MAX): Use macro-int-constant.
49150 (SHRT_MIN): Use macro-int-constant. Specify type.
49151 (SHRT_MAX): Likewise.
49152 (USHRT_MAX): Likewise.
49153 (INT_MAX): Likewise.
49154 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49156 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49158 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49160 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49161 bound negative. Suffix upper bound with "L".
49162 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49164 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49166 [C99-based standards] (LLONG_MAX): Likewise.
49167 [C99-based standards] (ULLONG_MAX): Likewise.
49168 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49170 [ISO11] (max_align_t): Require type.
49171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49173 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49174 from $CFLAGS, without defining away __attribute__ calls.
49175 (checknamespace): Use $CFLAGS_namespace.
49177 * conform/conformtest.pl (@keywords): Only include C99 keywords
49178 for standards based on C99 or C11.
49180 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49182 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49185 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49186 usability of symbols in #if.
49188 * conform/conformtest.pl: If macro or constant types start
49189 "promoted:", expect the symbol to be of the following type
49190 promoted by the integer promotions.
49192 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49193 in one place. Also handle "macro-constant".
49195 * conform/conformtest.pl: Only accept expected macro values with
49196 "==". Parse all "macro" lines in one place.
49197 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49199 * conform/conformtest.pl: Handle braced types on "constant" lines
49200 instead of handling "typed-constant".
49201 * conform/data/signal.h-data: Use "constant" instead of
49204 * conform/conformtest.pl: Handle "optional-" at start of lines in
49205 one place rather than duplicating several cases. Handle each
49206 format of "macro" line with initial "optional-".
49208 * conform/conformtest.pl: Only accept expected constant or
49209 optional-constant values with "==". Parse all "constant" lines in
49210 one place. Parse all "optional-constant" lines in one place.
49211 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49212 * conform/data/fmtmsg.h-data: Likewise.
49213 * conform/data/netinet/in.h-data: Likewise.
49214 * conform/data/tar.h-data: Likewise.
49215 * conform/data/limits.h-data: Use "==" form on "constant" and
49216 "optional-constant" lines.
49218 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49219 Use -std=c99 for XOPEN2K.
49220 (@knownproblems): Remove.
49221 (newtoken): Don't check %isknown.
49223 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49224 Do not expect macro.
49225 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49226 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49227 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49228 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49229 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49230 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49231 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49232 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49233 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49234 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49235 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49236 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49237 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49238 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49239 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49240 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49241 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49242 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49243 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49244 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49245 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49246 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49247 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49248 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49249 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49250 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49251 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49252 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49253 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49254 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49255 [XPG3] (acosh): Likewise.
49256 [XPG3] (asinh): Likewise.
49257 [XPG3] (atanh): Likewise.
49258 [XPG3] (cbrt): Likewise.
49259 [XPG3] (expm1): Likewise.
49260 [XPG3] (ilogb): Likewise.
49261 [XPG3] (log1p): Likewise.
49262 [XPG3] (logb): Likewise.
49263 [XPG3] (nextafter): Likewise.
49264 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49265 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49266 [XPG3] (remainder): Likewise.
49267 [XPG3] (rint): Likewise.
49268 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49269 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49270 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49271 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49272 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49273 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49274 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49275 [UNIX98 || XOPEN2K] (scalb): Expect.
49276 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49277 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49278 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49279 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49280 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49281 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49282 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49283 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49284 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49285 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49286 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49287 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49288 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49289 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49290 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49291 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49292 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49293 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49294 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49295 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49296 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49297 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49298 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49299 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49300 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49301 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49302 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49303 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49304 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49305 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49306 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49307 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49308 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49309 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49310 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49311 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49312 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49313 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49314 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49315 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49316 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49317 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49318 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49319 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49320 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49321 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49322 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49323 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49324 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49325 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49326 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49327 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49328 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49329 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49330 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49331 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49332 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49333 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49334 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49335 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49336 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49337 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49338 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49339 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49340 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49341 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49342 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49343 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49344 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49345 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49346 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49347 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49348 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49349 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49350 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49351 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49352 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49353 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49354 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49355 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49356 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49357 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49358 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49359 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49360 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49361 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49362 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49363 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49364 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49365 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49366 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49367 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49368 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49369 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49370 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49371 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49372 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49373 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49374 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49375 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49376 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49377 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49378 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49379 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49380 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49381 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49382 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49383 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49384 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49385 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49386 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49387 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49388 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49389 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49390 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49391 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49392 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49393 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49394 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49395 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49396 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49397 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49398 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49399 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49400 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49401 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49402 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49403 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49404 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49405 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49406 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49407 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49408 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49409 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49410 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49411 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49412 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49414 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49415 _XOPEN_SOURCE_EXTENDED for XPG4.
49417 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49419 * Makeconfig (localtime): Remove variable.
49420 (inst_localtime-file): Likewise.
49422 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49443 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49447 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49448 comparisons to determine direction to adjust input.
49449 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49450 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49451 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49453 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49455 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49460 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49462 * math/libm-test.inc (nexttoward_test): Add more tests.
49464 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49467 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49468 in version GLIBC_2.1, not GLIBC_2.0.
49469 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49472 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49475 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49477 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49478 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49479 * math/libm-test.inc (acos_test): Add more tests.
49480 (asin_test): Likewise.
49481 * sysdeps/i386/fpu/libm-test-ulps: Update.
49482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49485 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49487 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49488 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49489 * math/libm-test.inc (acos_test_tonearest): New function.
49490 (acos_test_towardzero): Likewise.
49491 (acos_test_downward): Likewise.
49492 (acos_test_upward): Likewise.
49493 (asin_test_tonearest): Likewise.
49494 (asin_test_towardzero): Likewise.
49495 (asin_test_downward): Likewise.
49496 (asin_test_upward): Likewise.
49497 (main): Call the new functions.
49498 * sysdeps/i386/fpu/libm-test-ulps: Update.
49499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49503 * math/e_exp10.c: Include <float.h>.
49504 (__ieee754_exp10): Handle underflow here rather than multiplying
49505 large negative argument by M_LN10.
49506 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49508 * math/e_exp10l.c: Include <float.h>.
49509 (__ieee754_exp10l): Handle underflow here rather than multiplying
49510 large negative argument by M_LN10l.
49511 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49512 spurious overflow exception on underflow.
49514 2012-04-29 Marek Polacek <polacek@redhat.com>
49516 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49517 (__fortify_function): New macro.
49518 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49519 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49520 __extern_always_inline.
49521 * libio/bits/stdio2.h: Likewise.
49522 * libio/bits/stdio.h: Likewise.
49523 * string/string.h: Likewise.
49524 * string/bits/string3.h: Likewise.
49525 * include/stdio.h: Likewise.
49526 * stdlib/bits/stdlib.h: Likewise.
49527 * stdlib/stdlib.h: Likewise.
49528 * rt/bits/mqueue2.h: Likewise.
49529 * rt/mqueue.h: Likewise.
49530 * posix/bits/unistd.h: Likewise.
49531 * posix/unistd.h: Likewise.
49532 * io/bits/poll2.h: Likewise.
49533 * io/bits/fcntl2.h: Likewise.
49534 * io/fcntl.h: Likewise.
49535 * io/sys/poll.h: Likewise.
49536 * misc/bits/syslog.h: Likewise.
49537 * misc/bits/syslog-ldbl.h: Likewise.
49538 * misc/sys/syslog.h: Likewise.
49539 * socket/bits/socket2.h: Likewise.
49540 * socket/sys/socket.h: Likewise.
49541 * debug/tst-chk1.c: Likewise.
49542 * wcsmbs/bits/wchar2.h: Likewise.
49543 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49544 * wcsmbs/wchar.h: Likewise.
49546 2012-04-29 Andreas Jaeger <aj@suse.de>
49548 * Makerules (tests): Remove enable-check-abi protection.
49549 (check-abi-warn): Remove.
49550 (check-abi-%): Remove check-abi-warn usage.
49552 * configure.in: Remove check-abi configure option.
49553 * configure: Regenerated.
49554 * config.make.in (enable-check-abi): Remove.
49556 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49559 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49560 double functions to double *_finite functions.
49563 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49564 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49566 * stdio-common/Makefile (tests): Add tst-sprintf3.
49567 * stdio-common/tst-sprintf3.c: New file.
49569 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49570 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49572 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49574 * conform/conformtest.pl: Remove duplicate typed-constant
49577 2012-04-28 David S. Miller <davem@davemloft.net>
49579 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49580 (check-abi-%): Remove AWK script prerequisite and explicit
49582 (check-abi): Rewrite to just diff the symlist with the abilist.
49583 (config-tls, config-abi-config): Delete, no longer used.
49584 (update-abi-%): Remove AWK script and explicit abilist directory.
49585 (update-abi): Rewrite to simply compare and conditionally copy the
49586 symlist and the sysdep abilist file. Remove update-abi-config
49588 * abilist/ld.abilist: Remove.
49589 * abilist/libBrokenLocale.abilist: Remove.
49590 * abilist/libanl.abilist: Remove.
49591 * abilist/libcrypt.abilist: Remove.
49592 * abilist/libdl.abilist: Remove.
49593 * abilist/librt.abilist: Remove.
49594 * abilist/libthread_db.abilist: Remove.
49595 * abilist/libutil.abilist: Remove.
49596 * scripts/extract-abilist.awk: Remove.
49597 * scripts/merge-abilist.awk: Remove.
49598 * sysdeps/generic/libcidn.abilist: New file.
49599 * sysdeps/generic/libnss_compat.abilist: New file.
49600 * sysdeps/generic/libnss_db.abilist: New file.
49601 * sysdeps/generic/libnss_dns.abilist: New file.
49602 * sysdeps/generic/libnss_files.abilist: New file.
49603 * sysdeps/generic/libnss_hesiod.abilist: New file.
49604 * sysdeps/generic/libnss_nis.abilist: New file.
49605 * sysdeps/generic/libnss_nisplus.abilist: New file.
49606 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49607 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49608 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49611 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49612 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49613 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49614 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49615 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49616 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49617 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49618 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49620 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49621 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49622 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49623 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49625 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49626 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49627 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49628 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49629 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49630 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49632 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49633 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49634 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49636 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49739 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49740 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49741 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49744 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49745 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49746 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49747 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49748 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49749 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49750 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49751 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49752 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49804 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49806 * conform/conformtest.pl: Fix typo in handling typed-constant from
49809 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49811 * README: Cut down references to pre-2.6 Linux kernels and
49812 Linuxthreads. Update lists of configurations in libc and ports
49813 and sort alphabetically. Say "or newer" with Linux kernel version
49816 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49818 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49821 * math/libm-test.inc (logb_test_downward): New test to expose
49822 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49825 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49828 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49830 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49831 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49833 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49835 * sysdeps/unix/i386/brk.S: Remove file.
49836 * sysdeps/unix/i386/dl-brk.S: Likewise.
49837 * sysdeps/unix/i386/pipe.S: Likewise.
49838 * sysdeps/unix/i386/sigreturn.S: Likewise.
49839 * sysdeps/unix/i386/syscall.S: Likewise.
49840 * sysdeps/unix/i386/vfork.S: Likewise.
49841 * sysdeps/unix/i386/wait.S: Likewise.
49843 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49844 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49846 * configure.in (arm*-none*): Do not allow without
49847 --enable-hacker-mode.
49848 (netbsd*): Remove case setting base_os.
49849 (386bsd*): Likewise.
49850 (freebsd*): Likewise.
49853 (sunos*): Likewise.
49854 (ultrix*): Likewise.
49855 (newsos*): Likewise.
49856 (dynix*): Likewise.
49862 (minix*): Likewise.
49863 (irix4*): Likewise.
49864 (irix6*): Likewise.
49865 (solaris[2-9]*): Likewise.
49867 * configure: Regenerated.
49869 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49872 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49873 overflow or cancellation in calculating denominator.
49874 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49875 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49876 down expression to avoid unexpected rounding in newer GCCs.
49877 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49879 2012-04-26 David S. Miller <davem@davemloft.net>
49881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49882 long-double compat symbols.
49883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49897 2012-04-25 David S. Miller <davem@davemloft.net>
49899 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49900 HWCAP_* values only after the memory barriers have been defined.
49901 (atomic_full_barrier): Define.
49902 (atomic_read_barrier): Define.
49903 (atomic_write_barrier): Define.
49905 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49907 * shlib-versions: Add libgcc_s version information.
49908 * sysdeps/generic/libgcc_s.h: Remove.
49909 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49911 * sysdeps/gnu/unwind-resume.c: Likewise.
49912 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49914 2012-04-25 David S. Miller <davem@davemloft.net>
49916 * sysdeps/unix/sparc/brk.S: Delete.
49917 * sysdeps/unix/sparc/dl-brk.S: Delete.
49918 * sysdeps/unix/sparc/pipe.S: Delete.
49919 * sysdeps/unix/sparc/sysdep.S: Delete.
49920 * sysdeps/unix/sparc/sysdep.h: Delete.
49921 * sysdeps/unix/sparc/vfork.S: Delete.
49922 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49923 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49925 (ret_ERRVAL, r0, r1, MOVE): Define.
49926 (JUMPTARGET): Remove.
49927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49928 sysdeps/unix/sparc/sysdep.h
49929 (ENTRY, END): Remove.
49930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49932 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49934 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49935 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49938 * timezone/README: Update upstream location and email address for
49940 * timezone/zdump.c: Update from tzcode 2012b.
49941 * timezone/zic.c: Likewise.
49943 * configure.in (libc_cv_as_needed): Remove test.
49944 * configure: Regenerated.
49945 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49946 conditional definition.
49947 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49948 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49949 * config.make.in (have-as-needed): Remove variable.
49951 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49952 Paul Pluzhnikov <ppluzhnikov@google.com>
49954 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49957 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49959 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49960 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49961 * sysdeps/sh/strlen.S: Likewise.
49963 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49965 * sysdeps/unix/fork.S: Remove file.
49966 * sysdeps/unix/i386/fork.S: Likewise.
49967 * sysdeps/unix/sparc/fork.S: Likewise.
49969 * sysdeps/unix/system.c: Remove file.
49970 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49972 * sysdeps/unix/getegid.S: Remove file.
49973 * sysdeps/unix/geteuid.S: Likewise.
49975 2012-04-24 Roland McGrath <roland@hack.frob.com>
49977 * scripts/check-localplt.awk: New file.
49978 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49980 * scripts/data/localplt-generic.data: Add a comment.
49982 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49983 NODE when __dir_mkfile failed.
49984 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49985 Reported by Ludovic Courtès <ludo@gnu.org>.
49987 2012-04-24 Andreas Jaeger <aj@suse.de>
49989 * Makerules (common-clean): Also remove gen-as-const-headers
49992 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49994 * Makerules (native-compile): Do not change working directory for
49995 build. Use $(OUTPUT_OPTION) in command.
49996 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49998 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50001 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50002 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50003 * math/libm-test.inc (floor_test): Add more tests.
50004 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50006 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50008 * sysdeps/unix/getdents.c: Remove file.
50009 * sysdeps/unix/sysv/getdents.c: Likewise.
50010 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50012 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50013 sysdeps/unix/mman/syscalls.list.
50015 (mprotect): Likewise.
50017 (munmap): Likewise.
50018 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50019 * sysdeps/unix/mman/syscalls.list: Remove.
50020 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50022 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50023 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50024 * configure: Regenerated.
50025 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50026 $(libgcc_s_suffix).
50027 * config.make.in (libgcc_s_suffix): Remove variable.
50029 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50031 * sysdeps/unix/sysv/gethostname.c: Move to ...
50032 * sysdeps/posix/gethostname.c: ... here.
50034 * sysdeps/unix/execve.S: Remove file.
50036 * sysdeps/unix/_exit.S: Remove file.
50038 2012-04-23 Andreas Jaeger <aj@suse.de>
50041 * manual/Makefile: Remove make dist support, there's no
50042 need for a stand-alone documentation tar ball.
50043 (TEXI2DVI): Define always, it's not in Makeconfig.
50046 (edition): Removed.
50047 (glibc-doc-$(edition).tar): Removed
50051 (ETAGS): Remove, it's in Makeconfig.
50052 (move-if-change): Remove, it's in Makeconfig.
50054 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50057 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50058 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50059 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50060 (strtod_l, strtof_l, strtold_l): Remove __wur.
50061 It is not necessarily an error to ignore strtol's return value.
50062 One can reliably look at the stored endptr to decide whether
50063 the number had valid syntax.
50065 2012-04-21 Andreas Jaeger <aj@suse.de>
50068 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50070 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50072 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50073 * sysdeps/unix/sysv/Versions: Remove file.
50075 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50080 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50084 version from __vm86.
50086 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50088 * sysdeps/unix/common/lxstat.c: Remove file.
50089 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50091 * sysdeps/unix/sysv/Makefile: Remove file.
50093 * sysdeps/unix/sysv/direct.h: Remove file.
50095 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50096 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50097 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50098 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50099 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50100 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50101 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50103 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50105 * sysdeps/unix/xmknod.c: Remove file.
50106 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50108 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50110 * sysdeps/unix/sysv/i386/time.S: Remove file.
50112 * sysdeps/unix/fxstat.c: Remove file.
50113 * sysdeps/unix/xstat.c: Likewise.
50114 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50116 * sysdeps/unix/sysv/sigaction.c: Remove file.
50118 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50119 (sysdep_headers): Remove variable.
50120 [termio.h not in sysdep_headers] (generated): Likewise.
50121 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50122 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50123 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50124 * sysdeps/unix/sysv/tcflow.c: Likewise.
50125 * sysdeps/unix/sysv/tcflush.c: Likewise.
50126 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50127 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50128 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50129 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50130 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50132 * sysdeps/unix/siglist.c: Remove file.
50134 * sysdeps/unix/getppid.S: Remove file.
50136 * sysdeps/unix/mkdir.c: Remove file.
50137 * sysdeps/unix/rmdir.c: Likewise.
50139 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50141 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50143 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50144 errlist-compat value.
50146 2012-04-18 David S. Miller <davem@davemloft.net>
50148 * sysdeps/generic/memcopy.h (reg_char): Delete.
50149 * debug/strcat_chk.c: Use char, not reg_char.
50150 * debug/strcpy_chk.c: Likewise.
50151 * debug/strncat_chk.c: Likewise.
50152 * debug/strncpy_chk.c: Likewise.
50153 * string/memchr.c: Likewise.
50154 * string/memrchr.c: Likewise.
50155 * string/rawmemchr.c: Likewise.
50156 * string/strcat.c: Likewise.
50157 * string/strchr.c: Likewise.
50158 * string/strchrnul.c: Likewise.
50159 * string/strcmp.c: Likewise.
50160 * string/strcpy.c: Likewise.
50161 * string/strncat.c: Likewise.
50162 * string/strncmp.c: Likewise.
50163 * string/strncpy.c: Likewise.
50165 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50167 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50168 __builtin_memcopy is called when src and dest ranges are known to not
50171 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50173 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50174 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50175 fwd_align_merge macro call.
50176 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50177 bwd_align_merge macro call.
50178 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50180 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50182 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50183 bwd_align_merge macros.
50184 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50185 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50186 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50188 2012-04-18 David S. Miller <davem@davemloft.net>
50190 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50192 2012-04-18 Andreas Jaeger <aj@suse.de>
50195 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50196 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50197 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50199 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50200 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50201 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50203 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50204 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50205 Adjust for changed ldbl-128 files.
50207 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50208 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50209 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50211 2012-04-17 David S. Miller <davem@davemloft.net>
50213 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50215 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50217 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50218 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50219 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50220 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50221 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50222 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50224 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50227 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50228 * math/libm-test.inc: Add ilogb errno and exception tests.
50229 * math/w_ilogb.c: New file: ilogb wrapper.
50230 * math/w_ilogbf.c: New file: ilogbf wrapper.
50231 * math/w_ilogbl.c: New file: ilogbl wrapper.
50232 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50233 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50234 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50235 exception being thrown with 0.0 as argument.
50236 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50237 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50238 exception being thrown with 0.0 as argument.
50239 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50240 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50241 exception being thrown with 0.0 as argument.
50242 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50243 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50244 exception being thrown with 0.0 as argument.
50245 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50246 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50247 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50248 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50249 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50250 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50251 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50252 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50253 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50255 2012-04-17 Petr Baudis <pasky@ucw.cz>
50257 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50260 2012-04-16 Marek Polacek <polacek@redhat.com>
50262 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50264 2012-04-16 Marek Polacek <polacek@redhat.com>
50266 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50267 operands of fdivp instruction.
50269 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50271 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50272 * elf/tst-auditmod3b.c: Likewise.
50273 * elf/tst-auditmod4b.c: Likewise.
50274 * elf/tst-auditmod5b.c: Likewise.
50275 * elf/tst-auditmod6b.c: Likewise.
50276 * elf/tst-auditmod6c.c: Likewise.
50277 * elf/tst-auditmod7b.c: Likewise.
50278 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50279 * sysdeps/x86_64/preconfigure.in: Likewise.
50280 * sysdeps/x86_64/preconfigure: Regenerated.
50282 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50284 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50287 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50290 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50292 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50295 * locale/iso-639.def: Fix gl language name. Spotted by
50298 2012-04-12 Roland McGrath <roland@hack.frob.com>
50301 * libio/libio.h (__io_write_fn): Update comment.
50303 2012-04-12 Petr Baudis <pasky@ucw.cz>
50306 * stdio.texi (Hook Functions): The user provided writer function
50307 is not allowed to return -1.
50309 2012-04-11 David S. Miller <davem@davemloft.net>
50311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50313 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50315 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50316 Add a leading slash to rtkaio.
50318 2012-04-11 Jim Meyering <meyering@redhat.com>
50321 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50322 It is not necessarily an error to ignore fwrite's return
50323 value. One can reliably use ferror to test for errors after
50326 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50328 * bits/types.h (__snseconds_t): New type.
50329 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50331 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50333 (__SNSECONDS_T_TYPE): Likewise.
50334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50335 (__SNSECONDS_T_TYPE): Likewise.
50336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50337 (__SNSECONDS_T_TYPE): Likewise.
50339 2012-04-10 Andreas Jaeger <aj@suse.de>
50342 * manual/time.texi (Processor Time): Return type of times is
50343 elapsed real time since an arbitrary point in the past.
50344 (CPU Time): Move CLK_TCK from here...
50345 (Processor Time): ...to here. Correct description.
50346 * manual/conf.texi (Constants for Sysconf): Correct description of
50349 2012-04-10 David S. Miller <davem@davemloft.net>
50352 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50353 where the is a gap between DT_REL(A) and DT_JMPREL.
50355 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50357 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50358 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50359 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50361 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50363 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50364 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50365 (dl_main): Handle --inhibit-cache.
50366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50368 * elf/dl-load.c (_dl_map_object): Use it.
50369 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50371 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50374 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50375 (__ieee754_powl): Saturate large exponents rather than testing for
50376 overflow of y*log2(x).
50377 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50378 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50382 * math/s_ctan.c: Include <float.h>.
50383 (__ctan): Avoid internal overflow or cancellation in calculating
50385 * math/s_ctanf.c: Likewise.
50386 * math/s_ctanl.c: Likewise.
50387 * math/s_ctanh.c: Likewise.
50388 * math/s_ctanhf.c: Likewise.
50389 * math/s_ctanhl.c: Likewise.
50390 * math/libm-test.inc (ctan_test): Add more tests.
50391 (ctanh_test): Likewise.
50392 * sysdeps/i386/fpu/libm-test-ulps: Update.
50393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50395 2012-04-09 Andreas Jaeger <aj@suse.de>
50398 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50399 is an optional BSD extension.
50402 * manual/stdio.texi (Opening Streams): Document additional fopen
50405 2012-04-09 Roland McGrath <roland@hack.frob.com>
50407 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50408 %eax without telling the compiler.
50410 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50413 * manual/install.texi: Use sourceware.org.
50415 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50418 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50419 (__ieee754_pow): Generate overflow and underflow using huge*huge
50420 and tiny*tiny rather than just returning constant infinity or zero
50421 for large exponents.
50422 * math/libm-test.inc (pow_test): Require overflow exceptions for
50423 applicable cases of large exponents.
50426 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50427 (__ieee754_pow): Use iterative multiplication algorithm only for
50428 integer exponents with absolute value below 1024. Check for odd
50429 integer exponents when using algorithm for real exponents.
50430 * math/libm-test.inc (pow_test): Add more tests.
50431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50433 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50436 * math/libm-test.inc (exp_test): Do not allow overflow exception
50439 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50442 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50443 instead of __kernel_standard_f.
50445 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50447 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50448 * sysdeps/x86_64/memset_chk.S: Likewise.
50450 2012-04-08 Andreas Jaeger <aj@suse.de>
50453 * manual/startup.texi (Environment Access): Describe return value
50454 for putenv and setenv.
50457 * manual/filesys.texi (Directory Entries): Add description for
50461 * manual/filesys.texi (Directory Entries): Clarify that it's file
50462 system not operating system in the description of DT_UNKNOWN.
50465 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50467 2012-04-08 Stephen Compall <s11@member.fsf.org>
50470 * manual/llio.texi (Opening and Closing Files): Add cross
50471 reference to explain mode argument.
50473 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50475 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50476 * sysdeps/x86_64/memset_chk.S: Likewise.
50478 2012-04-07 David S. Miller <davem@davemloft.net>
50480 * elf/elf.h (R_SPARC_WDISP10): Define.
50481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50484 R_SPARC_SIZE64 and R_SPARC_H34.
50486 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50489 conditions and remove no longer applicable assertion.
50491 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50493 * bits/byteswap.h: Include <features.h>.
50494 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50495 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50497 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50499 * bits/byteswap.h (__bswap_16): Removed.
50500 Include <bits/byteswap-16.h> to get __bswap_16.
50501 * sysdeps/i386/bits/byteswap.h: Likewise.
50502 * sysdeps/s390/bits/byteswap.h: Likewise.
50503 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50504 * bits/byteswap-16.h: New file.
50505 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50506 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50507 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50508 * string/Makefile (headers): Add bits/byteswap-16.h.
50510 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50513 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50515 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50516 * nss/tst-nss-static.c: New.
50518 2012-04-06 Robert Millan <rmh@gnu.org>
50521 * manual/llio.texi (File Position Primitive): lseek
50522 refers to WHENCE when it really means OFFSET.
50524 2012-04-06 Andreas Jaeger <aj@suse.de>
50526 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50527 strncmp declarations.
50529 * abilist/libc.abilist: Add __poll and __ppoll.
50531 2012-04-05 David S. Miller <davem@davemloft.net>
50533 * scripts/check-local-headers.sh: Accept a host triplet in the
50534 path matched by the exclude regexp.
50536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50538 * sysdeps/powerpc/powerpc32/dl-machine.h
50539 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50540 * sysdeps/s390/s390-32/dl-machine.h
50541 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50542 * sysdeps/sparc/sparc32/dl-machine.h
50543 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50544 * sysdeps/sparc/sparc64/dl-machine.h
50545 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50547 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50549 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50550 undefined symbol errors.
50552 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50555 2012-04-05 Michael Matz <matz@suse.de>
50558 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50560 2012-04-05 Andreas Jaeger <aj@suse.de>
50563 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50566 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50568 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50569 which ROUND is no valid rounding mode.
50571 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50573 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50575 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50579 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50580 an exception using FPU order intentionally.
50582 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50584 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50585 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50586 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50587 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50589 2012-04-05 Simon Josefsson <simon@josefsson.org>
50592 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50593 EINVAL when BUFLEN is too smal.
50595 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50598 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50599 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50601 2012-04-03 Andreas Jaeger <aj@suse.de>
50604 * manual/setjmp.texi (System V contexts): Fix sentence.
50607 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50608 New macro for this case.
50609 [!__GNUC__] (__bswap_64): New inline function for this case.
50610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50611 * bits/byteswap.h: Likewise.
50612 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50613 ull, guard with __GLIBC_HAVE_LONG_LONG.
50615 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50616 __GLIBC_HAVE_LONG_LONG.
50618 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50619 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50621 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50624 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50625 inptr and inend, rather than using last_ch.
50627 2012-04-02 David S. Miller <davem@davemloft.net>
50629 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50630 * stdio-common/printf-parse.h (read_int): Change return type to
50631 'int', return -1 on INT_MAX overflow.
50632 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50633 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50634 overflows INT_MAX. Check for overflow of in-format-string precision
50635 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50636 SIZE_MAX not INT_MAX for integer overflow test.
50637 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50638 skip the construct in the format string but do not record anything.
50639 * stdio-common/bug22.c: Adjust to test both width/prevision
50640 INT_MAX overflow as well as total length INT_MAX overflow. Check
50641 explicitly for proper errno values.
50643 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50645 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50647 * string/test-strcmp.c [! WIDE]: Likewise.
50648 * time/tst-mktime2.c: Likewise for INT_MAX.
50649 * string/test-string.h: #include <sys/param.h> for MIN.
50651 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50652 * sysdeps/i386/init-first.c (init): Likewise.
50653 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50654 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50655 * sysdeps/sh/init-first.c (init): Likewise.
50657 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50659 * po/ru.po: Update from translation team.
50660 * po/vi.po: Likewise.
50662 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50664 * resolv/nss_dns/dns-host.c: Merge copyright years.
50666 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50669 Optimize memcpy with prefetch if
50670 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50671 src, dst pointers have unequal 16 byte alignments.
50673 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50676 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50677 from a CNAME entry and return the minimum ttl for the query.
50678 (gaih_getanswer_slice): Likewise.
50680 2012-03-30 Jeff Law <law@redhat.com>
50682 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50684 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50685 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50687 * resolv/nss_dns/dns-host.c: Update copyright year.
50689 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50691 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50692 requests to save a system call. Fix check that all bytes are sent.
50694 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50695 comments for sendmmsg.
50697 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50700 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50701 with only 1 character between 0x0041 and 0x01b0.
50702 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50703 * wcsmbs/tst-mbsnrtowcs.c: New file.
50705 2012-03-29 David S. Miller <davem@davemloft.net>
50707 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50708 small copies by hand.
50710 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50713 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50714 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50717 2012-03-28 David S. Miller <davem@davemloft.net>
50719 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50720 that branches into memcpy.
50721 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50722 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50724 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50727 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50728 implementation too.
50729 * sysdeps/sparc/mempcpy.S: New file.
50731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50732 the IFUNC routine in the libc case.
50733 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50735 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50736 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50737 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50738 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50739 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50740 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50741 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50742 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50744 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50745 loop to 256 bytes instead of 64 bytes and fix test signedness.
50747 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50748 * sysdeps/sparc/sparc32/Makefile: rather than here...
50749 * sysdeps/sparc/sparc64/Makefile: and here.
50751 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50753 * malloc/mallocbug.c: Avoid warnings about unused variables.
50755 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50758 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50759 in the right place. Discard and retry query if response is
50760 larger than input buffer size.
50762 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50767 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50768 x for large integer exponent.
50769 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50770 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50771 sign of result as needed afterwards.
50772 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50773 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50774 result for underflowing pow the same as for overflow.
50775 (__kernel_standard_l): Handle powl overflow and underflow here
50776 rather than calling __kernel_standard.
50777 * math/libm-test.inc (pow_test): Add more tests.
50792 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50793 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50794 (__kernel_standard_l): New function.
50795 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50797 * math/w_acosl.c (__acosl): Likewise.
50798 * math/w_asinl.c (__asinl): Likewise.
50799 * math/w_atan2l.c (__atan2l): Likewise.
50800 * math/w_atanhl.c (__atanhl): Likewise.
50801 * math/w_coshl.c (__coshl): Likewise.
50802 * math/w_exp10l.c (__exp10l): Likewise.
50803 * math/w_exp2l.c (__exp2l): Likewise.
50804 * math/w_fmodl.c (__fmodl): Likewise.
50805 * math/w_hypotl.c (__hypotl): Likewise.
50806 * math/w_j0l.c (__j0l, __y0l): Likewise.
50807 * math/w_j1l.c (__j1l, __y1l): Likewise.
50808 * math/w_jnl.c (__jnl, __ynl): Likewise.
50809 * math/w_lgammal.c (__lgammal): Likewise.
50810 * math/w_log10l.c (__log10l): Likewise.
50811 * math/w_log2l.c (__log2l): Likewise.
50812 * math/w_logl.c (__logl): Likewise.
50813 * math/w_powl.c (__powl): Likewise.
50814 * math/w_remainderl.c (__remainderl): Likewise.
50815 * math/w_scalbl.c (sysv_scalbl): Likewise.
50816 * math/w_sinhl.c (__sinhl): Likewise.
50817 * math/w_sqrtl.c (__sqrtl): Likewise.
50818 * math/w_tgammal.c (__tgammal): Likewise.
50819 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50820 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50821 * math/libm-test.inc (acos_test): Add more tests.
50822 (acosh_test): Likewise.
50823 (asin_test): Likewise.
50824 (atanh_test): Likewise.
50825 (exp_test): Likewise.
50826 (exp10_test): Likewise.
50827 (exp2_test): Likewise.
50828 (expm1_test): Likewise.
50829 (lgamma_test): Likewise.
50830 (log_test): Likewise.
50831 (log10_test): Likewise.
50832 (log1p_test): Likewise.
50833 (log2_test): Likewise.
50834 (pow_test): Do not allow some spurious overflow exceptions.
50835 (sqrt_test): Add more tests.
50836 (tgamma_test): Likewise.
50837 (y0_test): Likewise.
50838 (y1_test): Likewise.
50839 (yn_test): Likewise.
50841 2012-03-27 Anton Blanchard <anton@samba.org>
50843 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50845 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50846 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50847 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50849 2012-03-27 David S. Miller <davem@davemloft.net>
50851 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50853 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50854 have-as-vis3 check.
50856 2012-03-27 Andreas Jaeger <aj@suse.de>
50858 * sysdeps/x86_64/elf/configure.in: Moved to ...
50859 * sysdeps/x86_64/configure.in: ... here.
50860 * sysdeps/x86_64/elf/start.S: Moved to ...
50861 * sysdeps/x86_64/start.S: ... here.
50862 * sysdeps/x86_64/elf/configure: Delete.
50864 * sysdeps/x86_64/configure.in: Merge contents from
50865 sysdeps/i386/configure.in (without i686 check).
50867 * sysdeps/i386/elf/Versions: Merge into ...
50868 * sysdeps/i386/Versions: ... this.
50869 * sysdeps/i386/elf/Versions: Delete file.
50870 * sysdeps/i386/elf/start.S: Moved to ...
50871 * sysdeps/i386/start.S: ...here.
50872 * sysdeps/i386/elf/configure.in: Merge into...
50873 * sysdeps/i386/configure.in: ...here.
50874 * sysdeps/i386/elf/configure.in: Delete file.
50875 * sysdeps/i386/elf/configure: Delete file.
50877 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50878 * debug/backtracesyms.c: ... here.
50879 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50880 * debug/backtracesymsfd.c: ... here.
50881 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50882 * sysdeps/generic/ifunc-sel.h: ... here.
50884 * sysdeps/unix/i386/start.c: Delete file.
50885 * sysdeps/unix/sparc/start.c: Delete file.
50886 * sysdeps/unix/start.c: Delete file.
50888 * sysdeps/sh/elf/configure.in: Moved to ...
50889 * sysdeps/sh/configure.in: ... here.
50890 * sysdeps/sh/elf/start.S: Moved to ...
50891 * sysdeps/sh/start.S: ... here.
50892 * sysdeps/sh/elf/configure: Delete file.
50894 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50895 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50896 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50897 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50898 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50899 * sysdeps/powerpc/powerpc64/start.S: here.
50900 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50901 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50902 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50903 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50904 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50906 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50907 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50908 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50909 * sysdeps/powerpc/powerpc32/start.S: ... here.
50910 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50911 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50912 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50914 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50915 * sysdeps/powerpc/ifunc-sel.h: ... here.
50916 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50917 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50919 * sysdeps/sparc/elf/configure.in: Moved to ...
50920 * sysdeps/sparc/configure.in: ... here.
50921 * sysdeps/sparc/elf/configure: Delete file.
50922 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50923 * sysdeps/sparc/sparc32/start.S: ... here.
50924 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50925 * sysdeps/sparc/sparc64/start.S: ... here.
50926 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50927 * sysdeps/sparc/sparc32/Makefile: ... this.
50928 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50929 * sysdeps/sparc/sparc64/Makefile: ... this.
50931 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50932 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50933 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50934 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50935 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50936 * sysdeps/s390/s390-32/setjmp.S: ... here.
50937 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50938 * sysdeps/s390/s390-32/configure.in: ... here.
50939 * sysdeps/s390/s390-32/elf/configure: Delete file.
50940 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50941 * sysdeps/s390/s390-32/start.S: ... here.
50943 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50944 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50945 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50946 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50947 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50948 * sysdeps/s390/s390-64/setjmp.S: ... here.
50949 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50950 * sysdeps/s390/s390-64/configure.in: ... here
50951 * sysdeps/s390/s390-64/elf/configure: Delete file.
50952 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50953 * sysdeps/s390/s390-64/start.S: ... here.
50954 * sysdeps/s390/s390-64/elf/configure: Delete.
50956 * configure.in: Remove support for elf directories in sysdeps.
50958 * configure: Regenerated.
50959 * sysdeps/i386/configure: Regenerated.
50960 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50961 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50962 * sysdeps/s390/s390-32/configure: Regenerated.
50963 * sysdeps/s390/s390-64/configure: Regenerated.
50964 * sysdeps/sh/configure: Regenerated.
50965 * sysdeps/sparc/configure: Regenerated.
50966 * sysdeps/x86_64/configure: Regenerated.
50968 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50973 denormal result into account.
50975 2012-03-25 Roland McGrath <roland@hack.frob.com>
50977 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50978 Reported by Allan McRae <allan@archlinux.org>.
50980 2012-03-23 Jeff Law <law@redhat.com>
50982 * nss/getnssent.c (__nss_getent): Fix typo.
50984 2012-03-23 David S. Miller <davem@davemloft.net>
50986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50988 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50990 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50991 to pad to uint64_t for each field.
50992 (dl_tls_index): Replace unsigned long with uint64_t.
50994 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50995 Paul Pluzhnikov <ppluzhnikov@google.com>
50998 * grp/Makefile (otherlibs): Don't set it.
50999 * inet/Makefile (otherlibs): Likewise.
51000 * login/Makefile (otherlibs): Likewise.
51001 * nscd/Makefile (otherlibs): Likewise.
51002 * posix/Makefile (otherlibs): Likewise.
51003 * pwd/Makefile (otherlibs): Likewise.
51004 * rt/Makefile (otherlibs): Likewise.
51005 * sunrpc/Makefile (otherlibs): Likewise.
51006 * nss/Makefile (otherlibs): Likewise.
51007 Add libnss_files to routines and static-only-routines.
51008 ($(objpfx)getent): Remove rule.
51009 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51010 static-only-routines.
51012 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51015 * math/s_cexp.c: Include <float.h>.
51016 (__cexp): Handle exp result overflowing not necessarily
51017 overflowing both real and imaginary parts of result.
51018 * math/s_cexpf.c: Likewise.
51019 * math/s_cexpl.c: Likewise.
51020 * math/libm-test.inc (cexp_test): Add more tests.
51021 * sysdeps/i386/fpu/libm-test-ulps: Update.
51022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51024 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51026 * include/link.h (ELFW): New macro.
51027 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51028 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51030 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51032 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51035 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51037 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51039 (struct La_x32_retval): Likewise.
51041 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51043 * sysdeps/x86_64/preconfigure.in: New file.
51044 * sysdeps/x86_64/preconfigure: New generated file.
51046 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51049 * math/e_exp2l.c: Include <float.h>.
51050 (__ieee754_exp2l): Handle overflow and underflow cases
51051 separately. Only pass fractional part of argument to
51053 * math/libm-test.inc (exp2_test): Add more tests.
51055 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51056 negating x to take absolute value.
51057 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51059 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51060 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51062 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51063 computing low part if x was negated.
51064 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51066 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51068 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51069 la_x32_gnu_pltexit.
51070 (pltexit): Cast int_retval to ptrdiff_t.
51071 * elf/tst-auditmod3b.c: Likewise.
51072 * elf/tst-auditmod4b.c: Likewise.
51073 * elf/tst-auditmod5b.c: Likewise.
51074 * elf/tst-auditmod6b.c: Likewise.
51075 * elf/tst-auditmod6c.c: Likewise.
51076 * elf/tst-auditmod7b.c: Likewise.
51078 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51079 and x32_gnu_pltexit.
51081 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51082 __ELF_NATIVE_CLASS.
51083 (La_x32_regs): New macro.
51084 (La_x32_retval): Likewise.
51085 (la_x32_gnu_pltenter): New function prototype.
51086 (la_x32_gnu_pltexit): Likewise.
51088 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51090 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51095 * configure.in (libc_cv_cc_nofma): Check for option to disable
51096 generation of FMA instructions.
51097 * configure: Regenerate.
51098 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51099 * sysdeps/ieee754/dbl-64/Makefile: New file.
51100 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51101 Remove brandred-fma4.
51102 (CFLAGS-brandred-fma4.c): Remove.
51103 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51104 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51106 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51109 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51111 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51112 LLONG_MAX != LONG_MAX.
51113 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51114 (_fitoa_word): Likewise.
51115 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51116 LLONG_MAX != LONG_MAX.
51117 * stdio-common/_itowa.h: Include <_itoa.h>.
51118 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51119 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51120 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51121 only if not defined.
51122 (_ITOA_WORD_TYPE): Likewise.
51123 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51124 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51126 2012-03-21 David S. Miller <davem@davemloft.net>
51128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51130 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51132 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51133 of x86_64 when setting libc_cv_slibdir, libdir and
51135 * sysdeps/unix/sysv/linux/configure: Regenerated.
51137 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51139 * manual/lang.texi (Old Varargs): Remove section.
51140 (How Variadic): Update menu.
51141 (va_start): Do not mention varargs.h.
51143 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51144 Joseph Myers <joseph@codesourcery.com>
51146 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51148 * configure: Regenerated.
51150 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51152 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51153 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51156 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51159 * Makefile (files-for-dist): Remove NOTES.
51160 (NOTES): Remove rule.
51161 * README: Don't refer to NOTES.
51162 * manual/creature.texi: Don't include macros.texi.
51163 * manual/intro.texi (creature.texi): Remove comment referring to
51166 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51167 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51168 * configure: Regenerated.
51169 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51170 LIBC_TRY_CC_OPTION.
51171 (libc_cv_as_i686): Likewise.
51172 (libc_cv_cc_avx): Likewise.
51173 (libc_cv_cc_sse2avx): Likewise.
51174 (libc_cv_cc_fma4): Likewise.
51175 (libc_cv_cc_novzeroupper): Likewise.
51176 * sysdeps/i386/configure: Regenerated.
51179 * sysdeps/i386/fpu/s_cexp.S: Remove.
51180 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51181 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51182 * math/libm-test.inc (cexp_test): Add more tests.
51183 * sysdeps/i386/fpu/libm-test-ulps: Update.
51184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51186 2012-03-21 Allan McRae <allan@archlinux.org>
51188 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51190 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51193 * math/w_exp2.c: Do not include <float.h>.
51194 (o_threshold, u_threshold): Remove.
51195 (__exp2): Calculate result before checking finiteness and calling
51197 * math/w_exp2f.c: Likewise.
51198 * math/w_exp2l.c: Likewise.
51199 * math/libm-test.inc (exp2_test): Require overflow exception for
51203 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51204 range of signed 64-bit integers before using fistpll. Remove
51205 checks for whether integers fit in mantissa bits.
51206 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51207 the range of signed 32-bit integers before using fistpl. Remove
51208 checks for whether integers fit in mantissa bits.
51209 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51210 (__ieee754_powl): Test for y outside the range of signed 64-bit
51211 integers before using fistpll. Reduce 64-bit values to 63-bit
51213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51214 divide-by-zero is raised for zero to large negative powers.
51215 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51216 (__ieee754_powl): Test for y outside the range of signed 64-bit
51217 integers before using fistpll. Reduce 64-bit values to 63-bit
51219 * math/libm-test.inc (pow_test): Add more tests.
51221 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51223 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51224 <stdio-common/_itoa.h>.
51225 * debug/segfault.c: Likewise.
51226 * elf/dl-cache.c: Likewise.
51227 * elf/dl-minimal.c: Likewise.
51228 * elf/dl-misc.c: Likewise.
51229 * elf/dl-sysdep.c: Likewise.
51230 * elf/dl-version.c: Likewise.
51231 * elf/rtld.c: Likewise.
51232 * hurd/hurdsock.c: Likewise.
51233 * hurd/lookup-retry.c: Likewise.
51234 * malloc/malloc.c: Likewise.
51235 * malloc/mtrace.c: Likewise.
51236 * nscd/nscd_getgr_r.c: Likewise.
51237 * nscd/nscd_getpw_r.c: Likewise.
51238 * nscd/nscd_getserv_r.c: Likewise.
51239 * posix/getopt_init.c: Likewise.
51240 * posix/wordexp.c: Likewise.
51241 * stdio-common/_itoa.c: Likewise.
51242 * stdio-common/printf_fphex.c: Likewise.
51243 * stdio-common/vfprintf.c: Likewise.
51244 * string/_strerror.c: Likewise.
51245 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51246 * sysdeps/i386/i686/hp-timing.h: Likewise.
51247 * sysdeps/mach/_strerror.c: Likewise.
51248 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51249 * sysdeps/mach/hurd/sethostid.c: Likewise.
51250 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51251 * sysdeps/mach/xpg-strerror.c: Likewise.
51252 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51254 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51255 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51256 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51257 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51258 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51259 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51260 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51261 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51262 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51263 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51264 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51265 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51266 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51267 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51268 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51269 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51270 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51271 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51272 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51274 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51276 * stdio-common/_itoa.h: Moved to ...
51277 * sysdeps/generic/_itoa.h: Here.
51279 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51281 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51282 instead of "_itoa.h" and "_itowa.h".
51283 * stdio-common/vfprintf.: Likewise.
51285 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51287 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51289 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51290 (__signbit): Likwise.
51291 (llrintf): Likwise.
51294 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51296 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51299 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51301 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51302 OVERFLOW_EXCEPTION_OK.
51303 * math/libm-test.inc ("Philosophy"): Update comment about
51305 (OVERFLOW_EXCEPTION): Define.
51306 (OVERFLOW_EXCEPTION_OK): Likewise.
51307 (INVALID_EXCEPTION_OK): Renumber.
51308 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51309 (IGNORE_ZERO_INF_SIGN): Likewise.
51310 (test_exceptions): Handle FE_OVERFLOW.
51311 (exp10_test): Expect overflow exceptions.
51312 (exp2_test): Likewise.
51313 (expm1_test): Likewise.
51314 (nextafter_test): Likewise.
51315 (pow_test): Likewise.
51316 (scalbn_test): Likewise.
51317 (scalbln_test): Likewise.
51319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51321 * sysdeps/x86_64/bits/atomic.h
51322 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51324 (atomic_exchange_acq): Likewise.
51325 (__arch_exchange_and_add_body): Likewise.
51326 (__arch_add_body): Likewise.
51327 (atomic_add_negative): Likewise.
51328 (atomic_add_zero): Likewise.
51330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51332 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51333 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51335 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51337 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51338 Check __x86_64__ instead of __WORDSIZE.
51340 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51342 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51344 2012-03-19 David S. Miller <davem@davemloft.net>
51346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51348 * sysdeps/sparc/fpu/fenv_private.h: New file.
51349 * sysdeps/sparc/fpu/math_private.h: Use it.
51350 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51352 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51353 (libc_feholdexcept_setroundl): Remove.
51354 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51356 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51357 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51359 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51361 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51362 int64_t instead of long int.
51363 (INSERT_WORDS64): Likwise.
51365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51367 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51368 _Unwind_GetCFA return to _Unwind_Ptr first.
51370 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51373 * math/s_clog.c: Include <float.h>.
51374 (__clog): Scale large or subnormal inputs.
51375 * math/s_clogf.c: Likewise.
51376 * math/s_clogl.c: Likewise.
51377 * math/s_clog10.c: Include <float.h>.
51378 (M_LOG10_2): Define.
51379 (__clog10): Scale large or subnormal inputs.
51380 * math/s_clog10f.c: Likewise.
51381 * math/s_clog10l.c: Likewise.
51382 * math/libm-test.inc (clog_test): Add more tests.
51383 (clog10_test): Likewise.
51384 * sysdeps/i386/fpu/libm-test-ulps: Update.
51385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51388 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51390 * math/libm-test.inc (atan2_test): Add another test.
51392 * Makerules (common-objdir-compile): Remove.
51393 * sysdeps/unix/Makefile (config-generated): Do not add
51394 $(unix-generated) to variable.
51395 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51396 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51398 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51400 [generic bits/local_lim.h] (before-compile): Do not append to
51402 [generic bits/local_lim.h] (common-generated): Likewise.
51403 [generic sys/param.h] (before-compile): Do not append to variable.
51404 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51405 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51406 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51407 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51409 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51410 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51411 [generic sys/param.h] ($(addprefix
51412 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51413 [generic sys/param.h] (common-generated): Do not append to
51415 [generic sys/param.h] (sysdep_headers): Likewise.
51416 [generic bits/errno.h] (before-compile): Do not append to
51418 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51420 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51421 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51422 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51423 [generic bits/errno.h] (common-generated): Do not append to
51425 [generic bits/ioctls.h] (before-compile): Do not append to
51427 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51429 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51430 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51431 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51433 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51434 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51435 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51436 [generic bits/ioctls.h] (common-generated): Do not append to
51438 [generic sys/syscall.h] (syscall.h): Remove variable.
51439 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51441 [generic sys/syscall.h] (before-compile): Do not append to
51443 [generic sys/syscall.h] (common-generated): Likewise.
51444 * sysdeps/unix/errnos-tmpl.c: Remove file.
51445 * sysdeps/unix/errnos.awk: Likewise.
51446 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51447 * sysdeps/unix/ioctls.awk: Likewise.
51448 * sysdeps/unix/mk-local_lim.c: Likewise.
51449 * sysdeps/unix/snarf-ioctls: Likewise.
51451 2012-03-19 Richard Henderson <rth@twiddle.net>
51453 * sysdeps/i386/fpu/fenv_private.h: New file.
51454 * sysdeps/i386/fpu/math_private.h: Use it.
51455 (math_opt_barrier, math_force_eval): Remove.
51456 (libc_feholdexcept_setround_53bit): Remove.
51457 (libc_feupdateenv_53bit): Remove.
51458 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51459 (math_opt_barrier, math_force_eval): Remove.
51460 (libc_feholdexcept): Remove.
51461 (libc_feholdexcept_setround): Remove.
51462 (libc_fetestexcept, libc_fesetenv): Remove.
51463 (libc_feupdateenv_test): Remove.
51464 (libc_feupdateenv, libc_feholdsetround): Remove.
51465 (libc_feresetround): Remove.
51467 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51468 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51470 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51471 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51472 (libc_feupdateenv_testl): New.
51473 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51474 (libc_feupdateenv_testf): New.
51475 (libc_feupdateenv): Use libc_feupdateenv_test.
51476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51479 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51480 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51481 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51482 (libc_feresetround_noex): New.
51483 (libc_feresetround_noexf): New.
51484 (libc_feresetround_noexl): New.
51485 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51486 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51487 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51488 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51493 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51494 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51495 SET_RESTORE_ROUND_NOEX.
51496 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51497 SET_RESTORE_ROUND_NOEXF.
51498 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51499 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51500 (libc_feholdsetroundf): New.
51501 (libc_feresetround, libc_feresetroundf): New.
51503 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51504 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51505 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51507 * sysdeps/generic/math_private.h: Include <fenv.h>.
51508 (default_libc_feholdexcept): New.
51509 (default_libc_feholdexcept_setround): New.
51510 (default_libc_fesetenv, default_libc_feupdateenv): New.
51511 (libc_feholdexcept): Only define if undefined.
51512 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51513 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51514 (libc_feholdexcept_setroundl): Likewise.
51515 (libc_feholdexcept_setround_53bit): Likewise.
51516 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51517 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51518 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51519 (libc_feupdateenv_53bit): Likewise.
51520 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51521 (libc_feholdexcept): Convert from macro to inline function.
51522 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51523 (libc_fesetenv, libc_feupdateenv): Likewise.
51525 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51526 not previously defined.
51527 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51528 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51529 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51530 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51531 * sysdeps/ieee754/flt-32/math_private.h: New file.
51532 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51533 math_private.h below SET_FLOAT_WORD.
51534 (__isnan, __isinf_ns, __finite): Remove.
51535 (__isnanf, __isinf_nsf, __finitef): Remove.
51537 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51541 2012-03-17 David S. Miller <davem@davemloft.net>
51544 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51547 2012-03-16 David S. Miller <davem@davemloft.net>
51549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51553 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51555 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51556 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51557 sysdep_routines when subdir is sysvipc.
51558 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51559 __getshmlba helper.
51561 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51563 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51565 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51568 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51570 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51571 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51572 (__lround): Renamed to ...
51573 (__llround): This. Replace long int with long long int.
51574 Define lround functions as aliases of llround functions.
51575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51577 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51579 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51580 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51581 adresses to uintptr_t. Replace "long int" and "unsigned long
51582 int" with "greg_t" on va_arg.
51584 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51586 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51587 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51589 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51590 Move e_machine check before EI_CLASS check. Handle x32
51591 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51592 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51593 SKIP_EM_IA_64 and include
51594 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51596 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51597 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51598 (add_system_dir): New macro.
51600 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51601 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51603 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51614 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51616 * math/w_j0f.c (j0f): Likewise.
51618 * math/w_j0l.c (__j0l): Likewise.
51620 * math/w_j1.c (j1): Likewise.
51622 * math/w_j1f.c (j1f): Likewise.
51624 * math/w_j1l.c (__j1l): Likewise.
51626 * math/w_jn.c (jn): Likewise.
51628 * math/w_jnf.c (jnf): Likewise.
51630 * math/w_jnl.c (__jnl): Likewise.
51632 * math/libm-test.inc (j0_test): Add more tests.
51633 (j1_test): Likewise.
51634 (jn_test): Likewise. Add trailing semicolon to existing test.
51635 (y0_test): Likewise.
51636 (y1_test): Likewise.
51637 * sysdeps/i386/fpu/libm-test-ulps: Update.
51638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51642 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51643 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51644 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51645 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51646 (__tanl): Set errno for infinite argument.
51647 * sysdeps/i386/fpu/mptan.c: Remove.
51648 * sysdeps/i386/fpu/s_tan.S: Likewise.
51649 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51650 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51651 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51652 * math/libm-test.inc (tan_test): Add more tests and enable more
51653 tests for double and long double.
51654 * sysdeps/i386/fpu/libm-test-ulps: Update.
51655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51657 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51659 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51660 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51662 2012-03-16 Roland McGrath <roland@hack.frob.com>
51664 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51665 * configure.in: Use it for both main tree and add-ons.
51666 * configure: Regenerated.
51668 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51670 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51672 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51674 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51678 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51679 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51684 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51686 != 0 for prec == 2.
51687 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51688 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51689 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51690 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51691 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51692 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51693 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51694 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51695 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51696 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51697 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51698 * math/libm-test.inc (cos_test): Add more tests and enable more
51699 tests for long double.
51700 (sin_test): Likewise.
51701 (sincos_test): Likewise.
51702 * sysdeps/i386/fpu/libm-test-ulps: Update.
51703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51705 2012-03-16 David S. Miller <davem@davemloft.net>
51707 * sysdeps/sparc/fpu/math_private.h: New file.
51709 2012-03-15 David S. Miller <davem@davemloft.net>
51711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51725 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51726 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51728 * sysdeps/sparc/sparc-ifunc.h: New file.
51729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51772 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51774 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51776 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51780 2012-03-15 Andreas Jaeger <aj@suse.de>
51783 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51784 ieee754/flt-32 implementation for sin, cos and sincos.
51785 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51786 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51787 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51788 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51789 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51790 ieee754/flt-32 implementation for tan.
51792 * math/libm-test.inc (cos_test): Enable some large input tests for
51794 (sin_test): Likewise.
51795 (sincos_test): Likewise.
51796 (tan_test): Add tests for large input.
51798 * sysdeps/i386/fpu/libm-test-ulps: Update.
51800 2012-03-15 Andreas Jaeger <aj@suse.de>
51803 * math/libm-test.inc (cos_test): Add more test cases.
51804 (sin_test): Likewise.
51805 (sincos_test): Likewise.
51807 2012-03-15 Andreas Jaeger <aj@suse.de>
51810 * math/libm-test.inc (cos_test): Add a test case for large input
51812 (sin_test): Likewise.
51813 (sincos_test): Likewise.
51815 2012-03-15 Andreas Jaeger <aj@suse.de>
51816 Joseph Myers <joseph@codesourcery.com>
51819 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51820 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51821 * sysdeps/i386/fpu/branred.c: Likewise.
51822 * sysdeps/i386/fpu/dosincos.c: Likewise.
51823 * sysdeps/i386/fpu/mpa.c: Likewise.
51824 * sysdeps/i386/fpu/s_cos.S: Likewise.
51825 * sysdeps/i386/fpu/s_sin.S: Likewise.
51826 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51827 * sysdeps/i386/fpu/sincos32.c: Likewise.
51829 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51831 (libc_feupdateenv_53bit): Define.
51832 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51834 (libc_feupdateenv_53bit): Define.
51836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51837 53 bit (without extend i386 double precision).
51839 * math/libm-test.inc (sincos_test): Add tests for large input.
51843 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51845 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51849 2012-03-15 David S. Miller <davem@davemloft.net>
51851 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51852 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51853 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51854 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51879 fmin/fmax sysdep routines.
51880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51882 2012-03-14 David S. Miller <davem@davemloft.net>
51884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51890 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51891 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51906 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51907 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51908 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51909 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51910 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51911 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51956 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51961 * sysdeps/sparc/configure.in: New file.
51962 * sysdeps/sparc/configure: Generate.
51963 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51964 * configure: Regenerate.
51965 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51966 * config.make.in (have-as-vis3): New.
51967 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51968 available use -Av9d instead of -Av9a.
51969 * sysdeps/sparc/sparc64/Makefile: Likewise.
51970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51983 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51985 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51986 fzeros/fnegs to load 0x80000000 into a float register instead of
51988 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51990 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51994 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51995 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51996 ($(inst_includedir)/bits/syscall.h): Remove rule.
51997 ($(objpfx)bits/syscall.d): Include instead of
51998 $(objpfx)syscall-list.d.
51999 (generated): Change syscall-list.h and syscall-list.d to
52000 bits/syscall.h and bits/syscall.d.
52002 2012-03-14 Roland McGrath <roland@hack.frob.com>
52005 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52007 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52010 * math/s_csqrt.c: Include <float.h>.
52011 (__csqrt): Scale large or subnormal inputs.
52012 * math/s_csqrtf.c: Likewise.
52013 * math/s_csqrtl.c: Likewise.
52014 * math/libm-test.inc (csqrt_test): Add more tests.
52015 * sysdeps/i386/fpu/libm-test-ulps: Update.
52016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52019 * math/libm-test.inc (hypot_test): Add more tests.
52021 2012-03-13 David S. Miller <davem@davemloft.net>
52024 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52025 double-precision for the calculation instead of scaling.
52027 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52029 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52030 manipulate bits before adding and subtracting TWO52[sx].
52031 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52032 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52034 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52036 2012-03-13 David S. Miller <davem@davemloft.net>
52038 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52039 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52041 rtld-global-offsets.h
52042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52044 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52047 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52049 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52050 'err' in the ifdef scope in which it is actually used.
52052 * nss/nss_db/db-init.c: Include string.h
52054 2012-03-12 David S. Miller <davem@davemloft.net>
52056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52057 masking out of the most significant byte of random value used.
52058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52059 Fix coding style in previous change.
52061 * sysdeps/unix/sysv/linux/kernel-features.h
52062 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52063 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52065 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52068 2012-03-11 David S. Miller <davem@davemloft.net>
52070 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52071 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52072 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52073 for 'resultvar' otherwise things get truncated on 64-bit.
52075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52076 Fix masking out of the most significant byte of random value used.
52078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52080 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52084 2012-03-09 David S. Miller <davem@davemloft.net>
52086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52087 variables with appropriate CPP guards.
52088 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52089 from the frame pointer, not the stack pointer. Correct layout
52090 comments. Fix test on resulting framesize and the management of
52091 the outregs buffer for pltexit. Preserve floating point return
52092 values across _dl_call_pltexit call.
52093 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52094 framesize and the management of the outregs buffer for pltexit.
52095 Preserve floating point return values across _dl_call_pltexit
52097 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52098 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52099 (la_sparc64_gnu_pltexit): New functions.
52100 (print_exit): Fix format string for return register value.
52102 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52104 * sunrpc/Makefile (others): Add rpcgen.
52105 ($(objpfx)rpcgen): Remove special build rule and dependency on
52107 * sunrpc/rpcgen.c: New file.
52109 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52112 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52113 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52114 * sysdeps/i386/crti.S: Likewise.
52115 * sysdeps/i386/crtn.S: Likewise.
52116 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52117 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52118 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52119 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52120 * sysdeps/sh/crti.S: Likewise.
52121 * sysdeps/sh/crtn.S: Likewise.
52122 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52125 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52127 * locale/programs/locfile-kw.gperf: Likewise.
52128 * locale/programs/charmap-kw.h: Regenerated.
52129 * locale/programs/locfile-kw.h: Likewise.
52132 * intl/plural.y: Replace FSF snail mail address with URL.
52133 * intl/plural.c: Regenerated.
52135 2012-03-09 Richard Henderson <rth@twiddle.net>
52137 * include/math_private.h: Remove file.
52138 * math/math_private.h: Move file ...
52139 * sysdeps/generic/math_private.h: ... here.
52141 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52142 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52143 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52145 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52146 and <math_private.h>.
52147 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52148 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52149 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52150 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52151 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52152 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52153 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52155 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52156 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52162 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52163 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52164 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52165 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52166 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52168 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52169 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52171 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52172 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52180 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52197 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52198 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52199 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52200 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52201 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52202 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52203 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52204 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52205 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52206 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52208 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52210 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52211 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52219 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52220 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52221 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52224 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52227 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52228 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52229 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52230 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52234 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52235 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52236 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52237 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52238 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52240 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52241 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52242 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52244 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52246 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52247 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52248 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52249 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52250 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52251 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52252 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52253 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52254 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52255 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52257 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52258 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52259 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52260 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52261 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52262 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52263 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52264 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52265 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52266 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52267 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52268 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52270 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52272 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52273 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52274 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52275 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52276 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52277 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52278 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52279 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52280 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52281 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52282 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52284 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52285 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52286 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52288 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52289 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52290 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52291 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52292 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52293 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52294 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52295 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52296 * sysdeps/ieee754/k_standard.c: Likewise.
52297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52298 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52300 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52301 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52302 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52303 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52304 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52309 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52310 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52311 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52312 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52313 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52316 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52317 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52318 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52321 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52322 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52323 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52324 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52325 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52326 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52327 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52328 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52329 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52330 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52331 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52335 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52336 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52337 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52339 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52340 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52341 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52342 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52343 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52344 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52345 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52346 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52347 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52348 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52349 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52350 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52351 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52352 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52353 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52354 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52355 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52356 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52357 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52358 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52359 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52360 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52362 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52363 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52364 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52365 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52366 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52368 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52369 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52370 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52371 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52372 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52373 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52374 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52376 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52378 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52380 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52382 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52383 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52384 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52385 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52387 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52388 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52389 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52390 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52392 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52393 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52394 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52395 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52396 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52400 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52401 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52403 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52404 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52405 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52406 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52407 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52408 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52409 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52410 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52411 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52412 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52413 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52414 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52415 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52416 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52417 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52418 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52419 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52420 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52421 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52422 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52430 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52433 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52434 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52435 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52436 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52437 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52438 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52439 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52440 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52441 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52443 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52444 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52445 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52446 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52448 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52451 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52453 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52454 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52455 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52456 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52457 * sysdeps/ieee754/s_lib_version.c: Likewise.
52458 * sysdeps/ieee754/s_matherr.c: Likewise.
52459 * sysdeps/ieee754/s_signgam.c: Likewise.
52460 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52461 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52462 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52463 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52464 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52465 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52466 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52467 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52468 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52469 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52470 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52471 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52472 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52473 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52474 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52475 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52476 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52477 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52479 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52482 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52484 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52485 * sunrpc/rpc_main.c: Likewise.
52486 * sunrpc/rpc_svcout.c: Likewise.
52488 2012-03-09 David S. Miller <davem@davemloft.net>
52490 * include/math_private.h: New file.
52492 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52494 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52495 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52496 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52497 from <bits/socket_type.h>.
52498 (enum __socket_type): Don't define here.
52499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52501 bits/socket_type.h.
52504 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52505 checking __USE_GNU.
52507 * Makerules ($(inst_includedir)/%.h): New rule.
52508 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52509 (install-others): Remove variable setting.
52510 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52512 2012-03-08 Richard Henderson <rth@twiddle.net>
52514 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52515 from macro to inline function; merge with the
52516 !__LIBC_INTERNAL_MATH_INLINES version.
52517 (__ieee754_sqrtf): Likewise.
52519 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52520 to inline function.
52521 (__rintf, __floor, __floorf): Likewise.
52523 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52524 macro to inline function.
52525 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52527 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52528 not <math/math_private.h>.
52530 2012-03-08 David S. Miller <davem@davemloft.net>
52532 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52534 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52536 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52538 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52540 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52541 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52543 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52545 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52546 be defined individually, they must be defined as a block. Define
52547 S for printing a string instead of hidint the different by using a
52548 macro for adding the 'l'.
52549 * stdio-common/tst-fphex-wide.c: Adjust.
52551 2012-03-07 Marek Polacek <polacek@redhat.com>
52553 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52555 2012-03-08 Marek Polacek <polacek@redhat.com>
52558 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52559 * stdio-common/tst-fphex.c: Define a few macros to make the
52560 test reusable. Use them.
52561 * stdio-common/tst-fphex-wide.c: New file.
52563 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52566 * manual/macros.texi (gnusystems): New macro.
52567 (nongnusystems): Likewise.
52568 (gnulinuxhurdsystems): Likewise.
52569 (gnuhurdsystems): Likewise..
52570 (gnulinuxsystems): Likewise.
52571 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52572 variants of the GNU system, not "GNU system".
52573 * manual/conf.texi: Likewise.
52574 * manual/errno.texi: Likewise. Update example of errno macro
52576 * manual/filesys.texi: Likewise.
52577 (getumask): Document as specific to GNU/Hurd.
52578 * manual/install.texi: Likewise. Reword some references to
52580 * manual/intro.texi: Likewise.
52581 * manual/io.texi: Likewise.
52582 (File Name Portability): Detail which constraints are inapplicable
52583 to all GNU systems and which are only inapplicable to GNU/Hurd.
52584 * manual/job.texi: Likewise.
52585 * manual/llio.texi: Likewise.
52586 (O_NOCTTY): Document as present on GNU/Linux.
52587 * manual/maint.texi: Likewise.
52588 * manual/memory.texi: Likewise.
52589 * manual/pattern.texi: Likewise.
52590 * manual/pipe.texi: Likewise.
52591 * manual/process.texi: Likewise.
52592 * manual/resource.texi: Likewise.
52593 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52595 * manual/setjmp.texi: Likewise.
52596 * manual/signal.texi: Likewise.
52597 * manual/startup.texi: Likewise.
52598 * manual/stdio.texi: Likewise.
52599 * manual/terminal.texi: Likewise.
52600 (ONLCR): Document as POSIX.
52601 (OXTABS): Document availability on GNU/Linux as XTABS.
52602 (ONOEOT): Document availability separately from other bits.
52603 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52604 * manual/time.texi: Likewise.
52605 * manual/users.texi: Likewise.
52606 * INSTALL: Regenerated.
52607 * sysdeps/gnu/errlist.c: Regenerated.
52609 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52610 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52611 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52613 * configure: Regenerated.
52615 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52617 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52618 default includes instead of AC_HEADER_CHECK.
52619 * sysdeps/i386/configure: Regenerated.
52622 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52623 * math/s_cacoshf.c (__cacoshf): Likewise.
52624 * math/s_cacoshl.c (__cacoshl): Likewise.
52625 * math/s_casinh.c (__casinh): Set signs of result from argument.
52626 * math/s_casinhf.c (__casinhf): Likewise.
52627 * math/s_casinhl.c (__casinhl): Likewise.
52628 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52629 (casinh_test): Add more tests.
52630 * sysdeps/i386/fpu/libm-test-ulps: Update.
52631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52633 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52635 * po/zh_TW.po: Update from translation team.
52637 * login/Makefile (distribute): Remove variable.
52638 * catgets/Makefile: Likewise.
52639 * mach/Makefile: Likewise.
52640 * malloc/Makefile: Likewise.
52641 * misc/Makefile: Likewise.
52642 * iconv/Makefile: Likewise.
52643 * nscd/Makefile: Likewise.
52644 * hurd/Makefile: Likewise.
52645 * manual/Makefile: Likewise.
52646 * locale/Makefile: Likewise.
52647 * intl/Makefile: Likewise.
52648 * conform/Makefile: Likewise.
52649 * nss/Makefile: Likewise.
52650 * time/Makefile: Likewise.
52651 * soft-fp/Makefile: Likewise.
52652 * dirent/Makefile: Likewise.
52653 * gmon/Makefile: Likewise.
52654 * po/Makefile: Likewise.
52655 * rt/Makefile: Likewise.
52656 * socket/Makefile: Likewise.
52657 * math/Makefile: Likewise.
52658 * signal/Makefile: Likewise.
52659 * debug/Makefile: Likewise.
52660 * elf/Makefile: Likewise.
52661 * timezone/Makefile: Likewise.
52662 * stdlib/Makefile: Likewise.
52663 * iconvdata/Makefile: Likewise.
52664 * sunrpc/Makefile: Likewise.
52665 * io/Makefile: Likewise.
52666 * argp/Makefile: Likewise.
52667 * inet/Makefile: Likewise.
52668 * hesiod/Makefile: Likewise.
52669 * grp/Makefile: Likewise.
52670 * csu/Makefile: Likewise.
52671 * wctype/Makefile: Likewise.
52672 * crypt/Makefile: Likewise.
52673 * libio/Makefile: Likewise.
52674 * string/Makefile: Likewise.
52675 * nis/Makefile: Likewise.
52676 * resolv/Makefile: Likewise.
52677 * stdio-common/Makefile: Likewise.
52678 * wcsmbs/Makefile: Likewise.
52679 * dlfcn/Makefile: Likewise.
52680 * posix/Makefile: Likewise.
52683 * timezone/Makefile: Don't install timezone files, just the programs
52686 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52688 * nss/databases.def: Add missing gshadow entry.
52690 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52692 2012-03-06 Marek Polacek <polacek@redhat.com>
52695 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52696 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52697 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52698 * stdio-common/tst-long-dbl-fphex.c: New file.
52700 2012-03-06 David S. Miller <davem@davemloft.net>
52702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52703 (set_obp_int): New function.
52704 (get_obp_int): New function.
52705 (__get_clockfreq_via_dev_openprom): Likewise.
52706 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52707 Avoid unused variable warnings on 'val' and use builtin_expect.
52708 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52710 (INLINE_CLONE_SYSCALL): Likewise.
52712 2012-03-05 David S. Miller <davem@davemloft.net>
52714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52716 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52720 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52721 only for |x| >= 40.
52722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52724 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52726 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52727 Replace gettimeofday with __vdso_gettimeofday.
52729 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52730 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52731 __vdso_clock_gettime and __vdso_getcpu.
52733 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52734 time with __vdso_time.
52736 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52738 * manual/lang.texi (size_t): Note types to which size_t may be
52739 equivalent with the GNU C Library, but do not describe when
52740 differences between them are significant.
52742 2012-03-05 Andreas Jaeger <aj@suse.de>
52744 * sysdeps/i386/fpu/libm-test-ulps: Update.
52746 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52749 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52750 (__ieee754_pow): Save and restore rounding mode and use
52751 round-to-nearest for main computations.
52752 * math/libm-test.inc (pow_test_tonearest): New function.
52753 (pow_test_towardzero): Likewise.
52754 (pow_test_downward): Likewise.
52755 (pow_test_upward): Likewise.
52756 (main): Call the new functions.
52757 * sysdeps/i386/fpu/libm-test-ulps: Update.
52758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52761 * math/libm-test.inc (cosh_test_tonearest): New function.
52762 (cosh_test_towardzero): Likewise.
52763 (cosh_test_downward): Likewise.
52764 (cosh_test_upward): Likewise.
52765 (sinh_test_tonearest): Likewise.
52766 (sinh_test_towardzero): Likewise.
52767 (sinh_test_downward): Likewise.
52768 (sinh_test_upward): Likewise.
52769 (main): Call the new functions.
52770 * sysdeps/i386/fpu/libm-test-ulps: Update.
52771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52773 2012-03-05 Tom de Vries <tom@codesourcery.com>
52775 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52776 default stack guard is set in last bytes.
52777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52779 2012-03-05 Kees Cook <keescook@chromium.org>
52781 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52784 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52785 possibly allocate from heap instead of stack.
52786 * stdio-common/bug-vfprintf-nargs.c: New file.
52787 * stdio-common/Makefile (tests): Add nargs overflow test.
52789 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52793 2012-03-03 Marek Polacek <polacek@redhat.com>
52795 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52796 * math/math_private.h: Likewise.
52797 * stdlib/tst-strtod.c: Likewise.
52798 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52799 * sysdeps/x86_64/bits/atomic.h: Likewise.
52801 2012-03-02 David S. Miller <davem@davemloft.net>
52803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52807 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52808 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52809 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52810 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52812 2012-03-02 Roland McGrath <roland@hack.frob.com>
52815 * manual/examples/README: New file, says the example source files
52816 can be used under GPL>=2.
52817 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52818 line containing just "*/".
52819 * manual/examples/add.c: Add copyright header (GPL>=2).
52820 * manual/examples/argp-ex1.c: Likewise.
52821 * manual/examples/argp-ex2.c: Likewise.
52822 * manual/examples/argp-ex3.c: Likewise.
52823 * manual/examples/argp-ex4.c: Likewise.
52824 * manual/examples/atexit.c: Likewise.
52825 * manual/examples/db.c: Likewise.
52826 * manual/examples/dir.c: Likewise.
52827 * manual/examples/dir2.c: Likewise.
52828 * manual/examples/execinfo.c: Likewise.
52829 * manual/examples/filecli.c: Likewise.
52830 * manual/examples/filesrv.c: Likewise.
52831 * manual/examples/fmtmsgexpl.c: Likewise.
52832 * manual/examples/genpass.c: Likewise.
52833 * manual/examples/inetcli.c: Likewise.
52834 * manual/examples/inetsrv.c: Likewise.
52835 * manual/examples/isockad.c: Likewise.
52836 * manual/examples/longopt.c: Likewise.
52837 * manual/examples/memopen.c: Likewise.
52838 * manual/examples/memstrm.c: Likewise.
52839 * manual/examples/mkfsock.c: Likewise.
52840 * manual/examples/mkisock.c: Likewise.
52841 * manual/examples/mygetpass.c: Likewise.
52842 * manual/examples/pipe.c: Likewise.
52843 * manual/examples/popen.c: Likewise.
52844 * manual/examples/rprintf.c: Likewise.
52845 * manual/examples/search.c: Likewise.
52846 * manual/examples/select.c: Likewise.
52847 * manual/examples/setjmp.c: Likewise.
52848 * manual/examples/sigh1.c: Likewise.
52849 * manual/examples/sigusr.c: Likewise.
52850 * manual/examples/stpcpy.c: Likewise.
52851 * manual/examples/strdupa.c: Likewise.
52852 * manual/examples/strftim.c: Likewise.
52853 * manual/examples/strncat.c: Likewise.
52854 * manual/examples/subopt.c: Likewise.
52855 * manual/examples/swapcontext.c: Likewise.
52856 * manual/examples/termios.c: Likewise.
52857 * manual/examples/testopt.c: Likewise.
52858 * manual/examples/testpass.c: Likewise.
52859 * manual/examples/timeval_subtract.c: Likewise.
52862 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52864 * manual/timeval_subtract.c.texi: ... here, new file.
52866 2012-03-02 David S. Miller <davem@davemloft.net>
52868 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52870 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52873 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52874 (__sin): Save and restore rounding mode and use round-to-nearest
52875 for all computations.
52876 (__cos): Save and restore rounding mode and use round-to-nearest
52877 for all computations.
52878 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52880 (tan): Save and restore rounding mode and use round-to-nearest for
52882 * math/libm-test.inc (cos_test_tonearest): New function.
52883 (cos_test_towardzero): Likewise.
52884 (cos_test_downward): Likewise.
52885 (cos_test_upward): Likewise.
52886 (sin_test_tonearest): Likewise.
52887 (sin_test_towardzero): Likewise.
52888 (sin_test_downward): Likewise.
52889 (sin_test_upward): Likewise.
52890 (tan_test_tonearest): Likewise.
52891 (tan_test_towardzero): Likewise.
52892 (tan_test_downward): Likewise.
52893 (tan_test_upward): Likewise.
52894 (main): Call the new functions.
52895 * sysdeps/i386/fpu/libm-test-ulps: Update.
52896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52899 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52900 small n, then large n, before computing and testing k+n.
52901 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52902 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52906 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52907 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52912 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52914 * math/libm-test.inc (scalbn_test): Add more tests.
52915 (scalbln_test): Likewise.
52917 * manual/filesys.texi (mode_t): Describe constraints on size and
52918 signedness, not exact equivalence to a particular type.
52920 (ino64_t): Likewise.
52922 (nlink_t): Likewise.
52923 (blkcnt_t): Likewise.
52924 (blkcnt64_t): Likewise.
52925 * manual/llio.texi (off_t): Likewise.
52928 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52929 (__ieee754_exp): Save and restore rounding mode and use
52930 round-to-nearest for all computations.
52931 * math/libm-test.inc (exp_test_tonearest): New function.
52932 (exp_test_towardzero): Likewise.
52933 (exp_test_downward): Likewise.
52934 (exp_test_upward): Likewise.
52935 (main): Call the new functions.
52936 * sysdeps/i386/fpu/libm-test-ulps: Update.
52937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52939 2012-03-01 Chris Demetriou <cgd@google.com>
52941 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52942 have predictable order.
52944 2012-03-01 David S. Miller <davem@davemloft.net>
52946 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52948 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52949 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52950 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52951 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52953 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52954 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52955 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52957 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52958 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52959 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52960 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52961 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52966 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52967 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52969 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52970 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52971 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52972 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52973 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52974 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52975 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52976 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52977 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52978 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52979 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52982 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52983 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52985 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52986 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52987 * sysdeps/sparc/elf/configure: Regenerated.
52989 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52991 * configure.in (AS, LD): Require binutils 2.20 or later.
52992 * configure: Regenerated.
52993 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52994 as required minimum version.
52995 * INSTALL: Regenerated.
52999 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53000 before squaring exponent.
53001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53002 bottom long double and 27 bits of top long double before squaring
53004 * math/libm-test.inc (erfc_test): Add more tests.
53005 * sysdeps/i386/fpu/libm-test-ulps: Update.
53006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53009 2012-03-01 Kai Tietz <ktietz@redhat.com>
53011 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53012 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53013 containing bit-fields.
53014 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53015 * soft-fp/single.h (_FP_UNION_S): Likewise.
53016 * soft-fp/double.h (_FP_UNION_D): Likewise.
53018 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53021 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53022 not include ../strcmp.S.
53023 [USE_AS_STRNCASECMP_L]: Likewise.
53024 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53025 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53026 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53027 (__strncasecmp_l_ia32): Define as alias to
53028 __strncasecmp_l_nonascii.
53031 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53032 * sysdeps/i386/fpu/libm-test-ulps: Update.
53033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53035 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53038 2012-02-29 Jeff Law <law@redhat.com>
53040 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53041 out of bounds read.
53043 2012-02-29 Marek Polacek <polacek@redhat.com>
53046 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53047 * elf/Makefile: Add rules to run tst-unused-dep.out.
53049 2012-02-28 David S. Miller <davem@davemloft.net>
53051 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53052 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53053 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53054 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53055 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53056 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53058 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53060 * math/libm-test.inc (llround_test): Move one test from
53061 lround_test. Use TEST_f_L in moved test.
53062 (lround_test): Move misplaced test to llround_test. Add testcase
53065 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53067 * sysdeps/x86_64/fpu/e_expf.S: New file.
53068 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53070 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53073 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53074 of remain_len that may cause incomplete multi-byte character and
53076 * posix/bug-regex33.c: New file.
53077 * posix/Makefile (tests): Add bug-regex33.
53079 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53081 * manual/macros.texi: New file.
53082 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53083 * manual/libc.texinfo: Include macros.texi.
53084 * manual/creatute.texi: Likewise.
53085 * manual/install.texi: Likewise.
53086 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53087 @glibcadj{} in references to the GNU C Library.
53088 * manual/charset.texi: Likewise.
53089 * manual/conf.texi: Likewise.
53090 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53091 when not using those macros.
53092 * manual/creature.texi: Likewise.
53093 * manual/crypt.texi: Likewise.
53094 * manual/errno.texi: Likewise.
53095 * manual/filesys.texi: Likewise.
53096 * manual/header.texi: Likewise.
53097 * manual/install.texi: Likewise.
53098 * manual/intro.texi: Likewise.
53099 * manual/io.texi: Likewise.
53100 * manual/job.texi: Likewise.
53101 * manual/lang.texi: Likewise.
53102 * manual/libc.texiinfo: Likewise.
53103 * manual/llio.texi: Likewise.
53104 * manual/locale.texi: Likewise.
53105 * manual/maint.texi: Likewise.
53106 * manual/math.texi: Likewise.
53107 * manual/memory.texi: Likewise.
53108 * manual/message.texi: Likewise.
53109 * manual/nss.texi: Likewise.
53110 * manual/pattern.texi: Likewise.
53111 * manual/process.texi: Likewise.
53112 * manual/resource.texi: Likewise.
53113 * manual/search.texi: Likewise.
53114 * manual/setjmp.texi: Likewise.
53115 * manual/signal.texi: Likewise.
53116 * manual/socket.texi: Likewise.
53117 * manual/startup.texi: Likewise.
53118 * manual/stdio.texi: Likewise.
53119 * manual/string.texi: Likewise.
53120 * manual/sysinfo.texi: Likewise.
53121 * manual/syslog.texi: Likewise.
53122 * manual/terminal.texi: Likewise.
53123 * manual/time.texi: Likewise.
53124 * manual/users.texi: Likewise.
53125 * INSTALL: Regenerated.
53126 * NOTES: Regenerated.
53127 * sysdeps/gnu/errlist.c: Regenerated.
53129 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53131 * include/dirent.h: Include <dirstream.h> before
53134 2012-02-28 David S. Miller <davem@davemloft.net>
53136 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53137 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53138 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53139 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53141 2012-02-27 David S. Miller <davem@davemloft.net>
53143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53145 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53146 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53149 frame pointer instead of stack pointer relative arg slot.
53150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53151 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53152 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53154 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53157 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53159 2012-02-27 David S. Miller <davem@davemloft.net>
53161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53165 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53166 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53167 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53168 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53170 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53172 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53173 later. Allow versions 5-9.
53174 * configure: Regenerated.
53175 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53176 required minimum version and 4.6 as recommended version. Do not
53177 mention bugs in GCC 2.7 and 2.8.
53178 * INSTALL: Regenerated.
53180 2012-02-27 David S. Miller <davem@davemloft.net>
53182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53186 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53187 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53188 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53189 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53191 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53192 manipulate bits before adding and subtracting TWO112[sx].
53193 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53195 2012-02-27 Roland McGrath <roland@hack.frob.com>
53198 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53199 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53200 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53201 being in POSIX, because they are in 1003.1-2008.
53203 * rt/tst-aio.c: Include <fcntl.h>.
53204 * rt/tst-aio7.c: Likewise.
53205 * rt/tst-aio64.c: Likewise.
53207 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53209 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53211 * manual/install.texi (--with-headers): Describe headers as
53212 interface headers, not private headers.
53213 (Specific advice for GNU/Linux systems): Describe use of headers
53214 from "make headers_install", not private headers from older
53216 * INSTALL: Regenerated.
53217 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53219 * sysdeps/unix/sysv/linux/configure: Regenerated.
53221 * manual/llio.texi (fclean): Remove documentation.
53223 * manual/Makefile (libc-texi-generated): New variable. Include
53225 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53226 $(libc-texi-generated), not duplicated list of files.
53227 (version.texi, stamp-version): New rules.
53228 (realclean): Remove $(libc-texi-generated), not individual files
53229 from that list. Do not remove dir-add.texinfo.
53230 * manual/libc.texinfo: Comment out uses of edition numbers and
53231 references to printed manual. Remove last-updated dates.
53232 (EDITION): Comment out.
53234 (VERSION, UPDATED): Remove.
53235 (version.texi): Include.
53237 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53239 * sysdeps/posix/spawni.c: Include <signal.h>.
53240 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53241 * sysdeps/pthread/aio_fsync.c: Likewise.
53243 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53245 * conform/Makefile (tests): Run only when not cross-compiling and
53246 when fast-check is not defined.
53248 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53249 * conform/data/limits.h-data: Fixes for POSIX2008.
53250 * conform/run-conformtest.sh: Run all tests.
53251 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53253 * include/bits/dlfcn.h: Likewise.
53254 * include/langinfo.h: Likewise.
53255 * include/monetary.h: Likewise.
53256 * include/sys/poll.h: Likewise.
53258 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53260 * posix/spawn.h: Define __need_sigset_t.
53261 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53262 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53263 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53264 to get sigevent_t only.
53265 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53266 only for __USE_GNU.
53267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53268 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53269 process_vm_writev only for __USE_GNU.
53270 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53272 * conform/Makefile: For now ignore errors from run-conformtest.
53273 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53274 POSIX to avoid namespace pollution. Don't prepend headers.
53275 * conform/data/aio.h-data: Fixes for POSIX testing.
53276 * conform/data/fcntl.h-data: Likewise.
53277 * conform/data/glob.h-data: Likewise.
53278 * conform/data/grp.h-data: Likewise.
53279 * conform/data/pthread.h-data: Likewise.
53280 * conform/data/pwd.h-data: Likewise.
53281 * conform/data/signal.h-data: Likewise.
53282 * conform/data/spawn.h-data: Likewise.
53283 * conform/data/stdio.h-data: Likewise.
53284 * conform/data/stdlib.h-data: Likewise.
53285 * conform/data/stropts.h-data: Likewise.
53286 * conform/data/sys/mman.h-data: Likewise.
53287 * conform/data/sys/stat.h-data: Likewise.
53288 * conform/data/sys/types.h-data: Likewise.
53289 * conform/data/sys/wait.h-data: Likewise.
53290 * conform/data/time.h-data: Likewise.
53291 * conform/data/unistd.h-data: Likewise.
53292 * conform/data/utime.h-data: Likewise.
53294 * io/sys/stat.h: fchmod was always in POSIX.
53295 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53296 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53297 * rt/aio.h: Define __need_timespec before including <time.h>.
53298 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53299 struct. Add forward declaration of pthread_attr_t and use it in
53301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53303 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53304 always remove CLK_TCK definition.
53306 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53308 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53310 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53312 * conform/run-conformtest.sh: New file.
53313 * conform/Makefile: Run run-conformtest for tests.
53314 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53317 * conform/data/uchar.h-data: New file.
53318 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53319 * conform/data/arpa/inet.h-data: Likewise.
53320 * conform/data/assert.h-data: Likewise.
53321 * conform/data/complex.h-data: Likewise.
53322 * conform/data/cpio.h-data: Likewise.
53323 * conform/data/ctype.h-data: Likewise.
53324 * conform/data/dirent.h-data: Likewise.
53325 * conform/data/dlfcn.h-data: Likewise.
53326 * conform/data/errno.h-data: Likewise.
53327 * conform/data/fcntl.h-data: Likewise.
53328 * conform/data/float.h-data: Likewise.
53329 * conform/data/fmtmsg.h-data: Likewise.
53330 * conform/data/fnmatch.h-data: Likewise.
53331 * conform/data/ftw.h-data: Likewise.
53332 * conform/data/glob.h-data: Likewise.
53333 * conform/data/grp.h-data: Likewise.
53334 * conform/data/iconv.h-data: Likewise.
53335 * conform/data/inttypes.h-data: Likewise.
53336 * conform/data/langinfo.h-data: Likewise.
53337 * conform/data/libgen.h-data: Likewise.
53338 * conform/data/limits.h-data: Likewise.
53339 * conform/data/locale.h-data: Likewise.
53340 * conform/data/math.h-data: Likewise.
53341 * conform/data/monetary.h-data: Likewise.
53342 * conform/data/mqueue.h-data: Likewise.
53343 * conform/data/ndbm.h-data: Likewise.
53344 * conform/data/net/if.h-data: Likewise.
53345 * conform/data/netdb.h-data: Likewise.
53346 * conform/data/netinet/in.h-data: Likewise.
53347 * conform/data/nl_types.h-data: Likewise.
53348 * conform/data/poll.h-data: Likewise.
53349 * conform/data/pthread.h-data: Likewise.
53350 * conform/data/pwd.h-data: Likewise.
53351 * conform/data/regex.h-data: Likewise.
53352 * conform/data/sched.h-data: Likewise.
53353 * conform/data/search.h-data: Likewise.
53354 * conform/data/semaphore.h-data: Likewise.
53355 * conform/data/setjmp.h-data: Likewise.
53356 * conform/data/signal.h-data: Likewise.
53357 * conform/data/spawn.h-data: Likewise.
53358 * conform/data/stdarg.h-data: Likewise.
53359 * conform/data/stdio.h-data: Likewise.
53360 * conform/data/stdlib.h-data: Likewise.
53361 * conform/data/string.h-data: Likewise.
53362 * conform/data/strings.h-data: Likewise.
53363 * conform/data/stropts.h-data: Likewise.
53364 * conform/data/sys/ipc.h-data: Likewise.
53365 * conform/data/sys/mman.h-data: Likewise.
53366 * conform/data/sys/msg.h-data: Likewise.
53367 * conform/data/sys/resource.h-data: Likewise.
53368 * conform/data/sys/select.h-data: Likewise.
53369 * conform/data/sys/sem.h-data: Likewise.
53370 * conform/data/sys/shm.h-data: Likewise.
53371 * conform/data/sys/socket.h-data: Likewise.
53372 * conform/data/sys/stat.h-data: Likewise.
53373 * conform/data/sys/statvfs.h-data: Likewise.
53374 * conform/data/sys/time.h-data: Likewise.
53375 * conform/data/sys/timeb.h-data: Likewise.
53376 * conform/data/sys/times.h-data: Likewise.
53377 * conform/data/sys/types.h-data: Likewise.
53378 * conform/data/sys/uio.h-data: Likewise.
53379 * conform/data/sys/un.h-data: Likewise.
53380 * conform/data/sys/utsname.h-data: Likewise.
53381 * conform/data/sys/wait.h-data: Likewise.
53382 * conform/data/syslog.h-data: Likewise.
53383 * conform/data/tar.h-data: Likewise.
53384 * conform/data/termios.h-data: Likewise.
53385 * conform/data/utime.h-data: Likewise.
53386 * conform/data/utmpx.h-data: Likewise.
53387 * conform/data/varargs.h-data: Likewise.
53388 * conform/data/wchar.h-data: Likewise.
53389 * conform/data/wctype.h-data: Likewise.
53390 * conform/data/wordexp.h-data: Likewise.
53392 * include/stropts.h: New file.
53393 * include/uchar.h: New file.
53394 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53395 * include/assert.h: Likewise.
53396 * include/ctype.h: Likewise.
53397 * include/dirent.h: Likewise.
53398 * include/dlfcn.h: Likewise.
53399 * include/fcntl.h: Likewise.
53400 * include/fnmatch.h: Likewise.
53401 * include/glob.h: Likewise.
53402 * include/grp.h: Likewise.
53403 * include/libio.h: Likewise.
53404 * include/locale.h: Likewise.
53405 * include/math.h: Likewise.
53406 * include/net/if.h: Likewise.
53407 * include/netdb.h: Likewise.
53408 * include/netinet/in.h: Likewise.
53409 * include/pthread.h: Likewise.
53410 * include/pwd.h: Likewise.
53411 * include/regex.h: Likewise.
53412 * include/sched.h: Likewise.
53413 * include/search.h: Likewise.
53414 * include/setjmp.h: Likewise.
53415 * include/signal.h: Likewise.
53416 * include/stdio.h: Likewise.
53417 * include/stdlib.h: Likewise.
53418 * include/string.h: Likewise.
53419 * include/sys/cdefs.h: Likewise.
53420 * include/sys/mman.h: Likewise.
53421 * include/sys/msg.h: Likewise.
53422 * include/sys/resource.h: Likewise.
53423 * include/sys/select.h: Likewise.
53424 * include/sys/socket.h: Likewise.
53425 * include/sys/stat.h: Likewise.
53426 * include/sys/statvfs.h: Likewise.
53427 * include/sys/time.h: Likewise.
53428 * include/sys/times.h: Likewise.
53429 * include/sys/uio.h: Likewise.
53430 * include/sys/utsname.h: Likewise.
53431 * include/sys/wait.h: Likewise.
53432 * include/termios.h: Likewise.
53433 * include/time.h: Likewise.
53434 * include/ulimit.h: Likewise.
53435 * include/unistd.h: Likewise.
53436 * include/utime.h: Likewise.
53437 * include/wchar.h: Likewise.
53438 * include/wctype.h: Likewise.
53439 * include/wordexp.h: Likewise.
53441 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53443 * time/time.h: TIME_UTC must be a macro.
53444 Make timespec_get available for ISO C11 only as well.
53446 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53448 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53449 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53451 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53453 * configure.in: Use -o not -a in test for unsupported multi-arch.
53455 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53457 * manual/texinfo.tex: Update to version 2012-01-19.16.
53459 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53461 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53463 2012-02-24 Roland McGrath <roland@hack.frob.com>
53466 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53467 * manual/fdl-1.3.texi: New file.
53468 * manual/fdl-1.1.texi: File removed.
53471 * manual/libc.texinfo (FDL_VERSION): New @set.
53472 Use it for mention of FDL in cover text.
53473 (Documentation License): Use it in @include file name.
53475 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53476 Roland McGrath <roland@hack.frob.com>
53479 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53480 (not LONG_LONG_MAX and LONG_LONG_MIN.
53481 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53482 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53484 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53486 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53490 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53491 manipulate bits before adding and subtracting TWO23[sx].
53492 * math/libm-test.inc (nearbyint_test): Add more tests.
53494 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53497 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53498 bits before adding and subtracting TWO23[sx].
53499 * math/libm-test.inc (rint_test): Add more tests.
53500 (rint_test_tonearest): Likewise.
53501 (rint_test_towardzero): Likewise.
53502 (rint_test_downward): Likewise.
53503 (rint_test_upward: Likewise.
53505 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53508 * include/stdc-predef.h: New file. Extracted from features.h.
53509 * include/features.h: Include stdc-predef.h.
53510 * Makefile (headers): Add stdc-predef.h.
53511 * CONFORMANCE (Compiler limitations): Update.
53513 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53515 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53517 2012-02-21 David S. Miller <davem@davemloft.net>
53519 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53520 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53522 2012-02-20 David S. Miller <davem@davemloft.net>
53524 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53525 using a normal save/restore sequence, rather than allocating a
53526 dummy stack frame just to store a frame pointer and restore.
53527 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53531 * manual/install.texi: Fix stray word in line-wrapped comment.
53533 2012-02-20 David S. Miller <davem@davemloft.net>
53535 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53536 both binutils and gcc support GOTDATA.
53538 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53539 "rd %pc" in the PIC register setup sequences.
53541 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53542 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53543 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53544 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53545 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53547 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53550 (SYSCALL_ERROR_HANDLER): Likewise.
53551 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53554 (SYSCALL_ERROR_HANDLER): Likewise.
53556 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53557 (HAVE_GCC_GOTDATA): New.
53558 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53559 relocation support in both binutils and gcc.
53560 * sysdeps/sparc/elf/configure: Regenerate.
53562 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53563 * sysdeps/sparc/sparc32/elf/configure: Delete.
53564 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53565 * sysdeps/sparc/sparc64/elf/configure: Delete.
53566 * sysdeps/sparc/elf/configure.in: New file.
53567 * sysdeps/sparc/elf/configure: Generate.
53569 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53570 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53571 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53572 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53573 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53575 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53577 * manual/install.texi: Do not mention specific glibc version
53579 * manual/libc.texinfo (VERSION, UPDATED): Update.
53580 (@copying): Use @copyright{} and range of years.
53582 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53585 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53586 [crti.S not in sysdirs] (generated): Do not append.
53587 [crti.S not in sysdirs] (omit-deps): Likewise.
53588 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53589 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53590 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53591 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53592 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53594 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53595 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53596 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53597 * csu/defs.awk: Remove file.
53598 * sysdeps/generic/initfini.c: Likewise.
53599 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53601 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53604 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53606 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53607 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53608 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53610 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53611 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53613 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53614 (__EPOLL_PACKED): Define to empty if not defined by
53616 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53620 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53622 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53623 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53624 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53625 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53627 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53631 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53633 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53636 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53637 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53640 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53642 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53643 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53645 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53647 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53648 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53650 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53652 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53655 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53657 * math/w_acos.c: Use non-signaling floating-point comparisons.
53658 * math/w_acosf.c: Likewise.
53659 * math/w_acosh.c: Likewise.
53660 * math/w_acoshf.c: Likewise.
53661 * math/w_acoshl.c: Likewise.
53662 * math/w_acosl.c: Likewise.
53663 * math/w_asin.c: Likewise.
53664 * math/w_asinf.c: Likewise.
53665 * math/w_asinl.c: Likewise.
53666 * math/w_atanh.c: Likewise.
53667 * math/w_atanhf.c: Likewise.
53668 * math/w_atanhl.c: Likewise.
53669 * math/w_exp2.c: Likewise.
53670 * math/w_exp2f.c: Likewise.
53671 * math/w_exp2l.c: Likewise.
53672 * math/w_j0.c: Likewise.
53673 * math/w_j0f.c: Likewise.
53674 * math/w_j0l.c: Likewise.
53675 * math/w_j1.c: Likewise.
53676 * math/w_j1f.c: Likewise.
53677 * math/w_j1l.c: Likewise.
53678 * math/w_jn.c: Likewise.
53679 * math/w_jnf.c: Likewise.
53680 * math/w_log.c: Likewise.
53681 * math/w_log10.c: Likewise.
53682 * math/w_log10f.c: Likewise.
53683 * math/w_log10l.c: Likewise.
53684 * math/w_log2.c: Likewise.
53685 * math/w_log2f.c: Likewise.
53686 * math/w_log2l.c: Likewise.
53687 * math/w_logf.c: Likewise.
53688 * math/w_logl.c: Likewise.
53689 * math/w_sqrt.c: Likewise.
53690 * math/w_sqrtf.c: Likewise.
53691 * math/w_sqrtl.c: Likewise.
53692 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53693 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53695 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53696 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53698 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53701 * manual/string.texi (strnlen): Use correct parameter name in
53702 equivalent expression.
53704 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53707 * manual/users.texi (seteuid): Consistently use neweuid for
53710 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53713 * manual/nss.texi (Services in the NSS configuration): Correct
53714 list of services in example configuration file.
53716 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53719 * manual/arith.texi: Remove statements about negative zero
53720 behaving identically to zero.
53722 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53725 * manual/install.texi: Do not document upgrading from libc5.
53727 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53730 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53732 2012-02-18 David S. Miller <davem@davemloft.net>
53734 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53735 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53736 %o7 across the call.
53737 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53740 SETUP_PIC_REG_LEAF.
53741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53742 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53743 * sysdeps/sparc/crtn.S: Likewise.
53745 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53747 * aout/Makefile: Remove.
53749 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53752 * manual/examples/argp-ex1.c (main): Format definition in GNU
53754 * manual/examples/argp-ex2.c (main): Likewise.
53755 * manual/examples/argp-ex3.c (main): Likewise.
53756 * manual/examples/argp-ex4.c (main): Likewise.
53757 * manual/examples/longopt.c (main): Use new-style prototype
53759 * manual/examples/strncat.c (main): Specify return type and use
53760 (void) for arguments.
53761 * manual/examples/subopt.c (main): Use char **argv argument.
53763 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53766 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53769 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53772 * manual/string.texi (strchr): Change when strchrnul is
53775 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53778 * manual/locale.texi (setlocale): Document LOCPATH.
53780 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53783 * manual/process.texi (execle): Move @dots{} before last argument.
53785 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53788 * manual/charset.texi (Generic Charset Conversion): Fix typo
53789 (LC_TYPE -> LC_CTYPE).
53791 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53794 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53795 (scalbnf): Likewise.
53796 (scalbnl): Likewise.
53797 (scalbln): Likewise.
53798 (scalblnf): Likewise.
53799 (scalblnl): Likewise.
53800 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53801 (vwarnx): Likewise.
53804 * manual/filesys.texi (telldir): Use braces around return type.
53805 * manual/llio.texi (mmap): Add space after comma.
53806 (mmap64): Likewise.
53807 * manual/math.texi (jn): Use @var{} on parameter names.
53813 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53815 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53817 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53818 (sched_get_priority_max): Likewise.
53819 * manual/signal.texi (sigvec): Add space after comma.
53820 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53822 (if_indextoname): Likewise.
53823 (if_freenameindex): Likewise.
53824 (sendto): Use ',' instead of '.' in prototype.
53825 * manual/startup.texi (syscall): Use @dots{} instead of literal
53827 * manual/stdio.texi (__fpending): Separate initial words of
53828 paragraph from @deftypefun line.
53829 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53831 (vsyslog): Use @var{} on parameter names.
53832 * manual/terminal.texi (stty): Use @var{} on parameter names.
53833 * manual/users.texi (getutmp): Use @var{} on parameter names.
53834 (getutmpx): Likewise.
53836 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53839 * manual/stdio.texi (fopen): Fix typos in description of
53842 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53845 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53846 get clock_id definition.
53848 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53851 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53852 (madvise): Cast every argument to void on its own.
53854 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53857 * manual/startup.texi (Exit Status): Fix typo.
53859 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53862 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53863 * manual/examples/argp-ex2.c: Likewise.
53864 * manual/examples/argp-ex3.c: Likewise.
53866 2012-02-16 Richard Henderson <rth@redhat.com>
53868 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53869 * sysdeps/s390/s390-32/initfini.c: Remove.
53870 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53871 * sysdeps/s390/s390-64/initfini.c: Remove.
53873 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53875 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53876 compiler output for sysdeps/generic/initfini.c.
53877 * sysdeps/sh/elf/initfini.c: Remove file.
53879 2012-02-16 David S. Miller <davem@davemloft.net>
53882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53884 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53885 * sysdeps/sparc/crti.S: New file.
53886 * sysdeps/sparc/crtn.S: New file.
53887 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53888 * sysdeps/sparc/sparc64/Makefile: Likewise.
53890 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53893 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53895 2012-02-15 Roland McGrath <roland@hack.frob.com>
53898 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53900 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53901 (write, read, close): Likewise.
53902 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53904 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53906 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53907 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53908 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53909 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53911 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53915 2012-02-14 Marek Polacek <polacek@redhat.com>
53917 * sysdeps/x86_64/crti.S: New file.
53918 * sysdeps/x86_64/crtn.S: New file.
53919 * sysdeps/x86_64/elf/initfini.c: Remove file.
53921 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53923 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53924 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53925 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53926 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53928 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53932 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53934 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53935 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53936 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53937 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53939 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53943 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53945 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53946 __feraiseexcept instead of feraiseexcept.
53948 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53949 nanosleep invocations.
53950 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53951 strings, and add error checking for a nanosleep invocations.
53953 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53955 Replace FSF snail mail address with URLs, as per GNU coding standards.
53956 Most of the snail mail addresses were wrong anyway, and omitting
53957 them makes the source code easier to maintain. Almost all of the
53958 changes are to license notices and to locale LC_IDENTIFICATION
53959 addresses, except for this one:
53960 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53961 not its snail mail address.
53963 2012-02-09 Richard Henderson <rth@twiddle.net>
53965 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53966 of kernel-features.h.
53968 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53970 2012-02-08 Marek Polacek <polacek@redhat.com>
53972 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53973 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53974 * sysdeps/gnu/_G_config.h: Likewise.
53975 * sysdeps/generic/_G_config.h: Likewise.
53977 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53979 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53983 * sysdeps/powerpc/powerpc32/crti.S: New file.
53984 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53985 * sysdeps/powerpc/powerpc64/crti.S: New file.
53986 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53988 * Makeconfig (have-initfini): Don't set.
53989 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53990 * configure.in (nopic_initfini): Don't substitute.
53991 * config.h.in (HAVE_INITFINI): Don't #undef.
53992 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53993 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53995 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53997 Support crti.S and crtn.S provided directly by architectures.
53998 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53999 [crti.S in sysdirs] (omit-deps): Likewise.
54000 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54001 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54002 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54003 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54004 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54005 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54006 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54007 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54008 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54009 compiler output for sysdeps/generic/initfini.c.
54010 * sysdeps/i386/elf/Makefile: Remove file.
54011 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54013 2012-02-07 Marek Polacek <polacek@redhat.com>
54015 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54016 * sysdeps/gnu/_G_config.h: Likewise.
54017 * sysdeps/mach/hurd/_G_config.h: Likewise.
54019 2012-02-07 Marek Polacek <polacek@redhat.com>
54021 * math/Makefile (tests): Add tst-CMPLX2.
54022 * math/tst-CMPLX2.c: New file.
54024 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54026 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54028 * math/libm-test.inc (jn_test): Add missing L suffix.
54030 2012-02-06 Marek Polacek <polacek@redhat.com>
54032 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54033 * sysdeps/i386/fpu/e_powf.S: Likewise.
54034 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54035 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54037 * sysdeps/i386/fpu/e_pow.S: Likewise.
54038 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54040 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54041 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54042 * sysdeps/i386/fpu/e_log2.S: Likewise.
54043 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54044 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54045 * sysdeps/i386/fpu/e_powl.S: Likewise.
54046 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54047 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54048 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54049 * sysdeps/i386/fpu/e_logl.S: Likewise.
54050 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54051 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54052 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54053 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54054 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54055 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54056 * sysdeps/i386/fpu/e_log.S: Likewise.
54057 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54058 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54059 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54060 * sysdeps/i386/fpu/e_logf.S: Likewise.
54061 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54063 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54064 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54065 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54066 * sysdeps/i386/fpu/e_log10.S: Likewise.
54067 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54068 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54069 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54070 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54071 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54072 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54073 * sysdeps/i386/asm-syntax.h: Likewise.
54074 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54075 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54076 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54077 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54078 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54079 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54080 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54081 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54082 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54083 * sysdeps/powerpc/sysdep.h: Likewise.
54084 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54085 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54087 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54090 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54092 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54094 * sysdeps/i386/sysdep.h: Include <features.h>.
54095 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54098 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54100 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54102 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54105 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54107 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54108 (SETUP_PIC_REG): Use GET_PC_THUNK.
54109 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54112 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54114 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54115 for non-PIC compilation.
54116 (SETUP_PIC_REG): Add .p2align directive.
54117 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54118 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54119 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54120 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54121 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54122 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54123 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54125 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54126 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54127 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54128 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54129 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54130 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54132 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54133 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54134 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54135 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54136 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54139 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54140 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54143 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54144 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54145 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54146 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54147 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54148 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54149 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54150 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54151 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54153 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54154 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54155 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54156 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54157 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54159 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54161 * math/tst-CMPLX.c: Include <stdio.h>.
54163 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54165 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54167 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54168 * sysdeps/sparc/bits/mathdef.h: Likewise.
54170 2012-01-31 Marek Polacek <polacek@redhat.com>
54172 * libio/libio.h: Don't define _PARAMS.
54173 * locale/programs/config.h: Don't define PARAMS.
54174 * stdlib/strtol_l.c: Likewise.
54175 (__strtol_l): Remove PARAMS from the prototype.
54177 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54179 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54180 names. Just use the correct names. Remove unnecessary wrapper
54182 * malloc/arena.c: Likewise.
54183 * malloc/hooks.c: Likewise.
54185 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54186 ARENA_TEST says not to. Simplify test for creation of a new arena.
54187 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54189 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54191 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54193 (update_get_addr): New function.
54194 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54195 GET_ADDR_MODULE parameter.
54197 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54199 * crypt/cert.c: Remove __STDC__ conditionals.
54200 * crypt/crypt-entry.c: Likewise.
54201 * crypt/crypt_util.c: Likewise.
54202 * libio/filedoalloc.c: Likewise.
54203 * libio/fileops.c: Likewise.
54204 * libio/genops.c: Likewise.
54205 * libio/iofclose.c: Likewise.
54206 * libio/iofdopen.c: Likewise.
54207 * libio/iofopen.c: Likewise.
54208 * libio/iofopen64.c: Likewise.
54209 * libio/iogetdelim.c: Likewise.
54210 * libio/iopopen.c: Likewise.
54211 * libio/obprintf.c: Likewise.
54212 * libio/oldfileops.c: Likewise.
54213 * libio/oldiofclose.c: Likewise.
54214 * libio/oldiofdopen.c: Likewise.
54215 * libio/oldiofopen.c: Likewise.
54216 * libio/oldiopopen.c: Likewise.
54217 * libio/wfiledoalloc.c: Likewise.
54218 * libio/wgenops.c: Likewise.
54219 * locale/programs/xmalloc.c: Likewise.
54220 * misc/syslog.c: Likewise.
54221 * stdio-common/xbug.c: Likewise.
54222 * string/memchr.c: Likewise.
54223 * string/memcmp.c: Likewise.
54224 * string/memrchr.c: Likewise.
54225 * string/rawmemchr.c: Likewise.
54226 * sysdeps/posix/getcwd.c: Likewise.
54227 * time/strftime_l.c: Likewise.
54229 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54231 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54232 * config.make.in (config-cflags-sse2avx): Define.
54233 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54236 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54238 * scripts/config.guess: Update from upstream config git repository.
54239 * scripts/config.sub: Likewise.
54241 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54243 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54245 (R_TILEPRO_*, R_TILEGX_*): New macros.
54247 * scripts/firstversions.awk: Fix bug in version range handling.
54249 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54251 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54253 * include/sys/epoll.h: New file.
54254 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54257 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54259 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54260 Avoid unnecessary __WORDSIZE == 64 test.
54261 (fmaxf): Use VEX format if possible.
54266 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54267 * math/math_private.h: Remove libc_fegetround* and
54269 * sysdeps/i386/configure.in: Check for -msse2avx.
54270 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54271 also if SSE2AVX is defined.
54272 Remove libc_fegetround* and libc_fesetround*.
54273 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54274 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54278 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54283 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54285 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54289 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54291 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54294 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54296 * Makeconfig (libm): Define.
54297 * elf/Makefile: Add rules to build and run tst-relsort1.
54298 * elf/tst-relsort1.c: New file.
54299 * elf/tst-relsort1mod1.c: New file.
54300 * elf/tst-relsort1mod2.c: New file.
54302 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54304 * math/s_ldexp.c: Remove __STDC__ conditionals.
54305 * math/s_ldexpf.c: Likewise.
54306 * math/s_ldexpl.c: Likewise.
54307 * math/s_nextafter.c: Likewise.
54308 * math/s_nexttowardf.c: Likewise.
54309 * math/s_significand.c: Likewise.
54310 * math/s_significandf.c: Likewise.
54311 * math/s_significandl.c: Likewise.
54312 * math/w_jnl.c: Likewise.
54313 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54314 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54315 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54316 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54317 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54319 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54320 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54321 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54322 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54323 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54324 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54325 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54326 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54328 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54330 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54334 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54335 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54337 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54338 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54339 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54340 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54341 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54342 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54343 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54344 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54345 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54346 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54347 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54349 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54350 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54351 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54352 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54353 * sysdeps/ieee754/k_standard.c: Likewise.
54354 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54355 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54356 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54357 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54358 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54359 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54361 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54362 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54363 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54364 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54365 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54366 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54367 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54368 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54370 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54371 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54372 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54373 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54376 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54377 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54378 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54379 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54383 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54384 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54385 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54386 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54387 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54388 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54389 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54390 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54392 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54393 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54394 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54396 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54397 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54398 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54401 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54402 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54403 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54404 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54407 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54408 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54409 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54410 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54411 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54412 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54413 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54414 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54415 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54416 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54418 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54419 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54420 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54421 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54422 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54423 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54424 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54425 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54426 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54427 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54429 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54430 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54431 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54432 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54433 * sysdeps/ieee754/s_matherr.c: Likewise.
54434 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54435 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54439 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54441 * crypt/md5.h: Remove __STDC__ conditionals.
54442 * libio/libioP.h: Likewise.
54443 * locale/programs/config.h: Likewise.
54444 * sysdeps/generic/sysdep.h: Likewise.
54445 * sysdeps/i386/asm-syntax.h: Likewise.
54446 * sysdeps/s390/asm-syntax.h: Likewise.
54447 * sysdeps/unix/sysdep.h: Likewise.
54448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54451 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54453 * libio/libio.h: Remove __STDC__ conditionals.
54454 * malloc/obstack.h: Likewise.
54455 * math/complex.h: Likewise.
54456 * math/math.h: Likewise.
54457 * sysdeps/generic/_G_config.h: Likewise.
54458 * sysdeps/gnu/_G_config.h: Likewise.
54459 * sysdeps/mach/hurd/_G_config.h: Likewise.
54460 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54461 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54462 * sysdeps/sparc/bits/mathdef.h: Likewise.
54464 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54467 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54468 Clean up HAS_* macros.
54469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54470 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54475 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54477 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54480 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54482 * elf/tst-unique3.cc (gets): Remove declaration.
54483 * elf/tst-unique3lib.cc (gets): Likewise.
54484 * elf/tst-unique3lib2.cc (gets): Likewise.
54485 * elf/tst-unique4.cc (gets): Likewise.
54487 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54489 * include/stdio.h: Add C++ protection. Add gets declarations and
54491 * debug/tst-chk1.c: Don't declare gets here.
54492 * stdio-common/tst-gets.c: Likewise.
54494 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54496 * posix/glob: Remove directory.
54498 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54500 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54502 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54504 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54505 of the non-standard EPFNOSUPPORT.
54507 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54509 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54510 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54511 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54513 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54515 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54517 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54519 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54521 * nscd/grpcache.c (cache_addgr): Likewise.
54522 * nscd/hstcache.c (cache_addhst): Likewise.
54523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54524 * nscd/pwdcache.c (cache_addpw): Likewise.
54525 * nscd/servicescache.c (cache_addserv): Likewise.
54527 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54529 * malloc/malloc.c: Various cleanups.
54530 * malloc/hooks.c: Likewise.
54532 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54533 * stdlib/bug-fmtmsg1.c: New file.
54535 * stdlib/fmtmsg.c (init): Add missing unlock.
54536 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54538 2012-01-12 Marek Polacek <polacek@redhat.com>
54540 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54543 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54545 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54546 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54547 macro to ensure uniqueness of label name.
54548 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54549 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54551 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54553 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54555 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54556 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54557 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54560 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54562 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54564 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54565 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54566 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54568 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54571 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54575 * math/bits/math-finite.h: Add ldexp support.
54577 2012-01-10 Marek Polacek <polacek@redhat.com>
54579 * locale/programs/localedef.h (show_archive_content): Add noreturn
54582 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54584 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54586 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54588 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54590 * io/Makefile (headers): Add bits/poll2.h.
54592 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54595 typo #include statement.
54597 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54599 * include/sys/cdefs.h: Define __attribute_alloc_size.
54600 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54601 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54602 * elf/pldd.c: Likewise.
54603 * iconv/iconv_charmap.c: Likewise.
54604 * iconv/iconvconfig.c: Likewise.
54605 * iconv/strtab.c: Likewise.
54606 * locale/programs/locale.c: Likewise.
54607 * locale/programs/localedef.h: Likewise.
54608 * locale/programs/simple-hash.c: Likewise.
54609 * nscd/nscd.h: Likewise.
54610 * nss/makedb.c: Likewise.
54611 * sysdeps/generic/ldconfig.h: Likewise.
54612 * locale/programs/localedef.c: Remove xmalloc prototype.
54613 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54615 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54617 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54620 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54622 * math/Makefile (tests): Add tst-CMPLX.
54623 * math/tst-CMPLX.c: New file.
54625 * math/complex.h (CMPLXL): Fix typo.
54627 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54628 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54630 * debug/tst-chk1.c: Add poll and ppoll tests.
54631 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54632 * include/sys/poll.h: Add hidden proto for ppoll.
54633 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54634 * sysdeps/mach/hurd/ppoll.c: Likewise.
54635 * io/ppoll.c: Likewise.
54636 * debug/poll_chk.c: New file.
54637 * debug/ppoll_chk.c: New file.
54638 * include/bits/poll2.h: New file.
54639 * io/bits/poll2.h: New file.
54642 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54644 * configure.in: static is always set to yes. Remove.
54645 * config.make.in: Don't set build-static.
54646 * Makeconfig: Remove use of build-static.
54647 * dlfcn/Makefile: Likewise.
54648 * elf/Makefile: Likewise.
54649 * math/Makefile: Likewise.
54650 * misc/Makefile: Likewise.
54651 * nptl/Makefile: Likewise.
54652 * sysdeps/mach/hurd/Makefile: Likewise.
54654 * configure.in: PWD_P is not used anymore.
54655 * config.make.in: Remove PWD_P entry.
54657 * configure.in: Remove last remnants of RANLIB.
54658 No need to check for signed size_t anymore.
54659 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54661 Remove __builtin_expect test because we require at least gcc 3.4.
54662 * aclocal.m4: Likewise.
54664 * wcsmbs/mbrtoc16.c: Implement using towc function.
54665 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54666 * wcsmbs/wcsmbsload.c: Likewise.
54667 * iconv/gconv_simple.c: Likewise.
54668 * iconv/gconv_int.h: Likewise.
54669 * iconv/gconv_builtin.h: Likewise.
54670 * iconv/iconv_prog.c: Remove CHAR16 handling.
54672 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54674 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54676 * configure.in: Remove --with-elf and --enable-bounded options.
54677 Dont set base_machine for ia64. More non-ELF conditions removed.
54678 Remove testing and setting of leading underscore information.
54679 * config.make.in (build-bounded): Set to no.
54680 * config.h.in: Remove NO_UNDERSCORES entry.
54681 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54683 * csu/start.c: Remove !NO_UNDERSCORE code.
54684 * locale/localeinfo.h: Likewise.
54685 * sysdeps/generic/machine-gmon.h: Likewise.
54686 * sysdeps/generic/sysdep.h: Likewise.
54687 * sysdeps/i386/sysdep.h: Likewise.
54688 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54689 * sysdeps/mach/sysdep.h: Likewise.
54690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54692 * sysdeps/sh/sysdep.h: Likewise.
54693 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54694 * sysdeps/unix/i386/sysdep.S: Likewise.
54695 * sysdeps/unix/sparc/start.c: Likewise.
54696 * sysdeps/unix/sparc/sysdep.S: Likewise.
54697 * sysdeps/unix/sparc/sysdep.h: Likewise.
54698 * sysdeps/unix/start.c: Likewise.
54699 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54700 * sysdeps/x86_64/sysdep.h: Likewise.
54702 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54705 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54707 * argp/argp-fmtstream.h: Use const instead __const.
54708 * argp/argp.h: Likewise.
54709 * assert/assert.h: Likewise.
54710 * bits/fenv.h: Likewise.
54711 * bits/sched.h: Likewise.
54712 * bits/sigset.h: Likewise.
54713 * bits/sigthread.h: Likewise.
54714 * catgets/nl_types.h: Likewise.
54715 * conform/data/pthread.h-data: Likewise.
54716 * crypt/crypt-private.h: Likewise.
54717 * crypt/crypt.h: Likewise.
54718 * crypt/crypt_util.c: Likewise.
54719 * ctype/ctype.h: Likewise.
54720 * debug/execinfo.h: Likewise.
54721 * debug/mbsnrtowcs_chk.c: Likewise.
54722 * debug/mbsrtowcs_chk.c: Likewise.
54723 * debug/wcsnrtombs_chk.c: Likewise.
54724 * debug/wcsrtombs_chk.c: Likewise.
54725 * debug/wcstombs_chk.c: Likewise.
54726 * dirent/dirent.h: Likewise.
54727 * dlfcn/dlfcn.h: Likewise.
54728 * elf/neededtest4.c: Likewise.
54729 * grp/grp.h: Likewise.
54730 * gshadow/gshadow.h: Likewise.
54731 * iconv/gconv.h: Likewise.
54732 * iconv/gconv_int.h: Likewise.
54733 * iconv/gconv_simple.c: Likewise.
54734 * iconv/iconv.h: Likewise.
54735 * iconv/loop.c: Likewise.
54736 * iconv/skeleton.c: Likewise.
54737 * include/aio.h: Likewise.
54738 * include/aliases.h: Likewise.
54739 * include/argz.h: Likewise.
54740 * include/arpa/inet.h: Likewise.
54741 * include/assert.h: Likewise.
54742 * include/dirent.h: Likewise.
54743 * include/dlfcn.h: Likewise.
54744 * include/execinfo.h: Likewise.
54745 * include/fcntl.h: Likewise.
54746 * include/fenv.h: Likewise.
54747 * include/glob.h: Likewise.
54748 * include/grp.h: Likewise.
54749 * include/libintl.h: Likewise.
54750 * include/mntent.h: Likewise.
54751 * include/netdb.h: Likewise.
54752 * include/pwd.h: Likewise.
54753 * include/rpc/netdb.h: Likewise.
54754 * include/sched.h: Likewise.
54755 * include/search.h: Likewise.
54756 * include/shadow.h: Likewise.
54757 * include/signal.h: Likewise.
54758 * include/stdio.h: Likewise.
54759 * include/stdlib.h: Likewise.
54760 * include/string.h: Likewise.
54761 * include/sys/socket.h: Likewise.
54762 * include/sys/stat.h: Likewise.
54763 * include/sys/statfs.h: Likewise.
54764 * include/sys/statvfs.h: Likewise.
54765 * include/sys/syslog.h: Likewise.
54766 * include/sys/time.h: Likewise.
54767 * include/sys/uio.h: Likewise.
54768 * include/time.h: Likewise.
54769 * include/unistd.h: Likewise.
54770 * include/utmp.h: Likewise.
54771 * include/wchar.h: Likewise.
54772 * include/wctype.h: Likewise.
54773 * inet/aliases.h: Likewise.
54774 * inet/arpa/inet.h: Likewise.
54775 * inet/netinet/ether.h: Likewise.
54776 * inet/netinet/in.h: Likewise.
54777 * intl/libintl.h: Likewise.
54778 * io/bits/fcntl2.h: Likewise.
54779 * io/fcntl.h: Likewise.
54780 * io/ftw.h: Likewise.
54781 * io/sys/poll.h: Likewise.
54782 * io/sys/stat.h: Likewise.
54783 * io/sys/statfs.h: Likewise.
54784 * io/sys/statvfs.h: Likewise.
54785 * io/utime.h: Likewise.
54786 * libio/bits/stdio.h: Likewise.
54787 * libio/bits/stdio2.h: Likewise.
54788 * libio/libio.h: Likewise.
54789 * libio/libioP.h: Likewise.
54790 * libio/stdio.h: Likewise.
54791 * locale/lc-ctype.c: Likewise.
54792 * locale/locale.h: Likewise.
54793 * login/utmp.h: Likewise.
54794 * malloc/arena.c: Likewise.
54795 * malloc/malloc.c: Likewise.
54796 * malloc/malloc.h: Likewise.
54797 * malloc/mcheck.c: Likewise.
54798 * malloc/mtrace.c: Likewise.
54799 * math/bits/mathcalls.h: Likewise.
54800 * math/fenv.h: Likewise.
54801 * math/math_private.h: Likewise.
54802 * misc/bits/error.h: Likewise.
54803 * misc/bits/syslog.h: Likewise.
54804 * misc/err.h: Likewise.
54805 * misc/error.h: Likewise.
54806 * misc/fstab.h: Likewise.
54807 * misc/mntent.h: Likewise.
54808 * misc/regexp.h: Likewise.
54809 * misc/search.h: Likewise.
54810 * misc/sgtty.h: Likewise.
54811 * misc/sys/mman.h: Likewise.
54812 * misc/sys/syslog.h: Likewise.
54813 * misc/sys/uio.h: Likewise.
54814 * misc/sys/xattr.h: Likewise.
54815 * misc/ttyent.h: Likewise.
54816 * nis/rpcsvc/ypclnt.h: Likewise.
54817 * nss/nss.h: Likewise.
54818 * posix/bits/unistd.h: Likewise.
54819 * posix/fnmatch.h: Likewise.
54820 * posix/glob.h: Likewise.
54821 * posix/sched.h: Likewise.
54822 * posix/spawn.h: Likewise.
54823 * posix/sys/wait.h: Likewise.
54824 * posix/unistd.h: Likewise.
54825 * posix/wordexp.h: Likewise.
54826 * pwd/pwd.h: Likewise.
54827 * resolv/netdb.h: Likewise.
54828 * resource/sys/resource.h: Likewise.
54829 * rt/aio.h: Likewise.
54830 * rt/bits/mqueue2.h: Likewise.
54831 * rt/mqueue.h: Likewise.
54832 * shadow/shadow.h: Likewise.
54833 * signal/signal.h: Likewise.
54834 * socket/send.c: Likewise.
54835 * socket/sendto.c: Likewise.
54836 * socket/sys/socket.h: Likewise.
54837 * stdio-common/printf.h: Likewise.
54838 * stdlib/bits/stdlib.h: Likewise.
54839 * stdlib/fmtmsg.h: Likewise.
54840 * stdlib/monetary.h: Likewise.
54841 * stdlib/stdlib.h: Likewise.
54842 * stdlib/ucontext.h: Likewise.
54843 * streams/stropts.h: Likewise.
54844 * string/argz.h: Likewise.
54845 * string/bits/string2.h: Likewise.
54846 * string/string.h: Likewise.
54847 * string/strings.h: Likewise.
54848 * sunrpc/rpc/auth.h: Likewise.
54849 * sunrpc/rpc/auth_des.h: Likewise.
54850 * sunrpc/rpc/clnt.h: Likewise.
54851 * sunrpc/rpc/netdb.h: Likewise.
54852 * sunrpc/rpc/pmap_clnt.h: Likewise.
54853 * sunrpc/rpc/xdr.h: Likewise.
54854 * sysdeps/generic/inttypes.h: Likewise.
54855 * sysdeps/generic/net/if.h: Likewise.
54856 * sysdeps/generic/sys/swap.h: Likewise.
54857 * sysdeps/gnu/net/if.h: Likewise.
54858 * sysdeps/gnu/utmpx.h: Likewise.
54859 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54860 * sysdeps/i386/i486/bits/string.h: Likewise.
54861 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54862 * sysdeps/s390/bits/string.h: Likewise.
54863 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54864 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54865 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54866 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54867 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54868 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54869 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54870 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54871 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54872 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54873 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54874 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54875 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54876 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54877 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54878 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54879 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54881 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54882 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54883 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54884 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54885 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54886 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54887 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54888 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54889 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54891 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54892 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54893 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54894 * sysvipc/sys/ipc.h: Likewise.
54895 * sysvipc/sys/msg.h: Likewise.
54896 * sysvipc/sys/sem.h: Likewise.
54897 * sysvipc/sys/shm.h: Likewise.
54898 * termios/termios.h: Likewise.
54899 * time/sys/time.h: Likewise.
54900 * time/time.h: Likewise.
54901 * wcsmbs/bits/wchar2.h: Likewise.
54902 * wcsmbs/uchar.h: Likewise.
54903 * wcsmbs/wchar.h: Likewise.
54904 * wctype/wctype.h: Likewise.
54907 * Makeconfig: Remove all but ELF support including AIX support.
54908 * Makerules: Likewise.
54909 * config.h.in: Likewise.
54910 * config.make.in: Likewise.
54911 * configure: Likewise.
54912 * configure.in: Likewise.
54913 * csu/Makefile: Likewise.
54914 * csu/version.c: Likewise.
54915 * debug/Makefile: Likewise.
54916 * dlfcn/Makefile: Likewise.
54917 * elf/Makefile: Likewise.
54918 * extra-lib.mk: Likewise.
54919 * iconv/Makefile: Likewise.
54920 * include/libc-symbols.h: Likewise.
54921 * include/shlib-compat.h: Likewise.
54922 * resolv/Makefile: Likewise.
54923 * resolv/res_libc.c: Likewise.
54924 * rt/Makefile: Likewise.
54925 * sysdeps/i386/asm-syntax.h: Likewise.
54926 * sysdeps/i386/sysdep.h: Likewise.
54927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54928 * sysdeps/mach/sysdep.h: Likewise.
54929 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54930 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54931 * sysdeps/s390/asm-syntax.h: Likewise.
54932 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54933 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54934 * sysdeps/sh/sysdep.h: Likewise.
54935 * sysdeps/unix/sparc/sysdep.h: Likewise.
54936 * sysdeps/wordsize-32/divdi3.c: Likewise.
54937 * sysdeps/x86_64/sysdep.h: Likewise.
54939 * argp/Versions: Remove _argp_unlock_xxx.
54942 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54943 * abilist/libBrokenLocale.abilist: Likewise.
54944 * abilist/libanl.abilist: Likewise.
54945 * abilist/libc.abilist: Likewise.
54946 * abilist/libcrypt.abilist: Likewise.
54947 * abilist/libdl.abilist: Likewise.
54948 * abilist/libm.abilist: Likewise.
54949 * abilist/libnsl.abilist: Likewise.
54950 * abilist/libpthread.abilist: Likewise.
54951 * abilist/libresolv.abilist: Likewise.
54952 * abilist/librt.abilist: Likewise.
54953 * abilist/libthread_db.abilist: Likewise.
54954 * abilist/libutil.abilist: Likewise.
54955 * abilist/libnss_db.abilist: New file.
54957 * scripts/abilist.awk: Add support for indirect functions.
54959 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54961 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54963 * shlib-versions: Remove entries for ports architectures.
54965 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54967 * elf/stackguard-macros.h: Remove support for IA-64.
54968 * elf/tst-auditmod1.c: Likewise.
54969 * sysdeps/generic/ldsodefs.h: Likewise.
54971 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54972 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54976 * configure.in: Remove --enable-omitfp support.
54978 * config.make.in: Likewise.
54979 * Makeconfig: Likewise.
54980 * manual/install.texi: Likewise.
54982 In case anyone cares, the IA-64 architecture could move to ports.
54983 * sysdeps/ia64/*: Removed.
54984 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54985 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54988 * configure.in: Remove entries for unsupported architectures.
54991 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54992 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54994 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54995 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54996 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54997 fall back to using wcrtomb.
54998 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54999 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55001 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55002 * wcsmbs/tst-c16c32-1.c: New file.
55004 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55007 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55009 * elf/tst-unique3.cc: Add explicit declaration of gets.
55010 * elf/tst-unique3lib.cc: Likewise.
55011 * elf/tst-unique3lib2.cc: Likewise.
55012 * elf/tst-unique4.cc: Likewise.
55014 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55016 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55019 * assert/assert.h (static_assert): Don't define for C++.
55020 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55021 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55023 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55025 * iconv/loop.c (single loop): Fix assertion in storing of
55028 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55030 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55032 * posix/getconf.c: Update copyright year.
55033 * nss/getent.c: Likewise.
55034 * nss/makedb.c: Likewise.
55035 * iconv/iconvconfig.c: Likewise.
55036 * iconv/iconv_prog.c: Likewise.
55037 * elf/ldconfig.c: Likewise.
55038 * elf/pldd.c: Likewise.
55039 * elf/sotruss.ksh: Likewise.
55040 * catgets/gencat.c: Likewise.
55041 * csu/version.c: Likewise.
55042 * elf/ldd.bash.in: Likewise.
55043 * elf/sprof.c (print_version): Likewise.
55044 * locale/programs/locale.c: Likewise.
55045 * locale/programs/localedef.c: Likewise.
55046 * login/programs/pt_chown.c: Likewise.
55047 * nscd/nscd.c (print_version): Likewise.
55048 * debug/xtrace.sh: Likewise.
55049 * malloc/memusage.sh: Likewise.
55050 * malloc/mtrace.pl: Likewise.
55051 * debug/catchsegv.sh: Likewise.
55053 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55055 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55058 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55061 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55062 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55064 * iconv/gconv_int.h: Likewise.
55065 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55066 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55067 from libc for GLIBC_2.16.
55068 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55069 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55070 * wcsmbs/uchar.h: Really define mbstate_t.
55071 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55072 * wcsmbs/c16rtomb.c: New file.
55073 * wcsmbs/mbrtoc16.c: New file.
55074 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55075 for C/POSIX locale.
55076 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55077 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55079 * wcsmbs/wchar.h: Add missing __restrict.
55081 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55084 * time/Makefile (routines): Add timespec_get.
55085 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55086 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55087 timespec for ISO C11.
55088 * time/timespec_get.c: New file.
55089 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55090 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55093 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55094 * stdlib/stdlib.h: Declare aligned_alloc.
55095 * Versions.def: Add GLIBC_2.16 for libc.
55096 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55099 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55102 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55106 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55109 * assert/assert.h (static_assert): Define.
55111 * version.h: Update for 2.16 development version.
55114 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55117 * version.h (RELEASE): Bump for 2.15 release.
55118 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55120 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55121 Patch by Marek Polacek <mpolacek@redhat.com>.
55123 * bits/byteswap.h: Protect long long constants with __extension__.
55124 * sysdeps/i386/bits/byteswap.h: Likewise.
55125 * sysdeps/ia64/bits/byteswap.h: Likewise.
55126 * sysdeps/s390/bits/byteswap.h: Likewise.
55127 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55129 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55132 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55133 destination buffer.
55134 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55136 2011-12-23 Marek Polacek <polacek@redhat.com>
55138 * elf/dl-addr.c (determine_info): Add inline keyword.
55139 * elf/tst-auditmod4b.c (check_avx): Likewise.
55140 * elf/tst-auditmod6b.c (check_avx): Likewise.
55141 * elf/tst-auditmod6c.c (check_avx): Likewise.
55142 * elf/tst-auditmod7b.c (check_avx): Likewise.
55144 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55146 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55149 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55152 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55153 processing for last bytes.
55155 2011-08-06 Bruno Haible <bruno@clisp.org>
55158 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55159 U+0385, not to U+1FEE.
55162 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55163 entry for U+00A5 U+0301.
55165 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55168 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55169 buffer for the output is too small.
55171 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55175 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55176 SSE flags if possible.
55178 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55182 processing for last bytes.
55184 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55186 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55187 (syscall-list-default-options, syscall-list-default-condition)
55188 (syscall-list-includes): Define.
55189 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55190 list of ABIs and options and #if conditions for each ABI. Do not
55191 handle common syscalls between ABIs specially.
55192 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55194 (syscall-list-variants, syscall-list-32bit-options)
55195 (syscall-list-32bit-condition, syscall-list-64bit-options)
55196 (syscall-list-64bit-condition): Define.
55197 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55198 (syscall-list-variants, syscall-list-32bit-options)
55199 (syscall-list-32bit-condition, syscall-list-64bit-options)
55200 (syscall-list-64bit-condition): Define.
55201 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55203 (syscall-list-variants, syscall-list-32bit-options)
55204 (syscall-list-32bit-condition, syscall-list-64bit-options)
55205 (syscall-list-64bit-condition): Define.
55206 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55208 (syscall-list-variants, syscall-list-32bit-options)
55209 (syscall-list-32bit-condition, syscall-list-64bit-options)
55210 (syscall-list-64bit-condition): Define.
55212 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55214 * locale/iso-639.def: Add brx entry.
55217 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55218 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55220 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55221 __feraiseexcept_renamed.
55223 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55226 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55227 EPOLLET with unsigned values.
55228 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55229 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55231 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55232 to large cancellation.
55233 * math/s_cacoshf.c: Likewise.
55234 * math/s_cacoshl.c: Likewise.
55236 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55240 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55241 * math/s_cacoshf.c: Likewise.
55242 * math/s_cacoshl.c: Likewise.
55244 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55247 * iconv/gconv.h: Define __GCONV_SWAP.
55248 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55249 * iconvdata/utf-16.c: Likewise.
55250 * iconvdata/utf-32.c: Likewise.
55252 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55256 numerator after shifting it by one limb.
55258 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55260 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55261 under [__USE_EXTERN_INLINES].
55263 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55266 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55268 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55270 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55271 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55273 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55274 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55275 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55276 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55277 for strncasecmp/strncasecmp_l compilation.
55278 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55279 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55281 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55284 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55287 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55290 * time/tzfile.c (__tzfile_read): Check values from file header.
55292 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55294 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55295 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55296 * powerpc/powerpc32/dl-start.S: Likewise.
55297 * powerpc/powerpc32/elf/start.S: Likewise.
55298 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55299 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55300 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55301 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55302 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55303 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55304 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55305 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55306 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55307 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55308 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55309 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55310 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55311 * powerpc/powerpc32/memset.S: Likewise.
55312 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55313 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55314 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55315 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55316 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55317 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55318 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55319 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55320 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55321 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55322 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55326 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55328 * math/libm-test.inc: Added more nearbyint tests.
55329 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55334 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55336 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55339 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55341 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55342 Add wcscpy-ssse3 wcscpy-c.
55343 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55344 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55345 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55346 * sysdeps/x86_64/wcschr.S: New file.
55347 * sysdeps/x86_64/wcsrchr.S: New file.
55348 * string/test-strcmp.c: Remove checking of wcscmp function for
55350 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55351 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55352 wcsrchr-sse2 wcsrchr-c.
55353 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55354 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55355 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55356 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55357 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55358 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55359 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55360 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55361 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55362 * wcsmbc/wcschr.c (WCSCHR): New macro.
55364 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55366 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55367 * wcsmbs/test-wcsrchr.c: New file.
55368 * string/test-strrchr.c: Add wcsrchr support.
55370 * wcsmbs/test-wcscpy.c: New file.
55371 * string/test-strcpy.c: Add wcscpy support.
55374 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55376 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55379 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55382 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55384 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55387 Minor optimizations.
55389 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55390 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55391 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55393 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55395 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55396 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55397 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55398 for gcc to avoid warnings.
55399 * inet/Makefile (tests): Add tst-checks.
55400 * inet/tst-checks.c: New file.
55402 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55405 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55408 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55409 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55411 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55413 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55415 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55418 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55420 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55422 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55423 conditional on GCC version.
55424 (__arch_compare_and_exchange_val_8_acq)
55425 (__arch_compare_and_exchange_val_16_acq)
55426 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55427 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55428 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55430 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55432 * sysdeps/sh/backtrace.c: New file.
55434 2011-12-02 Andreas Schwab <schwab@redhat.com>
55436 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55439 2011-12-01 Andreas Schwab <schwab@redhat.com>
55441 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55442 falling back to utime.
55444 2011-11-30 Andreas Schwab <schwab@redhat.com>
55446 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55447 expectations for float.
55449 2011-11-29 Andreas Schwab <schwab@redhat.com>
55451 * locale/weight.h (findidx): Add parameter len.
55452 * locale/weightwc.h (findidx): Likewise.
55453 * posix/fnmatch_loop.c (FCT): Adjust caller.
55454 * posix/regcomp.c (build_equiv_class): Likewise.
55455 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55456 * posix/regexec.c (check_node_accept_bytes): Likewise.
55457 * string/strcoll_l.c (STRCOLL): Likewise.
55458 * string/strxfrm_l.c (STRXFRM): Likewise.
55460 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55462 * Makefile.in: Remove CVSOPT handling.
55463 * configure.in: Remove use of AC_REVISION.
55464 * iconvdata/Makefile (distribute): No need to filter out CVS.
55465 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55468 2011-11-16 Andreas Schwab <schwab@redhat.com>
55470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55471 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55472 [USE_AS_STRNCASECMP_L]: Likewise.
55473 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55474 NO_TLS_DIRECT_SEG_REFS.
55475 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55476 Fix argument offsets for non-PIC.
55477 [USE_AS_STRNCASECMP_L]: Likewise.
55478 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55479 NO_TLS_DIRECT_SEG_REFS.
55481 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55483 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55485 * locale/loadlocale.c (_nl_load_locale): Likewise.
55487 2011-11-15 Andreas Schwab <schwab@redhat.com>
55489 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55490 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55491 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55492 (SYSCALL_GETTIME): Set errno on error.
55494 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55495 count references to noai6ai_cached.
55497 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55499 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55501 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55502 FD_CLOEXEC for /proc/self/maps.
55504 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55505 FD_CLOEXEC for /proc/meminfo.
55507 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55510 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55511 FD_CLOEXEC for given file.
55513 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55515 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55516 FD_CLOEXEC for /etc/hosts.
55517 (_gethtent): Likewise.
55519 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55521 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55522 cancellation and set FD_CLOEXEC for /etc/netgroup.
55524 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55525 reading /etc/publickey.
55527 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55528 allow cancellation when reading /etc/group.
55530 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55532 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55534 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55535 when using data file.
55537 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55539 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55540 (write_nis_obj): Use "c" and "e" in fopen.
55542 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55544 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55546 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55548 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55550 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55553 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55555 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55557 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55559 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55560 file parsing and set FD_CLOEXEC.
55562 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55564 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55566 2011-11-14 Andreas Schwab <schwab@redhat.com>
55568 * malloc/arena.c (arena_get2): Don't call reused_arena when
55569 _int_new_arena failed.
55571 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55573 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55574 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55576 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55578 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55579 to compile strcasecmp and strncasecmp.
55580 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55581 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55585 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55587 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55588 locale-defines.sym to gen-as-const-headers.
55589 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55590 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55592 to compile strcasecmp and strncasecmp.
55593 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55594 strcasecmp_l and strncasecmp_l.
55595 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55596 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55597 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55598 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55599 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55600 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55601 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55602 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55603 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55604 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55605 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55607 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55609 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55610 result of SYSDEP_GETTIME_CPU to retval.
55611 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55612 parameter list to macro. Remove trailing semicolon. Adjust users.
55614 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55617 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55619 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55621 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55622 from unused variable.
55624 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55626 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55629 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55632 * sunrpc/rpc_prot.c (rejected): Fix case value.
55634 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55635 unsigned long long int to avoid warnings in shift.
55637 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55639 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55642 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55643 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55644 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55646 * nis/nis_table.c (nis_list): Use variable of correct type for
55647 result of __follow_path call.
55649 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55651 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55652 of math functions ceil, trunc, floor, round, and sqrt, when
55653 avaliable on the platform.
55654 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55660 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55662 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55663 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55665 2011-11-11 Roland McGrath <roland@hack.frob.com>
55667 * include/unistd.h: Fix __readlink return type.
55668 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55670 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55672 * stdlib/ucontext.h: Undo last change for makecontext.
55674 2011-11-11 Andreas Schwab <schwab@redhat.com>
55676 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55678 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55679 * setjmp/setjmp.h: Mark functions as non-leaf.
55680 * setjmp/bits/setjmp2.h: Likewise.
55681 * stdlib/ucontext.h: Likewise.
55683 2011-11-10 Andreas Schwab <schwab@redhat.com>
55685 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55686 (reused_arena): Don't check arena limit.
55687 (arena_get2): Atomically check arena limit.
55689 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55691 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55692 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55697 2011-11-07 Andreas Schwab <schwab@redhat.com>
55699 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55700 handler when locking.
55702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55703 Fix size of allocated buffer.
55705 2011-11-04 Andreas Schwab <schwab@redhat.com>
55708 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55709 declarations for long double functions.
55710 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55712 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55714 2011-11-03 Andreas Schwab <schwab@redhat.com>
55716 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55719 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55722 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55724 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55726 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55728 * include/alloca.h (stackinfo_alloca_round): Define.
55729 (extend_alloca): Use it.
55730 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55731 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55734 * scripts/check-local-headers.sh: Ignore libaudit.h.
55736 * nscd/Makefile (extra-objs): Make recursively expanded.
55738 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55740 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55743 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55744 * posix/tst-rfc3484-2.c: Likewise.
55745 * posix/tst-rfc3484-3.c: Likewise.
55747 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55749 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55751 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55752 process_vm_writev from libc using GLIBC_2.15 version.
55754 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55756 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55758 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55761 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55764 * nss/getent.c (initgroups_keys): Show error message in case no group
55767 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55768 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55769 __bump_nl_timestamp.
55770 * nscd/connections (nscd_init): When host database is served open
55771 netlink socket and request notification about configuration changes.
55772 (main_loop_poll): Track netlink file descriptor and bump timestamp
55773 in case data becomes available.
55774 (main_loop_epoll): Likewise.
55775 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55776 (database_pers_head): Add extra_data fileds.
55777 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55778 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55779 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55781 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55782 in6ai data, call __free_in6ai.
55783 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55784 Add -DHAVE_NETLINK.
55785 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55786 interface information. Reuse previous data if netlink timestamp
55788 (__bump_nl_timestamp): New function.
55789 (__free_in6ai): New function.
55791 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55793 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55794 close_not_cancel_no_status here.
55795 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55797 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55800 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55803 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55804 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55805 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55807 2011-07-03 Andreas Jaeger <aj@suse.de>
55810 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55811 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55812 * math/libm-test.inc (sin_test): Add test case.
55814 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55817 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55818 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55820 * elf/chroot_canon.c (chroot_canon): Cleanups.
55822 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55825 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55826 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55828 * string/test-strchr.c: Make usable for strchrnul testing.
55829 * string/test-strchrnul.c: New file.
55830 * string/Makefile (strop-tests): Add strchrnul.
55832 * po/it.po: Update from translation team.
55833 * po/es.po: Likewise.
55835 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55837 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55838 the three constants needed as parameters. Drop the others.
55839 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55840 __m128i_strloadu_tolower.
55841 Create and initialize variable zero and use it in all the places
55842 where _mm_setzero_si128 was used.
55844 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55845 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55846 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55847 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55849 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55850 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55851 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55852 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55853 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55854 __mpranred, __mptan.
55855 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55856 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55857 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55858 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55859 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55860 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55862 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55863 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55865 2011-10-28 Andreas Schwab <schwab@redhat.com>
55867 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55868 redefine if SHARED.
55869 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55872 wide char related routines to wcsmbs subdir.
55874 2011-10-27 Andreas Schwab <schwab@redhat.com>
55877 * misc/sys/cdefs.h (__THROWNL): Define.
55878 * posix/unistd.h: Use __THREADNL instead of __THREAD
55879 for memory synchronization functions.
55881 2011-10-26 Roland McGrath <roland@hack.frob.com>
55884 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55886 * manual/stdio.texi (Obstack Streams): Node removed.
55888 2011-10-26 Andreas Schwab <schwab@redhat.com>
55890 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55891 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55892 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55894 * math/math_private.h (math_force_eval): Allow non-addressable
55896 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55898 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55900 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55901 file is not needed.
55903 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55906 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55907 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55910 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55912 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55913 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55914 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55915 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55916 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55917 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55918 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55920 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55921 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55922 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55923 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55924 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55925 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55926 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55927 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55928 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55929 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55930 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55932 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55933 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55936 place. Use VEX encoding when compiling for AVX.
55938 2011-10-25 Andreas Schwab <schwab@redhat.com>
55940 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55941 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55943 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55947 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55948 useless if() expression.
55949 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55950 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55951 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55952 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55955 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55956 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55960 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55961 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55962 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55963 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55964 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55965 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55966 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55967 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55969 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55971 2011-10-25 Andreas Schwab <schwab@redhat.com>
55973 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55975 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55977 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55979 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55980 .text section. Avoid duplicate constants.
55981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55985 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55989 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55990 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55991 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55992 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55993 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55994 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55995 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55996 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55997 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55998 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55999 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56001 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56002 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56003 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56004 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56005 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56006 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56007 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56008 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56010 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56011 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56012 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56013 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56014 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56015 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56016 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56017 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56018 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56019 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56020 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56021 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56022 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56023 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56024 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56025 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56027 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56029 * sysdeps/x86_64/dla.h: Move to ...
56030 * sysdeps/x86_64/fpu/dla.h: ...here.
56031 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56032 situations. Use __builtin_fma only for gcc 4.6 and up.
56034 * config.make.in: Add have-mfma4 entry.
56035 * configure.in: Substitute libc_cv_cc_fma4.
56036 * math/Makefile (dbl-only-routines): Add sincostab.
56037 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56038 Use __sincostab not sincos.
56039 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56041 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56046 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56047 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56048 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56049 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56051 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56052 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56054 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56055 define aliases when function name is a macro.
56056 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56057 sysdeps/ieee754/dbl-64/sincos.tbl.
56058 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56059 fma4-enabled routines.
56060 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56061 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56062 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56063 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56064 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56065 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56067 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56068 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56069 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56070 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56071 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56072 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56073 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56074 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56075 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56076 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56077 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56078 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56080 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56081 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56083 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56084 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56085 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56087 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56089 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56091 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56102 2011-10-24 Andreas Schwab <schwab@redhat.com>
56104 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56106 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56108 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56110 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56112 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56114 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56115 Remove unused variable magic_bits.
56116 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56118 * string/strnlen.c: Define and use STRNLEN macro.
56119 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56120 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56122 * wcsmbs/wcslen.c: Define and use WCSLEN.
56123 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56124 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56125 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56126 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56127 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56128 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56129 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56131 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56134 strnlen-sse2-no-bsf.
56135 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56137 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56138 Add strnlen support.
56139 (USE_AS_STRNLEN): New macro.
56140 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56142 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56143 * sysdeps/x86_64/wcslen.S: New file.
56145 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56148 XMM-moves are used for copying on small sizes.
56150 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56152 * wcsmbs/Makefile (strop-tests): Add wcschr.
56153 * wcsmbs/test-wcschr.c: New file.
56154 * string/test-strchr.c: Update.
56155 Add wcschr support.
56158 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56160 * wcsmbs/Makefile (strop-tests): Add wcslen.
56161 * wcsmbs/test-wcslen.c: New file.
56162 * string/test-strlen.c: Update.
56163 Add wcslen support.
56166 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56168 * po/it.po: Update from translation team.
56170 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56172 * sysdeps/x86_64/wcscmp.S: Update.
56173 Fix wrong comparison semantics.
56174 wcscmp shall use signed comparison not unsigned.
56175 Don't use substraction to avoid overflow bug.
56176 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56177 * wcsmbc/wcscmp.c: Likewise.
56178 * string/test-strcmp.c: Likewise.
56179 Add new tests to check cases with negative values.
56181 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56183 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56184 * sysdeps/x86_64/dla.h: ...here. New file.
56185 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56192 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56195 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56198 __ynl_finite aliases.
56200 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56204 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56206 [DLA_FMA] (EMULV): Use DLA_FMA.
56207 [DLA_FMA] (MUL12): Use EMULV.
56208 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56209 that are not needed.
56210 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56218 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56220 * math/s_nan.c: Undef __nan.
56221 * math/s_nanf.c: Undef __nanf.
56222 * math/s_nanl.c: Undef __nanl.
56223 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56226 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56228 * math/s_catan.c: Add branch predictions.
56229 * math/s_catanf.c: Likewise.
56230 * math/s_catanh.c: Likewise.
56231 * math/s_catanhf.c: Likewise.
56232 * math/s_catanhl.c: Likewise.
56233 * math/s_catanl.c: Likewise.
56234 * math/s_cexp.c: Likewise.
56235 * math/s_cexpf.c: Likewise.
56236 * math/s_cexpl.c: Likewise.
56237 * math/s_clog.c: Likewise.
56238 * math/s_clog10.c: Likewise.
56239 * math/s_clog10f.c: Likewise.
56240 * math/s_clog10l.c: Likewise.
56241 * math/s_clogf.c: Likewise.
56242 * math/s_clogl.c: Likewise.
56243 * math/s_csqrt.c: Likewise.
56244 * math/s_csqrtf.c: Likewise.
56245 * math/s_csqrtl.c: Likewise.
56246 * math/s_ctanf.c: Likewise.
56247 * math/s_ctanh.c: Likewise.
56248 * math/s_ctanhf.c: Likewise.
56249 * math/s_ctanhl.c: Likewise.
56250 * math/s_ctanl.c: Likewise.
56252 * math/math_private.h: Define __nan, __nanf, __nanl.
56253 * math/s_cacosh.c: Include <math_private.h>.
56254 * math/s_cacoshl.c: Likewise.
56255 * math/s_casinh.c: Likewise.
56256 * math/s_casinhf.c: Likewise.
56257 * math/s_casinhl.c: Likewise.
56258 * math/s_ccos.c: Rely entire on ccosh.
56259 * math/s_ccosf.c: Rely entire on ccoshf.
56260 * math/s_ccosl.c: Rely entirely on ccoshl.
56261 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56262 Remove tests for FE_INVALID.
56263 * math/s_ccoshf.c: Likewise.
56264 * math/s_ccoshl.c: Likewise.
56265 * math/s_csin.c: Likewise.
56266 * math/s_csinf.c: Likewise.
56267 * math/s_csinh.c Likewise.
56268 * math/s_csinhf.c: Likewise.
56269 * math/s_csinhl.c: Likewise.
56270 * math/s_csinl.c: Likewise.
56271 * math/s_ctan.c: Likewise.
56272 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56273 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56276 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56279 compilation problems.
56281 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56284 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56286 * sysdeps/i386/configure.in: Test for -mfma4 option.
56287 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56288 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56289 COMMON_CPUID_INDEX_80000001.
56290 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56291 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56292 use it if FMA3 is not supported.
56293 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56295 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56296 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56298 2011-10-20 Andreas Schwab <schwab@redhat.com>
56301 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56302 it would create a cycle with a link time dependency.
56304 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56306 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56308 * string/Makefile (strop-tests): Add rawmemchr.
56309 * string/test-rawmemchr.c: New file.
56311 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56313 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56314 when compiling str{,n}casecmp and when AVX is available. Hook up
56315 new optimized code in initializers.
56317 2011-10-19 Andreas Schwab <schwab@redhat.com>
56319 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56320 __feraiseexcept instead of feraiseexcept.
56322 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56324 * math/math_private.h: Define defaults for libc_fetestexcept and
56326 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56327 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56329 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56330 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56331 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56332 libc_fetestexcept and libc_feupdateenv.
56334 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56335 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56336 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56337 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56338 libc_feholdexcept_setround.
56340 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56341 Add s_nearbyint-c and s_nearbyintf-c.
56342 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56343 nearbyintf inlines.
56344 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56345 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56346 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56347 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56349 * math/math_private.h: Define defaults for libc_fegetround,
56350 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56351 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56352 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56354 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56355 standard functions.
56356 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56357 Remove comments and hacks for old compiler versions.
56358 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56359 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56360 libc_feholdexceptl.
56362 2011-10-18 Andreas Schwab <schwab@redhat.com>
56364 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56365 (__feraiseexcept_renamed): Add __NTH.
56366 (feraiseexcept): Add __NTH. Rename local variables to fix
56367 namespace violations.
56369 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56371 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56373 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56375 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56376 recently added interfaces.
56377 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56379 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56380 about macro parameter expansion.
56382 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56383 __NO_MATH_INLINES is defined. Cleanups.
56385 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56386 and __floorf is target has SSE4.1.
56387 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56388 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56389 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56390 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56392 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56394 (floorf): Likewise.
56396 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56398 2011-10-17 Andreas Schwab <schwab@redhat.com>
56400 * misc/sys/cdefs.h: Fix last change.
56402 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56405 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56407 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56409 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56411 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56412 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56415 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56416 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56418 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56419 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56420 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56421 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56422 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56423 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56424 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56425 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56426 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56427 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56428 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56429 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56430 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56432 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56433 ceil, ceilf, floor, floorf.
56435 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56436 Perform IRELATIVE relocations last.
56438 * elf/do-rel.h: Add another parameter nrelative, replacing the
56439 local variable with the same name. Change name of the function
56440 to end in Rel or Rela (uppercase).
56441 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56442 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56443 elf_dynamic_do_##reloc function.
56445 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56447 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56448 is sufficient, at least on modern CPUs.
56450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56452 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56453 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56455 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56457 * math/bits/math-finite.h: Add entries for exp.
56458 * math/e_expl.c: Add __*_finite alias.
56459 * sysdeps/i386/fpu/e_exp.S: Likewise.
56460 * sysdeps/i386/fpu/e_expf.S: Likewise.
56461 * sysdeps/i386/fpu/e_expl.c: Likewise.
56462 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56463 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56464 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56466 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56467 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56468 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56470 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56471 is sufficient, at least on modern CPUs.
56473 * ctype/ctype-info.c (__ctype_init): Define.
56474 * include/ctype.h (__ctype_init): Declare.
56475 (__ctype_b_loc): The variable is always initialized.
56476 (__ctype_toupper_loc): Likewise.
56477 (__ctype_tolower_loc): Likewise.
56478 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56479 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56481 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56483 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56485 * configure.in: Also look in $cxxmachine/include for C++ system
56488 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56490 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56491 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56492 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56493 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56495 (USE_AS_WMEMCMP): New macro.
56497 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56498 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56499 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56500 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56502 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56503 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56504 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56505 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56506 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56507 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56508 (USE_AS_WMEMCMP): New macro.
56509 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56510 * sysdeps/string/test-memcmp.c: Update.
56511 Fix simple_wmemcmp.
56513 * wcsmbs/wmemcmp.c: Update.
56514 (WMEMCMP): New macro.
56517 2011-10-12 Andreas Jaeger <aj@suse.de>
56520 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56522 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56524 * libio/iofwide.c (do_length): Avoid warning.
56526 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56528 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56530 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56532 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56533 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56534 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56535 * sysdeps/i386/i686/fpu/e_log.S: New file.
56536 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56537 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56539 * ctype/ctype.h: Add support for inlined isXXX functions when
56540 compiling C++ code.
56542 2011-10-14 Andreas Schwab <schwab@redhat.com>
56544 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56546 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56548 2011-10-13 Roland McGrath <roland@hack.frob.com>
56551 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56553 2011-10-13 Andreas Schwab <schwab@redhat.com>
56555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56556 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56559 * sysdeps/x86_64/memrchr.S: Check for zero size.
56561 * string/stratcliff.c: Add memrchr tests.
56563 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56566 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56567 rawmemchr-sse2 rawmemchr-sse2-bsf.
56568 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56569 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56570 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56571 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56572 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56573 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56574 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56575 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56576 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56577 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56578 * string/memrchr.c (MEMRCHR): New macro.
56580 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56582 Add integration with gcc's -ffinite-math-only and optimize wrapper
56584 * Versions.def: Define GLIBC_2.15 version for libm.
56585 * math/Makefile (headers): Add bits/math-finite.h.
56586 * math/bits/math-finite.h: New file.
56587 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56588 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56589 * math/e_acoshl.c: Add __*_finite alias.
56590 * math/e_acosl.c: Likewise.
56591 * math/e_asinl.c: Likewise.
56592 * math/e_atan2l.c: Likewise.
56593 * math/e_atanhl.c: Likewise.
56594 * math/e_coshl.c: Likewise.
56595 * math/e_exp10.c: Likewise.
56596 * math/e_exp10f.c: Likewise.
56597 * math/e_exp10l.c: Likewise.
56598 * math/e_exp2l.c: Likewise.
56599 * math/e_fmodl.c: Likewise.
56600 * math/e_gammal_r.c: Likewise.
56601 * math/e_hypotl.c: Likewise.
56602 * math/e_j0l.c: Likewise.
56603 * math/e_j1l.c: Likewise.
56604 * math/e_jnl.c: Likewise.
56605 * math/e_lgammal_r.c: Likewise.
56606 * math/e_log10l.c: Likewise.
56607 * math/e_log2l.c: Likewise.
56608 * math/e_logl.c: Likewise.
56609 * math/e_powl.c: Likewise.
56610 * math/e_sinhl.c: Likewise.
56611 * math/e_sqrtl.c: Likewise.
56612 * math/e_scalb.c: Completely rewritten and optimized.
56613 * math/e_scalbf.c: Likewise.
56614 * math/e_scalbl.c: Likewise.
56615 * math/w_acos.c: Likewise.
56616 * math/w_acosf.c: Likewise.
56617 * math/w_acosl.c: Likewise.
56618 * math/w_acosh.c: Likewise.
56619 * math/w_acoshf.c: Likewise.
56620 * math/w_acoshl.c: Likewise.
56621 * math/w_asin.c: Likewise.
56622 * math/w_asinf.c: Likewise.
56623 * math/w_asinl.c: Likewise.
56624 * math/w_atan2.c: Likewise.
56625 * math/w_atan2f.c: Likewise.
56626 * math/w_atan2l.c: Likewise.
56627 * math/w_atanh.c: Likewise.
56628 * math/w_atanhf.c: Likewise.
56629 * math/w_atanhl.c: Likewise.
56630 * math/w_exp10.c: Likewise.
56631 * math/w_exp10f.c: Likewise.
56632 * math/w_exp10l.c: Likewise.
56633 * math/w_fmod.c: Likewise.
56634 * math/w_fmodf.c: Likewise.
56635 * math/w_fmodl.c: Likewise.
56636 * math/w_j0.c: Likewise.
56637 * math/w_j0f.c: Likewise.
56638 * math/w_j0l.c: Likewise.
56639 * math/w_j1.c: Likewise.
56640 * math/w_j1f.c: Likewise.
56641 * math/w_j1l.c: Likewise.
56642 * math/w_jn.c: Likewise.
56643 * math/w_jnf.c: Likewise.
56644 * math/w_log.c: Likewise.
56645 * math/w_logf.c: Likewise.
56646 * math/w_logl.c: Likewise.
56647 * math/w_log10.c: Likewise.
56648 * math/w_log10f.c: Likewise.
56649 * math/w_log10l.c: Likewise.
56650 * math/w_log2.c: Likewise.
56651 * math/w_log2f.c: Likewise.
56652 * math/w_log2l.c: Likewise.
56653 * math/w_pow.c: Likewise.
56654 * math/w_powf.c: Likewise.
56655 * math/w_powl.c: Likewise.
56656 * math/w_remainder.c: Likewise.
56657 * math/w_remainderf.c: Likewise.
56658 * math/w_remainderl.c: Likewise.
56659 * math/w_scalb.c: Likewise.
56660 * math/w_scalbf.c: Likewise.
56661 * math/w_scalbl.c: Likewise.
56662 * math/w_sqrt.c: Likewise.
56663 * math/w_sqrtf.c: Likewise.
56664 * math/w_sqrtl.c: Likewise.
56665 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56666 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56668 * math/math_private.h: Declare __kernel_standard_f.
56669 * math/w_cosh.c: Remove cruft and optimize a bit.
56670 * math/w_coshf.c: Likewise.
56671 * math/w_coshl.c: Likewise.
56672 * math/w_exp2.c: Likewise.
56673 * math/w_exp2f.c: Likewise.
56674 * math/w_exp2l.c: Likewise.
56675 * math/w_hypot.c: Likewise.
56676 * math/w_hypotf.c: Likewise.
56677 * math/w_hypotl.c: Likewise.
56678 * math/w_lgamma.c: Likewise.
56679 * math/w_lgamma_r.c: Likewise.
56680 * math/w_lgammaf.c: Likewise.
56681 * math/w_lgammaf_r.c: Likewise.
56682 * math/w_lgammal.c: Likewise.
56683 * math/w_lgammal_r.c: Likewise.
56684 * math/w_sinh.c: Likewise.
56685 * math/w_sinhf.c: Likewise.
56686 * math/w_sinhl.c: Likewise.
56687 * math/w_tgamma.c: Likewise.
56688 * math/w_tgammaf.c: Likewise.
56689 * math/w_tgammal.c: Likewise.
56690 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56692 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56693 Minor optimizations. Pretty printing. Remove cruft.
56694 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56697 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56698 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56699 * sysdeps/i386/fpu/e_asin.S: Likewise.
56700 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56701 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56702 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56703 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56704 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56705 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56706 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56707 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56708 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56709 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56710 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56711 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56712 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56713 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56714 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56715 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56716 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56717 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56718 * sysdeps/i386/fpu/e_log.S: Likewise.
56719 * sysdeps/i386/fpu/e_log10.S: Likewise.
56720 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56721 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56722 * sysdeps/i386/fpu/e_log2.S: Likewise.
56723 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56725 * sysdeps/i386/fpu/e_logf.S: Likewise.
56726 * sysdeps/i386/fpu/e_logl.S: Likewise.
56727 * sysdeps/i386/fpu/e_pow.S: Likewise.
56728 * sysdeps/i386/fpu/e_powf.S: Likewise.
56729 * sysdeps/i386/fpu/e_powl.S: Likewise.
56730 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56731 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56732 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56733 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56735 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56736 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56737 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56738 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56739 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56742 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56743 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56744 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56745 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56746 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56747 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56748 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56749 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56750 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56753 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56755 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56756 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56757 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56759 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56760 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56761 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56763 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56764 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56765 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56766 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56767 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56768 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56770 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56771 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56773 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56774 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56775 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56776 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56777 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56778 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56779 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56780 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56781 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56782 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56784 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56785 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56786 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56787 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56788 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56789 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56790 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56791 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56792 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56794 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56795 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56796 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56797 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56798 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56799 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56801 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56803 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56804 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56805 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56807 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56809 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56810 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56813 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56815 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56820 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56822 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56823 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56824 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56825 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56826 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56827 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56828 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56829 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56830 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56832 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56833 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56834 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56835 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56836 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56837 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56838 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56839 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56840 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56841 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56842 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56844 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56845 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56846 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56847 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56848 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56849 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56850 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56851 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56852 (__isnanf): Likewise.
56853 (__isinf_ns): Likewise.
56854 (__isinf_nsf): Likewise.
56855 (__finite): Likewise.
56856 (__finitef): Likewise.
56857 (__ieee754_sqrt): Define as macro.
56858 (__ieee754_sqrtf): Define as macro.
56859 (__ieee754_sqrtl): Define as macro.
56860 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56862 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56863 __FINITE_MATH_ONLY__ consistent.
56864 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56866 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56868 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56871 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56873 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56875 * po/ja.po: Update from translation team.
56877 2011-10-08 Roland McGrath <roland@hack.frob.com>
56879 * locale/programs/locarchive.c (prepare_address_space): New function.
56880 (create_archive, enlarge_archive, open_archive): Use it.
56882 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56883 inside [SHARED], where it is used.
56885 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56887 * nss/getent.c (netgroup_keys): Remove unused variable.
56888 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56890 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56892 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56893 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56895 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56896 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56897 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56898 * math/Makefile (libm-calls): Add s_isinf_ns.
56899 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56900 * math/multc3.c: Likewise.
56901 * math/s_casin.c: Likewise.
56902 * math/s_casinf.c: Likewise.
56903 * math/s_casinl.c: Likewise.
56904 * math/s_ccos.c: Likewise.
56905 * math/s_ccosf.c: Likewise.
56906 * math/s_ccosl.c: Likewise.
56907 * math/s_ctan.c: Likewise.
56908 * math/s_ctanf.c: Likewise.
56909 * math/s_ctanh.c: Likewise.
56910 * math/s_ctanhf.c: Likewise.
56911 * math/s_ctanhl.c: Likewise.
56912 * math/s_ctanl.c: Likewise.
56913 * math/w_fmod.c: Likewise.
56914 * math/w_fmodf.c: Likewise.
56915 * math/w_fmodl.c: Likewise.
56916 * math/w_remainder.c: Likewise.
56917 * math/w_remainderf.c: Likewise.
56918 * math/w_remainderl.c: Likewise.
56919 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56920 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56921 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56923 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56924 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56925 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56926 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56928 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56930 * stdio-common/printf_fphex.c: Likewise.
56931 * stdio-common/printf_size.c: Likewise.
56933 * math/e_exp10.c: Include math_private.h using <...> not "...".
56934 * math/e_exp10f.c: Likewise.
56935 * math/e_exp10l.c: Likewise.
56936 * math/e_exp2l.c: Likewise.
56937 * math/e_j0l.c: Likewise.
56938 * math/e_j1l.c: Likewise.
56939 * math/e_jnl.c: Likewise.
56940 * math/e_lgammal_r.c: Likewise.
56941 * math/e_rem_pio2l.c: Likewise.
56942 * math/e_scalb.c: Likewise.
56943 * math/e_scalbf.c: Likewise.
56944 * math/e_scalbl.c: Likewise.
56945 * math/k_cosl.c: Likewise.
56946 * math/k_sinl.c: Likewise.
56947 * math/k_tanl.c: Likewise.
56948 * math/s_cacoshf.c: Likewise.
56949 * math/s_catan.c: Likewise.
56950 * math/s_catanf.c: Likewise.
56951 * math/s_catanh.c: Likewise.
56952 * math/s_catanhf.c: Likewise.
56953 * math/s_catanhl.c: Likewise.
56954 * math/s_catanl.c: Likewise.
56955 * math/s_ccosh.c: Likewise.
56956 * math/s_ccoshf.c: Likewise.
56957 * math/s_ccoshl.c: Likewise.
56958 * math/s_cexp.c: Likewise.
56959 * math/s_cexpf.c: Likewise.
56960 * math/s_cexpl.c: Likewise.
56961 * math/s_clog.c: Likewise.
56962 * math/s_clog10.c: Likewise.
56963 * math/s_clog10f.c: Likewise.
56964 * math/s_clog10l.c: Likewise.
56965 * math/s_clogf.c: Likewise.
56966 * math/s_clogl.c: Likewise.
56967 * math/s_csin.c: Likewise.
56968 * math/s_csinf.c: Likewise.
56969 * math/s_csinh.c: Likewise.
56970 * math/s_csinhf.c: Likewise.
56971 * math/s_csinhl.c: Likewise.
56972 * math/s_csinl.c: Likewise.
56973 * math/s_csqrt.c: Likewise.
56974 * math/s_csqrtf.c: Likewise.
56975 * math/s_csqrtl.c: Likewise.
56976 * math/s_ctan.c: Likewise.
56977 * math/s_ctanf.c: Likewise.
56978 * math/s_ctanh.c: Likewise.
56979 * math/s_ctanhf.c: Likewise.
56980 * math/s_ctanhl.c: Likewise.
56981 * math/s_ctanl.c: Likewise.
56982 * math/s_ldexp.c: Likewise.
56983 * math/s_ldexpf.c: Likewise.
56984 * math/s_ldexpl.c: Likewise.
56985 * math/s_significand.c: Likewise.
56986 * math/s_significandf.c: Likewise.
56987 * math/s_significandl.c: Likewise.
56988 * math/w_acos.c: Likewise.
56989 * math/w_acosf.c: Likewise.
56990 * math/w_acosh.c: Likewise.
56991 * math/w_acoshf.c: Likewise.
56992 * math/w_acoshl.c: Likewise.
56993 * math/w_acosl.c: Likewise.
56994 * math/w_asin.c: Likewise.
56995 * math/w_asinf.c: Likewise.
56996 * math/w_asinl.c: Likewise.
56997 * math/w_atan2.c: Likewise.
56998 * math/w_atan2f.c: Likewise.
56999 * math/w_atan2l.c: Likewise.
57000 * math/w_atanh.c: Likewise.
57001 * math/w_atanhf.c: Likewise.
57002 * math/w_atanhl.c: Likewise.
57003 * math/w_cosh.c: Likewise.
57004 * math/w_coshf.c: Likewise.
57005 * math/w_coshl.c: Likewise.
57006 * math/w_dremf.c: Likewise.
57007 * math/w_exp10.c: Likewise.
57008 * math/w_exp10f.c: Likewise.
57009 * math/w_exp10l.c: Likewise.
57010 * math/w_exp2.c: Likewise.
57011 * math/w_exp2f.c: Likewise.
57012 * math/w_fmod.c: Likewise.
57013 * math/w_fmodf.c: Likewise.
57014 * math/w_fmodl.c: Likewise.
57015 * math/w_hypot.c: Likewise.
57016 * math/w_hypotf.c: Likewise.
57017 * math/w_hypotl.c: Likewise.
57018 * math/w_j0.c: Likewise.
57019 * math/w_j0f.c: Likewise.
57020 * math/w_j0l.c: Likewise.
57021 * math/w_j1.c: Likewise.
57022 * math/w_j1f.c: Likewise.
57023 * math/w_j1l.c: Likewise.
57024 * math/w_jn.c: Likewise.
57025 * math/w_jnf.c: Likewise.
57026 * math/w_jnl.c: Likewise.
57027 * math/w_lgamma.c: Likewise.
57028 * math/w_lgamma_r.c: Likewise.
57029 * math/w_lgammaf.c: Likewise.
57030 * math/w_lgammaf_r.c: Likewise.
57031 * math/w_lgammal.c: Likewise.
57032 * math/w_lgammal_r.c: Likewise.
57033 * math/w_log.c: Likewise.
57034 * math/w_log10.c: Likewise.
57035 * math/w_log10f.c: Likewise.
57036 * math/w_log10l.c: Likewise.
57037 * math/w_log2.c: Likewise.
57038 * math/w_log2f.c: Likewise.
57039 * math/w_log2l.c: Likewise.
57040 * math/w_logf.c: Likewise.
57041 * math/w_logl.c: Likewise.
57042 * math/w_pow.c: Likewise.
57043 * math/w_powf.c: Likewise.
57044 * math/w_powl.c: Likewise.
57045 * math/w_remainder.c: Likewise.
57046 * math/w_remainderf.c: Likewise.
57047 * math/w_remainderl.c: Likewise.
57048 * math/w_scalb.c: Likewise.
57049 * math/w_scalbf.c: Likewise.
57050 * math/w_scalbl.c: Likewise.
57051 * math/w_sinh.c: Likewise.
57052 * math/w_sinhf.c: Likewise.
57053 * math/w_sinhl.c: Likewise.
57054 * math/w_sqrt.c: Likewise.
57055 * math/w_sqrtf.c: Likewise.
57056 * math/w_sqrtl.c: Likewise.
57057 * math/w_tgamma.c: Likewise.
57058 * math/w_tgammaf.c: Likewise.
57059 * math/w_tgammal.c: Likewise.
57061 * po/ja.po: Update from translation team.
57063 2011-09-29 Andreas Jaeger <aj@suse.de>
57066 * sunrpc/netname.c (netname2host): Fix logic.
57070 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57072 * math/w_remainder.c (__remainder): Likewise.
57073 * math/w_remainderf.c (__remainderf): Likewise.
57074 * math/libm-test.inc (remainder_test): Add test cases.
57076 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57078 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57081 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57083 * string/test-memcmp.c: Avoid unncessary #defines.
57084 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57086 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57088 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57089 Use new sse2 version for core i3 - i7 as it's faster
57090 than sse42 version.
57091 (bit_Prefer_PMINUB_for_stringop): New.
57092 * sysdeps/x86_64/rawmemchr.S: Update.
57093 Replace with faster SSE2 version.
57094 * sysdeps/x86_64/memrchr.S: New file.
57095 * sysdeps/x86_64/memchr.S: Update.
57096 Replace with faster SSE2 version.
57098 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57100 * elf/dl-load.c (lose): Add cast to avoid warning.
57102 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57104 * po/ca.po: Update from translation team.
57106 * inet/getnetgrent_r.c: Hook up nscd.
57107 * nscd/Makefile (routines): Add nscd_netgroup.
57108 (nscd-modules): Add netgroupcache.
57109 (CFLAGS-netgroupcache.c): Define.
57110 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57111 (cache_search): Add const to second parameter.
57112 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57114 (dbs): Add netgrdb entry.
57115 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57116 (verify_persistent_db): Handle netgrdb.
57117 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57118 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57120 (netgroup_response_header): Define.
57121 (innetgroup_response_header): Define.
57122 (datahead): Add netgroup_response_header and innetgroup_response_header
57124 * nscd/nscd.conf: Add entries for netgroup cache.
57125 * nscd/nscd.h (dbtype): Add netgrdb.
57126 (_PATH_NSCD_NETGROUP_DB): Define.
57127 (netgroup_iov_disabled): Declare.
57128 (xmalloc, xcalloc, xrealloc): Move declarations here.
57129 (cache_search): Adjust prototype.
57130 Add netgroup-related prototypes.
57131 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57132 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57133 (__nscd_innetgr): Declare.
57134 * nscd/selinux.c (perms): Use access_vector_t as element type and
57135 add netgroup-related initializers.
57136 * nscd/netgroupcache.c: New file.
57137 * nscd/nscd_netgroup.c: New file.
57138 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57139 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57140 For four parameters use innetgr.
57141 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57142 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57143 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57144 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57146 * nscd/connections.c (register_traced_file): Don't register file
57147 for disabled databases.
57149 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57151 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57153 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57154 from tree and freeing node.
57156 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57158 * nss/nsswitch.c (__nss_database_lookup): Handle
57159 nss_parse_service_list out of memory case.
57161 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57163 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57164 out of memory case.
57166 2011-10-04 Andreas Schwab <schwab@redhat.com>
57168 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57169 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57171 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57172 elf_machine_rela, elf_machine_lazy_rel.
57173 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57174 (ELF_DYNAMIC_DO_REL): Likewise.
57175 (ELF_DYNAMIC_DO_RELA): Likewise.
57176 (ELF_DYNAMIC_RELOCATE): Likewise.
57177 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57178 to ELF_DYNAMIC_DO_REL.
57179 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57180 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57181 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57183 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57184 skip_ifunc, don't call ifunc function if non-zero.
57185 (elf_machine_rela): Likewise.
57186 (elf_machine_lazy_rel): Likewise.
57187 (elf_machine_lazy_rela): Likewise.
57188 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57189 (elf_machine_lazy_rel): Likewise.
57190 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57192 (elf_machine_lazy_rel): Likewise.
57193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57195 (elf_machine_lazy_rel): Likewise.
57196 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57197 (elf_machine_lazy_rel): Likewise.
57198 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57199 (elf_machine_lazy_rel): Likewise.
57200 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57201 (elf_machine_lazy_rel): Likewise.
57202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57203 (elf_machine_lazy_rel): Likewise.
57204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57205 (elf_machine_lazy_rel): Likewise.
57206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57207 (elf_machine_lazy_rel): Likewise.
57209 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57211 * nss/nss_files/files-init.c (_nss_files_init): Use static
57212 initialization for all the *_traced_file variables.
57214 2011-09-28 Andreas Schwab <schwab@redhat.com>
57216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57218 2011-09-27 Roland McGrath <roland@hack.frob.com>
57221 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57223 2011-09-27 Andreas Schwab <schwab@redhat.com>
57225 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57226 Reread the line before reparsing it.
57228 2011-09-26 Andreas Schwab <schwab@redhat.com>
57230 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57232 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57233 Maxim Kuvyrkov <maxim@codesourcery.com>
57234 Joseph Myers <joseph@codesourcery.com>
57236 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57237 if needed for __stack_chk_guard.
57239 2011-09-19 Roland McGrath <roland@hack.frob.com>
57241 * sysdeps/posix/spawni.c (script_execute): Always define it.
57242 It will be optimized away if unused.
57243 (maybe_script_execute): New function.
57244 (__spawni): Call it.
57246 * Makerules: Don't include tls.make.
57247 (config-tls): Always set to thread.
57248 * tls.make.c: File removed.
57250 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57252 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57253 * config.make.in (CPPFLAGS-config): New substituted variable.
57255 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57257 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57260 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57261 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57263 2011-09-15 Roland McGrath <roland@hack.frob.com>
57265 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57266 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57268 (CALL_FAIL): Likewise.
57269 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57270 (CALL_FAIL): Macro removed.
57271 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57273 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57275 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57276 for __FINITE_MATH_ONLY__ == 1.
57278 2011-09-15 Andreas Schwab <schwab@redhat.com>
57280 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57281 __ieee754_sqrt instead of sqrt.
57282 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57283 __ieee754_sqrtf instead of sqrtf.
57284 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57285 __floorf instead of floorf.
57286 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57287 __floorf, __truncf instead of floorf, truncf.
57289 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57291 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57293 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57294 __extern_always_inline.
57295 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57298 2011-09-14 Andreas Schwab <schwab@redhat.com>
57300 * elf/rtld.c (dl_main): Also relocate in dependency order when
57301 doing symbol dependency testing.
57303 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57306 Always define `refsym'.
57308 2011-09-13 Andreas Schwab <schwab@redhat.com>
57310 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57311 (__FD_ELT): Renamed from __FDELT.
57312 * misc/bits/select2.h (__FD_ELT): Likewise.
57313 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57314 __FD_MASK instead of __FDELT, __FDMASK.
57315 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57317 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57320 * elf/Makefile (gen-ldd): Fix pattern.
57322 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57323 (init_tls): Likewise.
57325 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57329 2011-09-12 Andreas Schwab <schwab@redhat.com>
57331 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57332 `struct cmsghdr *' instead of `void *'.
57333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57336 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57338 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57340 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57341 ldd_rewrite_script.
57343 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57345 * configure.in: Remove --with-tls option.
57346 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57347 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57348 out in case it is missing.
57349 * sysdeps/ia64/elf/configure.in: Likewise.
57350 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57351 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57352 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57353 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57354 * sysdeps/sh/elf/configure.in: Likewise.
57355 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57356 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57357 * sysdeps/x86_64/elf/configure.in: Likewise.
57358 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57359 * sysdeps/mach/hurd/tls.h: Likewise.
57362 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57365 * configure.in: Fix use of AC_INIT.
57367 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57369 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57371 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57373 * malloc/hooks.c: Likewise.
57376 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57377 variables statically.
57378 (narenas): Initialize.
57379 (list_lock): Initialize.
57380 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57381 initializtion of main_arena and list_lock. Small cleanups.
57382 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57383 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57384 Add initializers to main_arena and mp_.
57385 (malloc_state): Remove pagesize member. Change all users to use
57388 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57389 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57390 is always initialized.
57392 * malloc/malloc.c: Removed unused configurations and dead code.
57393 * malloc/arena.c: Likewise.
57394 * malloc/hooks.c: Likewise.
57395 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57397 * include/tls.h: Removed. USE___THREAD must always be defined.
57398 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57399 * elf/dl-libc.c: Likewise.
57400 * elf/dl-tsd.c: Likewise.
57401 * include/errno.h: Likewise.
57402 * include/netdb.h: Likewise.
57403 * include/resolv.h: Likewise.
57404 * inet/herrno-loc.c: Likewise.
57405 * inet/herrno.c: Likewise.
57406 * malloc/arena.c: Likewise.
57407 * malloc/hooks.c: Likewise.
57408 * malloc/malloc.c: Likewise.
57409 * resolv/res-state.c: Likewise.
57410 * resolv/res_libc.c: Likewise.
57411 * sysdeps/i386/dl-machine.h: Likewise.
57412 * sysdeps/ia64/dl-machine.h: Likewise.
57413 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57414 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57415 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57416 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57417 * sysdeps/sh/dl-machine.h: Likewise.
57418 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57419 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57420 * sysdeps/unix/i386/sysdep.S: Likewise.
57421 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57422 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57423 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57424 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57427 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57432 * sysdeps/x86_64/dl-machine.h: Likewise.
57433 * tls.make.c: Likewise.
57435 * configure.in: Remove --with-__thread option. Make tests for
57436 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57437 tls_model attribute fail if no support is available. Remove
57439 * Makeconfig: Adjust for dropped configure option. All features are
57441 * Makerules: Likewise.
57442 * Versions.def: Likewise.
57443 * argp/argp-fmtstream.c: Likewise.
57444 * argp/argp-fmtstream.h: Likewise.
57445 * argp/argp-help.c: Likewise.
57446 * assert/assert.c: Likewise.
57447 * config.h.in: Likewise.
57448 * config.make.in: Likewise.
57449 * configure: Likewise.
57450 * configure.in: Likewise.
57451 * csu/Versions: Likewise.
57452 * csu/init.c: Likewise.
57453 * elf/tst-audit2.c: Likewise.
57454 * elf/tst-tls10.c: Likewise.
57455 * elf/tst-tls10.h: Likewise.
57456 * elf/tst-tls11.c: Likewise.
57457 * elf/tst-tls12.c: Likewise.
57458 * elf/tst-tls14.c: Likewise.
57459 * elf/tst-tlsmod11.c: Likewise.
57460 * elf/tst-tlsmod12.c: Likewise.
57461 * elf/tst-tlsmod13.c: Likewise.
57462 * elf/tst-tlsmod13a.c: Likewise.
57463 * elf/tst-tlsmod14a.c: Likewise.
57464 * elf/tst-tlsmod15b.c: Likewise.
57465 * elf/tst-tlsmod16a.c: Likewise.
57466 * elf/tst-tlsmod16b.c: Likewise.
57467 * elf/tst-tlsmod7.c: Likewise.
57468 * elf/tst-tlsmod8.c: Likewise.
57469 * elf/tst-tlsmod9.c: Likewise.
57470 * gmon/gmon.c: Likewise.
57471 * grp/fgetgrent_r.c: Likewise.
57472 * grp/putgrent.c: Likewise.
57473 * hurd/fopenport.c: Likewise.
57474 * include/libc-symbols.h: Likewise.
57475 * include/tls.h: Likewise.
57476 * intl/gettextP.h: Likewise.
57477 * intl/loadinfo.h: Likewise.
57478 * locale/global-locale.c: Likewise.
57479 * locale/localeinfo.h: Likewise.
57480 * mach/devstream.c: Likewise.
57481 * malloc/arena.c: Likewise.
57482 * malloc/set-freeres.c: Likewise.
57483 * misc/err.c: Likewise.
57484 * misc/getttyent.c: Likewise.
57485 * misc/mntent_r.c: Likewise.
57486 * posix/getopt.c: Likewise.
57487 * posix/wordexp.c: Likewise.
57488 * pwd/fgetpwent_r.c: Likewise.
57489 * resolv/Versions: Likewise.
57490 * resolv/res_hconf.c: Likewise.
57491 * shadow/fgetspent_r.c: Likewise.
57492 * shadow/putspent.c: Likewise.
57493 * stdio-common/printf_fphex.c: Likewise.
57494 * stdio-common/tmpfile.c: Likewise.
57495 * stdlib/abort.c: Likewise.
57496 * stdlib/fmtmsg.c: Likewise.
57497 * sunrpc/auth_unix.c: Likewise.
57498 * sunrpc/clnt_perr.c: Likewise.
57499 * sunrpc/clnt_tcp.c: Likewise.
57500 * sunrpc/clnt_udp.c: Likewise.
57501 * sunrpc/clnt_unix.c: Likewise.
57502 * sunrpc/openchild.c: Likewise.
57503 * sunrpc/svc_simple.c: Likewise.
57504 * sunrpc/svc_tcp.c: Likewise.
57505 * sunrpc/svc_udp.c: Likewise.
57506 * sunrpc/svc_unix.c: Likewise.
57507 * sunrpc/xdr.c: Likewise.
57508 * sunrpc/xdr_array.c: Likewise.
57509 * sunrpc/xdr_rec.c: Likewise.
57510 * sunrpc/xdr_ref.c: Likewise.
57511 * sunrpc/xdr_stdio.c: Likewise.
57513 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57515 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57517 2011-07-03 Andreas Jaeger <aj@suse.de>
57519 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57520 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57521 regenerate with gen-libm-tests.pl.
57523 2010-05-12 Petr Baudis <pasky@suse.cz>
57526 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57527 around j0() zero points by switching to j1().
57528 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57529 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57531 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57533 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57535 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57537 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57540 Patch in part by Pavel Roskin <proski@gnu.org>.
57543 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57545 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57546 Free memory block if necessary.
57549 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57550 be NULL. Don't lock in this case.
57552 2011-09-09 Roland McGrath <roland@hack.frob.com>
57554 * elf/elf.h (ELFOSABI_GNU): New macro.
57555 (ELFOSABI_LINUX): Define to that.
57557 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57559 * string/strncat.c (strncat): Undef the symbol in case it has been
57560 defined in bits/string.h.
57562 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57564 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57566 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57569 2011-08-17 Andreas Jaeger <aj@suse.de>
57571 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57573 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57574 Ian Lance Taylor <iant@google.com>
57576 * math/libm-test.inc (lround_test): New testcase.
57577 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57579 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57581 * Makefile: Remove support for automatic cvs check-ins.
57582 * Makerules: Likewise.
57583 * config.make.in: Likewise.
57584 * configure.in: Likewise.
57585 * intl/Makefile: Likewise.
57586 * locale/Makefile: Likewise.
57587 * po/Makefile: Likewise.
57588 * posix/Makefile: Likewise.
57589 * sysdeps/gnu/Makefile: Likewise.
57590 * sysdeps/mach/hurd/Makefile: Likewise.
57591 * sysdeps/sparc/sparc32/Makefile: Likewise.
57594 * posix/Makefile (bug-regex32-ENV): Define.
57595 Patch by John Stanley <jpsinthemix@verizon.net>.
57597 * misc/Makefile (headers): Add bits/select2.h.
57598 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57599 * misc/bits/select2.h: New file.
57600 * include/bits/select2.h: New file.
57601 * debug/Makefile (routines): Add fdelt_chk.
57602 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57603 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57605 * debug/fdelt_chk.c: New file.
57607 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57608 * wcsmbs/test-wmemcmp.c: Likewise.
57609 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57610 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57612 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57614 * string/Makefile (strop-tests): Add memcmp.
57615 * string/test-wmemcmp.c: New file.
57616 * string/test-memcmp.c: Add wmemcmp support.
57618 2011-09-08 Roland McGrath <roland@hack.frob.com>
57621 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57624 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57625 garbage value in a __mach_port_mod_refs call in the cases of the
57626 task-self and thread-self ports.
57628 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57630 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57632 2011-09-08 Andreas Schwab <schwab@redhat.com>
57634 * elf/dl-load.c (lose): Check for non-null L.
57636 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57638 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57640 * elf/dl-libc.c (dlerror_run): Pass back error code from
57644 * elf/dl-load.c (lose): Free l_origin if it is valid.
57646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57648 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57649 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57650 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57651 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57652 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57653 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57655 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57657 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57658 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57659 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57660 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57661 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57662 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57663 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57664 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57665 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57666 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57668 2011-08-15 Alan Modra <amodra@gmail.com>
57671 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57672 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57673 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57674 ppc_mcount to static-only-routines.
57675 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57677 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57678 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57680 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57682 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57683 for finite and infinity parameters.
57685 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57688 and add nop instructions for throughput optimization.
57689 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57691 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57693 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57694 aligned copy for power7 with vector-scalar instructions.
57695 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57697 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57702 2011-09-07 Andreas Schwab <schwab@redhat.com>
57705 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57708 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57710 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57711 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57712 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57713 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57716 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57719 Forgot to demangle the pointer.
57721 * sysdeps/i386/sysdep.h: Define atom_text_section.
57722 * sysdeps/x86_64/sysdep.h: Likewise.
57723 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57724 section with atom_text_section.
57725 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57726 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57727 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57729 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57731 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57732 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57733 already be defined. Change to take two parameters and don't assign
57734 result to variable. Adjust all users.
57735 Define INTERNAL_GETTIME if not already defined.
57736 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57739 HAVE_CLOCK_GETTIME_VSYSCALL.
57740 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57742 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57743 gettimeofday vsyscall, just use time.
57745 2011-09-06 Andreas Schwab <schwab@redhat.com>
57747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57750 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57752 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57756 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57757 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57758 syscall if possible.
57760 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57762 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57763 e_ident. Don't pass to find_mapsXX.
57764 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57766 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57769 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57770 * sysdeps/x86_64/multiarch/strchr.S: Update.
57771 Check bit_slow_BSF bit.
57772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57774 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57776 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57779 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57781 (tryshell): Define.
57782 (__spawni): Change last parameter to be flag. Test
57783 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57784 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57785 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57786 * posix/spawni.c: Likewise.
57787 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57788 * posix/spawnp.c: Likewise. Change normal version to use
57789 SPAWN_XFLAGS_USE_PATH.
57790 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57791 SPAWN_XFLAGS_TRY_SHELL.
57794 * posix/glob.h: Remove gcc 1.x support.
57797 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57799 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57802 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57804 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57805 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57806 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57808 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57809 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57811 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57813 * sysdeps/x86_64/wcscmp.S: New file.
57815 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57816 wcscmp-c wcscmp-sse2
57817 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57818 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57819 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57820 * wcsmbs/wcscmp.c: Allow renaming.
57822 2011-09-05 David S. Miller <davem@davemloft.net>
57824 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57825 stack slot, rather than the struct return pointer slot.
57826 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57827 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57829 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57831 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57833 * po/ja.po: Update from translation team.
57836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57837 kernel in 64-bit binaries.
57839 2011-09-01 David S. Miller <davem@davemloft.net>
57841 * elf/elf.h (HWCAP_SPARC_*): Move to..
57842 * sysdeps/sparc/sysdep.h: this new file and add new values.
57843 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57844 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57845 _DL_HWCAP_COUNT to 24.
57846 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57848 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57849 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57850 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57852 instead of magic constants.
57853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57855 2011-08-31 David S. Miller <davem@davemloft.net>
57857 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57859 Reimplement to do errno handling inline.
57860 (SYSCALL_ERROR_HANDLER): New macro.
57861 (__SYSCALL_STRING): Do not do errno handling in asm.
57862 (__CLONE_SYSCALL_STRING): Delete.
57863 (__INTERNAL_SYSCALL_STRING): Delete.
57864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57865 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57866 (PSEUDO): Reimplement to do errno handling inline.
57867 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57868 (SYSCALL_ERROR_HANDLER): New macro.
57869 (__SYSCALL_STRING): Do not do errno handling in asm.
57870 (__CLONE_SYSCALL_STRING): Delete.
57871 (__INTERNAL_SYSCALL_STRING): Delete.
57872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57873 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57875 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57876 (inline_syscall*): Add 'err' argument.
57877 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57878 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57879 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57880 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57882 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57883 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57885 2011-08-30 Andreas Schwab <schwab@redhat.com>
57887 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57889 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57891 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57894 2011-08-24 David S. Miller <davem@davemloft.net>
57896 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57898 2011-08-24 Andreas Schwab <schwab@redhat.com>
57900 * elf/Makefile: Add rules to build and run unload8 test.
57901 * elf/unload8.c: New file.
57902 * elf/unload8mod1.c: New file.
57903 * elf/unload8mod1x.c: New file.
57904 * elf/unload8mod2.c: New file.
57905 * elf/unload8mod3.c: New file.
57907 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57910 2011-08-23 David S. Miller <davem@davemloft.net>
57912 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57913 subtract stack bias.
57914 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57915 %sp not %fp in calculations.
57916 (_JMPBUF_UNWINDS_ADJ): Likewise.
57918 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57919 (aio_suspend): Call it to force an exception region around the
57920 AIO_MISC_WAIT() invocation.
57922 2011-08-23 Andreas Schwab <schwab@redhat.com>
57924 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57927 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57929 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57931 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57932 and <dl-machine.h>.
57933 (Elf64_FuncDesc): Remove.
57935 2011-08-22 David S. Miller <davem@davemloft.net>
57937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57938 sigaltstack check, add missing cfi directives.
57939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57940 missing cfi directives, and sigaltstack handling.
57942 2011-08-16 Andreas Schwab <schwab@redhat.com>
57945 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57946 object is seen twice.
57947 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57949 * elf/Makefile (distribute): Add tst-initorder2.c.
57950 (tests): Add tst-initorder2.
57951 (modules-names): Add tst-initorder2a tst-initorder2b
57952 tst-initorder2c tst-initorder2d. Add rules to build them.
57953 ($(objpfx)tst-initorder2.out): New rule.
57954 * elf/tst-initorder2.c: New file.
57955 * elf/tst-initorder2.exp: New file.
57957 2011-08-22 Andreas Schwab <schwab@redhat.com>
57959 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57961 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57962 dependencies back to end of function.
57964 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57965 $(elfobjdir)/ld.so.
57967 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57970 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57971 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57972 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57973 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57974 of __vdso_gettimeofday.
57975 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57976 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57978 (_libc_vdso_platform_setup): Remove initialization of
57979 __vdso_gettimeofday and __vdso_time.
57981 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57983 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57984 and fgetc_unlocked.
57985 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57988 * elf/dl-open.c (add_to_global): Report additions to the global scope
57989 for LD_DEBUG=scopes.
57990 (dl_open_worker): Also print scope of newly loaded dependencies.
57991 (_dl_show_scope): Indicate if there is no scope.
57994 * stdio-common/Makefile (tests): Add bug24.
57995 * stdio-common/bug24.c: New file.
57997 2011-08-19 Andreas Jaeger <aj@suse.de>
58000 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58001 non-existant file when using close-on-exec mode.
58003 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58006 the very first instruction.
58008 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58009 the CFI state in the end.
58010 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58011 inclusion of dl-trampoline.h.
58012 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58014 2011-08-19 Andreas Schwab <schwab@redhat.com>
58016 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58017 expectations for long double.
58019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58020 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58022 2011-08-14 David S. Miller <davem@davemloft.net>
58024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58025 artificual limit depends upon the system page size.
58027 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58029 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58030 * resolv/Makefile: Define CFLAGS-libresolv.
58032 2011-08-17 Andreas Schwab <schwab@redhat.com>
58034 * nss/makedb.c (compute_tables): Make variables used in nested
58037 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58039 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58040 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58041 if buffer was too small.
58043 * elf/pldd.c (main): Attach to all threads in the process.
58044 Rewrite /proc handling to use *at functions.
58046 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58048 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58049 specifies first scope to show.
58050 (dl_open_worker): Update callers. Move printing scope of new
58051 object to before the relocation.
58052 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58053 * sysdeps/generic/ldsodefs.h: Update declaration.
58055 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58056 string for the scope number.
58058 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58060 * nscd/servicescache.c (cache_addserv): Make sure written is always
58063 2011-08-14 Roland McGrath <roland@hack.frob.com>
58065 * sysdeps/i386/i486/bits/atomic.h
58066 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58067 statement expression, so as to suppress "set but not used" warning.
58068 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58070 * string/strncat.c (STRNCAT): Use prototype definition.
58072 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58073 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58075 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58076 (localedef-modules): Add localedef.
58077 (locale-modules): Add locale.
58079 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58080 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58081 to avoid a warning.
58083 2011-08-14 David S. Miller <davem@davemloft.net>
58085 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58086 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58088 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58090 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58091 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58092 * elf/rtld.c (dl_main): Set l_name of vDSO.
58093 Call _dl_show_scope when DL_DEBUG_SCOPES.
58094 (process_dl_debug): Recognize scopes flag and also set it for all.
58095 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58096 Declare _dl_show_scope.
58098 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58099 (do_dlopen): Pass caller_dlopen to dl_open.
58100 (__libc_dlopen_mode): Initialize caller_dlopen.
58102 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58103 of libc. Make tolower call locale-independent. Optimize a bit by
58104 using isdigit instead of isalnum.
58105 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58107 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58109 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58110 was a dependency or dynamically loaded.
58112 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58114 * intl/l10nflist.c: Allow architecture-specific pop function.
58115 * sysdeps/x86_64/l10nflist.c: New file.
58117 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58120 2011-08-10 Andreas Schwab <schwab@redhat.com>
58122 * include/dirent.h: Add libc_hidden_proto for scandirat and
58123 scandirat64. Don't declare __scandirat64.
58124 * dirent/scandirat.c: Add libc_hidden_def.
58125 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58126 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58128 2011-08-10 David S. Miller <davem@davemloft.net>
58130 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58136 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58138 * Versions.def [libc]: Add GLIBC_2.15.
58139 * dirent/Makefile (routines): Add scandirat and scandirat64.
58140 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58142 * dirent/dirent.h: Declare scandirat and scandirat64.
58143 * dirent/scandirat.c: New file.
58144 * dirent/scandirat64.c: New file.
58145 * sysdeps/wordsize-64/scandirat.c: New file.
58146 * sysdeps/wordsize-64/scandirat64.c: New file.
58147 * dirent/opendir.c: Define opendirat.
58148 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58150 * dirent/scandir64.c: Adjust for scandir.c change.
58151 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58152 __scandirat64, and __scandir_cancel_handler.
58153 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58154 additional parameter and use openat instead of open (outside of ld.so).
58155 Add new __opendir as wrapper around __opendirat.
58156 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58157 here without requiring old scandirat implementation.
58159 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58161 * dirent/scandir.c (cancel_handler): Renamed to
58162 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58163 defined. Adjust users.
58164 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58167 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58169 * string/test-string.h (IMPL): Use __STRING to expand name and then
58172 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58175 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58177 * string/Makefile: Update.
58178 (strop-tests): Append strncat.
58179 * string/test-wcscmp.c: New file.
58180 New comprehensive test for wcscmp.
58181 * string/test-strcmp.c: Update.
58182 (WIDE): New define.
58184 2011-07-22 Andreas Schwab <schwab@redhat.com>
58186 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58189 2011-07-26 Andreas Schwab <schwab@redhat.com>
58191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58192 encoding to ACE if AI_IDN.
58194 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58196 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58197 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58199 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58202 Fix overflow bug in strncat.
58203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58205 * string/test-strncat.c: Update.
58206 Add new tests for checking overflow bugs.
58208 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58211 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58212 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58213 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58215 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58216 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58217 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58218 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58221 (USE_AS_STRCAT): Define.
58222 Add strcat and strncat support.
58223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58225 2011-07-25 Andreas Schwab <schwab@redhat.com>
58227 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58228 __n bigger than INT_MAX+1.
58229 (__strncmp_g): Likewise.
58231 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58233 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58234 * libio/stido.h: Likewise.
58236 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58241 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58242 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58243 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58244 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58245 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58248 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58253 (_dl_x86_64_save_sse): Likewise.
58255 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58259 (_dl_x86_64_save_sse): Likewise.
58261 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58263 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58265 2011-07-21 Andreas Schwab <schwab@redhat.com>
58267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58269 (_dl_x86_64_save_sse): Use correct AVX check.
58271 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58273 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58274 bug in strncpy/strncat.
58275 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58277 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58279 * string/tester.c (test_strcat): Add tests for different alignments
58280 of source and destination.
58281 (test_strncat): Likewise.
58283 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58286 * posix/glob.c (glob): Check passed in values before using them in
58287 expressions to avoid some overflows.
58288 (glob_in_dir): Likewise.
58291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58292 check for AVX enablement so that we don't crash with old kernels and
58294 * elf/tst-audit4.c: Add same checks here.
58295 * elf/tst-audit6.c: Likewise.
58297 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58299 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58301 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58303 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58305 * po/cs.po: Update from translation team.
58306 * po/bg.po: Likewise.
58308 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58310 * misc/sys/cdefs.h: Add support for const attribute.
58311 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58312 to gnu_dev_{major,minor,makedev} functions.
58314 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58316 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58318 2011-07-20 Andreas Schwab <schwab@redhat.com>
58320 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58323 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58325 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58326 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58327 register in order to avoid conflicts with the soft frame pointer
58328 being held in r11 when necessary.
58329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58330 (INTERNAL_VSYSCALL_NCS): Likewise.
58332 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58334 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58335 * elf/dl-fini.c (_dl_fini): Adjust caller.
58336 * elf/dl-close.c (_dl_close_worker): Likewise.
58337 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58339 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58341 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58342 "aux_cache->nlibs < 0".
58344 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58345 in the reload-count case.
58347 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58350 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58351 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58352 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58353 * sysdeps/x86_64/multiarch/strcat.S: New file.
58354 * sysdeps/x86_64/multiarch/strncat.S: New file.
58355 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58357 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58358 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58360 (USE_AS_STRCAT): Define.
58361 Add strcat and strncat support.
58362 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58363 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58364 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58365 * string/strncat.c: Update.
58366 (USE_AS_STRNCAT): Define.
58367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58368 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58370 * sysdeps/x86_64/multiarch/init-arch.h
58371 (bit_Prefer_PMINUB_for_stringop): New.
58372 (index_Prefer_PMINUB_for_stringop): Likewise.
58373 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58374 bit_Prefer_PMINUB_for_stringop.
58376 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58378 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58380 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58381 of casting of buffer.
58382 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58383 buffer32 and buffer64.
58384 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58385 writes instead of casting of buffer.
58386 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58388 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58391 2011-07-19 Andreas Schwab <schwab@redhat.com>
58393 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58395 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58397 * nscd/nscd.c (termination_handler): Don't do anything for a database
58398 if it has not yet been initialized.
58400 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58402 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58404 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58406 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58408 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58410 * po/nl.po: Update from translation team.
58411 * po/sv.po: Likewise.
58413 2011-07-16 Roland McGrath <roland@hack.frob.com>
58415 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58416 now disallowed by GCC.
58418 * configure.in (use-default-link): Default to yes if a test -shared
58419 link meets our qualifications.
58420 * configure: Regenerated.
58422 * config.make.in (output-format): New variable.
58423 * configure.in: Check for ld --print-output-format support.
58424 * configure: Regenerated.
58425 * Makerules ($(common-objpfx)format.lds)
58426 [$(output-format) != unknown]: Just use $(output-format),
58427 instead of the linker-script munging.
58429 2011-07-14 Roland McGrath <roland@hack.frob.com>
58431 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58432 of $(common-objpfx)shlib.lds.
58433 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58435 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58436 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58438 * configure.in (-z relro check): Adjust test code to add a large
58439 writable data section after it.
58440 * configure: Regenerated.
58442 2011-07-11 Roland McGrath <roland@hack.frob.com>
58444 * configure.in (-z relro check): Fix test code to make the variable
58446 * configure: Regenerated.
58448 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58450 * nscd/nscd.h (struct traced_file): Define.
58451 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58452 elements. Add traced_files.
58453 (inotify_fd): Declare.
58454 (register_traced_file): Declare.
58455 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58456 (inotify_fd): Export.
58457 (resolv_conf_descr): Remove.
58458 (nscd_init): Move inotify descriptor creation to main.
58459 Don't register files for notification here.
58460 (register_traced_file): New function.
58461 (invalidate_cache): Don't use reset_res to determine whether to call
58462 res_init, go through the list of registered files.
58463 (main_loop_poll): The inotify descriptors are now stored in the
58464 structures for the traced files.
58465 (main_loop_epoll): Likewise
58466 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58467 to __nss_disable_nscd.
58468 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58469 for a database anymore. Check the records for all the registered
58471 * nss/Makefile (libnss_files-routines): Add files-init.
58472 (libnss_db-routines): Add db-init.
58473 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58474 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58475 * nss/nss_db/db-init.c: New file.
58476 * nss/nss_files/files-init.c: New file.
58477 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58478 __nss_lookup_function.
58479 (__nss_lookup_function): Call nss_load_library.
58480 (nss_load_all_libraries): New function.
58481 (__nss_disable_nscd): Take parameter with callback function for files
58482 to register. Set is_nscd. Load all the DSOs for the NSS modules
58483 used for the cached services.
58484 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58485 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58486 options for features to all the files in nscd.
58488 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58490 2011-07-10 Roland McGrath <roland@hack.frob.com>
58492 * csu/elf-init.c (__libc_csu_init): Comment typo.
58494 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58496 * po/pl.po: Update from translation team.
58497 * po/ja.po: Likewise.
58498 * po/ru.po: Likewise.
58499 * po/ko.po: Likewise.
58500 * po/fr.po: Likewise.
58502 2011-07-09 Roland McGrath <roland@hack.frob.com>
58504 * configure.in (.ctors/.dtors header and trailer check):
58505 Use an empirical test on a built program.
58506 * configure: Regenerated.
58508 * configure.in (-z relro check): Use an empirical test on a built DSO.
58509 Detect, but do not require, on ia64.
58510 * configure: Regenerated.
58512 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58513 Update tests that use readelf to use $READELF instead.
58514 * configure: Regenerated.
58516 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58518 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58519 if the result is not used.
58521 2011-07-05 Andreas Jaeger <aj@suse.de>
58524 * stdlib/tst-strtod.c: Add testcase.
58526 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58528 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58529 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58530 The latter has a higher limit. Take additional parameter to pass to
58532 (__pathconf): Pass file to __statfs_link_max.
58533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58535 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58539 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58540 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58543 (__statfs_filesize_max): Likewise.
58544 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58546 2011-07-05 Andreas Jaeger <aj@suse.de>
58548 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58550 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58552 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58554 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58557 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58559 * Makefile (strop-tests): Add strncat.
58560 * string/test-strncat.c: New file.
58562 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58564 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58566 2011-06-21 Andreas Jaeger <aj@suse.de>
58568 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58569 Copy rule from iconvdata/Makefile.
58571 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58574 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58575 but no long options are defined, just return 'W'.
58577 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58580 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58582 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58584 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58586 (innetgr): Likewise.
58588 2011-07-05 Roland McGrath <roland@hack.frob.com>
58590 * config.make.in (install_root): Default to $(DESTDIR).
58592 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58594 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58596 2011-07-02 Roland McGrath <roland@hack.frob.com>
58598 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58600 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58601 containing directory rather than embedding absolute directory names.
58603 * scripts/check-local-headers.sh: Rewritten using awk.
58604 Match by word, not by line. Print error messages for matches.
58605 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58607 * Makerules [shlib-lds-flags empty]:
58608 ($(common-objpfx)libc_pic.opts): New target.
58609 ($(common-objpfx)libc_pic.os.clean): New target.
58610 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58612 * config.make.in (OBJCOPY): New variable.
58613 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58614 * configure: Regenerated.
58616 * config.make.in (use-default-link): New variable.
58617 * configure.in (use_default_link): Grok --with-default-link to set it.
58618 * configure: Regenerated.
58619 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58620 (shlib-lds, shlib-lds-flags): Define to empty.
58622 * Makerules (shlib-lds): New variable.
58623 (shlib-lds-flags): New variable.
58624 (build-shlib, build-moduile, build-module-asneeded): Use it.
58625 ($(common-objpfx)libc.so): Use $(shlib-lds).
58626 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58627 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58629 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58630 DT_FLAGS/DT_FLAGS_1 with zero flags.
58632 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58633 linker script munging.
58635 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58637 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58639 * crypt/sha512.c (sha512_process_block): Perform total addition using
58640 128-bit if possible.
58641 (__sha512_finish_ctx): Likewise.
58642 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58644 * crypt/sha256.c (SWAP64): Define.
58645 (sha256_process_block): Perform total addition using 64-bit if
58647 (__sha256_finish_ctx): Likewise.
58649 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58651 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58653 * nscd/hstcache.c (cache_addhst): Likewise.
58654 * nscd/grpcache.c (cache_addgr): Likewise.
58655 * nscd/aicache.c (addhstaiX): Likewise
58656 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58658 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58660 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58662 * nscd/hstcache.c (cache_addhst): Likewise.
58663 * nscd/grpcache.c (cache_addgr): Likewise.
58664 * nscd/aicache.c (addhstaiX): Likewise
58666 2011-07-01 Andreas Schwab <schwab@redhat.com>
58668 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58669 domain only when needed.
58671 2011-06-30 Andreas Schwab <schwab@redhat.com>
58673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58674 is always restored.
58676 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58678 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58679 are re-adding the entry.
58680 * nscd/servicescache.c (cache_addserv): Likewise.
58682 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58684 * sysdeps/generic/dl-irel.h: fix protection against multiple
58686 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58688 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58691 * malloc/memusage.sh: Fix quoting in message.
58692 * debug/xtrace.sh: Likewise.
58694 * configure.in: Remove support for --experimental-malloc option, make
58696 * config.make.in: Likewise.
58697 * malloc/Makefile: Likewise.
58699 2011-06-27 Andreas Schwab <schwab@redhat.com>
58701 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58702 two-byte characters.
58704 2011-06-27 Roland McGrath <roland@hack.frob.com>
58706 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58707 AC_CACHE_CHECK invocation.
58708 * configure: Regenerated.
58710 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58712 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58715 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58716 bit from old_res_options.
58718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58720 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58721 value type for setfct.
58723 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58726 __gettimeofday instead of gettimeofday.
58728 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58730 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58732 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58734 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58739 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58742 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58743 strcpy-sse2-unaligned strncpy-sse2-unaligned
58744 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58745 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58746 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58747 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58748 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58751 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58752 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58753 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58754 (STRCPY): Support SSE2 and SSSE3 versions.
58756 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58759 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58760 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58761 kernels which artificially limit size of requests.
58763 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58766 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58767 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58768 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58769 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58770 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58771 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58772 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58775 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58776 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58777 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58778 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58779 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58781 Enable unaligned load optimization for Intel Core i3, i5 and i7
58783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58785 (index_Fast_Unaligned_Load): Define.
58786 (HAS_FAST_UNALIGNED_LOAD): Define.
58788 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58790 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58792 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58796 until it is clear that the information is realy needed.
58797 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58799 2011-06-22 Andreas Schwab <schwab@redhat.com>
58801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58803 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58806 /sys/devices/system/cpu/online if it is usable.
58808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58809 reading the information from the /proc filesystem to once a second.
58811 2011-06-21 Andreas Jaeger <aj@suse.de>
58813 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58814 NULL after inclusion of kernel headers.
58816 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58818 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58819 calls to internal_setent.
58822 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58823 addresses using gethostbyname4_r ignore IPv4 addresses.
58825 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58826 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58828 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58830 2011-06-20 David S. Miller <davem@davemloft.net>
58832 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58834 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58836 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58837 (elf_irel): Use it.
58838 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58839 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58840 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58841 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58842 * sysdeps/x86_64/dl-irel.h: Likewise.
58844 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58845 * elf/dl-sym.c: Likewise.
58847 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58849 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58850 need to dereference resplen2.
58852 2011-06-14 Andreas Schwab <schwab@redhat.com>
58854 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58856 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58858 * Makeconfig: Define vardbdir and inst_vardbdir.
58859 * nss/Makefile: Add rules to install db-Makefile.
58861 * nss/nss_db/db-XXX.c: Cleanup.
58863 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58864 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58866 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58867 * nss/makedb.c: Implement -g option to specify that value strings
58868 are generated and should not be added to table iterated over for
58870 * nss/nss_db/db-initgroups.c: New file.
58872 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58875 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58876 (internal_getgrouplist): Adjust to name change.
58877 Update use_initgroups_entry if this is not the first call.
58878 * nss/databases.def: Add initgroups entry.
58880 * nss/makedb.c (compute_tables): Check result of multiple hash table
58881 sizes to minimize maximum chain length.
58883 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58885 * Versions.def: Add entry for libnss_db.
58886 * shlib-versions: Likewise.
58887 * nss/Makefile: Add rules to build libnss_db.
58888 * nss/Versions: Add libnss_db information. Organize libnss_files
58890 * nss/db-Makefile: Add gshadow support. Change rules for the new
58891 makedb progra. Some minor improvements to generate smaller files.
58892 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58894 * nss/makedb.c: ...here.
58895 Improve database format to be smaller and require less memory at
58897 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58899 * nss/nss_db/db-netgrp.c: Likewise.
58900 * nss/nss_db/db-open.c: Likewise.
58901 * nss/nss_files/flies-XXX.x: Adjust comments.
58902 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58903 * nss/nss_files/files-grp.c: Likewise.
58904 * nss/nss_files/files-hosts.c: Likewise.
58905 * nss/nss_files/files-network.c: Likewise.
58906 * nss/nss_files/files-proto.c: Likewise.
58907 * nss/nss_files/files-pwd.c: Likewise.
58908 * nss/nss_files/files-rpc.c: Likewise.
58909 * nss/nss_files/files-service.c: Likewise.
58910 * nss/nss_files/files-sgrp.c: Likewise.
58911 * nss/nss_files/files-spwd.c: Likewise.
58912 * nss/nss_db/db-alias.c: Removed.
58913 * nss/nss_db/dummy-db.h: Removed.
58915 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58917 * nss/makedb.c: Rewritten to not use database library.
58918 * nss/Makefile: Update to build new makedb program.
58920 2011-06-14 Andreas Jaeger <aj@suse.de>
58922 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58923 memset declaration.
58925 2011-06-10 Andreas Schwab <schwab@redhat.com>
58927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58930 2011-06-10 Roland McGrath <roland@hack.frob.com>
58932 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58933 * elf/Makefile ($(objpfx)ld.so): Likewise.
58935 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58936 Don't list ld.so twice in dependencies.
58938 * posix/bug-regex31.c: Include <stdlib.h>.
58940 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58942 * nis/nss_compat/compat-spwd.c
58943 (getspent_next_nss_netgr): Remove unused variable.
58944 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58946 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58947 nonmembers" output to use the right array.
58949 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58951 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58953 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58954 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58955 * catgets/gencat.c (read_input_file): Likewise.
58956 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58958 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58959 variable definition inside #if's controlling its use.
58961 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58963 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58965 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58967 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58970 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58972 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58973 * configure: Regenerated.
58975 * Makerules: Revert last change.
58976 * elf/Makefile: Likewise.
58978 2011-06-09 Roland McGrath <roland@hack.frob.com>
58980 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58981 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58982 (reloc-link): Likewise.
58984 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58986 * elf/Makefile: Add rules to build pldd.
58987 * elf/pldd.c: New file.
58988 * elf/pldd-xx.c: New file.
58990 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58992 * version.h: Update for 2.15 development version.
58994 2011-06-07 David S. Miller <davem@davemloft.net>
58996 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58999 elf_machine_lazy_rel): Likewise.
59000 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59002 elf_machine_lazy_rel): Likewise.
59003 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59004 dl_hwcap via passed in argument.
59005 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59008 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59010 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59012 2011-06-06 Roland McGrath <roland@hack.frob.com>
59015 * manual/fdl-1.1.texi: New file, verbatim from:
59016 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59017 * manual/lgpl-2.1.texi: New file, verbatim from:
59018 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59019 * manual/Makefile (licenses): New variable, list those new file names.
59021 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59023 * manual/fdl.texi: File removed.
59024 * manual/lesser.texi: File removed.
59025 * manual/libc.texinfo (Copying, Documentation License):
59026 Use new @include file names, put @appendix directive before @include.
59028 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59031 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59032 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59033 (mq_open): Add __NTH.
59035 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59038 Assume Intel Core i3/i5/i7 processor if AVX is available.
59040 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59045 2011-05-31 Andreas Schwab <schwab@redhat.com>
59047 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59048 memory. Use alloca_account. Fix memory leak when retrying.
59050 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59052 * version.h (RELEASE): Bump for 2.14 release.
59053 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59055 * config.make.in (RANLIB): Remove entry.
59057 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59059 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59060 (libc.pot): Work around missing support for .ksh extension in xgettext.
59063 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59064 if both request failed.
59065 (send_dg): In case of server errors clear resplen or *resplen2.
59068 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59069 when there are multiple maps.
59070 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59071 (_dl_fini): Remove test here.
59073 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59075 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59078 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59079 bit from old_res_options.
59080 (gaih_inet): Likewise.
59083 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59086 * resolv/res_init.c (res_setoptions): Make the code more compact.
59089 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59093 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59095 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59098 * malloc/malloc.h: Declare malloc hook variables as volatile.
59100 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59104 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59105 raise in the comment.
59106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59108 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59110 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59113 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59114 grow the buffers more if it already has to be sufficient.
59115 (build_wcs_upper_buffer): Likewise.
59116 * posix/regexec.c (check_matching): Likewise.
59117 (clean_state_log_if_needed): Likewise.
59118 (extend_buffers): Don't enlarge buffers beyond size of the input
59120 Patches mostly by Emil Wojak <emil@wojak.eu>.
59121 * posix/bug-regex32.c: New file.
59122 * posix/Makefile (tests): Add bug-regex32.
59124 * locale/findlocale.c (_nl_find_locale): Return right away if
59125 _nl_explode_name failed.
59126 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59128 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59130 * debug/xtrace.sh: Unify messages.
59131 * malloc/memusage.sh: Likewise.
59134 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59135 time symbol from vDSO. Substitute with vsyscall if not available.
59136 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59139 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59140 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59141 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59142 Add sendmmsg and internal_sendmmsg.
59143 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59144 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59145 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59147 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59148 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59149 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59151 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59154 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59155 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59161 * iconvdata/Makefile (tests): Add bug-iconv9.
59162 * iconvdata/bug-iconv9.c: New file.
59164 2011-05-27 Andreas Schwab <schwab@redhat.com>
59167 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59169 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59172 (struct user_regs_struct): Change intcs field back to cs.
59174 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59176 * po/ja.po: Update from translation team.
59178 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59181 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59182 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59184 2011-05-20 Andreas Schwab <schwab@redhat.com>
59186 * stdlib/longlong.h: Update from GCC.
59188 2011-05-23 Andreas Schwab <schwab@redhat.com>
59190 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59192 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59193 Add parameter name.
59194 (__sysconf): Pass it down.
59196 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59199 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59201 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59202 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59203 add in in __libc_use_alloca calls. Adjust callers.
59204 (glob): Use malloc in some situations.
59206 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59207 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59210 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59212 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59213 and CLOCK_BOOTTIME_ALARM.
59216 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59219 * string/_strerror.c (__strerror_r): Print negative errors as signed
59223 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59224 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59225 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59227 * configure.in: Fix typo in redirection and correct removal of test
59228 files in two cases.
59231 * locale/setlocale.c (new_composite_name): Fix test to check for
59232 identical name of all categories.
59235 * libio/filedoalloc.c (local_isatty): New function.
59236 (_IO_file_doallocate): Use local_isatty.
59237 * stdio-common/perror.c (perror): In case a new stream is used
59238 forward the stream error.
59239 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59242 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59247 * include/alloca.h (extend_alloca_account): Define.
59250 * posix/regex.h: Fix comments with documentation of user-accessible
59251 fields after compilation and describe correct free'ing of pattern
59252 after re_compile_pattern.
59253 Patch by Reuben Thomas <rrt@sc3d.org>.
59255 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59257 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59258 and -mno-altivec to prevent the compiler from using Altivec and/or
59259 VSX instructions when the corresponding registers are not available.
59261 2011-05-19 Andreas Schwab <schwab@redhat.com>
59263 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59265 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59267 * libio/freopen.c (freopen): Use __dup2, not dup2.
59268 * libio/freopen64.c (freopen64): Likewise.
59270 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59273 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59274 * math/Makefile (tests): Add test-powl.
59275 (CFLAGS-test-powl.c): Define.
59276 * math/test-powl.c: New file.
59278 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59280 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59282 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59285 * iconvdata/gb18030.c: Update to GB18020-2005.
59287 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59289 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59290 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59291 Patch by Aharon Robbins <arnold@skeeve.com>.
59294 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59298 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59299 through underflows.
59302 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59303 point to strings before performing equality test for error_one_per_line
59307 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59310 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59311 (struct user_fpregs_struct): Avoid __uint*_t types.
59314 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59315 symbol info. Use it instead of calling _dl_addr locally.
59316 (lock_and_info): New function.
59317 (tr_freehook): Call lock_and_info and pass symbol info as additional
59318 parameter to tr_where.
59319 (tr_mallochook): Likewise.
59320 (tr_reallochook): Likewise.
59321 (tr_memalignhook): Likewise.
59323 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59324 used and couldn't be at all thread-safe.
59326 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59328 * libio/freopen.c (freopen): Don't close old file descriptor
59329 before the new one is opened. Instead dup the new file descriptor
59330 to the old one after the new stream is created.
59331 * libio/freopen64.c (freopen64): Likewise.
59332 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59333 * libio/fileops.c (_IO_new_file_close_it): Handle new
59334 _IO_FLAGS2_NOCLOSE flag.
59335 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59336 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59337 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59338 _IO_FLAGS2_NOCLOSE flag.
59339 * include/unistd.h: Add hidden_proto for dup3.
59340 Define __have_dup3.
59341 * io/dup3.c: Define hidden symbol.
59342 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59345 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59346 when an incomplete long option is used.
59347 * posix/tst-getopt_long1.c: New file.
59348 * posix/Makefile (tests): Add tst-getopt_long1.
59351 * scripts/config.guess: Update from autoconf-2.68.
59352 * scripts/config.sub: Likewise.
59355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59357 (has_cpuclock): ...this. New function.
59358 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59359 macro here based on has_cpuclock code.
59362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59363 First byte (not low byte) is now always NUL.
59364 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59367 Use non-cancelable interfaces.
59370 * locale/iso-639.def: Add entry for Sorani.
59373 * include/stdlib.h: Move include protection to the right place.
59374 Define abort_msg_s. Declare __abort_msg with it.
59375 * stdlib/abort.c (__abort_msg): Adjust type.
59376 * assert/assert.c (__assert_fail_base): New function. Majority
59377 of code from __assert_fail. Allocate memory for __abort_msg with
59379 (__assert_fail): Now call __assert_fail_base.
59380 * assert/assert-perr.c: Remove bulk of implementation. Use
59381 __assert_fail_base.
59382 * include/assert.hL Declare __assert_fail_base.
59383 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59385 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59387 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59391 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59392 until all modules are registered in the DTV.
59393 * elf/Makefile: Add rules to build and run tst-tls19.
59394 * elf/tst-tls19.c: New file.
59395 * elf/tst-tls19mod1.c: New file.
59396 * elf/tst-tls19mod2.c: New file.
59397 * elf/tst-tls19mod3.c: New file.
59398 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59401 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59405 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59406 two-byte sequence errors.
59407 * iconvdata/Makefile (tests): Add bug-iconv8.
59408 * iconvdata/bug-iconv8.c: New file.
59411 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59414 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59417 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59418 (dummy_getcfa): New function.
59419 (init): Get _Unwind_GetCFA address, use dummy if not found.
59420 (backtrace_helper): In recursion check, also check whether CFA changes.
59421 (__backtrace): Completely initialize arg.
59423 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59424 storing incomplete byte sequence in state object. Avoid testing for
59425 guaranteed too small input if we know there is enough data available.
59427 2011-05-11 Andreas Schwab <schwab@redhat.com>
59429 * Makeconfig (+link-pie): Indent.
59430 * Rules (binaries-pie): Define if $(have-fpie) and
59432 (binaries-shared): Also filter out $(binaries-pie).
59433 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59434 * nscd/Makefile (others-pie): Add nscd.
59435 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59436 ($(objpfx)nscd): Remove command override.
59437 * login/Makefile (others-pie): Add pt_chown.
59438 ($(objpfx)pt_chown): Remove command override.
59439 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59440 remove command overrides.
59442 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59444 * libio/tst_putwc.c: Fix error messages.
59447 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59448 currently writing and seek to current position when not.
59449 * libio/Makefile (tests): Add bug-fclose1.
59450 * libio/bug-fclose1.c: New file.
59452 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59455 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59456 don't set DF_1_NODELETE here.
59457 (do_lookup_x): When entering new entry test for copy relocation
59458 and if necessary set DF_1_NODELETE flag.
59459 * elf/tst-unique4.cc: New file.
59460 * elf/tst-unique4.h: New file.
59461 * elf/tst-unique4lib.cc: New file.
59462 * elf/Makefile: Add rules to build and run tst-unique4.
59463 Patch by Piotr Bury <pbury@goahead.com>.
59465 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59468 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59471 * misc/mntent_r.c (addmntent): Flush the stream after the output
59474 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59475 (is_trusted_path_normalize): Skip initial colon. Append slash
59476 to empty buffer. Duplicate is_trusted_path code but allow
59477 constructed patch to be prefix.
59478 (is_dst): Allow $ORIGIN followed by /.
59479 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59480 Correct testing of result of is_trusted_path_normalize
59481 (decompose_rpath): Fix warning.
59483 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59486 * grp/initgroups.c (internal_getgrouplist): When we found the service
59487 list through the initgroups entry in nsswitch.conf do not always
59488 continue on a successful lookup. Don't always use the
59489 __nss_group_database value if it is set.
59490 * nss/nsswitch.conf (initgroups): Change action for successful db
59491 lookup to continue for compatibility.
59493 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59496 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59498 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59500 * iconvdata/tst-tables.sh: Likewise.
59501 * iconvdata/cp770.c: New file.
59502 * iconvdata/cp771.c: New file.
59503 * iconvdata/cp772.c: New file.
59504 * iconvdata/cp773.c: New file.
59505 * iconvdata/cp774.c: New file.
59506 * iconvdata/testdata/CP770: New file.
59507 * iconvdata/testdata/CP770..UTF8: New file.
59508 * iconvdata/testdata/CP771: New file.
59509 * iconvdata/testdata/CP771..UTF8: New file.
59510 * iconvdata/testdata/CP772: New file.
59511 * iconvdata/testdata/CP772..UTF8: New file.
59512 * iconvdata/testdata/CP773: New file.
59513 * iconvdata/testdata/CP773..UTF8: New file.
59514 * iconvdata/testdata/CP774: New file.
59515 * iconvdata/testdata/CP774..UTF8: New file.
59517 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59519 * iconvdata/gen-8bit-gap.sh: Likewise.
59520 * iconvdata/gen-8bit.sh: Likewise.
59522 * locale/iso-639.def: Add ary entry.
59525 * locale/C-translit.h.in: Add U20A1 transliteration.
59528 * locale/iso-639.def: Add wae entry.
59529 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59532 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59536 * locale/C-translit.h.in: Add entry for U20B9.
59537 Patch by pravin.d.s@gmail.com.
59539 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59542 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59543 ENAMETOOLONG use generic getcwd.
59544 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59545 in rtld. Use *stat64.
59546 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59547 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59548 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59549 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59550 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59551 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59552 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59553 __fstatat64 macros.
59554 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59555 * dirent/rewinddir.c: Add libc_hidden_def.
59556 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59557 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59559 * include/dirent.h (__alloc_dir): Add flags parameter.
59560 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59561 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59563 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59564 from fdopendir if O_CLOEXEC is already set.
59566 2011-03-15 Alan Modra <amodra@gmail.com>
59568 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59569 l_tls_firstbyte_offset non-zero. Save padding offset in
59570 l_tls_firstbyte_offset for later use.
59571 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59572 freeing static tls block.
59574 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59576 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59577 where #ifdef was intended. The intent is to prevent ARG_MAX from
59578 being defined by the kernel headers.
59580 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59583 * resolv/resolv.h: Define RES_NOTLDQUERY.
59584 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59585 no-tld-query and set RES_NOTLDQUERY.
59586 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59587 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59588 modern BIND to search name as TLD unless forbidden.
59590 2011-05-07 Petr Baudis <pasky@suse.cz>
59591 Ulrich Drepper <drepper@gmail.com>
59594 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59595 (is_trusted_path): ...to here.
59596 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59597 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59598 using is_trusted_path_normalize() in setuid scripts.
59600 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59602 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59603 __BEGIN/__END_DECLS.
59605 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59608 NSS_STATUS_NOTFOUND if no record was found.
59610 2011-05-05 Andreas Schwab <schwab@redhat.com>
59612 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59613 (headers-not-in-tirpc): Remove rpc/netdb.h
59614 * resolv/netdb.h: Revert last change.
59616 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59618 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59619 circular dependency between libgcc.a and libc.a.
59621 2011-05-05 Andreas Schwab <schwab@redhat.com>
59623 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59624 * nis/Makefile: Don't install rpcsvc/*.
59625 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59626 instead of <rpc/types.h>.
59627 (MAXHOSTNAMELEN): Define.
59629 2011-05-03 Andreas Schwab <schwab@redhat.com>
59631 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59633 2011-04-28 Maciej Babinski <mbabinski@google.com>
59636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59637 gethostbyname4_r when IPv6 results are possible.
59639 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59642 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59643 _PC_PIPE_BUF handling.
59645 2011-04-30 Bruno Haible <bruno@clisp.org>
59648 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59649 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59651 * inet/getnameinfo.c (getnameinfo): Likewise.
59653 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59655 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59656 to groups setting in database lookup.
59657 * nss/nsswitch.conf: Add initgroups entry.
59659 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59662 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59664 Patch by Eric Blake <eblake@redhat.com>.
59666 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59668 * sunrpc/Makefile (need-export-routines): Add svc_run.
59669 (routines): Remove svc_run.
59670 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59671 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59672 * sunrpc/svc_run.c (svc_run): Likewise.
59673 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59675 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59678 problem in reallocation in last patch.
59680 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59682 * sunrpc/Makefile: Move inclusion of Rules.
59684 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59686 * nss/nss_files/files-initgroups.c: New file.
59687 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59688 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59689 _nss_files_initgroups_dyn.
59691 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59693 * elf/elf.h (R_ARM_IRELATIVE): Define.
59695 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59697 * po/ru.po: Update from translation team.
59699 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59701 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59704 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59707 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59708 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59709 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59710 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59711 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59713 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59715 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59717 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59721 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59724 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59726 * stdlib/bug-getcontext.c: New file.
59727 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59729 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59731 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59732 instructions into .machine "z9-109".
59733 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59734 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59736 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59738 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59739 between environment variables and auxiliary vector.
59741 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59743 * Makefile: Add rules to build linkobj/libc.so.
59744 * include/libc-symbols.h: Define libc_hidden_nolink.
59745 * include/rpc/auth.h: Mark functions which are to be hidden.
59746 * include/rpc/auth_des.h: Likewise.
59747 * include/rpc/auth_unix.h: Likewise.
59748 * include/rpc/clnt.h: Likewise.
59749 * include/rpc/des_crypt.h: Likewise.
59750 * include/rpc/key_prot.h: Likewise.
59751 * include/rpc/pmap_clnt.h: Likewise.
59752 * include/rpc/pmap_prot.h: Likewise.
59753 * include/rpc/pmap_rmt.h: Likewise.
59754 * include/rpc/rpc_msg.h: Likewise.
59755 * include/rpc/svc.h: Likewise.
59756 * include/rpc/svc_auth.h: Likewise.
59757 * include/rpc/xdr.h: Likewise.
59758 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59759 * nss/Makefile: Likewise.
59760 * sunrpc/Makefile: Don't install headers. Build library with normal
59761 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59762 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59763 for the compat linking library. Remove use of INTDEF/INTUSE.
59764 * sunrpc/auth_none.c: Likewise.
59765 * sunrpc/auth_unix.c: Likewise.
59766 * sunrpc/authdes_prot.c: Likewise.
59767 * sunrpc/authuxprot.c: Likewise.
59768 * sunrpc/clnt_gen.c: Likewise.
59769 * sunrpc/clnt_perr.c: Likewise.
59770 * sunrpc/clnt_raw.c: Likewise.
59771 * sunrpc/clnt_simp.c: Likewise.
59772 * sunrpc/clnt_tcp.c: Likewise.
59773 * sunrpc/clnt_udp.c: Likewise.
59774 * sunrpc/clnt_unix.c: Likewise.
59775 * sunrpc/des_crypt.c: Likewise.
59776 * sunrpc/des_soft.c: Likewise.
59777 * sunrpc/get_myaddr.c: Likewise.
59778 * sunrpc/key_call.c: Likewise.
59779 * sunrpc/key_prot.c: Likewise.
59780 * sunrpc/netname.c: Likewise.
59781 * sunrpc/pm_getmaps.c: Likewise.
59782 * sunrpc/pm_getport.c: Likewise.
59783 * sunrpc/pmap_clnt.c: Likewise.
59784 * sunrpc/pmap_prot.c: Likewise.
59785 * sunrpc/pmap_prot2.c: Likewise.
59786 * sunrpc/pmap_rmt.c: Likewise.
59787 * sunrpc/publickey.c: Likewise.
59788 * sunrpc/rpc_cmsg.c: Likewise.
59789 * sunrpc/rpc_common.c: Likewise.
59790 * sunrpc/rpc_dtable.c: Likewise.
59791 * sunrpc/rpc_prot.c: Likewise.
59792 * sunrpc/rpc_thread.c: Likewise.
59793 * sunrpc/rtime.c: Likewise.
59794 * sunrpc/svc.c: Likewise.
59795 * sunrpc/svc_auth.c: Likewise.
59796 * sunrpc/svc_authux.c: Likewise.
59797 * sunrpc/svc_raw.c: Likewise.
59798 * sunrpc/svc_run.c: Likewise.
59799 * sunrpc/svc_simple.c: Likewise.
59800 * sunrpc/svc_tcp.c: Likewise.
59801 * sunrpc/svc_udp.c: Likewise.
59802 * sunrpc/svc_unix.c: Likewise.
59803 * sunrpc/svcauth_des.c: Likewise.
59804 * sunrpc/xcrypt.c: Likewise.
59805 * sunrpc/xdr.c: Likewise.
59806 * sunrpc/xdr_array.c: Likewise.
59807 * sunrpc/xdr_float.c: Likewise.
59808 * sunrpc/xdr_intXX_t.c: Likewise.
59809 * sunrpc/xdr_mem.c: Likewise.
59810 * sunrpc/xdr_rec.c: Likewise.
59811 * sunrpc/xdr_ref.c: Likewise.
59812 * sunrpc/xdr_sizeof.c: Likewise.
59813 * sunrpc/xdr_stdio.c: Likewise.
59815 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59818 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59819 * sysdeps/ia64/dl-tls.h: Likewise.
59820 * sysdeps/powerpc/dl-tls.h: Likewise.
59821 * sysdeps/s390/dl-tls.h: Likewise.
59822 * sysdeps/sh/dl-tls.h: Likewise.
59823 * sysdeps/sparc/dl-tls.h: Likewise.
59824 * sysdeps/x86_64/dl-tls.h: Likewise.
59825 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59827 2011-03-14 Andreas Schwab <schwab@redhat.com>
59829 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59830 rpath element also skip the following colon.
59831 (expand_dynamic_string_token): Add is_path parameter and pass
59832 down to DL_DST_REQUIRED and _dl_dst_substitute.
59833 (decompose_rpath): Call expand_dynamic_string_token with
59834 non-zero is_path. Ignore empty rpaths.
59835 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59838 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59843 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59846 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59847 Patch by Filipe David Manana <fdmanana@apache.org>.
59849 2011-04-07 Andreas Schwab <schwab@redhat.com>
59851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59852 Maintain aligned stack.
59853 (CHECK_RSP): Remove unused macro.
59855 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59857 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59860 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59862 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59864 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59866 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59869 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59870 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59871 * sysdeps/x86_64/memmove.c: New file.
59872 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59873 (memcpy): Renamed to ...
59874 (__new_memcpy): This.
59875 (memcpy): Provide GLIBC_2_14 memcpy.
59876 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59877 (memcpy): Provide GLIBC_2_2_5 memcpy.
59879 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59882 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59884 2011-03-30 Andreas Schwab <schwab@redhat.com>
59886 * misc/syncfs.c: New file.
59887 * misc/Makefile (routines): Add syncfs.
59888 * posix/unistd.h: Declare syncfs.
59889 * sysdeps/unix/syscalls.list: Add syncfs.
59891 2011-04-01 Andreas Schwab <schwab@redhat.com>
59893 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59896 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59898 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59900 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59901 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59903 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59907 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59909 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59913 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59914 sync_file_range.c with -fexceptions.
59915 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59916 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59917 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59918 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59919 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59920 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59922 sync_file_range as cancellation point
59923 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59924 now a wrapper around __call_sync_file_range with cancellation handling.
59925 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59926 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59927 function name to __call_sync_file_range.
59928 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59929 Add call_sync_file_range.
59931 2011-04-01 Andreas Schwab <schwab@redhat.com>
59933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59936 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59938 * iconv/iconv.h: Fix typo in comment.
59939 * io/fcntl.h: Likewise.
59940 * libio/stdio.h: Likewise.
59941 * posix/spawn.h: Likewise.
59942 * posix/unistd.h: Likewise.
59943 * stdlib/stdlib.h: Likewise.
59944 * time/time.h: Likewise.
59945 * wcsmbs/wchar.h: Likewise.
59947 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59948 open_by_handle): Add.
59949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59950 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59951 Augment a few comments.
59952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59954 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59957 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59960 * io/fcntl.h (AT_EMPTY_PATH): Define.
59962 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59964 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59965 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59966 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59968 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59969 * Versions.def: Add GLIBC_2.14.
59970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59973 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59975 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59977 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59979 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59982 * string/test-strncmp.c (do_page_test): New function.
59983 (check2): Likewise.
59984 (test_main): Call check2.
59985 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59987 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59990 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59991 Handle cache information in CPU leaf 4.
59992 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59994 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59997 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59998 character representation.
59999 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60001 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60003 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60004 END(__isnan) to END(__isnanf) to match function entry point/label
60005 EALIGN(__isnanf,...).
60007 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60009 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60011 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60014 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60015 copy from the symbol referenced in the relocation to initialize the
60017 Patch by Piotr Bury <pbury@goahead.com>.
60018 * elf/Makefile: Add rules to build and tst-unique3.
60019 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60020 * elf/tst-unique3.cc: New file.
60021 * elf/tst-unique3.h: New file.
60022 * elf/tst-unique3lib.cc: New file.
60023 * elf/tst-unique3lib2.cc: New file.
60025 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60027 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60029 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60030 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60033 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60035 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60036 to-be-loaded object along a path to loader is ld.so.
60038 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60039 Ulrich Drepper <drepper@gmail.com>
60041 * sysdeps/x86_64/memset.S: After aligning destination, code
60042 branches to different locations depending on the value of
60043 misalignment, when multiarch is enabled. Fix this.
60045 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60047 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60048 Set _x86_64_preferred_memory_instruction for AMD processsors.
60049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60050 Set bit_Prefer_SSE_for_memop for AMD processors.
60052 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60054 * libio/fmemopen.c (fmemopen): Optimize a bit.
60056 2011-03-03 Andreas Schwab <schwab@redhat.com>
60058 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60060 2011-03-03 Roland McGrath <roland@redhat.com>
60062 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60064 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60066 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60067 __bzero_ultra1 instead of __memset_ultra1.
60069 2011-02-23 Andreas Schwab <schwab@redhat.com>
60070 Ulrich Drepper <drepper@gmail.com>
60073 * include/link.h (struct link_map): Add l_orig_initfini.
60074 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60075 returning unsuccessfully.
60076 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60077 close of a file loaded at startup, restore the original l_initfini
60079 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60080 list, store the pointer.
60081 * elf/Makefile ($(objpfx)noload-mem): New rule.
60082 (noload-ENV): Define.
60083 (tests): Add $(objpfx)noload-mem.
60084 * elf/noload.c: Include <memcheck.h>.
60085 (main): Call mtrace. Close all opened handles.
60087 2011-02-17 Andreas Schwab <schwab@redhat.com>
60090 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60091 dependencies are missing.
60093 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60095 Fix __if_freereq crash: Unlike the generic version which uses free,
60097 * sysdeps/mach/hurd/ifreq.h: New file.
60099 2011-01-27 Petr Baudis <pasky@suse.cz>
60100 Ulrich Drepper <drepper@gmail.com>
60103 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60104 to extend_alloca().
60105 * stdio-common/bug23.c: New file.
60106 * stdio-common/Makefile (tests): Add bug23.
60108 2010-09-28 Andreas Schwab <schwab@redhat.com>
60109 Ulrich Drepper <drepper@gmail.com>
60112 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60113 before performing relro protection. At old place add assertion
60114 to make sure nothing changed.
60116 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60117 Glauber de Oliveira Costa <glommer@gmail.com>
60119 * elf/elf.h: Add new ARM TLS relocs.
60121 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60124 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60126 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60128 * sysdeps/wordsize-64/tst-writev.c: New file.
60130 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60132 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60133 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60134 insns in _dl_start to prevent a TOC reference before relocs are
60137 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60140 * Makeconfig: Remove RANLIB definition.
60141 * Makerules: Don't use RANLIB.
60142 * aclocal.m4: Remove ranlib test.
60143 * configure.in: No need to check for ranlib.
60144 * elf/rtld-Rules: Don't use RANLIB.
60146 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60148 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60150 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60151 inclusion protection macro.
60153 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60154 SIGRTMIN and SIGRTMAX and print information in that case only when
60155 SIGRTMIN is defined.
60157 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60159 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60160 arginfo fn returning -1.
60162 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60163 and thousands string is zero terminated.
60165 2011-02-03 Andreas Schwab <schwab@redhat.com>
60167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60168 sysdeps/unix/sysv/linux/bits/socket.h.
60170 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60172 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60173 (__CPU_COUNT): Remove old macros.
60174 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60175 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60176 (__CPU_ALLOC, __CPU_FREE): Add macros.
60177 (__sched_cpualloc, __sched_cpufree): Add declarations.
60179 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60181 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60182 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60183 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60184 (readdhstai): Return value of addhstaiX call.
60185 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60186 (addgrbyX): Return value returned by cache_addgr.
60187 (readdgrbyname): Return value returned by addgrbyX.
60188 (readdgrbygid): Likewise.
60189 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60190 (addpwbyX): Return value returned by cache_addpw.
60191 (readdpwbyname): Return value returned by addhstbyX.
60192 (readdpwbyuid): Likewise.
60193 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60194 (addservbyX): Return value returned by cache_addserv.
60195 (readdservbyname): Return value returned by addservbyX:
60196 (readdservbyport): Likewise.
60197 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60198 (addhstbyX): Return value returned by cache_addhst.
60199 (readdhstbyname): Return value returned by addhstbyX.
60200 (readdhstbyaddr): Likewise.
60201 (readdhstbynamev6): Likewise.
60202 (readdhstbyaddrv6): Likewise.
60203 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60204 (readdinitgroups): Return value returned by addinitgroupsX.
60205 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60206 (prune_cache): Keep track of timeout value of re-added entries.
60207 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60208 * nscd/nscd.h: Adjust prototypes of readd* functions.
60210 2011-02-04 Roland McGrath <roland@redhat.com>
60212 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60213 (nis_stats): Likewise.
60214 * nis/nis_modify.c (nis_modify): Likewise.
60215 * nis/nis_remove.c (nis_remove): Likewise.
60216 * nis/nis_add.c (nis_add): Likewise.
60218 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60220 * posix/fnmatch_loop.c: Add some consts.
60222 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60224 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60227 * config.make.in (config-cflags-novzeroupper): Define.
60228 * configure.in: Substitute libc_cv_cc_novzeroupper.
60229 * elf/Makefile (AVX-CFLAGS): Define.
60230 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60231 (CFLAGS-tst-auditmod4a.c): Likewise.
60232 (CFLAGS-tst-auditmod4b.c): Likewise.
60233 (CFLAGS-tst-auditmod6b.c): Likewise.
60234 (CFLAGS-tst-auditmod6c.c): Likewise.
60235 (CFLAGS-tst-auditmod7b.c): Likewise.
60236 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60238 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60240 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60241 function to the callback.
60242 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60244 2011-02-02 Andreas Schwab <schwab@redhat.com>
60246 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60249 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60252 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60254 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60256 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60259 * elf/Makefile: Add rules to build and run new test.
60260 * elf/tst-initorder.c: New file.
60261 * elf/tst-initorder.exp: New file.
60262 * elf/tst-initordera1.c: New file.
60263 * elf/tst-initordera2.c: New file.
60264 * elf/tst-initordera3.c: New file.
60265 * elf/tst-initordera4.c: New file.
60266 * elf/tst-initorderb1.c: New file.
60267 * elf/tst-initorderb2.c: New file.
60268 * elf/tst-order-a1.c: New file.
60269 * elf/tst-order-a2.c: New file.
60270 * elf/tst-order-a3.c: New file.
60271 * elf/tst-order-a4.c: New file.
60272 * elf/tst-order-b1.c: New file.
60273 * elf/tst-order-b2.c: New file.
60274 * elf/tst-order-main.c: New file.
60275 New test case by George Gensure <werkt0@gmail.com>.
60277 2010-10-01 Andreas Schwab <schwab@redhat.com>
60279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60280 decoding ACE if AI_CANONIDN.
60282 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60284 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60286 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60288 * version.h (RELEASE): Bump for 2.13 release.
60289 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60291 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60293 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60295 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60296 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60297 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60298 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60302 * posix/getconf.c: Update copyright year.
60303 * catgets/gencat.c: Likewise.
60304 * csu/version.c: Likewise.
60305 * debug/catchsegv.sh: Likewise.
60306 * debug/xtrace.sh: Likewise.
60307 * elf/ldconfig.c: Likewise.
60308 * elf/ldd.bash.in: Likewise.
60309 * elf/sprof.c (print_version): Likewise.
60310 * iconv/iconv_prog.c: Likewise.
60311 * iconv/iconvconfig.c: Likewise.
60312 * locale/programs/locale.c: Likewise.
60313 * locale/programs/localedef.c: Likewise.
60314 * malloc/memusage.sh: Likewise.
60315 * malloc/mtrace.pl: Likewise.
60316 * nscd/nscd.c (print_version): Likewise.
60317 * nss/getent.c: Likewise.
60319 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60320 PF_CAIF, and PF_ALG.
60321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60323 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60325 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60326 (modules-names): Use them.
60327 (ifunc-test-modules, ifunc-pie-tests): Define.
60328 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60329 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60330 (test-extras): Likewise.
60331 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60332 $(compile-command.c).
60333 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60334 (all-built-dso): Define.
60335 (check-textrel.out, check-execstack.out): Depend on it.
60337 * configure.in: Don't override --enable-multi-arch.
60339 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60342 * nscd/hstcache.c (tryagain): Define.
60343 (cache_addhst): Return tryagain not notfound for temporary errors.
60344 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60347 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60350 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60351 to make the syscall.
60352 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60355 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60356 and fall back to matching as normal character if the string ends before
60357 the matching ']' is found. This is what POSIX requires.
60358 * posix/testfnm.c: Adjust test result.
60359 * posix/globtest.sh: Adjust test result. Add new test.
60360 * posix/tst-fnmatch.input: Likewise.
60361 * posix/tst-fnmatch2.c: Add new test.
60363 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60365 * elf/Makefile (check-execstack): Revert last change. Depend on
60367 (check-execstack.h): New target.
60368 (generated): Add check-execstack.h.
60369 * elf/check-execstack.c: Include "check-execstack.h".
60370 (main): Revert last change.
60371 (handle_file): Return zero if GNU_STACK is absent and
60372 DEFAULT_STACK_PERMS doesn't include PF_X.
60374 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60376 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60377 in child fails because the descriptor is already closed.
60378 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60379 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60380 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60383 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60387 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60388 temporary buffer used to handle multi lookups locally.
60389 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60391 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60393 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60396 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60398 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60399 alignment for SSE2.
60401 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60404 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60405 characters. When rounding increased number of integer digits recompute
60407 * stdio-common/tst-grouping.c: New file.
60408 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60410 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60412 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60413 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60415 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60417 * bits/select.h: Likewise.
60419 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60421 * po/ja.po: Update from translation team.
60423 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60426 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60427 implementation just like for lxstat, fxstatat, et al.
60429 2010-12-27 Jim Meyering <meyering@redhat.com>
60432 * posix/regexec.c (build_trtable): Return failure indication upon
60433 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60435 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60438 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60439 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60440 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60441 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60444 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60447 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60448 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60450 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60452 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60453 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60454 script has SORT_BY_INIT_PRIORITY.
60455 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60456 NO_CTORS_DTORS_SECTIONS is defined.
60457 * elf/soinit.c: Likewise.
60458 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60459 NO_CTORS_DTORS_SECTIONS is defined.
60460 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60461 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60462 * sysdeps/sh/init-first.c: Likewise.
60463 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60465 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60467 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60468 always use the slow path.
60470 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60472 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60473 similar rule which adds the sysdep directories to the header search in
60474 order to pick up the correct platform stackinfo.h.
60475 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60476 perform test if it is, otherwise return successfully without testing.
60477 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60478 DEFAULT_STACK_PERMS define in stackinfo.h.
60479 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60480 defined in stackinfo.h.
60481 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60482 DEFAULT_STACK_PERMS defined in stackinfo.h.
60483 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60484 * sysdeps/ia64/stackinfo.h: Likewise.
60485 * sysdeps/s390/stackinfo.h: Likewise.
60486 * sysdeps/sh/stackinfo.h: Likewise.
60487 * sysdeps/sparc/stackinfo.h: Likewise.
60488 * sysdeps/x86_64/stackinfo.h: Likewise.
60489 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60490 PF_X for powerpc64. Retain PF_X for powerpc32.
60492 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60494 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60496 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60497 GETDENTS_64BIT_ALIGNED.
60499 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60501 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60503 2010-12-10 Andreas Schwab <schwab@redhat.com>
60505 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60508 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60509 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60511 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60512 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60514 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60517 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60520 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60522 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60524 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60526 * po/it.po: Update from translation team.
60528 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60533 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60535 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60537 2010-11-24 Andreas Schwab <schwab@redhat.com>
60539 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60541 (gaih_getanswer_slice): Likewise.
60543 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60547 2010-05-31 Petr Baudis <pasky@suse.cz>
60550 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60551 silently even in the chroot mode.
60553 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60555 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60556 last patch a bit. Pretty printing
60558 2010-05-31 Petr Baudis <pasky@suse.cz>
60561 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60562 initialization of skip_initgroups_dyn.
60564 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60566 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60567 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60569 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60571 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60573 2010-11-11 Andreas Schwab <schwab@redhat.com>
60575 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60576 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60577 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60578 ($(objpfx)tst-fnmatch-mem): New rule.
60579 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60580 * posix/tst-fnmatch.c (main): Call mtrace.
60582 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60585 Support Intel processor model 6 and model 0x2c.
60587 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60592 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60595 * string/test-strncasecmp.c (check_result): New function.
60596 (do_one_test): Use it.
60597 (check1): New function.
60598 (test_main): Use it.
60599 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60600 Support strcasecmp and strncasecmp.
60602 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60605 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60606 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60608 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60610 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60614 * sysdeps/x86_64/multiarch/bzero.S: New file.
60615 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60616 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60617 * sysdeps/x86_64/multiarch/memset.S: New file.
60618 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60620 Set bit_Prefer_SSE_for_memop for Intel processors.
60621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60623 (index_Prefer_SSE_for_memop): Define.
60624 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60626 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60628 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60629 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60631 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60634 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60635 (__x86_64_raw_data_cache_size_half): Likewise.
60636 (__x86_64_raw_shared_cache_size): Likewise.
60637 (__x86_64_raw_shared_cache_size_half): Likewise.
60639 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60640 (__x86_64_raw_data_cache_size_half): Likewise.
60641 (__x86_64_raw_shared_cache_size): Likewise.
60642 (__x86_64_raw_shared_cache_size_half): Likewise.
60643 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60644 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60645 and __x86_64_raw_shared_cache_size_half. Round
60646 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60647 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60648 to multiple of 256 bytes.
60650 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60653 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60654 of inacessible symlinks. Verify result of symlink before returning it.
60655 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60656 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60658 2010-10-28 Erich Ritz <erichritz@gmail.com>
60660 * math/math.h (isinf): Fix typo in comment.
60662 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60664 * po/da.po: Update from translation team.
60666 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60668 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60669 is added to the list.
60671 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60672 Ulrich Drepper <drepper@gmail.com>
60674 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60675 the global list here. Move code to...
60676 (_dl_add_to_namespace_list): ...here. New function.
60677 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60678 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60679 * elf/dl-load.c (lose): Don't remove the element from the list.
60680 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60681 (_dl_map_object): Likewise.
60683 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60686 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60687 into all bytes of SSE register.
60688 Patch by Richard Li <richardpku@gmail.com>.
60690 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60693 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60696 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60698 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60699 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60700 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60701 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60706 2010-10-22 Andreas Schwab <schwab@redhat.com>
60708 * include/dlfcn.h (__RTLD_SECURE): Define.
60709 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60710 mode & __RTLD_SECURE instead.
60711 (open_path): Rename preloaded parameter to secure.
60712 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60713 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60714 * elf/dl-deps.c (openaux): Likewise.
60715 * elf/rtld.c (struct map_args): Remove is_preloaded.
60716 (map_doit): Don't use it.
60717 (dl_main): Likewise.
60718 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60719 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60721 2010-09-09 Andreas Schwab <schwab@redhat.com>
60723 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60724 (sysd-rules-targets): Remove duplicates.
60725 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60726 rtld-%.$o dependency.
60728 2010-10-18 Andreas Schwab <schwab@redhat.com>
60730 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60731 _dl_map_object do it.
60733 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60735 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60736 fast fma builtins, define the macros in the C99 standard.
60737 (FP_FAST_FMAF): Likewise.
60738 (FP_FAST_FMAL): Likewise.
60739 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60741 * bits/mathdef.h: Update copyright year.
60742 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60744 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60746 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60747 builtins, define the macros in the C99 standard.
60748 (FP_FAST_FMAF): Likewise.
60749 (FP_FAST_FMAL): Likewise.
60750 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60752 (FP_FAST_FMAF): Likewise.
60754 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60757 * math/libm-test.inc (fma_test): Some new testcases.
60758 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60759 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60760 y and infinite z. Do multiplication by C already in long double.
60761 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60763 y and infinite z. Do bitwise or of inexact bit into u.d.
60764 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60765 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60766 * sysdeps/i386/fpu/s_fma.S: Removed.
60767 * sysdeps/i386/fpu/s_fmal.S: Removed.
60769 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60772 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60774 computation is not scheduled after fetestexcept. Fix value
60775 of minimum denormal long double.
60777 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60780 * math/libm-test.inc (fma_test): Add some more tests.
60781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60784 2010-10-15 Andreas Schwab <schwab@redhat.com>
60786 * scripts/data/localplt-s390-linux-gnu.data: New file.
60787 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60789 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60792 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60793 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60795 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60797 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60799 if one of x and y is very large and the other is subnormal.
60800 * sysdeps/s390/fpu/s_fmaf.c: New file.
60801 * sysdeps/s390/fpu/s_fma.c: New file.
60802 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60803 * sysdeps/powerpc/fpu/s_fma.S: New file.
60804 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60805 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60806 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60808 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60811 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60813 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60814 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60815 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60816 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60817 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60818 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60819 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60821 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60824 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60825 * posix/bug-regex31.input: Add test case.
60827 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60829 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60830 * posix/bug-regex31.input: New file.
60833 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60834 (parse_sub_exp): Fix last change, use postorder.
60836 * posix/bug-regex31.c: New file.
60837 * posix/Makefile: Add rules to build and run bug-regex31.
60839 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60842 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60845 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60846 to have entries in sys_siglist.
60849 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60852 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60855 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60856 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60857 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60858 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60860 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60861 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60862 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60863 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60864 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60865 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60866 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60867 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60868 * math/ftestexcept.c (fetestexcept): Likewise.
60869 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60870 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60871 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60872 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60873 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60874 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60875 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60877 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60880 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60883 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60885 * string/bug-strstr1.c: New file.
60886 * string/Makefile: Add rules to build and run bug-strstr1.
60888 2010-10-05 Eric Blake <eblake@redhat.com>
60891 * string/str-two-way.h (two_way_long_needle): Always clear memory
60892 when skipping input due to the shift table.
60894 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60897 * malloc/mcheck.c: Handle large requests.
60900 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60901 for strncmp and strncasecmp.
60902 * string/stratcliff.c: Add tests for strcmp and strncmp.
60903 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60905 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60907 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60910 2010-09-30 Andreas Jaeger <aj@suse.de>
60912 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60913 (CGROUP_SUPER_MAGIC): Define.
60914 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60915 Handle btrfs and cgroup file systems.
60916 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60919 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60921 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60922 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60924 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60927 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60928 trying to locate the ELF header.
60930 2010-09-27 Andreas Schwab <schwab@redhat.com>
60933 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60934 Mask out sign-bit copies when constructing f_fsid.
60936 2010-09-24 Petr Baudis <pasky@suse.cz>
60938 * debug/stack_chk_fail_local.c: Add missing licence exception.
60939 * debug/warning-nop.c: Likewise.
60941 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60943 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60944 implementing getdents64 using getdents syscall, set d_type if
60945 __ASSUME_GETDENTS32_D_TYPE.
60947 2010-09-16 Andreas Schwab <schwab@redhat.com>
60949 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60950 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60952 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60955 * posix/unistd.h: Undo change of feature selection for ftruncate from
60958 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60960 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60963 2010-09-20 Andreas Schwab <schwab@redhat.com>
60965 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60967 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60969 2010-09-14 Andreas Schwab <schwab@redhat.com>
60971 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60972 variables after CHECK_SP call.
60973 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60975 2010-09-13 Andreas Schwab <schwab@redhat.com>
60976 Ulrich Drepper <drepper@redhat.com>
60978 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60979 re-relocationg ld.so.
60980 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60981 _dl_init_paths call.
60982 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60985 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60987 * resolv/res_init.c (__res_vinit): Count the default server we added.
60989 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60990 Ulrich Drepper <drepper@redhat.com>
60993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60994 (____longjmp_chk): Use %ebx for saving value across system call.
60997 2010-09-06 Andreas Schwab <schwab@redhat.com>
60999 * manual/Makefile: Don't mix pattern rules with normal rules.
61001 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61003 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61005 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61006 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61007 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61008 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61009 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61012 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61015 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61016 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61018 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61020 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61021 * sysdeps/x86_64/addmul_1.S: Likewise.
61022 * sysdeps/x86_64/lshift.S: Likewise.
61023 * sysdeps/x86_64/mul_1.S: Likewise.
61024 * sysdeps/x86_64/rshift.S: Likewise.
61025 * sysdeps/x86_64/sub_n.S: Likewise.
61026 * sysdeps/x86_64/submul_1.S: Likewise.
61028 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61030 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61031 Define __sched_param instead of SCHED_* and sched_param when
61032 <bits/sched.h> is included with __need_schedparam defined.
61033 * bits/sched.h [__need_schedparam]
61034 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61035 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61036 (__defined_schedparam): Define to 1.
61037 (__sched_param): New structure, identical to sched_param.
61038 (__need_schedparam): Undefine.
61040 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61043 (epoll_create1): Declare.
61045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61047 2010-08-31 Andreas Schwab <schwab@redhat.com>
61050 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61051 shifting retval into place.
61053 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61055 * nis/rpcsvc/nis.h: Update copyright notice.
61056 * nis/rpcsvc/nis.x: Likewise.
61057 * nis/rpcsvc/nis_callback.h: Likewise.
61058 * nis/rpcsvc/nis_callback.x: Likewise.
61059 * nis/rpcsvc/nis_object.x: Likewise.
61060 * nis/rpcsvc/nis_tags.h: Likewise.
61061 * nis/rpcsvc/yp.h: Likewise.
61062 * nis/rpcsvc/yp.x: Likewise.
61063 * nis/rpcsvc/ypupd.h: Likewise.
61064 * nis/yp_xdr.c: Likewise.
61065 * nis/ypupdate_xdr.c: Likewise.
61067 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61068 mainly the body of pmap_getport. Add parameters to specify timeouts.
61069 (pmap_getport): Use __libc_rpc_getport.
61070 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61071 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61072 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61074 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61079 2010-08-27 Roland McGrath <roland@redhat.com>
61081 * sysdeps/i386/i686/multiarch/Makefile
61082 (CFLAGS-varshift.c): New variable.
61084 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61086 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61087 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61091 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61093 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61095 * sysdeps/x86_64/strlen.S: Unroll the loop.
61096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61097 strlen-sse2 strlen-sse2-bsf.
61098 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61099 __strlen_no_bsf if bit_Slow_BSF is set.
61100 (__strlen_sse42): Removed.
61101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61102 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61104 2010-08-25 Roland McGrath <roland@redhat.com>
61106 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61107 * sysdeps/x86_64/multiarch/varshift.c: New file.
61108 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61109 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61110 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61111 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61113 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61116 strlen-sse2 strlen-sse2-bsf.
61117 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61118 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61119 (__strlen_sse2): Removed.
61120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61123 bit_Slow_BSF for Atom.
61124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61125 (index_Slow_BSF): Define.
61126 (HAS_SLOW_BSF): Define.
61128 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61131 * resolv/res_init.c (__res_vinit): When no server address at all
61132 is given default to loopback.
61134 2010-08-24 Roland McGrath <roland@redhat.com>
61136 * configure.in: Remove config-name.h generation.
61137 * configure: Regenerated.
61138 * config-name.in: File removed.
61139 * scripts/config-uname.sh: New file.
61140 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61141 ($(objdir)config-name.h): New target.
61143 * sunrpc/rpc_parse.h: Avoid nested comment.
61145 2010-08-24 Richard Henderson <rth@redhat.com>
61146 Ulrich Drepper <drepper@redhat.com>
61147 H.J. Lu <hongjiu.lu@intel.com>
61149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61151 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61152 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61153 _mm_alignr_epi8 with _mm_loadu_si128.
61154 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61155 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61156 (__m128i_shift_right): Removed.
61157 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61158 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61159 * sysdeps/x86_64/multiarch/varshift.h: New file.
61160 * sysdeps/x86_64/multiarch/varshift.S: New file.
61162 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61164 * configure.in: Move assembler checks to before sysdep dir checking.
61166 2010-08-20 Petr Baudis <pasky@suse.cz>
61168 * LICENSES: Sync the sunrpc license.
61170 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61172 * sunrpc/auth_des.c: Update copyright notice once again.
61173 * sunrpc/auth_none.c: Likewise.
61174 * sunrpc/auth_unix.c: Likewise.
61175 * sunrpc/authdes_prot.c: Likewise.
61176 * sunrpc/authuxprot.c: Likewise.
61177 * sunrpc/bindrsvprt.c: Likewise.
61178 * sunrpc/clnt_gen.c: Likewise.
61179 * sunrpc/clnt_perr.c: Likewise.
61180 * sunrpc/clnt_raw.c: Likewise.
61181 * sunrpc/clnt_simp.c: Likewise.
61182 * sunrpc/clnt_tcp.c: Likewise.
61183 * sunrpc/clnt_udp.c: Likewise.
61184 * sunrpc/clnt_unix.c: Likewise.
61185 * sunrpc/des_crypt.c: Likewise.
61186 * sunrpc/des_soft.c: Likewise.
61187 * sunrpc/get_myaddr.c: Likewise.
61188 * sunrpc/getrpcport.c: Likewise.
61189 * sunrpc/key_call.c: Likewise.
61190 * sunrpc/key_prot.c: Likewise.
61191 * sunrpc/openchild.c: Likewise.
61192 * sunrpc/pm_getmaps.c: Likewise.
61193 * sunrpc/pm_getport.c: Likewise.
61194 * sunrpc/pmap_clnt.c: Likewise.
61195 * sunrpc/pmap_prot.c: Likewise.
61196 * sunrpc/pmap_prot2.c: Likewise.
61197 * sunrpc/pmap_rmt.c: Likewise.
61198 * sunrpc/rpc/auth.h: Likewise.
61199 * sunrpc/rpc/auth_unix.h: Likewise.
61200 * sunrpc/rpc/clnt.h: Likewise.
61201 * sunrpc/rpc/des_crypt.h: Likewise.
61202 * sunrpc/rpc/key_prot.h: Likewise.
61203 * sunrpc/rpc/netdb.h: Likewise.
61204 * sunrpc/rpc/pmap_clnt.h: Likewise.
61205 * sunrpc/rpc/pmap_prot.h: Likewise.
61206 * sunrpc/rpc/pmap_rmt.h: Likewise.
61207 * sunrpc/rpc/rpc.h: Likewise.
61208 * sunrpc/rpc/rpc_des.h: Likewise.
61209 * sunrpc/rpc/rpc_msg.h: Likewise.
61210 * sunrpc/rpc/svc.h: Likewise.
61211 * sunrpc/rpc/svc_auth.h: Likewise.
61212 * sunrpc/rpc/types.h: Likewise.
61213 * sunrpc/rpc/xdr.h: Likewise.
61214 * sunrpc/rpc_clntout.c: Likewise.
61215 * sunrpc/rpc_cmsg.c: Likewise.
61216 * sunrpc/rpc_common.c: Likewise.
61217 * sunrpc/rpc_cout.c: Likewise.
61218 * sunrpc/rpc_dtable.c: Likewise.
61219 * sunrpc/rpc_hout.c: Likewise.
61220 * sunrpc/rpc_main.c: Likewise.
61221 * sunrpc/rpc_parse.c: Likewise.
61222 * sunrpc/rpc_parse.h: Likewise.
61223 * sunrpc/rpc_prot.c: Likewise.
61224 * sunrpc/rpc_sample.c: Likewise.
61225 * sunrpc/rpc_scan.c: Likewise.
61226 * sunrpc/rpc_scan.h: Likewise.
61227 * sunrpc/rpc_svcout.c: Likewise.
61228 * sunrpc/rpc_tblout.c: Likewise.
61229 * sunrpc/rpc_util.c: Likewise.
61230 * sunrpc/rpc_util.h: Likewise.
61231 * sunrpc/rpcinfo.c: Likewise.
61232 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61233 * sunrpc/rpcsvc/key_prot.x: Likewise.
61234 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61235 * sunrpc/rpcsvc/mount.x: Likewise.
61236 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61237 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61238 * sunrpc/rpcsvc/rex.x: Likewise.
61239 * sunrpc/rpcsvc/rstat.x: Likewise.
61240 * sunrpc/rpcsvc/rusers.x: Likewise.
61241 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61242 * sunrpc/rpcsvc/spray.x: Likewise.
61243 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61244 * sunrpc/rtime.c: Likewise.
61245 * sunrpc/svc.c: Likewise.
61246 * sunrpc/svc_auth.c: Likewise.
61247 * sunrpc/svc_authux.c: Likewise.
61248 * sunrpc/svc_raw.c: Likewise.
61249 * sunrpc/svc_run.c: Likewise.
61250 * sunrpc/svc_simple.c: Likewise.
61251 * sunrpc/svc_tcp.c: Likewise.
61252 * sunrpc/svc_udp.c: Likewise.
61253 * sunrpc/svc_unix.c: Likewise.
61254 * sunrpc/svcauth_des.c: Likewise.
61255 * sunrpc/xcrypt.c: Likewise.
61256 * sunrpc/xdr.c: Likewise.
61257 * sunrpc/xdr_array.c: Likewise.
61258 * sunrpc/xdr_float.c: Likewise.
61259 * sunrpc/xdr_mem.c: Likewise.
61260 * sunrpc/xdr_rec.c: Likewise.
61261 * sunrpc/xdr_ref.c: Likewise.
61262 * sunrpc/xdr_sizeof.c: Likewise.
61263 * sunrpc/xdr_stdio.c: Likewise.
61265 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61268 2010-08-19 Andreas Schwab <schwab@redhat.com>
61270 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61272 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61274 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61275 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61276 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61277 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61278 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61279 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61280 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61281 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61282 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61283 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61284 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61285 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61286 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61287 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61289 2010-07-26 Anton Blanchard <anton@samba.org>
61291 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61292 * malloc/arena.c (heap_trim): Likewise.
61294 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61296 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61299 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61301 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61303 * sysdeps/i386/elf/Makefile: New file.
61305 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61307 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61308 from fanotify_init.
61309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61312 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61314 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61316 * sysdeps/multiarch/strcmp.S: Likewise.
61318 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61320 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61321 strncase_l-nonascii.
61322 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61323 Add strncase_l-ssse3.
61324 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61325 * sysdeps/x86_64/strcmp.S: Likewise.
61326 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61327 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61328 * sysdeps/x86_64/strncase.S: New file.
61329 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61330 * sysdeps/x86_64/strncase_l.S: New file.
61331 * string/Makefile (strop-tests): Add strncasecmp.
61332 * string/test-strncasecmp.c: New file.
61334 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61337 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61338 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61340 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61342 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61344 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61346 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61347 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61348 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61350 2010-05-01 Alan Modra <amodra@gmail.com>
61352 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61353 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61354 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61355 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61356 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61357 tidying. Don't tail-call __sigjmp_save for static lib.
61358 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61360 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61361 (CALL_MCOUNT): Add eh info, and nop after bl.
61362 (TAIL_CALL_SYSCALL_ERROR): New macro.
61363 (PSEUDO_RET): Use it.
61364 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61365 Correct save location of integer regs and cr.
61366 (_dl_profile_resolve): Correct cr save location. Delete nops
61367 after bl when SHARED. Reduce cfi size a little by better
61368 placement of cfi directives.
61369 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61370 make a stack frame. Instead use parm save area as a temp.
61371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61372 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61374 Don't make a stack frame for parent, use parm save area.
61375 Increase child stack frame to 112 bytes. Don't save unused reg,
61376 and adjust reg usage. Set up cfi on error recovery and
61377 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61379 (__makecontext): Add dummy nop after jump to exit.
61380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61381 Use correct parm save area and cr save, reduce stack frame.
61382 Correct cfi for possible PSEUDO_RET frame setup.
61383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61384 Branch to local label emitted by PSEUDO_RET rather than
61387 2010-08-12 Andreas Schwab <schwab@redhat.com>
61390 * locale/programs/locale.c (print_assignment): New function.
61391 (show_locale_vars): Use it.
61393 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61395 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61397 (struct statfs64): Likewise.
61398 (_STATFS_F_FLAGS): Define.
61399 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61400 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61401 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61402 (ST_VALID): Define locally.
61403 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61404 __statvfs_getflags, use the provided value.
61405 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61406 __ASSUME_STATFS_F_FLAGS.
61408 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61410 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61411 Add sys/fanotify.h.
61412 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61413 fanotify_mask for GLIBC_2.13.
61414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61415 fanotify_init and fanotify_mark.
61416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61417 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61421 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61422 prlimit64 for GLIBC_2.13.
61423 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61425 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61428 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61429 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61430 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61433 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61436 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61437 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61439 * nss/Makefile: Add rules to build and run tst-nss-test1.
61440 * shlib-versions: Add entry for libnss_test1.
61441 * nss/nss_test1.c: New file.
61442 * nss/tst-nss-test1.c: New file.
61444 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61445 (__nss_configure_lookup): Set appropriate entry in
61446 __nss_configure_lookup to true.
61447 * nss/nsswitch.h: Define enum with indeces of databases in
61448 databases and __nss_database_custom arrays. Declare
61449 __nss_database_custom.
61450 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61451 to avoid using nscd when custom rules are installed.
61452 * nss/getXXbyYY_r.c: Likewise.
61453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61455 * nss/nss_files/files-parse.c: Whitespace fixes.
61457 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61460 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61461 * posix/fnmatch_loop.c: Likewise.
61463 2010-07-17 Andi Kleen <ak@linux.intel.com>
61465 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61466 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61467 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61468 * Versions.def [GLIBC_2.13]: Add.
61470 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61472 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61473 Also fail if tpwd after pwuid call is NULL.
61475 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61477 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61478 when converting to ms.
61480 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61482 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61483 EOPNOTSUPP errors with ENOTTY.
61484 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61485 EOPNOTSUPP errors with ENOTTY.
61487 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61489 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61490 Add strcasecmp_l-ssse3.
61491 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61493 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61494 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61495 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61497 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61499 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61501 * string/Makefile (strop-tests): Add strcasecmp.
61502 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61503 strcasecmp_l-nonascii.
61504 (gen-as-const-headers): Add locale-defines.sym.
61505 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61506 * sysdeps/x86_64/strcasecmp.S: New file.
61507 * sysdeps/x86_64/strcasecmp_l.S: New file.
61508 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61509 * sysdeps/x86_64/locale-defines.sym: New file.
61510 * string/test-strcasecmp.c: New file.
61512 * string/test-strcasestr.c: Test both ends of the range of characters.
61513 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61515 2010-07-29 Roland McGrath <roland@redhat.com>
61518 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61520 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61522 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61525 2010-07-27 Andreas Schwab <schwab@redhat.com>
61527 * manual/memory.texi (Malloc Tunable Parameters): Document
61530 2010-07-26 Roland McGrath <roland@redhat.com>
61533 * configure.in (-fgnu89-inline check): Set and substitute
61534 gnu89_inline, not libc_cv_gnu89_inline.
61535 * configure: Regenerated.
61536 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61538 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61540 * string/test-strnlen.c: New file.
61541 * string/Makefile (strop-tests): Add strnlen.
61542 * string/tester.c (test_strnlen): Add a few more test cases.
61543 * string/tst-strlen.c: Better error reporting.
61545 * sysdeps/x86_64/strnlen.S: New file.
61547 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61550 lower-latency instructions.
61552 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61554 * string/test-strcasestr.c: New file.
61555 * string/test-strstr.c: New file.
61556 * string/Makefile (strop-tests): Add strstr and strcasestr.
61557 * string/str-two-way.h: Don't undefine MAX.
61558 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61560 2010-07-21 Andreas Schwab <schwab@redhat.com>
61562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61563 strcasestr-nonascii.
61564 (CFLAGS-strcasestr-nonascii.c): Define.
61565 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61566 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61567 Remove unused attribute.
61569 2010-07-20 Roland McGrath <roland@redhat.com>
61571 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61572 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61573 ld.so.cache was broken. With it, there is no way to disable dsocaps
61574 like LD_HWCAP_MASK can disable hwcaps.
61576 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61578 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61580 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61582 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61583 call in strcasestr.
61584 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61585 __strcasestr_sse42_nonascii.
61586 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61587 strcasestr-nonascii.c.
61588 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61590 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61592 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61593 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61594 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61595 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61597 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61599 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61602 2010-07-06 Andreas Schwab <schwab@redhat.com>
61605 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61608 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61610 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61611 _PC_PIPE_BUF using F_GETPIPE_SZ.
61613 2010-07-05 Roland McGrath <roland@redhat.com>
61615 * manual/arith.texi (Rounding Functions): Fix rint description
61616 implicit in round description.
61618 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61620 * elf/Makefile: Fix linking for a few tests to make recent linker
61623 2010-06-30 Andreas Schwab <schwab@redhat.com>
61625 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61626 $(common-objpfx)libc_nonshared.a.
61628 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61630 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61631 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61632 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61633 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61634 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61635 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61636 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61637 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61652 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61653 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61654 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61655 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61656 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61657 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61658 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61659 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61660 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61661 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61662 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61663 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61679 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61681 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61682 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61683 * string/memmove.c (memmove): Renamed to ...
61684 (MEMMOVE): ...this. Default to memmove.
61685 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61686 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61689 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61690 mempcpy-ssse3-back memmove-ssse3-back.
61691 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61693 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61694 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61695 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61696 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61697 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61698 * sysdeps/x86_64/multiarch/memmove.c: New file.
61699 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61700 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61701 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61702 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61703 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61706 (index_Fast_Copy_Backward): Define.
61707 (HAS_ARCH_FEATURE): Define.
61708 (HAS_FAST_REP_STRING): Define.
61709 (HAS_FAST_COPY_BACKWARD): Define.
61711 2010-06-21 Andreas Schwab <schwab@redhat.com>
61713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61714 Restore proper fallback handling.
61716 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61719 * posix/group_member.c (__group_member): Correct checking loop.
61721 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61722 OOM in getpwuid_r correctly. Return error number when the caller
61723 should return, otherwise -1.
61724 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61725 call returning > 0 value.
61726 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61728 2010-06-07 Andreas Schwab <schwab@redhat.com>
61730 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61731 libc_nonshared.a from targets in modules-names.
61733 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61735 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61738 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61740 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61741 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61742 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61745 2010-06-02 Andreas Schwab <schwab@redhat.com>
61747 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61749 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61751 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61753 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61757 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61760 2010-06-14 Roland McGrath <roland@redhat.com>
61762 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61764 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61766 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61767 __REDIRECT followed by __THROW.
61768 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61769 * posix/getopt.h (getopt): Likewise.
61771 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61773 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61774 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61775 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61777 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61778 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61780 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61782 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61784 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61788 Properly check family and model.
61790 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61792 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61794 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61796 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61798 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61800 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61803 2010-05-19 Andreas Schwab <schwab@redhat.com>
61805 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61808 2010-05-21 Andreas Schwab <schwab@redhat.com>
61810 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61811 and internal_recvmmsg.
61812 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61813 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61814 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61815 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61817 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61818 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61819 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61821 2010-05-20 Andreas Schwab <schwab@redhat.com>
61823 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61825 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61827 POWER7 optimizations.
61828 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61829 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61831 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61833 * version.h: Update for 2.13 development version.
61835 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61837 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61838 exceptions. Return 0.
61840 2010-05-07 Roland McGrath <roland@redhat.com>
61842 * elf/ldconfig.c (main): Add a const.
61844 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61846 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61847 (args_options): Add no-idn option.
61848 (ahosts_keys_int): Add idn_flags to ai_flags.
61849 (parse_option): Handle 'i' option to clear idn_flags.
61851 * malloc/malloc.c (_int_free): Possible race in the most recently
61852 added check. Only act on the data if no current modification
61855 See ChangeLog.17 for earlier changes.