1 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4 Include sys/types.h instead of bits/types.h.
5 Remove inclusion of bits/wordsize.h.
7 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
9 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
18 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
22 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24 * sysdeps/i386/link-defines.sym: New file.
26 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
28 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29 (modules-names): Add tst-auditmod3a tst-auditmod3b.
30 ($(objpfx)tst-audit3): New rule.
31 ($(objpfx)tst-audit3.out): Likewise.
32 * sysdeps/i386/tst-audit3.c: New file.
33 * sysdeps/i386/tst-audit3.h: Likewise.
34 * sysdeps/i386/tst-auditmod3a.c: Likewise.
35 * sysdeps/i386/tst-auditmod3b.c: Likewise.
37 2015-07-07 Torvald Riegel <triegel@redhat.com>
40 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
42 (__strcat_c): Likewise.
43 (__strcat_g): Likewise.
45 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
48 * misc/sbrk.c: Set errno to ENOMEM on overflow.
50 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
52 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
53 New function. (__ieee754_sqrtf): New function.
54 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
56 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
59 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
61 * sysdeps/ieee754/support.c: Remove unused file.
63 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
65 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
66 registers instead of d ones so the layout is kernel abi compatible.
67 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
68 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
71 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
73 * sysdeps/aarch64/libm-test-ulps: Regenerated.
75 2015-07-01 Joseph Myers <joseph@codesourcery.com>
78 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
79 and return argument in case of subnormal argument.
81 2015-07-01 Martin Sebor <msebor@redhat.com>
84 * nptl/Makefile: Add tst-once5.cc.
85 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
86 Remove macro redefinitions.
87 * nptl/tst-once5.cc: New test.
89 2015-07-01 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
93 * sysdeps/arm/libm-test-ulps: Regenerated.
95 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
96 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
98 2015-06-30 Torvald Riegel <triegel@redhat.com>
100 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
101 lll_lock_wait_private and lll_futex_wake probes.
103 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
104 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
106 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
108 * sysdeps/x86_64/bits/atomic.h: Likewise.
109 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
110 to atomic_spin_nop and move ...
111 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
113 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
114 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
115 atomic_spin_nop instead of BUSY_WAIT_NOP.
116 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
118 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
119 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
120 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
121 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
122 instead of atomic_delay.
124 2015-06-29 Joseph Myers <joseph@codesourcery.com>
127 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
128 X_ADJ not X when adjusting exponent.
129 (__ieee754_gamma_r): Do intermediate computations in
130 round-to-nearest then adjust overflowing and underflowing results
132 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
133 of X_ADJ not X when adjusting exponent.
134 (__ieee754_gammaf_r): Do intermediate computations in
135 round-to-nearest then adjust overflowing and underflowing results
137 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
138 log of X_ADJ not X when adjusting exponent.
139 (__ieee754_gammal_r): Do intermediate computations in
140 round-to-nearest then adjust overflowing and underflowing results
141 as needed. Use 1.0L not 1.0f as numerator of division.
142 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
143 log of X_ADJ not X when adjusting exponent.
144 (__ieee754_gammal_r): Do intermediate computations in
145 round-to-nearest then adjust overflowing and underflowing results
146 as needed. Use 1.0L not 1.0f as numerator of division.
147 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
148 of X_ADJ not X when adjusting exponent.
149 (__ieee754_gammal_r): Do intermediate computations in
150 round-to-nearest then adjust overflowing and underflowing results
151 as needed. Use 1.0L not 1.0f as numerator of division.
152 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
153 to auto-libm-test-in.
154 (tgamma_test): Use ALL_RM_TEST.
155 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
156 tests of tgamma with spurious-overflow.
157 * math/auto-libm-test-out: Regenerated.
158 * math/gen-libm-have-vector-test.sh: Do not check for START.
159 * sysdeps/i386/fpu/libm-test-ulps: Update.
160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
163 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
164 arguments, just return 0.5 times the argument, with underflow
166 * math/auto-libm-test-in: Add more tests of j1.
167 * math/auto-libm-test-out: Regenerated.
170 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
171 (__ieee754_j1): Force underflow exception for small results.
172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
173 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
174 (__ieee754_j1f): Force underflow exception for small results.
175 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
176 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
178 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
179 (__ieee754_j1l): Force underflow exception for small results.
180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
181 * math/auto-libm-test-in: Add more tests of j1 and jn.
182 * math/auto-libm-test-out: Regenerated.
184 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
189 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
191 (MS_RMT_MASK): Include MS_LAZYTIME.
193 2015-06-26 Mel Gorman <mgorman@suse.de>
196 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
199 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
201 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
202 (DT_MIPS_NUM): Update.
203 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
206 2015-06-25 Joseph Myers <joseph@codesourcery.com>
210 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
211 round-to-nearest internally then recompute results that
212 underflowed to zero in the original rounding mode.
213 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
214 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
217 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
218 * sysdeps/i386/fpu/libm-test-ulps: Update.
219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
221 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
223 * NEWS: Fixed description of link with vector math library.
225 2015-06-25 Andreas Schwab <schwab@suse.de>
228 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
229 * libio/test-fmemopen.c (do_test): Add test for it.
231 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
234 * Makeconfig (no-pie-ldflag): New.
235 (+link): Set to $(+link-pie) if default to PIE.
236 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
237 * config.make.in (build-pie-default): New.
238 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
239 is default. AC_SUBST.
240 * configure: Regenerated.
241 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
243 2015-06-24 Roland McGrath <roland@hack.frob.com>
245 * nptl/descr.h (struct pthread): Change type of field setxid_futex
248 * resolv/gai_misc.h (struct waitlist): Change type of field
249 counterp to 'volatile unsigned int *'.
250 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
251 FUTEXADDR and OLDVAL.
252 * resolv/getaddrinfo_a.c (getaddrinfo_a):
253 Give local variable TOTAL type 'volatile unsigned int'.
254 (struct async_waitlist): Change type of field counter to 'unsigned int'.
255 * resolv/gai_suspend.c (gai_suspend):
256 Give local variable CNTR type 'unsigned int'.
258 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
259 counterp to 'volatile unsigned int *'.
260 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
261 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
262 (aio_suspend): Give local variable CNTR type 'unsigned int'.
263 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
264 Give local variable TOTAL type 'volatile unsigned int'.
265 (struct async_waitlist): Change type of field counter to 'unsigned int'.
267 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
270 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
271 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
272 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
273 comment for i386/x86-64.
274 (test-xfail-tst-tlsalign-extern-static): Removed.
276 2015-06-24 Joseph Myers <joseph@codesourcery.com>
278 * math/test-double.h: New file.
279 * math/test-float.h: Likewise.
280 * math/test-ldouble.h: Likewise.
281 * math/test-math-inline.h: Likewise.
282 * math/test-math-no-inline.h: Likewise.
283 * math/test-math-scalar.h: Likewise.
284 * math/test-math-vector.h: Likewise.
285 * math/test-vec-loop.h: Remove file. Contents moved into
287 * math/libm-test.inc (MATHCONST): Do not document macro.
288 * math/test-double.c: Include test-double.h, test-math-no-inline.h
289 and test-math-scalar.h.
290 (FUNC): Remove macro.
291 (FUNC_TEST): Likewise.
293 (MATHCONST): Likewise.
294 (PRINTF_EXPR): Likewise.
295 (PRINTF_XEXPR): Likewise.
296 (PRINTF_NEXPR): Likewise.
297 (TEST_DOUBLE): Likewise.
298 (TEST_MATHVEC): Likewise.
299 (__NO_MATH_INLINES): Likewise.
300 * math/test-float.c: Include test-float.h, test-math-no-inline.h
301 and test-math-scalar.h.
302 (FUNC): Remove macro.
303 (FUNC_TEST): Likewise.
305 (MATHCONST): Likewise.
306 (PRINTF_EXPR): Likewise.
307 (PRINTF_XEXPR): Likewise.
308 (PRINTF_NEXPR): Likewise.
309 (TEST_FLOAT): Likewise.
310 (TEST_MATHVEC): Likewise.
311 (__NO_MATH_INLINES): Likewise.
312 * math/test-idouble.c: Include test-double.h, test-math-inline.h
313 and test-math-scalar.h.
314 (FUNC): Remove macro.
315 (FUNC_TEST): Likewise.
317 (MATHCONST): Likewise.
318 (PRINTF_EXPR): Likewise.
319 (PRINTF_XEXPR): Likewise.
320 (PRINTF_NEXPR): Likewise.
321 (TEST_DOUBLE): Likewise.
322 (TEST_MATHVEC): Likewise.
323 (TEST_INLINE): Likewise.
324 (__NO_MATH_INLINES): Likewise.
325 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
327 (FUNC): Remove macro.
328 (FUNC_TEST): Likewise.
330 (MATHCONST): Likewise.
331 (PRINTF_EXPR): Likewise.
332 (PRINTF_XEXPR): Likewise.
333 (PRINTF_NEXPR): Likewise.
334 (TEST_FLOAT): Likewise.
335 (TEST_MATHVEC): Likewise.
336 (TEST_INLINE): Likewise.
337 (__NO_MATH_INLINES): Likewise.
338 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
339 and test-math-scalar.h.
340 (FUNC): Remove macro.
341 (FUNC_TEST): Likewise.
343 (MATHCONST): Likewise.
344 (PRINTF_EXPR): Likewise.
345 (PRINTF_XEXPR): Likewise.
346 (PRINTF_NEXPR): Likewise.
347 (TEST_LDOUBLE): Likewise.
348 (TEST_MATHVEC): Likewise.
349 (TEST_INLINE): Likewise.
350 (__NO_MATH_INLINES): Likewise.
351 * math/test-ldouble.c: Include test-ldouble.h,
352 test-math-no-inline.h and test-math-scalar.h.
353 (FUNC): Remove macro.
354 (FUNC_TEST): Likewise.
356 (MATHCONST): Likewise.
357 (PRINTF_EXPR): Likewise.
358 (PRINTF_XEXPR): Likewise.
359 (PRINTF_NEXPR): Likewise.
360 (TEST_LDOUBLE): Likewise.
361 (TEST_MATHVEC): Likewise.
362 (__NO_MATH_INLINES): Likewise.
363 * math/test-double-vlen2.h: Include test-double.h,
364 test-math-no-inline.h and test-math-vector.h.
365 (FLOAT): Remove macro.
367 (MATHCONST): Likewise.
368 (PRINTF_EXPR): Likewise.
369 (PRINTF_XEXPR): Likewise.
370 (PRINTF_NEXPR): Likewise.
371 (TEST_DOUBLE): Likewise.
372 (TEST_MATHVEC): Likewise.
373 (__NO_MATH_INLINES): Likewise.
376 (WRAPPER_NAME): Likewise.
377 (WRAPPER_DECL): Likewise.
378 (WRAPPER_DECL_ff): Likewise.
379 (WRAPPER_DECL_fFF): Likewise.
380 (VECTOR_WRAPPER): Likewise.
381 (VECTOR_WRAPPER_ff): Likewise.
382 (VECTOR_WRAPPER_fFF): Likewise.
383 (VEC_LEN): New macro.
384 * math/test-double-vlen4.h: Include test-double.h,
385 test-math-no-inline.h and test-math-vector.h.
386 (FLOAT): Remove macro.
388 (MATHCONST): Likewise.
389 (PRINTF_EXPR): Likewise.
390 (PRINTF_XEXPR): Likewise.
391 (PRINTF_NEXPR): Likewise.
392 (TEST_DOUBLE): Likewise.
393 (TEST_MATHVEC): Likewise.
394 (__NO_MATH_INLINES): Likewise.
397 (WRAPPER_NAME): Likewise.
398 (WRAPPER_DECL): Likewise.
399 (WRAPPER_DECL_ff): Likewise.
400 (WRAPPER_DECL_fFF): Likewise.
401 (VECTOR_WRAPPER): Likewise.
402 (VECTOR_WRAPPER_ff): Likewise.
403 (VECTOR_WRAPPER_fFF): Likewise.
404 (VEC_LEN): New macro.
405 * math/test-double-vlen8.h: Include test-double.h,
406 test-math-no-inline.h and test-math-vector.h.
407 (FLOAT): Remove macro.
409 (MATHCONST): Likewise.
410 (PRINTF_EXPR): Likewise.
411 (PRINTF_XEXPR): Likewise.
412 (PRINTF_NEXPR): Likewise.
413 (TEST_DOUBLE): Likewise.
414 (TEST_MATHVEC): Likewise.
415 (__NO_MATH_INLINES): Likewise.
418 (WRAPPER_NAME): Likewise.
419 (WRAPPER_DECL): Likewise.
420 (WRAPPER_DECL_ff): Likewise.
421 (WRAPPER_DECL_fFF): Likewise.
422 (VECTOR_WRAPPER): Likewise.
423 (VECTOR_WRAPPER_ff): Likewise.
424 (VECTOR_WRAPPER_fFF): Likewise.
425 (VEC_LEN): New macro.
426 * math/test-float-vlen4.h: Include test-float.h,
427 test-math-no-inline.h and test-math-vector.h.
428 (FLOAT): Remove macro.
430 (MATHCONST): Likewise.
431 (PRINTF_EXPR): Likewise.
432 (PRINTF_XEXPR): Likewise.
433 (PRINTF_NEXPR): Likewise.
434 (TEST_FLOAT): Likewise.
435 (TEST_MATHVEC): Likewise.
436 (__NO_MATH_INLINES): Likewise.
439 (WRAPPER_NAME): Likewise.
440 (WRAPPER_DECL): Likewise.
441 (WRAPPER_DECL_ff): Likewise.
442 (WRAPPER_DECL_fFF): Likewise.
443 (VECTOR_WRAPPER): Likewise.
444 (VECTOR_WRAPPER_ff): Likewise.
445 (VECTOR_WRAPPER_fFF): Likewise.
446 (VEC_LEN): New macro.
447 * math/test-float-vlen8.h: Include test-float.h,
448 test-math-no-inline.h and test-math-vector.h.
449 (FLOAT): Remove macro.
451 (MATHCONST): Likewise.
452 (PRINTF_EXPR): Likewise.
453 (PRINTF_XEXPR): Likewise.
454 (PRINTF_NEXPR): Likewise.
455 (TEST_FLOAT): Likewise.
456 (TEST_MATHVEC): Likewise.
457 (__NO_MATH_INLINES): Likewise.
460 (WRAPPER_NAME): Likewise.
461 (WRAPPER_DECL): Likewise.
462 (WRAPPER_DECL_ff): Likewise.
463 (WRAPPER_DECL_fFF): Likewise.
464 (VECTOR_WRAPPER): Likewise.
465 (VECTOR_WRAPPER_ff): Likewise.
466 (VECTOR_WRAPPER_fFF): Likewise.
467 (VEC_LEN): New macro.
468 * math/test-float-vlen16.h: Include test-float.h,
469 test-math-no-inline.h and test-math-vector.h.
470 (FLOAT): Remove macro.
472 (MATHCONST): Likewise.
473 (PRINTF_EXPR): Likewise.
474 (PRINTF_XEXPR): Likewise.
475 (PRINTF_NEXPR): Likewise.
476 (TEST_FLOAT): Likewise.
477 (TEST_MATHVEC): Likewise.
478 (__NO_MATH_INLINES): Likewise.
481 (WRAPPER_NAME): Likewise.
482 (WRAPPER_DECL): Likewise.
483 (WRAPPER_DECL_ff): Likewise.
484 (WRAPPER_DECL_fFF): Likewise.
485 (VECTOR_WRAPPER): Likewise.
486 (VECTOR_WRAPPER_ff): Likewise.
487 (VECTOR_WRAPPER_fFF): Likewise.
488 (VEC_LEN): New macro.
489 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
491 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
492 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
493 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
494 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
495 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
496 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
497 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
499 2015-06-24 Roland McGrath <roland@hack.frob.com>
501 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
502 (__getlogin_r): ... this.
504 2015-06-24 Joseph Myers <joseph@codesourcery.com>
507 * math/s_ccosh.c (__ccosh): Compare with least normal value
508 instead of comparing class with FP_SUBNORMAL.
509 * math/s_ccoshf.c (__ccoshf): Likewise.
510 * math/s_ccoshl.c (__ccoshl): Likewise.
511 * math/s_cexp.c (__cexp): Likewise.
512 * math/s_cexpf.c (__cexpf): Likewise.
513 * math/s_cexpl.c (__cexpl): Likewise.
514 * math/s_csin.c (__csin): Likewise.
515 * math/s_csinf.c (__csinf): Likewise.
516 * math/s_csinh.c (__csinh): Likewise.
517 * math/s_csinhf.c (__csinhf): Likewise.
518 * math/s_csinhl.c (__csinhl): Likewise.
519 * math/s_csinl.c (__csinl): Likewise.
520 * math/s_ctan.c (__ctan): Likewise.
521 * math/s_ctanf.c (__ctanf): Likewise.
522 * math/s_ctanh.c (__ctanh): Likewise.
523 * math/s_ctanhf.c (__ctanhf): Likewise.
524 * math/s_ctanhl.c (__ctanhl): Likewise.
525 * math/s_ctanl.c (__ctanl): Likewise.
526 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
527 csin, csinh, ctan and ctanh.
528 * math/auto-libm-test-out: Regenerated.
529 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
530 * sysdeps/i386/fpu/libm-test-ulps: Update.
531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
533 2015-06-24 Roland McGrath <roland@hack.frob.com>
535 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
536 return value is wrong, print the expected value too.
538 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
541 * elf/readlib.c (is_gdb_python_file): New.
542 (process_file): Don't issue errors on filenames with -gdb.py
545 2015-06-24 Joseph Myers <joseph@codesourcery.com>
547 * math/auto-libm-test-in: Add more tests of csin and csinh.
548 * math/auto-libm-test-out: Regenerated.
549 * math/libm-test.inc (csin_test_data): Remove tests moved to
551 (csinh_test_data): Likewise.
554 * math/s_csin.c (__csin): Negate before rather than after possibly
555 overflowing multiplication.
556 * math/s_csinf.c (__csinf): Likewise.
557 * math/s_csinh.c (__csinh): Likewise.
558 * math/s_csinhf.c (__csinhf): Likewise.
559 * math/s_csinhl.c (__csinhl): Likewise.
560 * math/s_csinl.c (__csinl): Likewise.
561 * math/auto-libm-test-in: Add some tests of csin and csinh.
562 * math/auto-libm-test-out: Regenerated.
563 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
564 (csinh_test_data): Likewise.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
568 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
569 underflow exception for small results.
571 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
573 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
574 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
575 variable and included header.
576 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
577 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
578 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
579 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
580 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
581 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
582 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
583 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
584 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
585 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
586 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
587 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
588 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
589 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
590 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
591 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
593 2015-06-23 Joseph Myers <joseph@codesourcery.com>
597 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
598 (__sin): Force underflow exception for arguments with small
600 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
601 (__kernel_sinf): Force underflow exception for arguments with
602 small absolute value.
603 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
604 (__kernel_sincosl): Force underflow exception for arguments with
605 small absolute value.
606 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
607 (__kernel_sinl): Force underflow exception for arguments with
608 small absolute value.
609 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
610 (__kernel_sincosl): Force underflow exception for arguments with
611 small absolute value.
612 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
613 (__kernel_sinl): Force underflow exception for arguments with
614 small absolute value.
615 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
616 (__kernel_sinl): Force underflow exception for arguments with
617 small absolute value.
618 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
619 (__kernel_sinf): Force underflow exception for arguments with
620 small absolute value.
621 * math/auto-libm-test-in: Add more tests of sin and sincos.
622 * math/auto-libm-test-out: Regenerated.
626 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
627 (__kernel_standard_l): Use feholdexcept and fesetenv around
628 conversion to double instead of special-casing overflow and
630 * math/libm-test.inc (fmod_test_data): Add more tests.
631 (remainder_test_data): Likewise.
632 (sqrt_test_data): Likewise.
634 2015-06-23 Torvald Riegel <triegel@redhat.com>
637 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
638 atomic_read_barrier, atomic_write_barrier): Define.
639 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
640 atomic_read_barrier, atomic_write_barrier): Define.
642 2015-06-23 Joseph Myers <joseph@codesourcery.com>
644 * math/Makefile [$(PERL) != no]
645 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
646 dependency on libm-test.stmp below the inclusion of Rules.
648 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
650 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
651 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
653 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
654 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
655 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
656 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
657 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
659 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
660 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
661 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
662 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
663 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
664 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
665 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
666 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
667 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
668 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
669 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
670 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
671 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
673 2015-06-23 Joseph Myers <joseph@codesourcery.com>
676 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
677 intermediate but not final result might underflow.
678 * math/s_csqrtf.c (__csqrtf): Likewise.
679 * math/s_csqrtl.c (__csqrtl): Likewise.
680 * math/auto-libm-test-in: Add more tests of csqrt.
681 * math/auto-libm-test-out: Regenerated.
682 * sysdeps/i386/fpu/libm-test-ulps: Update.
685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
686 threshold on absolute value of exponent for which scaling is used.
687 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
688 * math/auto-libm-test-in: Add more tests of exp2.
689 * math/auto-libm-test-out: Regenerated.
691 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
694 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
695 when initializing interface list, based on the bug analysis
696 and the patch proposed by Eric Newton.
697 * resolv/tst-res_hconf_reorder.c: New test.
698 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
699 tst-res_hconf_reorder.
700 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
701 and $(shared-thread-library).
702 (tst-res_hconf_reorder-ENV): New variable.
704 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
707 2015-06-22 Joseph Myers <joseph@codesourcery.com>
710 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
711 (__expm1): Force underflow exception for arguments with small
713 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
714 (__expm1f): Force underflow exception for arguments with small
716 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
717 (__expm1): Force underflow exception for arguments with small
719 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
720 (__expm1f): Force underflow exception for arguments with small
722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
723 Check for small arguments before calling __expm1.
724 * math/auto-libm-test-in: Do not mark underflow exceptions as
725 possibly missing for bug 16353.
726 * math/auto-libm-test-out: Regenerated.
728 2015-06-22 Andreas Schwab <schwab@suse.de>
731 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
734 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
736 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
738 * string/strcoll_l.c: Remove unused struct element idxnow.
740 2015-06-21 Joseph Myers <joseph@codesourcery.com>
743 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
744 underflow and return argument in case of subnormal argument.
745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
747 * math/auto-libm-test-in: Add more tests of expm1.
748 * math/auto-libm-test-out: Regenerated.
751 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
752 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
754 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
755 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
757 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
758 mark underflow exceptions as possibly missing for bug 16361.
759 * math/auto-libm-test-out: Regenerated.
761 2015-06-19 Joseph Myers <joseph@codesourcery.com>
763 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
764 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
766 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
767 (test-xfail-XOPEN2K8/utmpx.h/conform).
769 * conform/conformtest.pl ($xerrors): New variable.
770 (note_error): New function.
771 (compiletest): New argument $xfail. Use not_error.
773 (top level): Handle xfail- lines. Update calls to compiletest and
774 runtest. Handle xfail- and optional- in headers listed with
776 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
778 (O_SEARCH): Likewise.
779 * conform/data/stropts.h-data (ioctl): Likewise.
780 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
781 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
782 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
783 (msghdr.msg_controllen): Likewise.
784 (cmsghdr.cmsg_len): Likewise.
785 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
786 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
788 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
789 (test-xfail-XPG4/stropts.h/conform): Likewise.
790 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
791 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
792 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
793 (test-xfail-UNIX98/stropts.h/conform): Likewise.
794 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
795 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
796 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
797 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
798 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
799 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
800 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
801 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
802 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
803 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
804 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
805 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
806 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
807 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
808 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
810 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
812 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
813 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
814 definitions for proper unfolding of __MATHDECL_VEC.
816 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
818 * benchtests/bench-strcoll.c:
820 (main): Remove unused variable res.
822 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
824 * timezone/Makefile (%/UTC %/Universal):
825 Generate test-result files for UTC and Universal.
827 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
829 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
831 2015-06-18 Joseph Myers <joseph@codesourcery.com>
834 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
835 for arguments with small absolute value.
836 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
837 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
838 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
839 (__asinh): Force underflow exception for arguments with small
841 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
842 (__asinhf): Force underflow exception for arguments with small
844 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
845 (__asinhl): Force underflow exception for arguments with small
847 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
848 (__asinhl): Force underflow exception for arguments with small
850 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
851 (__asinhl): Force underflow exception for arguments with small
853 * math/auto-libm-test-in: Do not mark underflow exceptions as
854 possibly missing for bug 16350.
855 * math/auto-libm-test-out: Regenerated.
857 * include/bits/ipc.h: Remove file.
858 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
860 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
861 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
862 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
863 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
864 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
865 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
866 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
867 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
868 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
870 * math/auto-libm-test-in: Remove spurious underflow allowance for
872 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
876 unconditional definition.
877 (MCAST_BLOCK_SOURCE): Likewise.
878 (MCAST_UNBLOCK_SOURCE): Likewise.
879 (MCAST_LEAVE_GROUP): Likewise.
880 (MCAST_JOIN_SOURCE_GROUP): Likewise.
881 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
882 (MCAST_MSFILTER): Likewise.
883 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
885 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
886 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
887 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
888 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
889 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
891 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
893 * NEWS: Mention addition of x86_64 vector sincosf.
894 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
895 * math/test-float-vlen4.h: Likewise.
896 * math/test-float-vlen8.h: Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
898 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
899 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
900 * sysdeps/x86_64/fpu/Versions: New versions added.
901 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
902 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
903 Added build of SSE, AVX2 and AVX512 IFUNC versions.
904 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
905 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
906 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
907 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
908 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
909 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
910 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
911 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
912 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
913 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
914 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
915 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
916 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
917 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
918 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
919 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
920 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
921 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
922 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
923 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
924 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
926 * NEWS: Mention addition of x86_64 vector sincos.
927 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
928 * math/math.h (__MATHDECL_VEC): New macro.
929 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
930 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
931 declaration under condition.
932 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
933 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
934 TEST_VEC_LOOP change.
935 * math/test-double-vlen4.h: Likewise.
936 * math/test-double-vlen8.h: Likewise.
937 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
938 * math/test-float-vlen4.h: Likewise.
939 * math/test-float-vlen8.h: Likewise.
940 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
941 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
942 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
943 * sysdeps/x86_64/fpu/Versions: New versions added.
944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
945 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
946 Added build of SSE, AVX2 and AVX512 IFUNC versions.
947 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
948 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
949 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
950 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
951 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
953 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
954 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
955 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
956 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
957 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
958 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
959 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
960 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
961 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
962 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
963 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
964 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
965 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
966 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
967 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
969 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
970 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
971 redirections for powf.
972 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
973 * sysdeps/x86_64/fpu/Versions: New versions added.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
975 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
976 Added build of SSE, AVX2 and AVX512 IFUNC versions.
977 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
978 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
979 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
980 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
981 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
982 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
983 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
984 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
985 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
986 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
987 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
988 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
989 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
990 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
991 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
992 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
993 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
994 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
995 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
996 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
997 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
998 * math/test-float-vlen16.h: Fixed 2 argument macro.
999 * math/test-float-vlen4.h: Likewise.
1000 * math/test-float-vlen8.h: Likewise.
1001 * NEWS: Mention addition of x86_64 vector powf.
1003 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1005 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1007 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1009 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1010 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1011 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1014 * resource/getpriority.c (getpriority): Rename to __getpriority
1015 and define as weak alias of __getpriority.
1016 * resource/setpriority.c (setpriority): Rename to __setpriority
1017 and define as weak alias of __setpriority.
1018 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1019 __getpriority and define as weak alias of __getpriority.
1020 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1021 __setpriority and define as weak alias of __setpriority.
1022 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1024 (setpriority): Use __setpriority as strong name.
1025 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1026 __getpriority and define as weak alias of __getpriority.
1027 * include/sys/resource.h (__getpriority): Declare. Use
1029 (__setpriority): Likewise.
1030 (getpriority): Don't use libc_hidden_proto.
1031 (setpriority): Likewise.
1032 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1033 getpriority. Call __setpriority instead of setpriority.
1034 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1038 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1039 as weak alias of __getttynam. Use prototype function definition.
1040 Call __setttyent, __getttyent and __endttyent instead of
1041 setttyent, getttyent and endttyent.
1042 (getttyent): Rename to __getttyent and define as weak alias of
1043 __getttyent. Call __setttyent instead of setttyent. Call
1044 __fgets_unlocked instead of fgets_unlocked.
1045 (setttyent): Rename to __setttyent and define as weak alias of
1047 (endttyent): Rename to __endttyent and define as weak alias of
1049 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1050 (__setttyent): Likewise.
1051 (__endttyent): Likewise.
1052 (getttyent): Don't use libc_hidden_proto.
1053 (setttyent): Likewise.
1054 (endttyent): Likewise.
1055 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1056 __endttyent instead of setttyent, getttyent and endttyent.
1057 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1061 * socket/recv.c (__recv): Use libc_hidden_def.
1062 * socket/socket.c (__socket): Likewise.
1063 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1064 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1065 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1066 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1067 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1069 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1071 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1072 Use libc_hidden_proto.
1074 * socket/Versions (libc): Export __recv and __socket at version
1076 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1078 (init_mq_netlink): Call __socket instead of socket.
1079 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1083 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1084 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1086 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1087 define as alias of __mq_timedsend. Use hidden_weak.
1088 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1089 __mq_timedsend as strong name.
1090 (mq_timedreceive): Use __mq_timedreceive as strong name.
1091 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1092 (__mq_timedreceive): Likewise.
1093 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1094 __mq_timedreceive instead of mq_timedreceive.
1095 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1096 instead of mq_timedsend.
1097 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1100 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1101 hidden_def and hidden_weak instead of libc_hidden_def and
1103 (top level): Refer to hidden_def in comment.
1104 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1105 macro. Use it instead of libc_hidden_def.
1106 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1107 specify __GI_* name explicitly.
1108 (mq_timedreceive): Likewise.
1109 (mq_setattr): Likewise.
1112 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1113 __pthread_barrier_init and define as weak alias of
1114 __pthread_barrier_init.
1115 * sysdeps/sparc/nptl/pthread_barrier_init.c
1116 (pthread_barrier_init): Likewise.
1117 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1118 __pthread_barrier_wait and define as weak alias of
1119 __pthread_barrier_wait.
1120 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1121 (pthread_barrier_wait): Likewise.
1122 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1123 (pthread_barrier_wait): Likewise.
1124 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1125 (pthread_barrier_wait): Likewise.
1126 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1127 (pthread_barrier_wait): Likewise.
1128 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1129 __pthread_barrier_wait at version GLIBC_PRIVATE.
1130 * include/pthread.h (__pthread_barrier_init): Declare.
1131 (__pthread_barrier_wait): Likewise.
1132 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1133 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1134 (helper_thread): Likewise.
1135 (init_mq_netlink): Call __pthread_barrier_init instead of
1136 pthread_barrier_init.
1139 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1140 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1141 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1142 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1144 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1148 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1149 strong alias of _IO_fflush. Use libc_hidden_def.
1150 * libio/iofflush_u.c (fflush_unlocked): Rename to
1151 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1152 Use libc_hidden_weak.
1153 * include/stdio.h (__fflush_unlocked): Declare. Use
1155 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1157 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1161 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1162 define as weak alias of __addseverity.
1163 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1165 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1166 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1167 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1170 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1171 (__tfind): Likewise.
1172 (__tdelete): Likewise.
1173 (__twalk): Likewise.
1174 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1175 __twalk to GLIBC_PRIVATE.
1176 * include/search.h (__tsearch): Use libc_hidden_proto.
1177 (__tfind): Likewise.
1178 (__tdelete): Likewise.
1179 (__twalk): Likewise.
1180 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1181 Call __tdelete instead of tdelete.
1182 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1183 tfind. Call __tsearch instead of tsearch.
1184 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1185 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1187 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1190 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1191 (dprintf): Define as a weak alias of __dprintf, not a strong
1193 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1194 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1196 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1198 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1199 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1202 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1204 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1208 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1209 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1210 (in6addr_loopback): Rename to __in6addr_loopback and define as
1211 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1212 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1214 (__in6addr_any): Likewise.
1215 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1217 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1219 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1221 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1223 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1224 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1225 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1226 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1227 redirections for pow.
1228 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1229 * sysdeps/x86_64/fpu/Versions: New versions added.
1230 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1231 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1232 build of SSE, AVX2 and AVX512 IFUNC versions.
1233 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1234 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1236 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1237 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1238 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1239 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1240 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1241 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1242 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1243 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1244 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1245 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1246 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1247 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1248 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1249 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1250 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1251 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1252 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1253 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1254 * NEWS: Mention addition of x86_64 vector pow.
1256 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1257 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1258 redirections for expf.
1259 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1260 * sysdeps/x86_64/fpu/Versions: New versions added.
1261 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1262 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1263 build of SSE, AVX2 and AVX512 IFUNC versions.
1264 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1265 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1266 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1267 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1268 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1269 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1270 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1271 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1272 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1273 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1274 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1275 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1276 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1277 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1278 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1279 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1280 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1281 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1282 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1283 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1284 * NEWS: Mention addition of x86_64 vector expf.
1286 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1287 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1288 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1289 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1290 redirections for exp.
1291 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1292 * sysdeps/x86_64/fpu/Versions: New versions added.
1293 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1294 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1295 build of SSE, AVX2 and AVX512 IFUNC versions.
1296 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1297 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1298 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1299 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1300 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1301 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1302 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1303 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1304 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1305 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1306 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1307 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1308 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1309 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1310 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1311 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1312 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1313 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1314 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1315 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1316 * NEWS: Mention addition of x86_64 vector exp.
1318 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1319 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1320 redirections for logf.
1321 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1322 * sysdeps/x86_64/fpu/Versions: New versions added.
1323 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1324 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1325 build of SSE, AVX2 and AVX512 IFUNC versions.
1326 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1327 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1328 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1329 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1330 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1331 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1332 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1333 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1334 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1335 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1336 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1337 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1338 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1339 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1340 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1341 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1342 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1343 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1344 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1345 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1346 * NEWS: Mention addition of x86_64 vector logf.
1348 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1349 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1350 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1351 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1352 redirections for log.
1353 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1354 * sysdeps/x86_64/fpu/Versions: New versions added.
1355 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1356 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1357 build of SSE, AVX2 and AVX512 IFUNC versions.
1358 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1359 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1360 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1361 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1362 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1363 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1364 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1365 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1366 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1367 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1368 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1369 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1370 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1372 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1373 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1374 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1375 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1376 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1377 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1378 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1379 * NEWS: Mention addition of x86_64 vector log.
1381 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1383 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1384 cfi_adjust_cfa_offset argument.
1385 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1386 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1389 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1390 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1391 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1392 ordering using ldar.
1393 (_dl_tlsdesc_dynamic): Likewise.
1394 (_dl_tlsdesc_return_lazy): Likewise.
1395 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1396 relaxed atomics instead of volatile and synchronize with release store.
1397 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1399 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1401 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1403 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1404 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1405 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1406 * sysdeps/x86_64/fpu/Versions: New versions added.
1407 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1408 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1409 build of SSE, AVX2 and AVX512 IFUNC versions.
1410 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1411 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1412 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1413 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1414 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1415 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1416 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1417 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1418 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1419 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1420 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1421 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1422 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1423 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1424 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1425 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1426 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1427 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1428 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1429 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1430 * NEWS: Mention addition of x86_64 vector sinf.
1432 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1434 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1435 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1436 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1438 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1439 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1441 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1444 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1445 strong alias of _IO_fputs. Use libc_hidden_def.
1446 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1447 and define as weak alias of __fputs_unlocked. Use
1449 * include/stdio.h (__fputs_unlocked): Declare. Use
1451 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1455 * resolv/netdb.h [__USE_POSIX]: Change condition to
1457 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1459 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1460 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1461 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1462 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1463 [XPG4 || UNIX98] (AI_ALL): Likewise.
1464 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1465 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1466 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1467 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1468 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1469 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1470 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1471 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1472 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1473 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1474 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1475 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1476 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1477 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1478 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1479 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1480 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1481 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1482 [XPG4 || UNIX98] (gai_strerror): Likewise.
1483 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1484 [XPG4 || UNIX98] (getnameinfo): Likewise.
1487 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1488 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1490 (getgrent): Likewise.
1491 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1493 [XPG3 || POSIX2008] (endgrent): Likewise.
1494 [XPG3] (setgrent): Likewise.
1495 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1497 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1500 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1501 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1502 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1503 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1504 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1505 * include/unistd.h (__getlogin_r): Declare. Use
1507 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1508 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1510 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1511 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1512 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1514 2015-06-12 Martin Sebor <msebor@redhat.com>
1517 * Makerules (check-install-supported): New target.
1518 (install): Add check-install-supported as a dependency.
1519 * manual/install.texi (Installing the C Library): Document
1520 that overriding prefix and exec_prefix is not supported.
1522 * INSTALL: Regenerate from the above.
1524 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1527 * posix/Versions (libc): Export __libc_pread at version
1529 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1531 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1536 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1537 (cvt_symbol): Use weak_alias instead of strong_alias.
1538 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1539 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1541 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1542 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1545 * inet/herrno.c (h_errno): Rename to __h_errno.
1546 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1547 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1548 to __h_errno instead of h_errno.
1549 * nptl/herrno.c (h_errno): Rename to __h_errno.
1550 (__h_errno_location): Refer to __h_errno not h_errno.
1551 * resolv/Versions (h_errno): Rename to __h_errno.
1552 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1554 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1556 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1558 * configure.ac: More strict check for AVX512 assembler support.
1559 * configure: Regenerated.
1561 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1562 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1563 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1564 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1565 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1566 * sysdeps/x86_64/fpu/Versions: New versions added.
1567 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1568 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1569 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1570 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1571 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1572 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1573 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1574 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1575 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1576 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1577 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1578 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1579 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1580 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1581 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1582 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1584 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1585 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1586 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1587 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1588 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1589 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1590 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1591 * NEWS: Mention addition of x86_64 vector sin.
1593 2015-06-11 Florian Weimer <fweimer@redhat.com>
1595 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1598 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1601 * nptl/pt-interp.c: New file.
1602 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1604 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1605 $(common-objpfx)runtime-linker.h.
1607 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1609 * Makeconfig (+interp): Remove unused variable.
1610 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1611 only. Depend on $(common-objpfx)runtime-linker.h instead of
1612 $(elf-objpfx)runtime-linker.h.
1613 ($(elf-objpfx)runtime-linker.h): Rename to
1614 $(common-objpfx)runtime-linker.h and move ...
1615 * Makerules [$(build-shared) = yes]: ... here.
1616 * elf/interp.c: Include <runtime-linker.h> instead of
1617 <elf/runtime-linker.h>.
1619 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1621 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1622 (__gettimeofday_syscall): Remove vsyscall fallback.
1623 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1624 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1625 Add syscall fallback function.
1626 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1627 if vDSO is not present.
1628 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1630 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1633 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1635 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1638 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1640 (wcscmp): Define as weak alias of WCSCMP.
1641 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1643 (USE_HIDDEN_DEF): Define.
1644 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1645 __wcscoll. Don't use libc_hidden_weak.
1646 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1648 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1649 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1651 (weak_alias): Undefine and redefine.
1652 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1653 __wcscmp and define as weak alias of __wcscmp.
1654 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1655 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1656 (__wcscoll): Likewise.
1657 (wcscmp): Don't use libc_hidden_proto.
1658 (wcscoll): Likewise.
1659 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1661 * posix/regexec.c (check_node_accept_bytes): Likewise.
1662 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1664 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1665 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1668 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1669 __fstatvfs and define as weak alias of __fstatvfs. Use
1671 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1672 and define as weak alias of __statvfs. Use libc_hidden_weak.
1673 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1674 Define as alias of __fstatvfs, not fstatvfs.
1675 (fstatvfs64): Likewise.
1676 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1677 Define as alias of __statvfs, not statvfs.
1678 (statvfs64): Likewise.
1679 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1682 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1685 (HAVE_GETCPU_VSYSCALL): Define.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1687 (HAVE_GETCPU_VSYSCALL): Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1689 * sysdeps/unix/sysv/linux/sched_getcpu.c
1690 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1691 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1692 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1694 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1695 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1696 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1699 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1704 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1706 * sysdeps/x86_64/fpu/Makefile: New file.
1707 * sysdeps/x86_64/fpu/Versions: New file.
1708 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1709 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1710 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1711 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1712 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1713 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1714 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1715 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1716 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1717 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1718 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1719 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1720 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1721 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1722 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1723 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1724 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1725 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1726 * sysdeps/x86_64/configure: Regenerated.
1727 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1728 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1729 * manual/install.texi (Configuring and compiling): Document
1731 * INSTALL: Regenerated.
1732 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1734 * math/Makefile: Added rules for vector tests.
1735 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1736 declaration under condition.
1737 * math/test-double-vlen2.h: New file.
1738 * math/test-double-vlen4.h: New file.
1739 * math/test-double-vlen8.h: New file.
1740 * math/test-vec-loop.h: Added initialization macro.
1741 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1743 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1744 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1745 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1746 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1747 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1748 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1749 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1750 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1751 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1753 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1754 * sysdeps/x86_64/fpu/Versions: New versions added.
1755 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1756 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1757 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1758 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1759 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1760 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1761 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1762 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1763 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1764 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1765 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1766 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1767 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1768 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1769 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1770 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1771 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1772 * NEWS: Mention addition of x86_64 vector cosf.
1774 * math/Makefile: Added CFLAGS for new tests.
1775 * math/test-float-vlen16.h: New file.
1776 * math/test-float-vlen4.h: New file.
1777 * math/test-float-vlen8.h: New file.
1778 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1779 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1780 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1781 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1782 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1783 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1784 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1785 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1786 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1787 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1788 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1790 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1792 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1793 * locale/programs/ld-ctype.c: Likewise.
1795 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1797 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1798 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1799 bit_ZMM16_31_state): New macro.
1800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1801 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1803 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1805 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1807 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1809 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1811 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1814 * libio/memstream.c (open_memstream): Rename to __open_memstream
1815 and define as weak alias of __open_memstream.
1816 * include/stdio.h (__open_memstream): Declare. Use
1818 (open_memstream): Don't use libc_hidden_proto.
1819 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1821 * posix/getopt.c (_getopt_internal_r): Likewise.
1822 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1824 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1825 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1826 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1829 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1833 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1834 [__USE_XOPEN2K8]. Remove redundant #endif.
1835 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1836 Remove redundant #if.
1837 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1839 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1840 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1843 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1844 (__iswlower): Likewise.
1845 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1846 (__iswlower): Likewise.
1847 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1848 instead of towlower.
1849 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1850 instead of iswlower. Call __towupper instead of towupper.
1851 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1852 instead of iswalnum.
1854 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1856 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1859 2015-06-05 Florian Weimer <fweimer@redhat.com>
1863 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1864 Check for overflow properly. Check for O_APPEND. Ignore large
1865 file system block sizes. Add comments about problems.
1866 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1867 * manual/filesys.texi (Storage Allocation): New node.
1869 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1871 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1872 cancellable syscalls.
1873 (SYS_ify): Add guard to no redefine it.
1874 (INLINE_SYSCALL): Likewise.
1875 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1876 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1877 SYSCALL_CANCEL instead.
1878 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1879 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1880 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1881 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1882 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1883 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1884 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1885 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1886 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1887 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1888 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1889 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1890 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1891 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1892 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1893 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1896 (__libc_pread64): Likewise.
1897 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1898 (__libc_preadv): Likewise.
1899 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1900 (__libc_readv64): Likewise.
1901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1902 (__libc_pwrite): Likewise.
1903 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1904 (__libc_pwrite64): Likewise.
1905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1906 (__libc_pwritev): Likewise.
1907 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1908 (__libc_pwritev64): Likewise.
1909 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1910 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1911 (sync_file_range): Likewise.
1912 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1914 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1916 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1917 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1918 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1919 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1920 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1921 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1922 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1923 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1927 (__libc_read64): Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1937 (__libc_pread64): Likewise.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1941 (__libc_pwrite64): Likewise.
1942 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1943 (sync_file_range): Likewise.
1944 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1945 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1946 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1947 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1948 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1949 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1950 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1951 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1952 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1953 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1954 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1955 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1956 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1957 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1958 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1959 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1960 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1961 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1964 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1966 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1967 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1969 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1970 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1971 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1972 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1974 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1975 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1976 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1980 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1982 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1984 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1985 Use VDSO routines for gettimeofday, clock_gettime if
1987 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1988 Declare VDSO symbols.
1989 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1990 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1991 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1992 * sysdeps/unix/sysv/linux/arm/Versions: Add
1993 __vdso_clock_gettime.
1995 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1997 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1998 be an inline implementation regardless of library is built within.
1999 (open_not_cancel_2): Likewise.
2000 (__read_nocancel): Likewise.
2001 (__write_nocancel): Likewise.
2002 (openat_not_cancel): Likewise.
2003 (openat_not_cancel_3): Likewise.
2004 (openat64_not_cancel): Likewise.
2005 (openat64_not_cancel_3): Likewise.
2006 (__close_nocancel): Likewise.
2007 (pause_not_cancel): Likewise.
2008 (nanosleep_not_cancel): Likewise.
2009 (sigsuspend_not_cancel): Likewise.
2011 2015-06-04 Torvald Riegel <triegel@redhat.com>
2014 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2016 (__pthread_rwlock_rdlock_slow): Likewise.
2017 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2019 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2021 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2022 * nptl/tst-rwlock16.c: New file.
2023 * nptl/Makefile (tests): Add new test.
2025 2015-06-04 Torvald Riegel <triegel@redhat.com>
2028 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2029 missing wake-up of readers.
2030 * nptl/tst-rwlock15.c: New file.
2031 * nptl/Makefile (tests): Add new test.
2033 2015-06-03 Roland McGrath <roland@hack.frob.com>
2035 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2036 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2037 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2038 and __nacl_supply_interface_rtld.
2039 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2040 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2041 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2042 Add __nacl_supply_interface_rtld.
2043 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2045 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2050 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2052 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2054 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2055 __signbit* with standard C99 macros.
2056 * math/e_exp10l.c: Likewise.
2057 * math/e_exp2l.c: Likewise.
2058 * math/e_scalb.c: Likewise.
2059 * math/e_scalbf.c: Likewise.
2060 * math/e_scalbl.c: Likewise.
2061 * math/s_ldexp.c: Likewise.
2062 * math/s_ldexpf.c: Likewise.
2063 * math/s_ldexpl.c: Likewise.
2064 * math/w_atan2.c: Likewise.
2065 * math/w_atan2f.c: Likewise.
2066 * math/w_atan2l.c: Likewise.
2067 * math/w_cosh.c: Likewise.
2068 * math/w_coshf.c: Likewise.
2069 * math/w_coshl.c: Likewise.
2070 * math/w_exp10.c: Likewise.
2071 * math/w_exp10f.c: Likewise.
2072 * math/w_exp10l.c: Likewise.
2073 * math/w_exp2.c: Likewise.
2074 * math/w_exp2f.c: Likewise.
2075 * math/w_exp2l.c: Likewise.
2076 * math/w_fmod.c: Likewise.
2077 * math/w_fmodf.c: Likewise.
2078 * math/w_fmodl.c: Likewise.
2079 * math/w_hypot.c: Likewise.
2080 * math/w_hypotf.c: Likewise.
2081 * math/w_hypotl.c: Likewise.
2082 * math/w_jnl.c: Likewise.
2083 * math/w_lgamma.c: Likewise.
2084 * math/w_lgamma_r.c: Likewise.
2085 * math/w_lgammaf.c: Likewise.
2086 * math/w_lgammaf_r.c: Likewise.
2087 * math/w_lgammal.c: Likewise.
2088 * math/w_lgammal_r.c: Likewise.
2089 * math/w_pow.c: Likewise.
2090 * math/w_powf.c: Likewise.
2091 * math/w_powl.c: Likewise.
2092 * math/w_remainder.c: Likewise.
2093 * math/w_remainderf.c: Likewise.
2094 * math/w_remainderl.c: Likewise.
2095 * math/w_scalb.c: Likewise.
2096 * math/w_scalbf.c: Likewise.
2097 * math/w_scalbl.c: Likewise.
2098 * math/w_scalbln.c: Likewise.
2099 * math/w_scalblnf.c: Likewise.
2100 * math/w_scalblnl.c: Likewise.
2101 * math/w_sinh.c: Likewise.
2102 * math/w_sinhf.c: Likewise.
2103 * math/w_sinhl.c: Likewise.
2104 * math/w_tgamma.c: Likewise.
2105 * math/w_tgammaf.c: Likewise.
2106 * math/w_tgammal.c: Likewise.
2107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2108 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2110 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2111 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2113 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2114 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2115 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2116 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2117 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2135 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2138 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2139 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2140 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2141 * stdio-common/printf_fp.c: Likewise.
2142 * stdio-common/printf_fphex.c: Likewise.
2143 * stdio-common/printf_size.c: Likewise.
2145 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2148 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2150 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2152 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2153 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2154 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2155 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2156 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2157 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2158 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2159 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2160 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2161 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2164 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2165 weak alias of __wmemchr. Use libc_hidden_weak.
2166 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2167 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2170 2015-06-02 Roland McGrath <roland@hack.frob.com>
2173 * elf/tst-tlsalign-extern.c: New file.
2174 * elf/tst-tlsalign-extern-static.c: New file.
2175 * elf/tst-tlsalign-vars.c: New file.
2176 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2177 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2178 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2179 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2180 (test-xfail-tst-tlsalign-extern-static): New variable.
2182 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2184 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2185 Use variable name _sc_err instead of err.
2186 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2188 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2189 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2190 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2191 (INLINE_SYSCALL): Likewise.
2193 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2194 * include/string.h (__strnlen): Use libc_hidden_proto.
2195 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2196 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2197 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2199 (libc_hidden_def): Undefine and redefine.
2200 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2201 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2203 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2205 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2208 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2209 weak alias of __towlower. Use libc_hidden_weak.
2210 (towupper): Rename to __towupper and define as weak alias of
2211 __towupper. Use libc_hidden_weak.
2212 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2213 (__towupper): Likewise.
2214 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2215 __towlower instead of towlower.
2217 2015-06-02 Roland McGrath <roland@hack.frob.com>
2219 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2220 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2222 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2224 * sysdeps/aarch64/libm-test-ulps: Update.
2226 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2228 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2230 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2232 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2233 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2234 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2235 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2236 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2238 2015-06-01 Martin Sebor <msebor@redhat.com>
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2242 (__setcontext): Use extended four-operand version of mtsf whenever
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2245 (__novec_swapcontext): Likewise.
2247 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2249 * benchtests/scripts/compare_bench.py: New file.
2250 * benchtests/scripts/import_bench.py (mean): New function.
2251 (split_list): Likewise.
2252 (do_for_all_timings): Likewise.
2253 (compress_timings): Likewise.
2255 * benchtests/scripts/import_bench.py: New file.
2256 * benchtests/scripts/validate_benchout.py: Import import_bench
2257 instead of jsonschema.
2258 (validate_bench): Remove function.
2259 (main): Use import_bench.
2261 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2263 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2264 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2266 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2270 2015-05-28 Roland McGrath <roland@hack.frob.com>
2272 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2273 set THREAD_SELF->tid to a magic value and futex-wake it.
2274 Pass its address to the thread_exit system call.
2275 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2277 * sysdeps/nacl/lowlevellock.h: New file.
2278 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2280 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2281 Add TIMEOUT to current time, don't subtract it.
2283 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2286 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2287 ($(objpfx)tst-audit2.out): Also depend on
2288 $(objpfx)tst-auditmod9b.so.
2289 * elf/tst-audit2.c: Include <dlfcn.h>.
2290 (calloc_called): New.
2291 (calloc): Allow to be called more than once.
2292 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2294 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2296 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2297 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2299 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2301 * stdlib/monetary.h: Fix comment.
2303 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2305 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2306 Avoid using variables in #defines that might cause shadowing.
2307 (INTERNAL_VSYSCALL_CALL): Likewise.
2309 2015-05-26 Roland McGrath <roland@hack.frob.com>
2311 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2313 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2314 * nptl/lll_timedlock_wait.c: ... to this new file.
2315 * nptl/Makefile (libpthread-routines): Add it.
2316 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2317 * nptl/lll_timedwait_tid.c: ... to this new file.
2318 * nptl/Makefile (libpthread-routines): Add it.
2319 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2320 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2321 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2322 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2323 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2324 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2325 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2326 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2327 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2328 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2330 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2332 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2333 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2334 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2336 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2338 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2340 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2341 * sysdeps/unix/sysv/linux/tile/sysdep.h
2342 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2343 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2344 using vDSO syscall macro.
2346 2015-05-26 Andriy Rysin <arysin@gmail.com>
2349 * uk_UA: Fix sorting order for Ukrainian locale
2351 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2353 * stdlib/monetary.h: Fix comment.
2355 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2358 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2359 st_mtim and st_ctim members.
2360 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2361 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2362 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2363 (struct stat64): Likewise.
2364 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2365 (struct stat64): Likewise.
2366 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2367 (struct stat64): Likewise.
2369 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2371 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2372 Define and include sysdep-vdso.h.
2373 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2375 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2377 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2378 Define with VDSO_SYMBOL and use PTR_MANGLE.
2379 (__vdso_clock_gettime): Likewise.
2380 (__vdso_clock_getres): Likewise.
2381 (_libc_vdso_platform_setup): Likewise.
2382 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2384 (_libc_vdso_platform_setup): Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2387 (__vdso_clock_gettime): Likewise.
2388 (__vdso_clock_getres): Likewise.
2389 (__vdso_get_tbfreq): Likewise.
2390 (__vdso_getcpu): Likewise.
2391 (__vdso_time): Likewise.
2392 (__vdso_sigtramp_rt64): Likewise.
2393 (__vdso_signtramp32): Likewise.
2394 (__vdso_sigtramp_rt32): Likewise.
2395 (_libc_vdso_platform_setup): Likewise.
2396 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2398 (__vdso_clock_gettime): Likewise.
2399 (__vdso_clock_getres): Likewise.
2400 (_libc_vdso_platform_setup): Likewise.
2401 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2403 (__vdso_clock_gettime): Likewise.
2404 (_libc_vdso_platform_setup): Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2407 (__vdso_getcpu): Likewise.
2408 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2409 Use VDSO_SYMBOL macro to define.
2410 (__vdso_clock_gettime): Likewise.
2411 (__vdso_clock_getres): Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2414 (__vdso_clock_gettime): Likewise.
2415 (__vdso_clock_getres): Likewise.
2416 (__vdso_get_tbfreq): Likewise.
2417 (__vdso_getcpu): Likewise.
2418 (__vdso_time): Likewise.
2419 (__vdso_sigtramp_rt64): Likewise.
2420 (__vdso_signtramp32): Likewise.
2421 (__vdso_sigtramp_rt32): Likewise.
2422 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2424 (__vdso_clock_gettime): Likewise.
2425 (__vdso_clock_getres): Likewise.
2426 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2428 (__vdso_clock_gettime): Likewise.
2429 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2433 (INTERNAL_VSYSCALL): Likewise.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2436 (INTERNAL_VSYSCALL): Likewise.
2437 (INTERNAL_VSYSCALL_NCS): Likewise.
2438 (INTERNAL_VSYSCALL_CALL): New macro.
2439 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2442 (INTERNAL_VSYSCALL): Likewise.
2443 (INTERNAL_VSYSCALL_NCS): Likewise.
2444 (INTERNAL_VSYSCALL_CALL): New macro.
2445 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2447 (INLINE_VSYSCALL): Remove macro.
2448 (INTERNAL_VSYSCALL): Remove macro.
2449 (INTERNAL_VSYSCALL_NCS): Remove macro.
2450 (INTERNAL_VSYSCALL_CALL): New macro.
2451 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2452 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2453 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2454 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2455 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2457 (INLINE_VSYSCALL): Remove macro.
2458 (INTERNAL_VSYSCALL): Likewise.
2459 (INTERNAL_VSYSCALL_NCS): Likewise.
2460 (INTERNAL_VSYSCALL_CALL): New macro.
2461 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2462 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2463 PTR_DEMANGLE on vDSO pointer.
2464 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2465 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2467 (INTERNAL_SYSCALL): Likewise.
2468 (INTERNAL_VSYSCALL_NCS): Remove macro.
2469 (INTERNAL_VSYSCALL_CALL): New macro.
2470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2472 (INTERNAL_VSYSCALL): Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2474 sysdep-vdso.h instead of libc-vdso.h.
2475 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2477 (INLINE_VSYSCALL): Likewise.
2478 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2479 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2481 (INLINE_VSYSCALL): Likewise.
2482 (INTERNAL_VSYSCALL): Likewise.
2483 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2484 * sysdeps/unix/sysv/linux/timespec_get.c
2485 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2486 (timespec_get): Use ANSI prototype.
2487 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2488 and definition for Linux.
2490 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2492 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2493 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2495 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2498 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2499 for missing DT_PLTRELSZ.
2501 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2503 Remove obsolete aliases that broke 'locale -a'
2505 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2506 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2507 breaking some applications that use 'locale -a' output.
2508 Change the encoding of this file from Latin-1 to ASCII to avoid
2509 other potential problems with people grepping this file.
2511 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2513 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2514 -fasynchronous-unwind-tables.
2515 (CFLAGS-sendto.c): Likewise.
2516 (CFLAGS-sendmsg.c): Likewise.
2517 (CFLAGS-connect.c): Likewise.
2518 (CFLAGS-recvmsg.c): Likewise.
2519 (CFLAGS-recvfrom.c): Likewise.
2520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2521 (SOCKETCALL): New macro: non-cancellable socketcall.
2522 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2523 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2524 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2525 * sysdeps/unix/sysv/linux/accept.c: New file.
2526 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2527 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2528 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2529 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2530 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2531 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2532 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2533 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2534 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2535 * sysdeps/unix/sysv/linux/send.c: Likewise.
2536 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2537 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2538 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2539 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2540 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2541 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2542 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2544 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2545 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2546 instead of __internal_xxx function.
2547 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2549 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2550 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2551 instead of __internal_xxx function.
2552 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2554 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2555 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2556 instead of __internal_xxx function.
2557 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2558 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2559 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2560 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2561 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2562 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2563 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2564 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2565 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2566 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2567 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2568 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2569 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2570 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2572 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2573 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2574 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2575 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2576 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2579 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2580 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2581 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2583 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2584 * sysdeps/unix/sysv/linux/send.S: Likewise.
2585 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2586 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2587 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2588 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2589 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2590 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2591 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2592 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2593 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2594 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2595 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2596 socketcall is implemented in GLIBC.
2598 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2600 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2601 (__fma): Ignore uninitialized warnings around packing.
2602 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2603 (__fmaf): Ignore uninitialized warnings around packing.
2604 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2605 (__fmal): Ignore uninitialized warnings around packing.
2607 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2608 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2609 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2610 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2612 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2613 switch statement into default case.
2614 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2616 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2617 a conditional in forcing "inexact".
2618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2621 2015-05-22 Roland McGrath <roland@hack.frob.com>
2623 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2624 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2625 for each INTERNAL_SYSCALL use.
2627 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2630 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2631 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2635 * string/basename.c (basename): Rename to __basename and define as
2636 weak alias of __basename. Use libc_hidden_weak.
2637 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2638 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2639 __basename instead of basename.
2640 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2642 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2644 2015-05-18 Florian Weimer <fweimer@redhat.com>
2646 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2647 (_IO_JUMPS_FILE_plus): New.
2648 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2649 _IO_CAST_FIELD_ACCESS.
2650 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2651 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2652 * libio/freopen.c (freopen): Likewise.
2653 * libio/freopen64.c (freopen64): Likewise.
2654 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2655 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2656 * libio/iofwide.c (_IO_fwide): Likewise.
2657 * libio/memstream.c (open_memstream): Likewise.
2658 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2659 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2660 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2662 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2665 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2667 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2668 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2671 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2677 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2678 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2680 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2681 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2682 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2684 2015-05-21 Florian Weimer <fweimer@redhat.com>
2686 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2687 Adjust jump table label generation macros.
2689 2015-05-21 Florian Weimer <fweimer@redhat.com>
2691 * stdio-common/vfprintf.c (vfprintf): Move local variables
2692 args_malloced, specs, specs_malloced, and the code after
2693 do_positional to the printf_positional function.
2694 (printf_positional): New function.
2696 2015-05-21 Florian Weimer <fweimer@redhat.com>
2698 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2700 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2701 STEP4_TABLE, process_arg): Move macro definitions
2702 out of the vfprintf function. (Cosmetic change only.)
2704 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2706 * benchtests/Makefile (stdio-common-bench): Define.
2707 (benchset): Add stdio-common-bench.
2708 * sprintf-inputs: New file.
2709 * sprintf-source.c: New file.
2711 2015-05-21 Andreas Schwab <schwab@suse.de>
2715 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2716 of struct __res_state.
2717 * resolv/res_send.c (__libc_res_nsend): Likewise.
2718 (get_nsaddr): New function.
2719 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2722 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2724 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2725 -D_POSIX_C_SOURCE=199506L.
2727 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2729 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2730 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2731 Do not mention otherwise.
2732 [POSIX] (_XOPEN_VERSION): Do not expect.
2733 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2734 [POSIX] (_POSIX2_C_BIND): Likewise.
2735 [POSIX] (_POSIX2_VERSION): Likewise.
2736 [POSIX] (_XOPEN_XPG2): Likewise.
2737 [POSIX] (_XOPEN_XPG3): Likewise.
2738 [POSIX] (_XOPEN_XPG4): Likewise.
2739 [POSIX] (_XOPEN_UNIX): Likewise.
2740 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2741 [POSIX] (_POSIX_BARRIERS): Likewise.
2742 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2743 [POSIX] (_POSIX_CPUTIME): Likewise.
2744 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2745 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2746 [POSIX] (_POSIX_SHELL): Likewise.
2747 [POSIX] (_POSIX_SPAWN): Likewise.
2748 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2749 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2750 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2751 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2752 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2753 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2754 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2755 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2756 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2757 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2758 [POSIX] (_POSIX2_PBS): Likewise.
2759 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2760 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2761 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2762 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2763 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2764 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2765 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2766 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2767 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2768 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2769 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2770 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2771 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2772 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2773 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2774 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2775 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2776 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2777 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2778 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2779 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2780 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2781 [POSIX] (_SC_2_C_BIND): Likewise.
2782 [POSIX] (_SC_2_C_VERSION): Likewise.
2783 [POSIX] (_SC_2_PBS): Likewise.
2784 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2785 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2786 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2787 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2788 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2789 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2790 [POSIX] (_SC_BARRIERS): Likewise.
2791 [POSIX] (_SC_BASE): Likewise.
2792 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2793 [POSIX] (_SC_DEVICE_IO): Likewise.
2794 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2795 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2796 [POSIX] (_SC_FD_MGMT): Likewise.
2797 [POSIX] (_SC_FIFO): Likewise.
2798 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2799 [POSIX] (_SC_FILE_LOCKING): Likewise.
2800 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2801 [POSIX] (_SC_IOV_MAX): Likewise.
2802 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2803 [POSIX] (_SC_NETWORKING): Likewise.
2804 [POSIX] (_SC_PAGE_SIZE): Likewise.
2805 [POSIX] (_SC_PASS_MAX): Likewise.
2806 [POSIX] (_SC_PIPE): Likewise.
2807 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2808 [POSIX] (_SC_REGEXP): Likewise.
2809 [POSIX] (_SC_SHELL): Likewise.
2810 [POSIX] (_SC_SIGNALS): Likewise.
2811 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2812 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2813 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2814 [POSIX] (_SC_USER_GROUPS): Likewise.
2815 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2816 [POSIX] (_SC_STREAMS): Likewise.
2817 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2818 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2819 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2820 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2821 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2822 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2823 [POSIX] (_PC_FILESIZEBITS): Likewise.
2824 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2825 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2826 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2827 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2828 [POSIX] (uid_t): Likewise.
2829 [POSIX] (gid_t): Likewise.
2830 [POSIX] (off_t): Likewise.
2831 [POSIX] (pid_t): Likewise.
2832 [POSIX] (cuserid): Allow.
2833 (_SC_2_CHAR_TERM): Require constant.
2834 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2835 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2838 2015-05-20 Roland McGrath <roland@hack.frob.com>
2840 * sysdeps/nacl/pthread-pids.h: New file.
2841 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2842 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2844 * nptl/pthread-pids.h: New file.
2845 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2846 * nptl/nptl-init.c: Include <pthread-pids.h>.
2847 (__pthread_initialize_minimal_internal):
2848 Call __pthread_initialize_pids instead of set_tid_address syscall.
2850 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2851 * sysdeps/posix/usleep.c: ... here.
2853 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2855 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2856 call_pselect6 object.
2857 [$(subdir) = io]: Remove call_sync_file_range object.
2858 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2859 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2860 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2861 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2863 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2865 * math/s_cproj.c: Add include "math_private.h".
2866 * math/s_cprojf.c: Likewise.
2867 * math/s_cprojl.c: Likewise.
2869 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2872 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2873 high mantissa bit when testing whether P is a NaN.
2874 * math/libm-test.inc (remainder_test_data): Add more tests.
2875 (remquo_test_data): Likewise.
2878 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2879 below -32, return the argument, with underflow if subnormal.
2880 * math/auto-libm-test-in: Add more tests of atanh.
2881 * math/auto-libm-test-out: Regenerated.
2883 2015-05-19 Roland McGrath <roland@hack.frob.com>
2886 * nptl/tst-sem15.c: New file.
2887 * nptl/Makefile (tests): Add it.
2888 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2889 s/<</>>/ to fix typo in EOVERFLOW check.
2890 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2892 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2894 * manual/strings.texi (envz_remove): Fix typo in safety
2897 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2898 Steve Ellcey <sellcey@imgtec.com>
2900 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2901 in order to avoid strict alias warnings.
2902 (iruserok_af): Ditto for ra.
2904 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2908 (magicbyte): Convert to a function and avoid returning 0x01.
2909 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2910 (mem2chunk_check): Fix unsigned comparisons to zero.
2911 Hoist defs of sz and magic.
2913 2015-05-19 Richard Henderson <rth@redhat.com>
2915 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2917 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2919 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2922 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2923 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2924 (reused_arena): Find a non-corrupt arena.
2925 (heap_trim): Pass arena to unlink.
2926 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2928 (top_check): Likewise.
2929 (free_check): Likewise.
2930 (realloc_check): Likewise.
2931 * malloc/malloc.c (malloc_printerr): Add arena argument.
2933 (munmap_chunk): Adjust.
2934 (ARENA_CORRUPTION_BIT): New macro.
2935 (arena_is_corrupt): Likewise.
2936 (set_arena_corrupt): Likewise.
2937 (sysmalloc): Use mmap if there are no usable arenas.
2938 (_int_malloc): Likewise.
2939 (__libc_malloc): Don't fail if arena_get returns NULL.
2940 (_mid_memalign): Likewise.
2941 (__libc_calloc): Likewise.
2942 (__libc_realloc): Adjust for additional argument to
2944 (_int_free): Likewise.
2945 (malloc_consolidate): Likewise.
2946 (_int_realloc): Likewise.
2947 (_int_memalign): Don't touch corrupt arenas.
2948 * malloc/tst-malloc-backtrace.c: New test case.
2950 * Makefile (summarize-tests): Fix return value on success.
2952 * manual/string.texi (Envz Functions): Add envz_remove.
2954 2015-05-18 Roland McGrath <roland@hack.frob.com>
2956 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2957 (invalid_name): New function, broken out of ...
2958 (__opendirat): ... here. Call it.
2959 (need_isdir_precheck): New function, broken out of ...
2960 (__opendirat): ... here. Call it.
2961 Use __fxstatat64, not __xstatat64.
2962 (opendir_oflags): New function, broken out of ...
2963 (__opendirat): ... here. Call it.
2964 (opendir_tail): New function, broken out of ...
2965 (__opendirat): ... here. Call it.
2966 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2967 opendir_tail, rather than punting to __opendirat.
2968 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2970 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2972 * .gitignore: Ignore generated *.pyc.
2974 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2976 * include/stdio.h: Define __need_wint_t.
2977 * test-skeleton.c: Avoid `for' loop initial declaration.
2978 * nptl/tst-initializers1.c: Use test-skeleton.c.
2980 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2983 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2985 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2988 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2989 (__ieee754_atanh): Force underflow exception for results with
2990 small absolute value.
2991 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2992 (__ieee754_atanhf): Force underflow exception for results with
2993 small absolute value.
2994 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2995 (__ieee754_atanh): Force underflow exception for results with
2996 small absolute value.
2997 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2998 (__ieee754_atanhf): Force underflow exception for results with
2999 small absolute value.
3000 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3001 (__ieee754_atanhl): Force underflow exception for results with
3002 small absolute value.
3003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3004 (__ieee754_atanhl): Force underflow exception for results with
3005 small absolute value.
3006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3007 (__ieee754_atanhl): Force underflow exception for results with
3008 small absolute value.
3009 * math/auto-libm-test-in: Do not allow missing underflow
3010 exceptions from atanh.
3011 * math/auto-libm-test-out: Regenerated.
3014 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3015 2**-28 as threshold for returning x or +/- 1/x.
3016 * math/auto-libm-test-in: Add more tests of tan.
3017 * math/auto-libm-test-out: Regenerated.
3020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3021 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3022 * math/auto-libm-test-in: Add another test of lgamma.
3023 * math/auto-libm-test-out: Regenerated.
3025 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3027 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3028 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3029 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3030 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3031 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3032 (ADD2A): Use fabs. (SUB2A): Use fabs.
3033 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3036 (log1): Use fabs. (my_log2): Use fabs.
3037 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3038 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3040 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3042 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3043 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3044 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3045 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3046 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3047 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3049 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3053 as threshold for returning 1 - x.
3054 * math/auto-libm-test-in: Add more tests of erfc.
3055 * math/auto-libm-test-out: Regenerated.
3057 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3060 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3061 threshold for large arguments.
3062 * math/auto-libm-test-in: Add another test of atan.
3063 * math/auto-libm-test-out: Regenerated.
3066 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3067 (__log1p): Force underflow exception for results with small
3069 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3070 (__log1pf): Force underflow exception for results with small
3072 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3073 (__log1p): Force underflow exception for results with small
3075 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3076 (__log1pf): Force underflow exception for results with small
3078 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3079 (__log1pl): Force underflow exception for results with small
3081 * math/auto-libm-test-in: Do not allow missing underflow
3082 exceptions from log1p.
3083 * math/auto-libm-test-out: Regenerated.
3085 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3086 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3089 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3091 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3093 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3094 (libmvec): New variable.
3095 * configure.ac: Added option for mathvec build.
3096 * configure: Regenerated.
3097 * mathvec/Depend: New file.
3098 * mathvec/Makefile: New file.
3099 * shlib-versions: Added libmvec.
3100 * math/Makefile: Added rule for libm.so installation.
3102 * bits/math-vector.h: New file.
3103 * bits/libm-simd-decl-stubs.h: New header.
3104 * math/Makefile (headers): Added new header
3105 libm-simd-decl-stubs.h.
3106 * math/math.h (__MATHCALL_VEC): New macro.
3108 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3109 for conditions in testing functions.
3110 * math/Makefile: Added call of libm-have-vector-test.sh.
3111 * math/libm-test.inc (HAVE_VECTOR): New macros.
3113 * math/libm-test.inc: START refactored.
3114 * math/test-double.c (TEST_MATHVEC): Add define.
3115 * math/test-float.c: Likewise.
3116 * math/test-idouble.c: Likewise.
3117 * math/test-ifloat.c: Likewise.
3118 * math/test-ildoubl.c: Likewise.
3119 * math/test-ldouble.c: Likewise.
3120 * sysdeps/generic/math-tests-arch.h
3121 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3124 * math/test-double.c (FUNC_TEST): New macro.
3125 * math/test-float.c: Likewise.
3126 * math/test-idouble.c: Likewise.
3127 * math/test-ifloat.c: Likewise.
3128 * math/test-ildoubl.c: Likewise.
3129 * math/test-ldouble.c: Likewise.
3130 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3132 2015-05-13 Roland McGrath <roland@hack.frob.com>
3134 * sysdeps/nacl/fdopendir.c: New file.
3136 * dirent/scandir-tail.c: New file.
3137 * dirent/scandir64-tail.c: New file.
3138 * dirent/Makefile (routines): Add them.
3139 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3140 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3141 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3142 [!SCANDIR] (SCANDIR_TAIL): New macro.
3143 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3144 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3145 (SCANDIRAT): Macro removed.
3146 (SCANDIR_TAIL): New macro.
3147 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3148 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3149 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3150 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3151 (READDIR): Macro removed.
3152 (SCANDIR_TAIL): New macro.
3153 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3154 (SCANDIR_TAIL): New macro.
3156 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3157 * dirent/scandir-cancel.c: ... to this new file.
3158 * dirent/Makefile (routines): Add it.
3159 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3160 * sysdeps/unix/sysv/linux/i386/scandir64.c
3161 (SKIP_SCANDIR_CANCEL): Macro removed.
3162 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3164 * dirent/tst-scandir.c: New file.
3165 * dirent/tst-scandir64.c: New file.
3166 * dirent/Makefile (tests): Add them.
3168 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3171 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3173 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3175 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3178 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3180 * benchtests/bench-strcoll.c: New benchmark.
3181 * benchtests/Makefile: Generate locales and run benchmark.
3182 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3183 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3184 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3185 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3186 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3187 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3188 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3189 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3190 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3191 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3192 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3193 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3194 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3195 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3196 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3197 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3198 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3199 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3200 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3201 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3202 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3203 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3204 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3205 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3207 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3209 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3210 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3212 2015-05-12 Roland McGrath <roland@hack.frob.com>
3214 * posix/uname-values.h: New file.
3215 * posix/uname.c: Include that instead of <config-name.h>.
3216 * sysdeps/nacl/uname-values.h: New file.
3217 * sysdeps/arm/nacl/uname-values.h: New file.
3219 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3221 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3222 splitting into fields.
3224 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3226 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3227 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3228 * locale/localeinfo.h: Add enum collation_encoding_type.
3229 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3230 * programs/ld-collate.c (collate_output): Add encoding type info.
3231 * string/strcoll_l.c (STRDIFF): New function.
3232 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3233 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3235 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3238 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3239 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3240 <fpu_control.h> instead of <math/fpu_control.c>.
3241 * sysdeps/mips/mips32/fpu/Makefile: New file.
3243 2015-05-11 Andreas Schwab <schwab@suse.de>
3246 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3248 (_nss_compat_endgrent): Call nss_endgrent.
3249 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3251 (_nss_compat_endpwent): Call nss_endpwent.
3252 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3253 needent, call nss_setspent only if non-zero.
3254 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3255 (internal_endspent): Don't call nss_endspent.
3256 (_nss_compat_endspent): Call nss_endspent.
3257 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3258 Remove. All uses removed.
3259 (internal_setent): Remove parameter stayopen, add parameter
3260 stream. Use it instead of global variable.
3261 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3262 (internal_endent, internal_getent): Add parameter stream. Use it
3263 instead of global variable.
3264 (CONCAT(_nss_files_end,ENTNAME))
3265 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3266 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3267 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3269 (internal_setent, internal_endent): Add parameter stream. Use it
3270 instead of global variable.
3271 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3273 (get_next_alias): Add parameter stream.
3274 (_nss_files_getaliasent_r): Pass global stream.
3275 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3276 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3277 (_nss_files_gethostbyname4_r): Pass local stream to
3278 internal_setent, internal_getent and internal_endent. Remove
3281 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3283 * tst-strfmon1.c (tests): Update expected currency symbol.
3285 2015-05-08 Roland McGrath <roland@hack.frob.com>
3287 * sysdeps/nacl/gethostname.c: New file.
3289 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3291 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3293 * math/auto-libm-test-out: Regenerated.
3294 * sysdeps/i386/fpu/libm-test-ulps: Update.
3295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3297 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3300 * stdlib/tst-setcontext3.c: New file.
3301 * stdlib/tst-setcontext3.sh: New file.
3302 * stdlib/Makefile (tests): Add tst-setcontext3.
3303 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3304 to verify test program created output file.
3305 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3306 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3307 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3308 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3310 2015-05-06 Roland McGrath <roland@hack.frob.com>
3313 * elf/tst-tlsalign.c: New file.
3314 * elf/tst-tlsalign-static.c: New file.
3315 * elf/tst-tlsalign-lib.c: New file.
3316 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3317 (tests-static): Add tst-tlsalign-static.
3318 (modules-names): Add tst-tlsalign-lib.
3319 (test-xfail-tst-tlsalign): New variable.
3320 (test-xfail-tst-tlsalign-static): New variable.
3322 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3323 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3325 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3327 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3328 csqrt, erfc, sin and sincos.
3329 * math/auto-libm-test-out: Regenerated.
3330 * sysdeps/i386/fpu/libm-test-ulps: Update.
3331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3335 * sysdeps/aarch64/libm-test-ulps: Update.
3337 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3339 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3340 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3341 * math/auto-libm-test-out: Regenerated.
3342 * sysdeps/i386/fpu/libm-test-ulps: Update.
3343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3348 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3349 (wcsncpy): Likewise.
3351 2015-05-05 Florian Weimer <fweimer@redhat.com>
3353 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3354 Assume __ASSUME_FALLOCATE is always true.
3355 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3356 (__posix_fallocate64_l64): Likweise.
3357 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3358 (posix_fallocate): Likewise.
3359 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3360 (__posix_fallocate64_l64): Likewise.
3361 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3362 [!__ASSUME_FALLOCATE]: Add comment.
3364 2015-05-05 Florian Weimer <fweimer@redhat.com>
3366 * sysdeps/unix/sysv/linux/i386/Makefile
3367 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3368 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3369 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3370 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3371 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3372 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3373 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3375 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3377 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3378 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3380 * math/auto-libm-test-out: Regenerated.
3381 * sysdeps/i386/fpu/libm-test-ulps: Update.
3382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3384 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3386 * math/auto-libm-test-in: Add more tests of tgamma.
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 more tests of tanh.
3392 * math/auto-libm-test-out: Regenerated.
3393 * sysdeps/i386/fpu/libm-test-ulps: Update.
3394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3396 * math/auto-libm-test-in: Add more tests of tan.
3397 * math/auto-libm-test-out: Regenerated.
3398 * sysdeps/i386/fpu/libm-test-ulps: Update.
3399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3401 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 * math/auto-libm-test-in: Add another test of pow.
3407 * math/auto-libm-test-out: Regenerated.
3408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3410 * math/auto-libm-test-in: Add more tests of lgamma.
3411 * math/auto-libm-test-out: Regenerated.
3412 * sysdeps/i386/fpu/libm-test-ulps: Update.
3413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3415 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3417 * math/auto-libm-test-out: Regenerated.
3418 * sysdeps/i386/fpu/libm-test-ulps: Update.
3419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3421 2015-05-01 Mark Wielaard <mjw@redhat.com>
3423 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3424 Elf64_Chdr structs and ELFCOMPRESS constants.
3426 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3428 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3430 * math/auto-libm-test-out: Regenerated.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434 * math/auto-libm-test-in: Add more tests of erf and erfc.
3435 * math/auto-libm-test-out: Regenerated.
3436 * sysdeps/i386/fpu/libm-test-ulps: Update.
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3439 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3441 * config.h.in (HAVE_AARCH64_BE): Add.
3443 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3445 * math/auto-libm-test-in: Add more tests of csqrt.
3446 * math/auto-libm-test-out: Regenerated.
3447 * sysdeps/i386/fpu/libm-test-ulps: Update.
3448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3450 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3451 * math/auto-libm-test-out: Regenerated.
3452 * sysdeps/i386/fpu/libm-test-ulps: Update.
3453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3457 2015-04-29 Roland McGrath <roland@hack.frob.com>
3459 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3460 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3462 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3463 (euidaccess, eaccess): Define as weak aliases.
3465 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3466 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3467 but __suseconds_t is often 'long int' so some sources assume that
3468 type is being used (e.g. they use %ld to print tv_usec).
3470 2015-04-29 Florian Weimer <fweimer@redhat.com>
3473 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3475 * nss/tst-nss-getpwent.c: New file.
3476 * nss/Makefile (tests): Add new test.
3478 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3481 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3482 exponents less than 48 as cases where high part of mantissa needs
3483 examining to determine whether argument is integral.
3484 * math/libm-test.inc (round_test_data): Add more tests.
3486 2015-04-28 Mark Wielaard <mjw@redhat.com>
3488 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3490 2015-04-27 David S. Miller <davem@davemloft.net>
3492 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3494 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3496 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3499 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3501 2015-04-27 Florian Weimer <fweimer@redhat.com>
3504 * time/tzset.c (parse_tzname): Return error on memory allocation
3506 * test-skeleton.c (struct temp_name_list): Change type of name
3507 member to non-const.
3508 (add_temp_file): Create a copy of the file name.
3509 (delete_temp_files): Deallocate memory.
3510 (create_temp_file): Add comment.
3512 2015-04-24 Florian Weimer <fweimer@redhat.com>
3514 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3515 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3517 2015-04-24 Roland McGrath <roland@hack.frob.com>
3519 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3520 * sysdeps/arm/configure: Regenerated.
3522 2015-04-24 Florian Weimer <fweimer@redhat.com>
3525 * time/tzfile.c (__tzfile_read): Check for large values of
3526 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3527 * time/tzset.c (__tzstring_len): New function, based on the old
3528 __tzstring function.
3529 (__tzstring): Call __tzstring_len.
3530 (parse_tzname): New helper function extracted from
3531 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3533 (parse_offset): New helper function extracted from
3534 __tzset_parse_tz. Replace switch with fallthrough with
3535 initialization before sscanf.
3536 (parse_rule): Likewise.
3537 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3538 new-style function definition.
3539 * timezone/Makefile (tests): Add tst-tzset.
3540 (tst-tzset.out): Dependencies on time zone files.
3541 (tst-tzset-ENV): Set TZDIR.
3542 (testdata/XT%): Copy crafted time zone files.
3543 * timezone/README: Mention crafted time zone files.
3544 * timezone/testdata/XT1, timezone/testdata/XT2,
3545 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3547 * timezone/tst-tzset.c: New test.
3549 2015-04-24 Florian Weimer <fweimer@redhat.com>
3551 * Makeconfig (+gccwarn): Remove -Winline.
3553 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3555 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3557 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3559 * NEWS: Mention sysconf() cache information support for s390.
3560 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3562 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3564 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3566 (__nearbyint): Likewise.
3567 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3568 (copysignl): Likewise.
3570 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3573 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3574 based on padding. (CVE-2015-1781)
3576 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3578 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3580 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3581 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3582 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3583 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3584 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3585 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3586 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3587 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3589 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3590 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3591 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3592 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3593 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3594 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3595 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3596 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3598 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3599 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3600 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3601 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3602 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3604 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3606 * stdlib/setenv.c (__add_to_environ):
3607 Dump core quickly if setenv (..., NULL, ...) is called.
3608 This time, do it the right way, and pacify GCC with a pragma.
3610 2015-04-17 Roland McGrath <roland@hack.frob.com>
3612 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3613 IMAP->l_prev cannot be null, and #if out the code for the contrary
3614 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3615 believe that NS (&_dl_ns[NSID]) could point outside the array.
3617 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3618 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3619 before using NSID as an index.
3621 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3624 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3625 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3626 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3628 2015-04-17 Roland McGrath <roland@hack.frob.com>
3630 Add preliminary port to Google Native Client on ARM.
3631 * abi-tags (.*-.*-nacl.*): New entry.
3632 * sysdeps/arm/nacl: New directory.
3633 * sysdeps/nacl: New directory.
3635 2015-04-16 David S. Miller <davem@davemloft.net>
3637 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3638 lowlevellock-futex.h
3640 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3642 * sysdeps/tile/configure.ac: New file.
3643 * sysdeps/tile/configure: Regenerated.
3645 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3647 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3648 conditionals for weak_alias and libc_hidden_weak.
3649 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3650 libc_hidden_weak and weak_alias.
3651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3652 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3653 and weak_alias for static one.
3655 2015-04-15 David S. Miller <davem@davemloft.net>
3657 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3659 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3662 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3663 Use signed comparision instead of substraction to avoid
3665 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3666 Take the sign of ret.
3667 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3668 Do not expect precise return values. Only the sign matters.
3669 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3670 * wcsmbs/test-wcsncmp.c: New File.
3671 * string/test-strncmp.c: Add wcsncmp support.
3673 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3676 * math/w_log1p.c: New file.
3677 * math/w_log1pf.c: Likewise.
3678 * math/w_log1pl.c: Likewise.
3679 * math/Makefile (libm-calls): Add w_log1p.
3680 * math/s_log1pl.c (log1pl): Remove weak_alias.
3681 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3682 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3683 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3684 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3685 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3686 [NO_LONG_DOUBLE] (log1pl): Likewise.
3687 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3688 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3689 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3690 (log1p): Remove long_double_symbol.
3691 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3692 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3693 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3694 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3695 remove weak_alias for corresponding log1p function.
3696 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3697 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3698 * sysdeps/ia64/fpu/w_log1p.c: New file.
3699 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3700 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3701 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3703 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3707 decimal exponent by 1.
3708 * stdlib/tst-strtod-round-data: Add more tests.
3709 * stdlib/tst-strtod-round.c (tests): Regenerated.
3711 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3713 * math/auto-libm-test-in: Add more tests of clog and clog10.
3714 * math/auto-libm-test-out: Regenerated.
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718 2015-04-09 Roland McGrath <roland@hack.frob.com>
3720 * Makeconfig (module-cppflags): Exclude all .v.i files.
3721 (skip-module-cppflags): Variable removed.
3723 * configure.ac (libc_config_ok): Initialize before reading
3724 preconfigure scripts, not after.
3725 * configure: Regenerated.
3727 * test-skeleton.c (TIMEOUT): Move #define to top level.
3728 (main): Grok environment variable TEST_DIRECT. If set, print
3729 test expectation details into that file and then behave as if
3732 2015-04-09 Florian Weimer <fweimer@redhat.com>
3734 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3737 2015-04-08 David S. Miller <davem@davemloft.net>
3739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3741 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3743 * math/auto-libm-test-in: Add more tests of atanh.
3744 * math/auto-libm-test-out: Regenerated.
3745 * sysdeps/i386/fpu/libm-test-ulps: Update.
3746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3748 * math/auto-libm-test-in: Add more tests of atan.
3749 * math/auto-libm-test-out: Regenerated.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3753 2015-04-08 Florian Weimer <fweimer@redhat.com>
3755 * elf/pldd.c (main): Rewrite to use struct
3756 scratch_buffer instead of extend_alloca.
3757 * elf/pldd-xx.c (find_maps): Likewise.
3758 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3760 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3761 scratch_buffer instead of extend_alloca.
3762 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3763 grp/compat-initgroups.c.
3764 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3765 Rewrite to use struct scratch_buffer instead of extend_alloca.
3766 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3767 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3769 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3771 * math/auto-libm-test-in: Add more tests of cbrt.
3772 * math/auto-libm-test-out: Regenerated.
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3775 * math/auto-libm-test-in: Add more tests of cabs.
3776 * math/auto-libm-test-out: Regenerated.
3777 * sysdeps/i386/fpu/libm-test-ulps: Update.
3778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3782 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3783 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3785 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3787 * math/auto-libm-test-out: Regenerated.
3788 * sysdeps/i386/fpu/libm-test-ulps: Update.
3789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3793 (atan): Set FE_TONEAREST mode for internal computations.
3794 * math/auto-libm-test-in: Add more tests of atan.
3795 * math/auto-libm-test-out: Regenerated.
3797 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3800 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3802 2015-04-07 Florian Weimer <fweimer@redhat.com>
3804 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3806 2015-04-07 Florian Weimer <fweimer@redhat.com>
3808 * include/scratch_buffer.h: New file.
3809 * malloc/scratch_buffer_grow.c: Likewise.
3810 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3811 * malloc/scratch_buffer_set_array_size.c: Likewise.
3812 * malloc/tst-scratch_buffer.c: Likewise.
3813 * malloc/Makefile (routines): Add scratch_buffer_grow.
3814 (tests): Add test case.
3815 * malloc/Versions (GLIBC_PRIVATE): Export
3816 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3817 __libc_scratch_buffer_set_array_size.
3819 2015-04-06 Richard Henderson <rth@redhat.com>
3821 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3822 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3824 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3825 unsigned int before printing.
3827 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3830 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3831 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3833 2015-04-02 Florian Weimer <fweimer@redhat.com>
3835 * include/libc-internal.h (libc_max_align_t): Define.
3837 2015-04-02 Andreas Schwab <schwab@suse.de>
3840 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3842 2015-04-02 Mel Gorman <mgorman@suse.de>
3845 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3846 as well as the main arena.
3848 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3851 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3852 sharing L2 cache to 2 for Silvermont/Knights Landing.
3854 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3857 * config.make.in (have-protected-data): New.
3858 * configure.ac: Check linker support for protected data symbol.
3859 * configure: Regenerated.
3860 * elf/Makefile (modules-names): Add tst-protected1moda and
3861 tst-protected1modb if $(have-protected-data) is yes.
3862 (tests): Add tst-protected1a and tst-protected1b if
3863 $(have-protected-data) is yes.
3864 ($(objpfx)tst-protected1a): New.
3865 ($(objpfx)tst-protected1b): Likewise.
3866 (tst-protected1modb.so-no-z-defs): Likewise.
3867 * elf/tst-protected1a.c: New file.
3868 * elf/tst-protected1b.c: Likewise.
3869 * elf/tst-protected1mod.h: Likewise.
3870 * elf/tst-protected1moda.c: Likewise.
3871 * elf/tst-protected1modb.c: Likewise.
3873 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3876 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3877 indicates it is called from do_lookup_x on relocation against
3878 protected data, skip the data definion in the executable from
3880 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3881 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3882 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3883 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3884 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3886 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3887 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3888 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3889 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3890 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3891 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3893 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3895 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3896 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3898 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3900 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3902 * sysdeps/x86_64/nptl/tls.h: Ditto.
3904 2015-03-27 Roland McGrath <roland@hack.frob.com>
3906 * dlfcn/tststatic.c (main): Converted to ...
3907 (do_test): ... this.
3908 (TEST_FUNCTION): New macro.
3909 Include test-skeleton.c.
3911 2015-03-26 Alan Modra <amodra@gmail.com>
3913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3914 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3915 zero for undefined weak.
3916 (elf_machine_plt_conflict): Similarly.
3918 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3920 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3922 * math/auto-libm-test-out: Regenerated.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3926 * math/auto-libm-test-in: Add another test of asin.
3927 * math/auto-libm-test-out: Regenerated.
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3933 (LLL_EBX_REG): Likewise.
3934 (LLL_ENTER_KERNEL): Likewise.
3936 * math/auto-libm-test-in: Add more tests of asin.
3937 * math/auto-libm-test-out: Regenerated.
3938 * sysdeps/i386/fpu/libm-test-ulps: Update.
3939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3942 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3943 libc_do_syscall_args): New structure.
3944 (INTERNAL_SYSCALL_MAIN_0): New macro.
3945 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3946 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3947 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3948 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3949 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3950 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3951 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3952 Replace conditional definitions by conditional definitions of ....
3953 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3954 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3955 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3956 (libpthread-sysdep_routines): Add libc-do-syscall.
3957 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3958 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3959 to __NR_futex not 240.
3961 2015-03-25 Alan Modra <amodra@gmail.com>
3963 * NEWS: Advertise TLS optimization.
3964 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3965 (DT_PPC_NUM): Increment.
3966 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3967 (CHECK_STATIC_TLS): Use here.
3968 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3970 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3971 * sysdeps/powerpc/dl-tls.c: New file.
3972 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3973 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3974 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3975 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3980 2015-03-25 Alan Modra <amodra@gmail.com>
3982 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3983 for overlapping .opd entries" to "support...".
3984 * sysdeps/powerpc/powerpc64/configure: Regenerate
3986 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3988 * math/auto-libm-test-in: Add more tests of acos.
3989 * math/auto-libm-test-out: Regenerated.
3990 * sysdeps/i386/fpu/libm-test-ulps: Update.
3991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3993 * math/auto-libm-test-in: Add more tests of expm1.
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-24 Joseph Myers <joseph@codesourcery.com>
4000 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4001 * math/auto-libm-test-out: Regenerated.
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4008 * math/auto-libm-test-in: Add more tests of log2.
4009 * math/auto-libm-test-out: Regenerated.
4010 * sysdeps/i386/fpu/libm-test-ulps: Update.
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4013 2015-03-23 Roland McGrath <roland@hack.frob.com>
4015 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4016 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4017 _IO_IS_APPENDING bit in READ_WRITE instead.
4019 2015-03-23 Florian Weimer <fweimer@redhat.com>
4021 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4022 (__determine_cpumask_size): Replace extend_alloca with a
4023 variable-length array. Do not treat res == 0 as an error.
4025 2015-03-23 Florian Weimer <fweimer@redhat.com>
4028 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4029 and integer overflow.
4030 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4031 (main): Add integer overflow tests.
4032 * manual/pattern.texi (Calling Wordexp): Document additional use
4035 2015-03-23 Alan Modra <amodra@gmail.com>
4037 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4038 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4039 and false branch of conditional.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4043 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4045 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4047 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4048 unused declaration of _hurd_intr_rpc_msg_in_trap.
4049 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4050 defined instead of whether it is non-zero.
4051 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4052 input constraint instead of both input and output constraint. Use ecx
4053 clobber instead of %ecx.
4054 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4055 mutex_unlock): Use a statement expression instead of an expression list.
4056 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4057 type to vm_size_t instead of vm_address_t.
4058 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4059 defined instead of whether it is non-zero.
4060 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4061 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4062 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4063 comparisons with mapaddr.
4064 * nscd/nscd-client.h: Include <time.h>.
4065 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4066 9th parameter to __vm_region instead of int.
4067 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4068 * scripts/check-local-headers.sh (exclude): Add device/,
4069 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4072 2015-03-19 Roland McGrath <roland@hack.frob.com>
4074 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4075 to account for alignment padding.
4076 * sysdeps/arm/memmove.S: Likewise.
4078 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4080 * sysdeps/unix/sysv/linux/generic/README: New file.
4082 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4085 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4086 (futex_abstimed_wait)
4087 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4088 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4089 of lll_futex_timed_wait.
4091 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4094 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4096 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4103 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4104 entries with Static TLS too. Skip entries past the end of the
4105 allocated DTV, from Alan Modra.
4106 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4107 Static TLS DTV entry set up from...
4108 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4109 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4110 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4111 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4113 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4114 that the slot we find is associated with the given map before
4115 using its generation count.
4116 * nptl_db/db_info.c: Include ldsodefs.h.
4117 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4118 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4119 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4120 (link_map::l_tls_offset): New struct field.
4121 (dtv_t::counter): Likewise.
4122 (rtld_global): New struct.
4123 (_rtld_global): New rtld variable.
4124 (dl_tls_dtv_slotinfo_list): New rtld global field.
4125 (dtv_slotinfo_list): New struct.
4126 (dtv_slotinfo): Likewise.
4127 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4128 (td_lookup): Rename to...
4129 (td_mod_lookup): ... this. Use new mod parameter instead of
4131 * nptl_db/td_thr_tlsbase.c: Include link.h.
4132 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4133 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4134 addresses even if the DTV is out of date or missing them.
4135 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4136 index zero-length arrays.
4137 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4138 (td_lookup): Make it a macro implemented in terms of...
4139 (td_mod_lookup): ... this declaration.
4140 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4141 (DB_MAIN_VARIABLE): Likewise.
4143 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4146 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4148 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4150 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4152 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4155 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4156 (atomic_add, atomic_increment_and_test)
4157 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4159 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4161 * stdlib/setenv.c (__add_to_environ):
4162 Dump core quickly if setenv (..., NULL, ...) is called.
4164 2015-03-13 Roland McGrath <roland@hack.frob.com>
4166 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4167 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4168 all the necessary asm magic in one place.
4169 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4172 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4175 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4176 traced file mtime. Use consistent log message.
4177 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4178 (register_traced_file): Call install_watches. Always set mtime.
4179 (invalidate_cache): Iterate over all trace files. Call install_watches.
4180 (inotify_check_files): Don't inline. Handle watching parent
4181 directories and configuration file movement in and out.
4182 (handle_inotify_events): New function.
4183 (main_loop_poll): Call handle_inotify_events.
4184 (main_loop_epoll): Likewise.
4185 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4186 (struct traced_file): Use array of inotify fds. Add parent directory,
4188 (struct database_dyn): Remove unused file_mtime.
4189 (init_traced_file): New inline function.
4190 (define_traced_file): New macro.
4191 * nss/nss_db/db-init.c: Use define_traced_file.
4192 (_nss_db_init): Use init_traced_file.
4193 * nss/nss_files/files-init.c: Use define_traced_file.
4194 (_nss_files_init): Use init_traced_file.
4196 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4198 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4199 [_LIBC]: Do not include <stdlib.h>.
4200 [!_LIBC] (abort): Remove declaration.
4201 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4202 _FP_STATIC_ASSERT instead of conditionally calling abort.
4203 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4204 (_FP_EXTEND_CNAN): Likewise.
4205 (FP_TRUNC): Likewise.
4206 (__FP_CLZ): Likewise.
4207 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4209 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4211 * manual/string.texi (XPG basename): Fix prototype.
4213 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4216 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4217 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4218 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4219 (__setcontext): Likewise.
4220 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4221 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4222 Call rt_sigprocmask syscall one time to set new signal mask
4223 and retrieve the current signal mask instead of two calls.
4224 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4225 (__swapcontext): Likewise.
4226 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4227 * stdlib/tst-setcontext2.c: New file.
4229 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4231 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4233 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4236 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4239 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4242 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4244 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4246 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4247 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4249 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4250 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4251 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4252 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4253 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4254 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4256 * nptl_db/td_symbol_list.c (td_lookup): Remove
4257 HAVE_ASM_GLOBAL_DOT_NAME code.
4258 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4259 HAVE_ASM_GLOBAL_DOT_NAME check.
4260 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4261 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4262 (DOT_LABEL): Remove define.
4263 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4264 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4265 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4266 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4267 (__TLS_GET_ADDR): Likewise.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4269 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4271 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4274 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4275 (_FPU_SETCW): Initialize cw from fpsr before storing.
4276 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4277 (fesetexceptflag): Rewrite using fpu_control.h.
4278 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4280 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4283 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4285 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4287 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4289 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4290 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4292 (_FP_FMA): Likewise.
4293 (_FP_DIV): Likewise.
4295 2015-03-10 Roland McGrath <roland@hack.frob.com>
4297 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4298 with 0 in that case.
4299 * Makefile (summarize-tests): New canned sequence, factored out of
4300 commands for targets tests and xtests. Display summary lines that
4301 don't start with PASS: or XFAIL: rather than ones that do start with
4302 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4303 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4304 do start with ERROR: or FAIL:.
4305 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4306 (except for [$(build-shared) = yes]).
4307 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4308 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4309 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4310 * nptl/Makefile: Revert 2015-03-04 changes.
4311 [$(CXX) empty] (tests-unsupported): New variable.
4312 * debug/Makefile: Likewise.
4314 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4315 gnulib file. Replace __attribute with __attribute__ throughout.
4317 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4319 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4321 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4324 * math/auto-libm-test-in: Add another test of pow.
4325 * math/auto-libm-test-out: Regenerated.
4327 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4330 $(config-cflags-nofma).
4332 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4334 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4335 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4336 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4337 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4338 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4339 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4340 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4341 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4342 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4343 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4344 Add comment on closing #endif.
4346 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4348 * posix/wordexp.c (CHAR_IN_SET): New macro.
4349 (parse_param): Use it.
4351 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4353 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4355 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4358 * posix/wordexp.c (parse_param): Fix buffer overflow.
4359 * posix/wordexp-test.c (test_case): Add test case.
4361 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4364 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4365 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4367 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4370 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4371 (do_bz18043): Delete.
4373 (testit): Refactor to have words at the edge of unreadable page.
4375 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4378 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4379 Cleanup read-only streams as well.
4380 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4382 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4384 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4387 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4389 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4391 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4392 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4393 * soft-fp/op-common.h (_FP_DECL): Likewise.
4395 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4397 * elf/ifuncdep2.c (global): Replace
4398 __attribute__((visibility("protected"))) with
4399 asm (".protected global").
4400 * elf/ifuncmod1.c (global): Likewise.
4401 * elf/ifuncmod5.c (global): Likewise.
4403 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4405 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4406 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4408 2015-03-06 Roland McGrath <roland@hack.frob.com>
4410 * manual/install.texi (Configuring and compiling):
4411 Document test-wrapper-env-only.
4412 * INSTALL: Regenerated.
4414 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4417 * posix/wordexp.c (parse_param): Fix buffer overflow.
4418 * posix/wordexp-test.c (do_bz18043): Add test case.
4420 2015-03-06 Vincent Bernat <vincent@bernat.im>
4422 * time/tst-strptime2.c (do_test): Ensure failing tests are
4424 * time/tst-strptime3.c (do_test): Likewise.
4426 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4428 Fix aio_error thread-safety.
4429 * sysdeps/pthread/aio_error.c: New file
4430 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4433 2015-03-06 Florian Weimer <fweimer@redhat.com>
4435 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4436 (group_number, vfprintf): Use it.
4437 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4438 (JUMP, REF): Use it.
4439 (WORK_BUFFER_SIZE): New enum constant.
4440 (process_arg, vfprintf): Use it.
4442 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4444 * manual/errno.texi (Error Messages): Complete example function
4445 by adding missing #define.
4446 (program_invocation_name): Add statement indicating GNU
4447 extension and reference which header file declares the variable.
4448 (program_invocation_short_name): Likewise.
4450 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4452 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4455 2015-03-05 Roland McGrath <roland@hack.frob.com>
4457 * Makeconfig (test-wrapper-env-only): New variable.
4458 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4459 then use that with $(test-wrapper-env-only) rather than using
4460 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4462 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4465 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4466 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4467 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4468 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4469 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4470 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4471 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4472 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4474 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4475 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4483 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4488 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4489 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4491 2015-03-04 Roland McGrath <roland@hack.frob.com>
4493 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4494 (ETH_ALEN): New macro.
4495 (struct ether_addr): Use it for length of ether_addr_octet.
4497 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4498 (setdb): Don't call __nss_configure_lookup for "rpc".
4499 (do_test): Don't call test_rpc.
4500 (output_rpcent, test_rpc): Functions moved ...
4501 * sunrpc/test-rpcent.c: ... to this new file.
4502 * sunrpc/Makefile (tests): Add it.
4504 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4506 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4507 * nptl/tst-signal6.c: Likewise.
4508 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4509 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4511 * configure.ac (libc_cv_cxx_link_ok): New check.
4512 Reset CXX to empty if it fails to link.
4513 * configure: Regenerated.
4514 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4515 bug-atexit3-lib only if $(CXX) is nonempty.
4516 * nptl/Makefile (tests): Likewise for tst-cancel24.
4517 (tests, tests-static): Likewise for tst-cancel24-static.
4518 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4519 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4520 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4521 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4523 2015-03-04 Andreas Schwab <schwab@suse.de>
4526 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4527 for non-GCC compilers.
4528 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4531 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4534 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4535 integer before bitwise and assembly operations.
4536 (feclearexcept): Likewise.
4537 * math/test-fenvinline.c: New file.
4538 * math/Makefile: Add test-fenvinline test.
4540 2015-03-03 Alan Modra <amodra@gmail.com>
4543 * scripts/localplt.awk: Strip off symbol version.
4544 * NEWS: Mention bug fix.
4546 2015-03-02 Roland McGrath <roland@hack.frob.com>
4548 * sysdeps/pthread/timer_routines.c
4549 (timer_free_list, thread_free_list, thread_active_list): Make static.
4551 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4555 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4557 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4558 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4560 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4561 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4564 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4567 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4568 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4570 2015-03-02 Andreas Schwab <schwab@suse.de>
4572 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4575 2015-03-02 Florian Weimer <fweimer@redhat.com>
4577 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4578 Return error status.
4580 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4583 * locale/findlocale.c (_nl_find_locale): Introduce const
4584 version of loc_name and drop unsafe type casts.
4586 2015-02-27 Roland McGrath <roland@hack.frob.com>
4588 * dlfcn/tststatic2.c (main): Converted to ...
4589 (do_test): ... this.
4590 (TEST_FUNCTION): New macro.
4591 Include test-skeleton.c.
4593 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4596 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4597 (tests-pie): Add vismain.
4598 (CFLAGS-vismain.c): New.
4599 * elf/vismain.c: Add comments for PIE requirement.
4601 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4605 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4606 0x1p-56L as threshold for just returning the argument.
4607 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4608 0x1p-32L as threshold for just returning the argument.
4609 * math/auto-libm-test-in: Add more tests of atanh.
4610 * math/auto-libm-test-out: Regenerated.
4611 * sysdeps/i386/fpu/libm-test-ulps: Update.
4612 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4614 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4616 * string/bcopy.c (bcopy): Call memmove for performance.
4618 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4620 * string/bzero.c (__bzero): Call memset for performance.
4622 2015-02-27 John David Anglin <dave.anglin@bell.net>
4625 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4628 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4630 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4632 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4634 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4635 (__kernel_standard): Use CSTR macro when setting exc.name.
4636 * sysdeps/ieee754/Makefile [$(subdir) = math]
4637 (CFLAGS-k_standard.c): Remove variable.
4639 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4640 setting p and q from "else if" to "else".
4642 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4644 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4646 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4648 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4650 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4655 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4656 return pi/2 for arguments below 0x1p-113L.
4657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4658 return pi/2 for arguments below 0x1p-106L.
4659 * math/auto-libm-test-in: Add more tests of acos.
4660 * math/auto-libm-test-out: Regenerated.
4663 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4665 (__ieee754_asin): Force underflow exception for results with small
4667 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4669 (__ieee754_asinf): Force underflow exception for results with
4670 small absolute value.
4671 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4672 (__ieee754_asin): Force underflow exception for results with small
4674 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4675 (__ieee754_asinf): Force underflow exception for results with
4676 small absolute value.
4677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4678 (__ieee754_asinl): Force underflow exception for results with
4679 small absolute value.
4680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4681 (__ieee754_asinl): Force underflow exception for results with
4682 small absolute value.
4683 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4684 (__ieee754_asinl): Force underflow exception for results with
4685 small absolute value.
4686 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4688 * math/auto-libm-test-in: Do not mark underflow exceptions as
4689 possibly missing for bug 16351.
4690 * math/auto-libm-test-out: Regenerated.
4693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4694 of power of 2 down when low part has opposite sign.
4695 * math/libm-test.inc (logb_test_data): Add more tests.
4697 2015-02-26 Andreas Schwab <schwab@suse.de>
4700 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4701 over collating symbol inside a bracket expression. Minor cleanup.
4702 * posix/tst-fnmatch3.c (do_test): Add test case.
4704 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4707 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4708 Adjust exponent of power of 2 down when low part has opposite
4710 * math/libm-test.inc (ilogb_test_data): Add more tests.
4712 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4715 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4716 the previous change.
4719 * locale/findlocale.c (_nl_find_locale): Retry archive search
4720 after alias expansion.
4722 2015-02-25 Roland McGrath <roland@hack.frob.com>
4724 * iconv/tst-iconv3.c (main): Converted to ...
4725 (do_test): ... this.
4726 (TEST_FUNCTION): New macro.
4727 Include test-skeleton.c.
4729 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4730 (convert): Make function static.
4731 (test_unalign): Likewise. Add const to argument pointee types.
4732 (main): Replace with static function do_test.
4733 Print "Succeeded." only if RET is zero.
4734 (TEST_FUNCTION): New macro.
4735 Include test-skeleton.c.
4737 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4738 returns a null pointer.
4740 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4743 to __memcpy_ppc only for static builds.
4745 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4748 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4749 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4750 * math/auto-libm-test-in: Add more tests of asinh.
4751 * math/auto-libm-test-out: Regenerated.
4752 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4755 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4758 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4759 and ip6_mtuinfo definitions here.
4760 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4761 in this define too. Update comment.
4763 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4765 * elf/sprof.c (load_shobj): Tweak error message to match others.
4767 2015-02-24 Kevin Easton <kevin@guarana.org>
4769 [BZ #16145] (partial fix)
4770 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4771 to reduce lock contention.
4773 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4775 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4776 (struct timex): Update time comment.
4777 (ADJ_SETOFFSET): Define.
4779 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4783 2**56 not 2**28 as threshold for log (2x) formula.
4784 * math/auto-libm-test-in: Add more tests of acosh.
4785 * math/auto-libm-test-out: Regenerated.
4786 * sysdeps/i386/fpu/libm-test-ulps: Update.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4789 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4791 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4792 parenthesis around the buf assignment.
4793 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4795 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4798 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4799 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4800 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4801 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4802 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4803 * math/libm-test.inc (scalb_test_data): Add more tests.
4805 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4808 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4809 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4811 2015-02-24 Eric Rannaud <e@nanocritical.com>
4814 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4815 * io/bits/fcntl2.h (open): Use it.
4817 * io/open.c (__libc_open): Likewise.
4818 * io/open64.c (__libc_open64): Likewise.
4819 * io/open64_2.c (__open64_2): Likewise.
4820 * io/open_2.c (__open_2): Likewise.
4821 * io/openat.c (__openat): Likewise.
4822 * io/openat64.c (__openat64): Likewise.
4823 * io/openat64_2.c (__openat64_2): Likewise.
4824 * io/openat_2.c (__openat_2): Likewise.
4825 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4826 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4827 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4828 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4829 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4830 (__open_nocancel): Likewise.
4831 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4832 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4833 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4835 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4838 * resolv/gethnamaddr.c (getanswer): Skip logging if
4839 RES_USE_DNSSEC is set.
4840 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4842 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4844 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4846 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4848 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4849 201304L, for Unicode 7.
4851 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4854 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4855 shared library. Add gmon-start.os otherwise.
4856 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4857 $(objpfx)gmon-start.os if builing shared library.
4858 ($(objpfx)g$(static-start-installed-name)): Likewise.
4860 2015-02-23 Andreas Schwab <schwab@suse.de>
4862 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4864 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4867 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4868 (enlarge_userbuf): Likewise.
4870 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4872 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4873 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4874 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4875 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4877 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4879 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4880 expression inside statement expression.
4882 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4884 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4885 <sysdeps/nptl/lowlevellock.h> and remove macros and
4886 functions that are now defined there.
4887 (SYS_futex): Remove.
4888 (lll_compare_and_swap): Remove.
4889 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4891 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4894 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4895 instead of scandirat.
4896 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4897 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4898 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4900 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4901 (__scandirat): Declare. Use libc_hidden_proto.
4902 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4904 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4906 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4909 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4911 (__ieee754_atan2): For results with small absolute value, force
4912 underflow exception and remove excess range and precision from
4914 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4916 (__ieee754_atan2f): For results with small absolute value, force
4917 underflow exception and remove excess range and precision from
4919 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4921 (__atan): For results with small absolute value, force underflow
4922 exception and remove excess range and precision from return value.
4923 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4925 (__atanf): For results with small absolute value, force underflow
4926 exception and remove excess range and precision from return value.
4927 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4929 (__ieee754_atan2): Force underflow exception for results with
4930 small absolute value.
4931 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4933 (atan): Force underflow exception for results with small absolute
4935 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4936 (__atanf): Force underflow exception for results with small
4938 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4940 (__atanl): Force underflow exception for results with small
4942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4943 (__atanl): Force underflow exception for results with small
4945 * sysdeps/x86/fpu/bits/mathinline.h
4946 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4947 (__ieee754_atan2): Only define inline for long double.
4948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4949 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4950 * math/auto-libm-test-in: Do not mark underflow exceptions as
4951 possibly missing for bug 15319. Add more tests of atan2.
4952 * math/auto-libm-test-out: Regenerated.
4953 * math/libm-test.inc (casin_test_data): Do not mark underflow
4954 exceptions as possibly missing for bug 15319.
4955 (casinh_test_data): Likewise.
4956 * sysdeps/i386/fpu/libm-test-ulps: Update.
4958 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4960 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4961 * sysdeps/mips/bits/endian.h: Fix comments.
4963 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4966 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4967 (hdestroy_r): Likewise.
4968 (hsearch_r): Likewise.
4969 (__hcreate_r): Declare and use libc_hidden_proto.
4970 (__hdestroy_r): Likewise.
4971 (__hsearch_r): Likewise.
4972 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4973 (hcreate): Call __hcreate_r instead of hcreate_r.
4974 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4975 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4976 as weak alias of __hcreate_r.
4977 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4979 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4981 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4983 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4984 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4985 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4986 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4988 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4990 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4991 arena_lock into a single arena_get.
4993 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4995 * dl-reloc.c: Inlucde libc-internal.h.
4996 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4997 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4998 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4999 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5000 (grow_heap): Likewise.
5001 * malloc/malloc.c: Include libc-internal.h.
5002 (do_check_malloc): Call powerof2.
5003 (sysmalloc): Use pagesize. Call ALIGN_UP.
5004 (systrim): Use pagesize.
5005 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5006 (__libc_valloc): Use pagesize.
5007 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5009 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5012 * include/sys/resource.h (__getrlimit64): Declare. Use
5014 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5015 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5016 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5018 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5020 [!getrlimit64] (getrlimit64): Define as weak alias of
5021 __getrlimit64. Use libc_hidden_weak.
5022 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5023 using __getrlimit64 not __new_getrlimit64.
5024 (__GI_getrlimit64): Likewise.
5025 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5027 (__GI_getrlimit64): Likewise.
5028 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5030 (getrlimit): Add __getrlimit64 alias.
5031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5033 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5035 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5036 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5038 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5040 * libio/fileops.c: Add missing sys/mman.h
5041 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5043 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5045 * manual/math.texi (Errors in Math Functions): Clarify goals
5046 regarding inexact and underflow exceptions.
5048 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5050 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5051 * sysdeps/mips/memset.S: Ditto.
5053 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5055 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5057 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5059 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5060 (__v1longjmp): Remove versioned symbol.
5061 (__v1siglongjmp): Remove alias and versioned symbol.
5062 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5063 (__v2siglongjmp): Likewise.
5065 2015-02-16 Torvald Riegel <triegel@redhat.com>
5067 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5069 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5071 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5073 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5076 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5077 zero result does not depend on the sign resulting from
5079 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5081 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5082 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5084 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5085 * math/libm-test.inc (remquo_test_data): Add more tests.
5087 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5089 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5090 Problem reported by J William Piggott.
5092 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5095 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5096 products 4 * y and 2 * y where those would overflow.
5097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5099 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5100 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5102 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5103 * math/libm-test.inc (remquo_test_data): Add more tests.
5105 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5107 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5108 [defined _COMPILING_NEWLIB].
5109 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5110 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5112 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5113 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5115 2015-02-16 Torvald Riegel <triegel@redhat.com>
5117 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5120 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5123 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5124 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5125 HOST_STACK_END_ADDR): Likewise.
5127 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5129 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5130 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5131 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5133 2015-02-13 Roland McGrath <roland@hack.frob.com>
5135 * sysdeps/generic/c++-types.data: New file.
5136 * sysdeps/generic/ld.abilist: New file.
5137 * sysdeps/generic/libBrokenLocale.abilist: New file.
5138 * sysdeps/generic/libanl.abilist: New file.
5139 * sysdeps/generic/libc.abilist: New file.
5140 * sysdeps/generic/libcrypt.abilist: New file.
5141 * sysdeps/generic/libdl.abilist: New file.
5142 * sysdeps/generic/libm.abilist: New file.
5143 * sysdeps/generic/libpthread.abilist: New file.
5144 * sysdeps/generic/libresolv.abilist: New file.
5145 * sysdeps/generic/librt.abilist: New file.
5147 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5150 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5151 Compute absolute value of x as modified by fmod, not original
5153 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5154 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5155 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5156 RUN_TEST_ffI_f1_mod8.
5157 (remquo_test_data): Add more tests.
5159 2015-02-13 Roland McGrath <roland@hack.frob.com>
5161 * sysdeps/init_array/pt-crti.S: New file.
5163 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5166 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5167 __builtin_fmaf instead of relying on contraction of a * b + c.
5169 2015-02-12 J William Piggott <elseifthen@gmx.com>
5172 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5175 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5178 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5179 __builtin_fma instead of relying on contraction of a * b + c.
5181 2015-02-12 Roland McGrath <roland@hack.frob.com>
5183 * Makeconfig (ASFLAGS): Add -Werror=undef.
5184 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5185 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5186 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5188 * Makeconfig (after-link): New variable.
5189 (+link-pie, +link-pie-tests): Use it.
5190 (+link-static, +link-static-tests): Likewise.
5191 (+link, +link-tests): Likewise.
5192 * Makerules (build-module, build-module-asneeded): Likewise.
5193 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5195 * elf/Makefile ($(objpfx)ld.so): Likewise.
5197 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5200 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5201 both struct timeval and struct timespec.
5203 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5206 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5208 (__ieee754_exp2l): Do not multiply small fractional parts by
5210 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5212 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5213 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5214 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5215 * math/auto-libm-test-in: Add more tests of exp2.
5216 * math/auto-libm-test-out: Regenerated.
5218 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5220 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5223 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5228 2015-02-12 Andreas Schwab <schwab@suse.de>
5231 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5232 Filter out elision flags from value returned in kind.
5233 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5234 * nptl/tst-pthread-mutexattr.c: New file.
5236 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5238 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5239 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5240 into gnu-gnu, and update comment to refer to abi-tags.
5242 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5246 (__sincos): Set errno to EDOM for infinite argument.
5247 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5248 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5249 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5250 (__sincosl): Set errno to EDOM for infinite argument.
5251 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5252 (__sincosl): Set errno to EDOM for infinite argument.
5253 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5254 (__sincosl): Set errno to EDOM for infinite argument.
5255 * math/libm-test.inc (sincos_test_data): Test errno setting.
5257 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5259 * string/strxfrm_l.c: Remove #define STRCMP.
5260 * string/strcoll_l.c: Remove #define STRLEN.
5261 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5262 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5264 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5266 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5267 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5268 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5269 * sysdeps/mips/mips64/Makefile: ... here.
5270 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5271 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5272 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5273 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5274 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5275 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5276 * sysdeps/mips/mips64/n64/Implies: Likewise.
5278 2015-02-10 Roland McGrath <roland@hack.frob.com>
5280 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5281 <sys/time.h>, <string.h>, and <errno.h>.
5282 (dest_offset, dest_address, value, zero): Remove unused variables.
5283 (ldouble): Remove typedef.
5284 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5285 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5287 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5288 (check): Function removed.
5290 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5291 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5292 Don't call set_sigaction_FP and remove_sigaction_FP here.
5293 (ldouble_test): Just use 'long double' as macro argument, no need for
5294 the 'ldouble' typedef.
5295 (do_test): Set up SIGFPE handler at start, using plain signal rather
5296 than sigaction. Fix code style.
5298 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5304 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5306 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5307 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5309 * sysdeps/powerpc/configure.ac: Remove file.
5310 * sysdeps/powerpc/configure: Likewise.
5312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5313 [sysdep_routines]: Remove wordcopy-power6 object.
5314 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5315 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5316 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5317 (__memmove_ppc32): Likewise.
5318 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5320 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5321 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5322 Remove preprocessor.
5324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5325 [sysdep_routines]: Remove wide chars objects.
5326 [wcsmbs]: New rule for wide char objects.
5328 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5329 Remove wordcopy-power6 obejct.
5330 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5331 Use local call for wordcopy and memcpy symbols.
5332 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5333 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5334 implementation for loader.
5335 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5337 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5338 Remove wordcopy-power7 object.
5339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5341 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5342 (_wordcopy_fwd_dest_aligned): Likewise.
5343 (_wordcopy_bwd_aligned): Likewise.
5344 (_wordcopy_bwd_dest_aligned): Likewise.
5346 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5347 Rewrite to call __memmove_ppc instead of include default
5350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5351 Remove wide chars objects.
5352 [wcsmbs]: New rule for wide char objects.
5354 2015-02-09 Andreas Schwab <schwab@suse.de>
5357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5358 in terms of __O_DIRECTORY.
5360 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5362 * time/getdate.c: Include <stdbool.h>.
5363 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5365 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5368 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5370 Add ersatz _Static_assert on older C hosts
5371 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5372 pre-C11 C platform that is not known to support _Static_assert.
5374 2015-02-07 Richard Braun <rbraun@sceen.net>
5376 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5378 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5380 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5382 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5383 priority against unexistent AIO_PRIO_DELTA_MAX.
5384 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5386 * misc/fchflags.c (fchflags): Likewise.
5387 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5388 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5389 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5390 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5391 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5393 [__USE_MISC] (chflags, fchflags): Declare functions.
5394 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5395 EINVAL when nfds is greater than FD_SETSIZE.
5396 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5397 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5399 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5400 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5401 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5403 * hurd/hurd/signal.h (_hurd_self_sigstate,
5404 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5405 Explicit casts from void *.
5406 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5407 * abi-tags: Rename gnu-gnu os into gnu.
5410 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5411 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5412 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5413 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5414 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5415 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5418 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5419 duplicates ADDR->sun_path with sockaddr LEN limitation.
5420 * sysdeps/mach/hurd/connect.c: Include <string.h>
5421 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5422 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5423 * sysdeps/mach/hurd/sendto.c: Likewise.
5424 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5425 implementing it by hand.
5427 2015-02-06 Roland McGrath <roland@hack.frob.com>
5429 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5430 Use sfi_breg on ldr.
5431 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5434 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5436 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5437 Test SIGSETXID only if it's defined.
5439 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5441 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5442 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5444 * nptl/tst-align2.c: Moved ...
5445 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5446 * nptl/Makefile (tests): Remove tst-align2.
5447 * sysdeps/unix/sysv/linux/Makefile
5448 [$(subdir) = nptl] (tests): Add tst-align-clone.
5449 * nptl/tst-getpid1.c: Moved ...
5450 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5451 * nptl/tst-getpid2.c: Moved ...
5452 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5453 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5454 * sysdeps/unix/sysv/linux/Makefile
5455 [$(subdir) = nptl] (tests): ... here.
5456 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5457 * sysdeps/unix/sysv/linux/Makefile
5458 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5460 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5461 Drop trailing \n from perror argument. Use return rather than exit.
5463 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5465 * nptl/tst-cancel21.c (do_test): Likewise.
5466 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5467 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5468 [!SA_SIGINFO]: Make it a stub test.
5470 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5471 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5473 * posix/tst-getlogin.c: Move to ...
5474 * login/tst-getlogin.c: ... here.
5475 * posix/Makefile (tests): Move tst-getlogin to ...
5476 * login/Makefile (tests): ... here.
5478 * libio/tst-atime.c (do_test): Move local variables SV and E
5479 inside [ST_NOATIME] conditional.
5481 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5483 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5485 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5486 (wait_code): New function replaces macro.
5487 Call nanosleep rather than syscall.
5489 * nptl/pt-system.c: Rewritten. Put everything under
5490 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5491 Use IFUNC to redirect when possible.
5493 * nptl/pt-longjmp.c: Rewritten. Put everything under
5494 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5495 Use IFUNC to redirect when possible.
5497 * nptl/pt-fork.c: Rewritten. Put everything under
5498 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5499 Use IFUNC to redirect when possible.
5500 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5502 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5503 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5504 unconditionally nowadays. This included the only reference to
5505 __vdso_clock_gettime that appears outside libc proper.
5506 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5507 Remove version set (containing only __vdso_clock_gettime).
5508 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5509 Add attribute_hidden.
5510 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5511 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5512 libc_hidden_data_def.
5513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5514 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5516 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5517 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5518 setrpcent, and getrpcport to ...
5519 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5520 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5521 getrpcbynumber_r, and getrpcent_r to ...
5522 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5523 * inet/getrpcbyname.c: Moved ...
5524 * sunrpc/getrpcbyname.c: ... here.
5525 * inet/getrpcbyname_r.c: Moved ...
5526 * sunrpc/getrpcbyname_r.c: ... here.
5527 * inet/getrpcbynumber.c: Moved ...
5528 * sunrpc/getrpcbynumber.c: ... here.
5529 * inet/getrpcbynumber_r.c: Moved ...
5530 * sunrpc/getrpcbynumber_r.c: ... here.
5531 * inet/getrpcent.c: Moved ...
5532 * sunrpc/getrpcent.c: ... here.
5533 * inet/getrpcent_r.c: Moved ...
5534 * sunrpc/getrpcent_r.c: ... here.
5535 * inet/Makefile (routines): Move those to ...
5536 * sunrpc/Makefile (routines): ... here.
5537 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5538 the $(subdirs) list.
5539 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5540 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5541 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5542 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5544 * elf/Makefile (routines): Include $(all-dl-routines), not just
5546 (rtld-routines): Likewise. Use = rather than :=.
5547 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5548 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5549 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5550 * sysdeps/arm/Makefile: Likewise.
5551 * sysdeps/i386/Makefile: Likewise.
5552 * sysdeps/x86_64/Makefile: Likewise.
5553 * sysdeps/hppa/Makefile [$(subdir) = elf]
5554 (sysdep_routines, sysdep-rtld-routines): Don't add
5555 $(sysdep-dl-routines) to these.
5556 * sysdeps/ia64/Makefile: Likewise.
5557 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5558 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5559 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5560 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5561 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5562 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5563 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5564 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5565 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5566 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5567 these; sysdep-dl-routines alone is enough.
5569 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5572 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5573 where multiplication results in zero and third argument is finite
5575 * math/auto-libm-test-in: Add more tests of fma.
5576 * math/auto-libm-test-out: Regenerated.
5578 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5579 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5580 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5581 (_FP_CMP_EQ): Likewise.
5582 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5584 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5585 extra argument CHECK_NAN. Redefine as wrapper around
5588 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5590 * version.h (RELEASE): Set to "stable".
5591 (VERSION): Set to "2.21"
5592 * include/features.h (__GLIBC_MINOR__): Set to 21.
5594 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5596 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5597 Paul Eggert <eggert@cs.ucla.edu>
5600 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5601 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5602 size in bytes. Store needed elements in wpmax. Use needed size
5603 in bytes for extend_alloca.
5605 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5607 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5608 binutls 2.25, and texinfo 5.2.
5609 * INSTALL: Regenerate.
5610 * sysdeps/nios2/configure: Regenerate.
5611 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5612 * manual/contrib.texi: Update.
5636 * po/pt_BR.po: Update.
5645 * po/zh_CN.po: Update.
5646 * po/zh_TW.po: Update.
5648 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5649 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5650 * sysdeps/hppa/dl-irel.h: Remove #warning.
5651 * sysdeps/hppa/entry.h: Provide prototype for
5652 __canonicalize_funcptr_for_compare and cast argument.
5653 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5654 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5655 * sysdeps/hppa/sotruss-lib.c: New file.
5656 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5657 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5658 (atomic_compare_and_exchange_bool_acq): Likewise.
5659 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5660 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5662 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5663 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5664 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5666 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5668 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5669 called function in non-PIC case.
5671 2015-01-31 David S. Miller <davem@davemloft.net>
5673 * sysdeps/sparc/sparc32/bits/atomic.h
5674 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5675 unlock not after it.
5676 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5677 volatile register usage warnings from the compiler.
5679 * sysdeps/sparc/nptl/sem_init.c: Delete.
5680 * sysdeps/sparc/nptl/sem_post.c: Delete.
5681 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5682 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5683 * sysdeps/sparc/sparc32/sem_init.c: New file.
5684 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5685 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5686 padding explicitly initialized.
5687 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5688 padding for in-semaphore spinlock.
5689 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5690 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5691 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5692 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5693 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5694 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5695 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5696 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5698 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5699 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5701 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5705 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5706 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5708 (index_AVX_Fast_Unaligned_Load): Likewise.
5709 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5710 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5711 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5712 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5713 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5714 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5715 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5716 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5717 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5719 2015-01-29 Andreas Schwab <schwab@suse.de>
5721 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5723 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5726 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5728 2015-01-28 Martin Sebor <msebor@redhat.com>
5730 * math/README.libm-test: Clarify. Add "How to read the test output."
5732 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5734 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5737 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5739 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5740 (__HAVE_64B_ATOMICS): Define to 0.
5742 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5745 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5746 value to set as new flag.
5749 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5750 and use _ARCH_PPCSQ instead.
5751 (__ieee754_sqrt): Likewise.
5752 (__ieee754_sqrtf): Likewise.
5753 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5754 _ARCH_PPCSQ is defined.
5755 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5757 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5758 _ARCH_PPCSQ is defined.
5759 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5761 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5763 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5765 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5766 bug (GCC BZ #64739).
5768 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5770 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5771 Mark _retval as used.
5772 (lll_futex_wake_unlock): Likewise.
5773 (lll_futex_timed_wait_requeue_pi): Likewise.
5775 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5776 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5779 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5782 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5783 (__bswap_64): Mark as __always_inline.
5785 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5788 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5789 when none of the search directories exist.
5791 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5794 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5795 power8 in .machine directive.
5798 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5799 set dependency from opd value.
5801 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5804 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5807 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5810 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5812 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5814 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5815 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5816 Replace 1UL with (uint64_t) 1.
5817 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5820 2015-01-23 Roland McGrath <roland@hack.frob.com>
5822 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5823 (if_freenameindex): Likewise.
5825 * resource/getrlimit64.c: Add missing libc_hidden_def.
5827 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5829 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5831 (_FP_FMA): Likewise.
5832 (_FP_TO_INT_ROUND): Likewise.
5833 (_FP_FROM_INT): Likewise.
5835 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5839 Make code racy and cancel safe.
5841 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5843 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5844 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5847 * pwd/tst-getpw.c: Rewrite.
5850 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5851 (modules-names): Add moddummy1 and moddummy2.
5852 ($(objpfx)tst-rec-dlopen): Define.
5853 * dlfcn/moddummy1.c: New file.
5854 * dlfcn/moddummy2.c: New file.
5855 * dlfcn/tst-rec-dlopen.c: New file.
5856 * elf/dl-cache.c (_dl_load_cache_lookup):
5857 Return char*. Copy result with alloca/strcpy/strdup.
5858 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5859 returns char*. Free cached. If not saving realname
5861 * elf/dl-open.c (dl_open_worker): Do not assert that
5862 _r_debug->r_state is RT_CONSISTENT.
5863 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5866 2015-01-21 Torvald Riegel <triegel@redhat.com>
5867 Carlos O'Donell <carlos@redhat.com>
5870 * nptl/sem_waitcommon.c: New file.
5871 * nptl/sem_wait.c: Include sem_waitcommon.c.
5872 (__sem_wait_cleanup, do_futex_wait): Remove.
5873 (__new_sem_wait): Adapt.
5874 (__new_sem_trywait): New function.
5875 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5876 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5877 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5878 (sem_timedwait): Adapt.
5879 * nptl/sem_post.c (__new_sem_post): Adapt.
5880 (futex_wake): New function.
5881 (__old_sem_post): Add release MO fence.
5882 * nptl/sem_open.c (sem_open): Adapt.
5883 * nptl/sem_init.c (__new_sem_init): Adapt.
5884 (futex_private_if_supported): New function.
5885 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5886 (__old_sem_getvalue): Add using previous code.
5887 * sysdeps/nptl/internaltypes.h: Adapt.
5888 * nptl/tst-sem13.c (do_test): Adapt.
5889 * nptl/tst-sem11.c (main): Adapt.
5890 * nptl/sem_trywait.c: Remove.
5891 * nptl/DESIGN-sem.txt: Remove.
5892 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5893 (gen-as-const-headers): Remove structsem.sym.
5894 * nptl/structsem.sym: Remove.
5895 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5896 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5897 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5898 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5899 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5900 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5901 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5902 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5903 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5904 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5905 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5906 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5907 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5908 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5909 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5910 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5911 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5912 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5913 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5914 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5915 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5916 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5918 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5920 * INSTALL: Regenerated.
5922 * po/libc.pot: Regenerated.
5924 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5925 Sandra Loosemore <sandra@codesourcery.com>
5926 Andrew Jenner <andrew@codesourcery.com>
5927 Joseph Myers <joseph@codesourcery.com>
5928 Nathan Sidwell <nathan@codesourcery.com>
5930 * NEWS: Mention new Nios II port.
5931 * sysdeps/nios2/Implies: New file.
5932 * sysdeps/nios2/Makefile: New file.
5933 * sysdeps/nios2/Subdirs: New file.
5934 * sysdeps/nios2/Versions: New file.
5935 * sysdeps/nios2/__longjmp.S: New file.
5936 * sysdeps/nios2/abort-instr.h: New file.
5937 * sysdeps/nios2/backtrace.c: New file.
5938 * sysdeps/nios2/bits/endian.h: New file.
5939 * sysdeps/nios2/bits/fenv.h: New file.
5940 * sysdeps/nios2/bits/link.h: New file.
5941 * sysdeps/nios2/bits/setjmp.h: New file.
5942 * sysdeps/nios2/bsd-_setjmp.S: New file.
5943 * sysdeps/nios2/bsd-setjmp.S: New file.
5944 * sysdeps/nios2/configure: New generated file.
5945 * sysdeps/nios2/configure.ac: New file.
5946 * sysdeps/nios2/crti.S: New file.
5947 * sysdeps/nios2/crtn.S: New file.
5948 * sysdeps/nios2/dl-init.c: New file.
5949 * sysdeps/nios2/dl-machine.h: New file.
5950 * sysdeps/nios2/dl-sysdep.h: New file.
5951 * sysdeps/nios2/dl-tls.h: New file.
5952 * sysdeps/nios2/dl-trampoline.S: New file.
5953 * sysdeps/nios2/gccframe.h: New file.
5954 * sysdeps/nios2/gmp-mparam.h: New file.
5955 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5956 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5957 * sysdeps/nios2/ldsodefs.h: New file.
5958 * sysdeps/nios2/libc-tls.c: New file.
5959 * sysdeps/nios2/libm-test-ulps: New file.
5960 * sysdeps/nios2/machine-gmon.h: New file.
5961 * sysdeps/nios2/math-tests.h: New file.
5962 * sysdeps/nios2/math_private.h: New file.
5963 * sysdeps/nios2/memusage.h: New file.
5964 * sysdeps/nios2/nptl/Makefile: New file.
5965 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5966 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5967 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5968 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5969 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5970 * sysdeps/nios2/nptl/tls.h: New file.
5971 * sysdeps/nios2/preconfigure: New file.
5972 * sysdeps/nios2/s_fma.c: New file.
5973 * sysdeps/nios2/s_fmaf.c: New file.
5974 * sysdeps/nios2/setjmp.S: New file.
5975 * sysdeps/nios2/sfp-machine.h: New file.
5976 * sysdeps/nios2/sotruss-lib.c: New file.
5977 * sysdeps/nios2/stackguard-macros.h: New file.
5978 * sysdeps/nios2/stackinfo.h: New file.
5979 * sysdeps/nios2/start.S: New file.
5980 * sysdeps/nios2/sysdep.h: New file.
5981 * sysdeps/nios2/tls-macros.h: New file.
5982 * sysdeps/nios2/tst-audit.h: New file.
5983 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5984 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5985 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5986 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5987 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5988 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5989 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5990 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5991 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5992 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5993 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5994 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5995 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5996 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5997 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5998 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5999 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6000 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6001 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6002 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6003 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6004 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6005 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6006 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6007 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6008 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6009 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6010 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6011 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6012 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6013 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6014 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6015 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6016 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6017 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6018 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6019 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6020 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6021 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6022 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6023 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6024 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6025 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6026 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6028 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6031 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6032 (getutent): Use weak_alias in non SHARED case
6033 and default_symbol_version in SHARED case.
6034 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6035 (getutent_r, pututline): Likewise.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6037 (getutid): Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6039 (getutid_r): Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6041 (getutline): Likewise.
6042 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6043 (getutline_r): Likewise.
6044 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6045 (updwtmp): Likewise.
6047 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6050 * sysdeps/s390/s390-32/memcmp.S
6051 (memcmp_g5): Rename to __memcmp_g5.
6052 * sysdeps/s390/s390-32/memcpy.S
6053 (memcpy_g5): Rename to __memcpy_g5.
6054 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6055 (memcpy_mvcle) Rename to __memcpy_mvcle.
6056 * sysdeps/s390/s390-32/memset.S
6057 (memset_g5): Rename to __memset_g5.
6058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6059 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6060 and use prefixed functions.
6061 * sysdeps/s390/s390-32/multiarch/memcmp.S
6062 (memcmp_z196): Rename to __memcmp_z196.
6063 (memcmp_z10): Rename to __memcmp_z10.
6064 (memcmp): Set alias to __memcmp_g5.
6065 (bcmp): Set alias to __memcmp_g5.
6066 * sysdeps/s390/s390-32/multiarch/memcpy.S
6067 (memcpy_z196): Rename to __memcpy_z196.
6068 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6069 (memcpy_z10): Rename to __memcpy_z10.
6070 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6071 (memcpy): Set alias to __memcpy_g5.
6072 * sysdeps/s390/s390-32/multiarch/memset.S
6073 (memset_z196): Rename to __memset_z196.
6074 Jump to __memset_mvcle instead of memset_mvcle.
6075 (memset_z10): Rename to __memset_z10.
6076 Jump to __memset_mvcle instead of memset_mvcle.
6077 (memset_mvcle) Rename to __memset_mvcle.
6078 (memset): Set alias to __memset_g5.
6079 * sysdeps/s390/s390-64/memcmp.S
6080 (memcmp_z900): Rename to __memcmp_z900.
6081 * sysdeps/s390/s390-64/memcpy.S
6082 (memcpy_z900): Rename to __memcpy_z900.
6083 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6084 (memcpy_mvcle) Rename to __memcpy_mvcle.
6085 * sysdeps/s390/s390-64/memset.S
6086 (memset_z900): Rename to __memset_z900.
6087 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6088 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6089 and use prefixed functions.
6090 * sysdeps/s390/s390-64/multiarch/memcmp.S
6091 (memcmp_z196): Rename to __memcmp_z196.
6092 (memcmp_z10): Rename to __memcmp_z10.
6093 (memcmp): Set alias to __memcmp_z900.
6094 (bcmp): Set alias to __memcmp_z900.
6095 * sysdeps/s390/s390-64/multiarch/memcpy.S
6096 (memcpy_z196): Rename to __memcpy_z196.
6097 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6098 (memcpy_z10): Rename to __memcpy_z10.
6099 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6100 (memcpy): Set alias to __memcpy_z900.
6101 * sysdeps/s390/s390-64/multiarch/memset.S
6102 (memset_z196): Rename to __memset_z196.
6103 Jump to __memset_mvcle instead of memset_mvcle.
6104 (memset_z10): Rename to __memset_z10.
6105 Jump to __memset_mvcle instead of memset_mvcle.
6106 (memset_mvcle) Rename to __memset_mvcle.
6107 (memset): Set alias to __memset_z900.
6109 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6112 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6113 __fesetenv instead of fesetenv.
6115 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6117 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6120 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6122 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6125 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6126 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6128 strncmp-power8 object.
6129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6130 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6131 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6134 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6135 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6137 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6138 trailing byte check.
6140 2015-01-13 David S. Miller <davem@davemloft.net>
6142 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6144 2015-01-13 Roland McGrath <roland@hack.frob.com>
6146 * login/logout.c (logout): Use memset rather than bzero.
6147 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6148 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6149 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6150 (_gethtbyaddr): Likewise.
6151 * locale/programs/simple-hash.c (bcopy): Macro removed.
6153 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6156 Add strcmp-power8 object.
6157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6158 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6159 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6160 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6161 __strcmp_power8 implementation.
6162 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6166 Add strncpy-power8 and stpncpy-power8 objects.
6167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6168 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6170 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6171 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6172 __stpncpy_power8 implementation.
6173 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6174 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6175 __strncpy_power8 implementation.
6176 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6177 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6180 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6181 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6182 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6185 strncat-power8 object.
6186 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6187 __strcat_power8 implementation.
6188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6189 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6190 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6191 optimized strcat for power8.
6193 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6194 strcpy-power8 and stpcpy-power8 objects.
6195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6196 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6199 multiarch stpcpy implementation for POWER8.
6200 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6201 multiarch strcpy implementation for POWER8.
6202 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6203 __strcpy_power8 function.
6204 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6206 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6210 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6213 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6214 weights and rules. Use do_xfrm_cached if data fits in cache,
6215 do_xfrm otherwise. Moved former main loop to...
6216 * (do_xfrm_cached): New function.
6217 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6218 find_idx, find_position and stack_push.
6219 * (find_idx): New function.
6220 * (find_position): Likewise.
6221 * localedata/sort-test.sh: Added test run for do_xfrm.
6222 * localedata/xfrm-test.c (main): Added command line option
6223 -nocache to run the test with strings that are too large for
6226 2015-01-13 Torvald Riegel <triegel@redhat.com>
6228 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6229 variable to lll_futex_wake call, not the value itself.
6231 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6234 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6235 twom64. Adjust value to 0x1p-64L.
6236 (__scalblnl): Only return standard underflowing result for K <=
6237 -64 not K <= -63; adjust exponent for underflowing result by 64
6239 * math/libm-test.inc (scalbn_test_data): Add more tests.
6240 (scalbln_test_data): Likewise.
6243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6245 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6247 * math/libm-test.inc (scalbn_test_data): Add more tests.
6248 (scalbln_test_data): Likewise.
6250 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251 Stefani Seibold <stefani@seibold.net>
6253 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6254 (sysdep_routines): Add dl-vdso here, ...
6255 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6256 (sysdep_routines): ... not here.
6257 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6258 fallback when vDSO is not presented.
6259 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6260 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6261 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6262 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6263 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6264 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6265 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6267 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6269 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6270 fallback configurable symbol when vDSO is not available.
6271 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6272 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6273 be able to redefine fallback symbol when vDSO is not available.
6274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6275 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6277 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6280 (TLS_INIT_TP): Add tm_capable initialization.
6281 (TLS_DEFINE_INIT_TP): Likewise.
6282 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6284 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6285 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6287 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6288 transactoion is lock elision is built and TCB tm_capable is set.
6289 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6291 (INTERNAL_SYSCALL_NCS): Likewise.
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6293 (INTERNAL_SYSCALL_NCS): Likewise.
6294 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6296 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6298 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6299 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6300 and remove it for 32 bits case.
6301 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6304 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6305 Disable lock elision with rdlocks if elision is not available.
6307 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6308 (sysdep_routines): Add lock elision objects.
6309 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6310 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6311 [pthread_mutex_t] (__elision): Add field.
6312 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6313 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6314 elision definitions for powerpc.
6315 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6316 implementation of lock elision for powerpc.
6317 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6318 implementation of timed lock elision for powerpc.
6319 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6320 implementation of trylock with lock elision for powerpc.
6321 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6322 implementaion of unlock for lock elision for powerpc.
6323 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6324 automatic enable lock elision for mutexes.
6325 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6326 transaction execution definitions for powerpc.
6327 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6329 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6330 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6331 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6332 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6335 2015-01-09 Roland McGrath <roland@hack.frob.com>
6337 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6338 for #include of <shm-directory.h>.
6340 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6342 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6343 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6345 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6348 * NEWS: Mention bug fix.
6349 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6350 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6351 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6353 2015-01-09 Torvald Riegel <triegel@redhat.com>
6355 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6357 2015-01-09 Torvald Riegel <triegel@redhat.com>
6359 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6361 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6363 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6364 pointer and cast to uintptr_t.
6366 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6368 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6370 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6372 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6374 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6377 2015-01-08 Roland McGrath <roland@hack.frob.com>
6379 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6380 <nptl/pthreadP.h> instead.
6381 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6383 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6385 [__SIGRTMIN] (init): Function removed.
6386 [__SIGRTMIN] (initialized): Variable removed.
6387 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6388 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6389 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6390 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6391 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6392 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6393 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6394 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6395 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6396 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6397 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6398 * sysdeps/nptl/allocrtsig.c: New file.
6399 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6400 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6401 * sysdeps/generic/testrtsig.h: File removed.
6403 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6404 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6406 * nptl/nptl-init.c (pthread_functions): Conditionalize
6407 .ptr__nptl_setxid initialization on [SIGSETXID].
6409 * sysdeps/nptl/sys/procfs.h: New file.
6410 * nptl_db/Makefile (headers): Add it.
6411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6413 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6414 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6415 * nptl/pthread_attr_setaffinity.c: Include it.
6416 * nptl/pthread_setattr_default_np.c: Likewise.
6417 * nptl/check-cpuset.h: New file.
6419 2015-01-08 Richard Henderson <rth@redhat.com>
6421 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6422 (CFLAGS-tst-execstack-prog.c): Likewise.
6423 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6425 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6426 Sandra Loosemore <sandra@codesourcery.com>
6427 Andrew Jenner <andrew@codesourcery.com>
6428 Joseph Myers <joseph@codesourcery.com>
6429 Nathan Sidwell <nathan@codesourcery.com>
6431 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6432 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6433 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6434 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6435 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6436 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6437 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6438 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6439 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6440 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6441 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6442 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6443 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6444 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6445 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6446 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6447 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6449 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6451 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6452 timespec struct member in syscall macro.
6453 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6454 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6455 first timeval struct member in syscall macro.
6456 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6458 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6461 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6462 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6463 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6464 __feupdateenv and define as weak alias of __feupdateenv. Use
6466 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6468 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6469 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6470 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6471 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6473 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6474 __feupdateenv and define as weak alias of __feupdateenv. Use
6476 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6478 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6479 __feupdateenv and define as weak alias of __feupdateenv. Use
6481 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6483 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6484 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6485 (__feupdateenv): Likewise.
6486 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6487 __feupdateenv and define as weak alias of __feupdateenv. Use
6489 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6490 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6492 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6494 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6496 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6497 __feupdateenv instead of feupdateenv.
6498 (default_libc_feupdateenv_test): Likewise.
6499 (libc_feresetround_ctx): Likewise.
6501 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6503 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6506 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6508 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6509 COLL_SYM in a couple of places to avoid uninitialized variable
6510 wanings on tilegx gcc 4.8.2.
6512 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6514 * sysdeps/aarch64/strcpy.S: New file.
6515 * sysdeps/aarch64/stpcpy.S: New file.
6518 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6520 * sysdeps/aarch64/strrchr.S: New file.
6523 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6526 * stdlib/setenv.c: Fix memory leak when setting large,
6529 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6532 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6533 and tabs from buffer before parsing fstab entry.
6534 * misc/tst-mntent.c (main): Add test for mount entry with
6535 trailing spaces and tabs.
6537 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6540 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6541 * math/fesetround.c (fesetround): Rename to __fesetround and
6542 define as weak alias of __fesetround. Use libm_hidden_weak.
6543 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6544 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6545 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6546 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6547 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6548 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6549 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6550 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6551 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6552 __fesetround_inline.
6553 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6554 __fesetround_inline instead of __fesetround.
6555 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6556 __fesetround and define as weak alias of __fesetround. Use
6557 libm_hidden_weak. Call __fesetround_inline instead of
6559 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6560 __fesetround and define as weak alias of __fesetround. Use
6562 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6564 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6565 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6566 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6567 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6568 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6569 __fesetround and define as weak alias of __fesetround. Use
6571 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6572 __fesetround instead of fesetround.
6573 (default_libc_feholdexcept_setround): Likewise.
6574 (libc_feholdsetround_ctx): Likewise.
6575 (libc_feholdsetround_noex_ctx): Likewise.
6578 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6579 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6580 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6581 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6582 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6583 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6584 define as weak alias of __fesetenv. Use libm_hidden_weak.
6585 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6586 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6587 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6588 define as weak alias of __fesetenv. Use libm_hidden_weak.
6589 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6590 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6591 define as weak alias of __fesetenv. Use libm_hidden_weak.
6592 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6594 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6595 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6597 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6598 define as weak alias of __fesetenv. Use libm_hidden_weak.
6599 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6600 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6601 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6602 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6603 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6604 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6605 __fesetenv instead of fesetenv.
6606 (libc_feresetround_noex_ctx): Likewise.
6607 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6608 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6609 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6610 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6611 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6612 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6613 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6614 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6615 (__feupdateenv): Likewise.
6616 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6617 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6618 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6619 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6621 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6624 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6625 addresses have been freed.
6627 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6629 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6632 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6634 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6635 Clean up check_pf allocation pattern. addresses
6637 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6639 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6640 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6641 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6642 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6643 * nptl/pthread_join.c (pthread_join): Likewise.
6644 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6645 * sysdeps/posix/waitid.c (__waitid): Likewise.
6646 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6647 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6648 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6649 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6650 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6653 (__libc_pread64): Likewise.
6654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6655 (__libc_pwrite): Likewise.
6656 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6657 (__libc_pwrite64): Likewsie.
6658 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6659 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6660 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6661 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6662 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6663 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6664 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6668 (__libc_pread64): Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6672 (__libc_pwrite64): Likewise.
6673 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6674 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6675 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6676 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6677 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6678 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6679 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6680 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6681 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6682 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6683 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6684 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6685 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6686 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6687 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6691 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6693 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6694 (CFLAGS-test-double.c): Likewise.
6695 (CFLAGS-test-ldouble.c): Likewise.
6696 (CPPFLAGS-test-ifloat.c): Likewise.
6697 (CPPFLAGS-test-idouble.c): Likewise.
6698 (CPPFLAGS-test-ildoubl.c): Likewise.
6699 (CFLAGS-test-test-fenv.c): Remove variable.
6700 (CFLAGS-test-misc.c): Likewise.
6702 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6705 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6706 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6707 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6708 CLOCKS_PER_SEC == 1000000.
6709 * time/clocktest.c (main): Replace %ld with %jd and cast to
6712 2015-01-05 Roland McGrath <roland@hack.frob.com>
6714 * sysdeps/generic/unwind-resume.h: New file.
6715 * sysdeps/gnu/unwind-resume.c: Include it.
6716 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6717 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6719 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6720 global rather than static.
6721 (_Unwind_Resume): Update user.
6722 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6723 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6724 rather than static. Add __attribute__ ((cold)).
6725 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6726 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6727 * sysdeps/arm/arm-unwind-resume.S: New file.
6728 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6729 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6730 * sysdeps/arm/Makefile [$(subdir) = csu]
6731 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6732 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6733 Add rt-arm-unwind-resume.
6735 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6736 Add pt-arm-unwind-resume.
6737 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6738 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6740 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6743 * include/fenv.h (__feholdexcept): Declare. Use
6745 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6746 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6747 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6748 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6749 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6750 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6751 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6752 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6753 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6754 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6755 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6756 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6757 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6758 (feholdexcept): Likewise.
6759 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6760 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6761 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6762 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6763 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6764 __feholdexcept instead of feholdexcept.
6765 (default_libc_feholdexcept_setround): Likewise.
6767 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6769 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6770 to avoid using stl/str to align destination.
6772 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6774 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6776 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6780 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6781 Define as weak alias not strong alias.
6783 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6785 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6786 bltzal with addiupc.
6787 (RTLD_START): Ditto.
6789 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6791 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6792 for __vdso_* functions in declarations.
6793 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6795 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6796 INTERNAL_VSYSCALL): Use struct return types to check for error.
6798 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6799 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6800 function with cast from llround().
6801 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6802 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6805 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6808 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6809 Define as weak alias not strong alias.
6812 * ctype/ctype-c99.c: New file. isblank implementation moved from
6814 * ctype/ctype-extn.c: ... here.
6815 (__isblank_l): Move to ...
6816 * ctype/ctype-c99_l.c: ... here. New file.
6817 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6818 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6820 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6821 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6822 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6823 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6824 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6827 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6828 (posix_fadvise64): Define as weak alias not strong alias.
6829 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6830 (posix_fallocate64): Likewise.
6831 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6833 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6834 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6835 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6836 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6837 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6839 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6842 * NEWS: Mention bug fix.
6843 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6844 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6845 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6846 (HOST_STACK_END_ADDR): Likewise.
6848 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6851 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6852 * math/fegetround.c (fegetround): Rename to __fegetround and
6853 define as weak alias of __fegetround. Use libm_hidden_weak.
6854 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6855 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6856 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6857 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6858 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6859 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6860 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6861 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6862 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6863 Undefine after rather than before function definition; use
6864 parentheses around function name in definition.
6865 (__fegetround): Also undefine macro after function definition.
6866 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6867 __fegetround and define as weak alias of __fegetround. Use
6868 libm_hidden_weak. Do not undefine as macro.
6869 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6871 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6872 __fegetround and define as weak alias of __fegetround. Use
6874 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6875 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6876 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6877 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6878 __fegetround and define as weak alias of __fegetround. Use
6880 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6881 __fegetround instead of fegetround.
6884 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6885 Condition macro definition on [__USE_MISC].
6888 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6889 (struct sigaction): Change type of sa_flags field to int.
6892 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6893 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6896 * nptl/version.c (banner): Use single year in copyright notice.
6898 * NEWS: Update copyright dates.
6899 * catgets/gencat.c (print_version): Likewise.
6900 * csu/version.c (banner): Likewise.
6901 * debug/catchsegv.sh: Likewise.
6902 * debug/pcprofiledump.c (print_version): Likewise.
6903 * debug/xtrace.sh (do_version): Likewise.
6904 * elf/ldconfig.c (print_version): Likewise.
6905 * elf/ldd.bash.in: Likewise.
6906 * elf/pldd.c (print_version): Likewise.
6907 * elf/sotruss.sh: Likewise.
6908 * elf/sprof.c (print_version): Likewise.
6909 * iconv/iconv_prog.c (print_version): Likewise.
6910 * iconv/iconvconfig.c (print_version): Likewise.
6911 * locale/programs/locale.c (print_version): Likewise.
6912 * locale/programs/localedef.c (print_version): Likewise.
6913 * login/programs/pt_chown.c (print_version): Likewise.
6914 * malloc/memusage.sh (do_version): Likewise.
6915 * malloc/memusagestat.c (print_version): Likewise.
6916 * malloc/mtrace.pl: Likewise.
6917 * manual/libc.texinfo: Likewise.
6918 * nptl/version.c (banner): Likewise.
6919 * nscd/nscd.c (print_version): Likewise.
6920 * nss/getent.c (print_version): Likewise.
6921 * nss/makedb.c (print_version): Likewise.
6922 * posix/getconf.c (main): Likewise.
6923 * scripts/test-installation.pl: Likewise.
6924 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6926 2015-01-02 Will Newton <will.newton@linaro.org>
6928 * sysdeps/arm/armv7/configure: Removed.
6929 * sysdeps/arm/armv7/configure.ac: Likewise.
6931 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6933 * All files with FSF copyright notices: Update copyright dates
6934 using scripts/update-copyrights.
6935 * intl/plural.c: Regenerated.
6936 * locale/programs/charmap-kw.h: Likewise.
6937 * locale/programs/locfile-kw.h: Likewise.
6939 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6941 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6943 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6946 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6947 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6948 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6949 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6950 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6951 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6952 define as weak alias of __fegetenv. Use libm_hidden_weak.
6953 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6954 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6955 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6956 define as weak alias of __fegetenv. Use libm_hidden_weak.
6957 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6958 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6959 define as weak alias of __fegetenv. Use libm_hidden_weak.
6960 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6962 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6963 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6965 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6966 define as weak alias of __fegetenv. Use libm_hidden_weak.
6967 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6968 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6969 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6970 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6971 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6972 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6973 __fegetenv instead of fegetenv.
6974 (libc_feholdsetround_noex_ctx): Likewise.
6976 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6978 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6979 (Elf_MIPS_ABIFlags_v0): New structure.
6980 (EF_MIPS_FP64): Define.
6981 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6982 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6983 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6984 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6985 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6986 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6987 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6988 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6989 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6990 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6991 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6992 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6993 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6994 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6995 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6996 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6997 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6998 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6999 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7000 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7001 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7002 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7004 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7006 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7007 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7008 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7009 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7010 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7011 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7012 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7013 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7014 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7015 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7016 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7017 record the current FP ABI extension.
7018 (mips-mode-switch): Define to show if kernel headers support mode
7020 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7021 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7022 supported SYSV ABI version to 3.
7023 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7026 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7027 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7029 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7031 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7033 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7035 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7036 __fegetround and redefine to call __fegetround. Remove condition
7037 on [!__NO_MATH_INLINES].
7038 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7040 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7041 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7043 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7044 instead of <fenv_libc.h>.
7045 (__llrintl): Call fegetround instead of __fegetround.
7046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7047 instead of <fenv_libc.h>.
7048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7049 (__lrintl): Call fegetround instead of __fegetround.
7050 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7051 instead of <fenv_libc.h>.
7052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7053 (__rintl): Call fegetround instead of __fegetround.
7055 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7057 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7060 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7063 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7064 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7065 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7067 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7069 * sysdeps/i386/tls-macros.h: Include <features.h>.
7070 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7074 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7075 define for GCC >= 5.0.
7077 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7079 * math/test-fenv.c (test_single_exception, set_single_exc,
7080 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7081 feexcp_mask_test, feenable_test, fe_single_test): Add
7082 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7083 case where they are not used.
7084 * math/libm-test.inc: Likewise.
7085 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7086 unused in the absence of FP rounding/exception support.
7087 * stdio-common/tst-printf-round.c: Likewise.
7088 * stdlib/tst-strtod-round.c: Likewise.
7089 * stdlib/tst-strtod-underflow.c: Likewise.
7091 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7094 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7095 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7096 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7097 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7099 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7100 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7101 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7103 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7104 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7106 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7108 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7109 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7110 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7112 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7114 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7115 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7116 (__feraiseexcept): Likewise.
7117 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7118 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7120 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7121 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7123 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7124 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7125 Use libm_hidden_def.
7126 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7128 (feraiseexcept): Define as weak not strong alias. Use
7130 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7131 New inline function. Factored out of ...
7132 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7133 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7134 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7136 * math/w_acos.c (__acos): Likewise.
7137 * math/w_asin.c (__asin): Likewise.
7138 * math/w_ilogb.c (__ilogb): Likewise.
7139 * math/w_j0.c (y0): Likewise.
7140 * math/w_j1.c (y1): Likewise.
7141 * math/w_jn.c (yn): Likewise.
7142 * math/w_log.c (__log): Likewise.
7143 * math/w_log10.c (__log10): Likewise.
7144 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7145 * sysdeps/aarch64/fpu/math_private.h
7146 (libc_feupdateenv_test_aarch64): Likewise.
7147 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7148 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7149 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7150 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7151 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7152 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7153 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7154 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7155 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7156 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7158 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7161 * io/test-utime.c (main): Replace %ld with %jd and cast to
7163 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7164 * nptl/tst-mutex5.c: Include <stdint.h>.
7165 (do_test): Replace %ld with %jd and cast to intmax_t.
7166 * posix/tst-regex.c (run_test): Likewise.
7167 (run_test_backwards): Likewise.
7168 * rt/tst-clock.c: Include <stdint.h>.
7169 (clock_test): Replace %ld with %jd and cast to intmax_t.
7170 * rt/tst-cpuclock1.c: Include <stdint.h>.
7171 (do_test): Replace %lu with %ju and cast to uintmax_t.
7172 * rt/tst-cpuclock2.c: Include <stdint.h>.
7173 (do_test): Replace %lu with %ju and cast to uintmax_t.
7174 * rt/tst-mqueue1.c: Include <stdint.h>.
7175 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7176 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7178 * rt/tst-mqueue4.c (do_test): Likewise.
7179 * rt/tst-timer4.c: Include <stdint.h>.
7180 (check_ts): Replace %ld with %jd and cast to intmax_t.
7181 (do_test): Likewise.
7182 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7183 and cast to intmax_t.
7184 * sysdeps/pthread/tst-timer.c (main): Likewise.
7185 * time/clocktest.c (main): Likewise.
7186 * time/tst-posixtz.c (do_test): Likewise.
7187 * timezone/tst-timezone.c (main): Likewise.
7189 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7190 H.J. Lu <hongjiu.lu@intel.com>
7192 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7193 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7197 version if bit_Fast_Unaligned_Load is set.
7198 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7203 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7205 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7206 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7207 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7209 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7210 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7211 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7212 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7214 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7216 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7217 instead of #if to avoid a Wundef warning.
7218 * stdlib/tst-limits.c (do_test): Likewise.
7220 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7221 parallel other exception macros.
7222 (fegetenv): Convert from macro to extern inline so that it applies
7223 retroactively to inline functions already seen by the compiler.
7224 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7226 * posix/Makefile (before-compile): Use $(objpfx) for
7227 posix-conf-vars-def.h.
7229 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7231 * posix/getconf.c (main): Use size_t for type of I.
7232 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7235 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7236 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7237 * posix/posix-envs.def: Likewise.
7238 * sysdeps/posix/sysconf.c: Likewise.
7239 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7240 (specs): Remove array.
7241 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7244 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7245 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7246 (__sysconf): Use CONF_IS_* macros.
7248 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7249 ($(objpfx)posix-conf-vars-def.h): New target.
7250 * posix/posix-conf-vars.list: New file.
7251 * posix/posix-conf-vars.h: New file.
7252 * posix/confstr.c: Include posix-conf-vars.h.
7253 (confstr): Use CONF_IS_* macros.
7254 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7256 * scripts/gen-posix-conf-vars.awk: New file.
7258 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7260 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7261 fegetround): Add no-op macros to avoid linknamespace issues.
7263 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7264 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7266 * sysdeps/unix/sysv/linux/tile/sysdep.h
7267 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7268 assembly-specific section to avoid a redefinition warning.
7270 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7271 long before casting to pointer to avoid a cast warning.
7273 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7275 * sysdeps/tile/tilegx/Implies: New file.
7277 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7279 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7281 2014-12-23 Florian Weimer <fweimer@redhat.com>
7283 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7285 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7289 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7290 <kernel-features.h>.
7291 (__utimes) [__NR_utimes]: Make code unconditional.
7292 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7294 (__ASSUME_UTIMES): Do not undefine.
7295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7296 (__ASSUME_UTIMES): Likewise.
7297 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7298 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7299 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7300 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7302 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7304 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7306 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7309 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7310 alias to weak alias for j0l, y0l.
7311 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7312 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7315 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7318 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7320 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7321 to zero if not already defined.
7323 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7326 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7327 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7328 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7329 (char *) casts added.
7330 * sysdeps/ieee754/k_standardf.c: New file.
7331 * sysdeps/ieee754/k_standardl.c: Likewise.
7332 * math/Makefile (libm-support): Remove k_standard.
7333 (libm-calls): Add k_standard.
7335 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7337 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7338 Optimize to avoid an unnecessary FPCR read.
7340 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7342 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7343 Optimize to reduce FPCR/FPSR accesses.
7345 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7347 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7348 Call libc_fetestexcept_aarch64.
7350 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7352 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7353 Call libc_fesetround_aarch64.
7355 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7358 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7359 (__bind): Do not define as weak alias.
7360 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7362 (__getsockname): Do not define as weak alias.
7364 2014-12-22 Will Newton <will.newton@linaro.org>
7366 * manual/install.texi: Document that we require bison 2.7
7368 * INSTALL: Regenerate.
7369 * configure.ac: Use AC_CHECK_PROG_VER instead of
7370 AC_PATH_PROG when checking for bison and check for
7371 version 2.7 or above.
7372 * configure: Regenerate.
7374 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7377 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7378 * sysdeps/tile/ffsll.c (ffsll): To here.
7380 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7382 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7384 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7386 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7388 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7389 hidden ___tls_get_addr.
7390 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7391 hidden __tls_get_addr.
7392 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7393 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7396 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7398 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7401 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7403 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7404 from "call _dl_init@PLT".
7405 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7407 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7409 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7412 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7414 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7416 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7419 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7422 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7424 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7426 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7427 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7428 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7429 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7430 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7432 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7434 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7435 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7436 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7437 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7438 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7440 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7442 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7444 * string/strncat.c (STRNCAT): Simplify implementation.
7446 2014-12-19 David S. Miller <davem@davemloft.net>
7448 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7449 access the quad as both a long double and as a series of 4 words.
7451 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7452 link_map->l_info array access.
7454 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7456 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7458 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7459 * math/atest-exp2.c (TIMEOUT): Likewise.
7460 * math/atest-sincos.c (TIMEOUT): Likewise.
7462 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7464 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7465 -Wno-error with -fno-builtin-lround.
7467 2014-12-19 Torvald Riegel <triegel@redhat.com>
7469 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7470 Contains futex constants and functions moved over from ...
7471 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7472 <lowlevellock-futex.h>.
7473 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7474 (lll_timedwait_tid): Add comments and parentheses around macro
7477 2014-12-19 Torvald Riegel <triegel@redhat.com>
7479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7480 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7481 (__lll_private_flag): Remove.
7482 (lll_futex_wait): Likewise.
7483 (lll_futex_timed_wait): Likewise.
7484 (lll_futex_wake): Likewise.
7485 (lll_futex_requeue): Likewise.
7486 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7487 (__lll_timedwait_tid): Spell out argument names.
7488 (lll_timedwait_tid): Add comments and parentheses around macro
7490 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7491 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7493 2014-12-19 Torvald Riegel <triegel@redhat.com>
7495 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7496 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7497 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7498 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7499 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7500 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7501 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7502 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7503 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7504 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7505 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7506 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7508 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7509 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7510 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7511 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7512 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7513 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7515 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7517 * sysdeps/x86_64/x32/Makefile: New file.
7519 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7521 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7522 1L with (mp_limb_t) 1.
7524 2014-12-17 Roland McGrath <roland@hack.frob.com>
7526 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7527 * nptl/libc_pthread_init.c: ... here.
7528 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7529 * nptl/register-atfork.c: ... here.
7531 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7532 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7533 Use assert_perror to check its return value.
7534 (__gai_create_helper_thread): Likewise.
7536 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7538 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7540 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7543 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7545 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7547 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7549 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7551 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7552 (profil_counter): Likewise.
7553 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7554 (profil_counter): Likewise.
7555 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7557 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7559 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7560 (profil_counter): Likewise.
7561 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7563 [!__profil_counter] (profil_counter): Define as weak alias of
7565 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7566 (profil_counter): Rename to __profil_counter.
7567 [!__profil_counter] (profil_counter): Define as weak alias of
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7570 (profil_counter): Rename to __profil_counter.
7571 [!__profil_counter] (profil_counter): Define as weak alias of
7573 * sysdeps/posix/profil.c: Update comment referring to
7575 (__profil): Use __profil_counter instead of profil_counter.
7576 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7577 __profil_counter. Use __profil_counter_ushort and
7578 __profil_counter_uint in definitions.
7579 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7580 instead of profil_counter_uint and profil_counter_ushort.
7583 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7584 define as weak alias of __inet_makeaddr.
7585 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7586 as weak alias of __inet_addr.
7587 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7588 as weak alias of __inet_pton. Use libc_hidden_weak.
7589 * include/arpa/inet.h (__inet_pton): Declare. Use
7591 (inet_makeaddr): Don't use libc_hidden_proto.
7592 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7593 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7594 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7595 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7597 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7598 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7600 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7602 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7604 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7606 * stdio-common/bug-vfprintf-nargs.c (do_test):
7607 Cast value to intptr_t to avoid format warning
7608 for usage with PRIdPTR printing macro.
7610 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7612 * libio/tst-widetext.c (do_test):
7613 Use format type %td instead of %Zd for ptrdiff_t
7614 in order to avoid format warning.
7616 2014-12-17 Andreas Schwab <schwab@suse.de>
7618 * nscd/mem.c (gc): Add size_t cast to match printf format.
7620 2014-12-16 Roland McGrath <roland@hack.frob.com>
7622 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7623 (init): Apply PTR_MANGLE to pointers before storing them.
7624 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7627 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7630 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7631 define as weak alias of __memrchr.
7632 (__memrchr): Do not define as strong alias of memrchr.
7633 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7635 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7636 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7637 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7640 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7641 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7642 (if_indextoname): Rename to __if_indextoname and define as weak
7643 alias of __if_indextoname. Use libc_hidden_weak.
7644 (if_freenameindex): Rename to __if_freenameindex and define as
7645 weak alias of __if_freenameindex.
7646 (if_nameindex): Rename to __if_nameindex and define as weak alias
7648 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7649 __if_nametoindex and define as weak alias of __if_nametoindex.
7650 Use libc_hidden_weak.
7651 (if_freenameindex): Rename to __if_freenameindex and define as
7652 weak alias of __if_freenameindex.
7653 (if_nameindex): Rename to __if_nameindex and define as weak alias
7655 (if_indextoname): Rename to __if_indextoname and define as weak
7656 alias of __if_indextoname. Use libc_hidden_weak.
7657 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7658 __if_nametoindex and define as weak alias of __if_nametoindex.
7659 Use libc_hidden_weak.
7660 (if_freenameindex): Rename to __if_freenameindex and define as
7661 weak alias of __if_freenameindex. Use libc_hidden_weak.
7662 (if_nameindex_netlink): Use __if_freenameindex instead of
7664 (if_nameindex): Rename to __if_nameindex and define as weak alias
7665 of __if_nameindex. Use libc_hidden_weak.
7666 (if_indextoname): Rename to __if_indextoname and define as weak
7667 alias of __if_indextoname. Use libc_hidden_weak.
7668 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7670 [!_ISOMAC] (__if_freenameindex): Likewise.
7671 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7673 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7675 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7676 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7677 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7678 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7679 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7680 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7681 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7683 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7685 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7686 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7688 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7690 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7691 subscript above bounds'
7693 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7696 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7698 * libio/tst-fopenloc.c: Use test-skeleton.c.
7700 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7701 (entry): Rename to ITEM.
7702 (do_test, comp): Adjust.
7704 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7706 2014-12-16 Torvald Riegel <triegel@redhat.com>
7708 * string/tester.c: Include <libc-internal.h>.
7709 (test_memset): Ignore -Wmemset-transposed-args.
7711 2014-12-16 Torvald Riegel <triegel@redhat.com>
7713 * misc/tst-mntent2.c (do_test): Fix warning.
7715 2014-12-16 Torvald Riegel <triegel@redhat.com>
7717 * elf/tst-unique4lib.cc(a): Mark as used.
7719 2014-12-16 Florian Weimer <fweimer@redhat.com>
7722 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7725 2014-12-16 Allan McRae <allan@archlinux.org>
7727 * stdio-common/Makefile (tests): Re-add bug26.
7729 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7732 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7735 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7737 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7738 (__lll_lock_wait): Likewise.
7739 (__lll_timedlock_wait): Likewise.
7740 (__lll_timedwait_tid): Likewise.
7741 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7742 (__lll_robust_timedlock_wait): Likewise.
7743 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7744 (lll_cond_trylock): Likewise.
7745 (__lll_lock): Likewise.
7746 (__lll_robust_lock): Likewise.
7747 (__lll_cond_lock): Likewise.
7748 (lll_robust_cond_lock): Likewise.
7749 (__lll_timedlock): Likewise.
7750 (__lll_robust_timedlock): Likewise.
7751 (__lll_unlock): Likewise.
7752 (__lll_robust_unlock): Likewise.
7753 (lll_wait_tid): Likewise.
7754 (lll_timedwait_tid): Likewise.
7756 2014-12-15 Torvald Riegel <triegel@redhat.com>
7758 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7760 2014-12-15 Torvald Riegel <triegel@redhat.com>
7762 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7764 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7766 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7767 * stdio-common/tst-sprintf.c: Likewise.
7769 2014-12-15 Torvald Riegel <triegel@redhat.com>
7771 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7773 2014-12-15 Jeff Law <law@redhat.com>
7776 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7777 on the heap. (CVE-2012-3406)
7778 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7779 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7780 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7782 2014-12-15 Will Newton <will.newton@linaro.org>
7784 * manual/install.texi: Bump required version of texinfo
7786 * INSTALL: Regenerated.
7787 * configure.ac: Check for makeinfo version 4.7 and above.
7788 * configure: Regenerated.
7790 2014-12-12 Roland McGrath <roland@hack.frob.com>
7792 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7793 PREFIX, string constant to insert between directory and name.
7794 * sysdeps/posix/shm_open.c: Update caller.
7795 * sysdeps/posix/shm_unlink.c: Likewise.
7796 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7797 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7798 (SEM_SHM_PREFIX): New macro.
7799 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7800 [$(have-thread-library) = no].
7801 * nptl/Makefile (libpthread-routines): Add shm-directory.
7802 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7803 * sysdeps/nptl/shm-directory.h: New file.
7804 * sysdeps/posix/shm-directory.c
7805 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7806 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7807 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7809 (__where_is_shmfs): Function removed.
7810 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7812 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7814 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7816 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7817 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7818 unconditional for use inside libpthread.
7819 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7821 2014-12-12 Roland McGrath <roland@hack.frob.com>
7823 * nptl/pthread_getaffinity.c: New file.
7824 * nptl/pthread_setaffinity.c: New file.
7825 * nptl/pthread_getname.c: New file.
7826 * nptl/pthread_setname.c: New file.
7828 * nptl/pthread_create.c (START_THREAD_DEFN)
7829 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7831 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7832 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * resolv/res_send.c (send_vc): Disable warning resplen may
7835 be used uninitialized.
7837 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7840 (ATTR_NULL): New define checks ATTR against NULL.
7841 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7842 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7844 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7848 (mem2mem_check): Revert my previous change.
7849 (malloc_check_get_size): Revert my previous change.
7850 (mem2chunk_check): Revert my previous change.
7852 2014-12-11 Roland McGrath <roland@hack.frob.com>
7854 * sysdeps/posix/shm-directory.c: New file.
7855 * sysdeps/posix/shm-directory.h: New file.
7856 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7857 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7858 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7859 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7860 Transmute EPERM to EACCES.
7861 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7863 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7864 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7866 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7868 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7869 pointer and cast to uintptr_t.
7870 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7871 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7872 Add cast to avoid warning.
7873 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7875 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7877 * nptl/semaphore.h: Move to ...
7878 * sysdeps/pthread/semaphore.h: ... here.
7879 * Makefile (installed-headers): Change nptl/semaphore.h to
7880 sysdeps/pthread/semaphore.h.
7882 2014-12-11 Roland McGrath <roland@hack.frob.com>
7884 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7885 generated error format strings.
7887 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7888 -Wformat-extra-args warnings for scanf formats.
7889 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7890 test of zero-length format (duh).
7891 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7892 corner-case scanf format test.
7893 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7894 generated fprintf format string.
7895 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7896 corner-case sprintf format tests.
7897 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7898 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7899 -Wformat-extra-args warnings throughout.
7900 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7901 (CFLAGS-scanf4.c): Likewise.
7902 (CFLAGS-scanf7.c): Likewise.
7903 (CFLAGS-tst-sprintf.c): Likewise.
7904 (CFLAGS-tst-printf.c): Likewise.
7905 (CFLAGS-tst-printfsz.c): Likewise.
7907 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7909 * include/cpio.h: New file.
7910 * include/fmtmsg.h: Likewise.
7912 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7913 corresponding format argument to size_t.
7914 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7916 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7917 corresponding format argument to size_t.
7918 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7920 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7921 corresponding format argument to size_t.
7922 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7923 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7924 (CFLAGS-tst-mbswcs2.c): Likewise.
7925 (CFLAGS-tst-mbswcs3.c): Likewise.
7926 (CFLAGS-tst-mbswcs4.c): Likewise.
7927 (CFLAGS-tst-mbswcs5.c): Likewise.
7928 (CFLAGS-tst-trans.c): Likewise
7930 2014-12-11 Roland McGrath <roland@hack.frob.com>
7932 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7933 rather than assuming they won't contain any '%'s.
7935 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7937 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7938 inhibit_loop_to_libcall to avoid recursive calls.
7939 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7940 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7942 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7944 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7947 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7949 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7950 integer value instead of boolean.
7952 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7954 * malloc/malloc.c: Fix powerof2 check.
7956 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7958 * locale/programs/locfile.h (maybe_swap_uint32):
7959 Remove inline and add unused attribute.
7961 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7963 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7964 Truncating assembler expression to a .long expression.
7966 2014-12-11 Andreas Schwab <schwab@suse.de>
7968 * elf/rtld.c (struct map_args): Constify str member.
7969 (do_preload): Constify fname argument.
7971 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7974 constants definition.
7976 2014-12-11 Andreas Schwab <schwab@suse.de>
7979 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7980 FORCE_ELISION instead of DO_ELISION.
7981 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7983 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7986 * iconvdata/gconv-modules: Remove duplicate entry.
7988 2014-12-11 Will Newton <will.newton@linaro.org>
7990 Merge gettext 0.19.3 into intl/.
7992 This involves a number of cosmetic changes to comments
7993 and ANSI function definitions and prototypes throughout
7994 all the files. The gettext copyright header is used but
7995 with the date ranges taken from the glibc copy.
7997 * NEWS: Add gettext merge to 2.21.
7998 * intl/bindtextdom.c: Switch to gettext copyright.
7999 Use ANSI definitions and prototypes.
8000 Use gl_* locking primitives rather than __libc_* ones.
8001 Use __builtin_expect rather than __glibc_likely/unlikely.
8002 * intl/dcgettext.c: Switch to gettext copyright.
8003 Use ANSI definitions and prototypes.
8004 * intl/dcigettext.c: Switch to gettext copyright.
8005 Use ANSI definitions and prototypes.
8006 (INTDIV0_RAISES_SIGFPE): New define.
8007 Use gl_* locking primitives rather than __libc_* ones.
8008 Include eval-plural.h instead of plural-eval.c.
8009 Use __builtin_expect rather than __glibc_likely/unlikely.
8010 * intl/dcngettext.c: Switch to gettext copyright.
8011 Use ANSI definitions and prototypes.
8012 * intl/dgettext.c: Likewise.
8013 * intl/dngettext.c: Likewise.
8014 * intl/plural-eval.c: Renamed to...
8015 * intl/eval-plural.h: ...this.
8016 * intl/explodename.c: Switch to gettext copyright.
8017 Use ANSI definitions and prototypes.
8018 (_nl_explode_name): Use strchr instead of __rawmemchr.
8019 * intl/finddomain.c: Switch to gettext copyright.
8020 Use ANSI definitions and prototypes.
8021 Use gl_* locking primitives rather than __libc_* ones.
8022 (_nl_find_domain): Use malloc rather than alloca for
8023 allocation of temporary locale name.
8024 * intl/gettext.c: Switch to gettext copyright.
8025 Use ANSI definitions and prototypes.
8026 * intl/gettextP.h: Switch to gettext copyright.
8027 Use ANSI definitions and prototypes.
8028 Use gl_* locking primitives rather than __libc_* ones.
8029 * intl/gmo.h: Switch to gettext copyright.
8030 (struct sysdep_string): Move struct segment_pair outside of
8032 * intl/hash-string.c: Use ANSI definitions and prototypes.
8033 * intl/hash-string.h: Switch to gettext copyright.
8034 Use ANSI definitions and prototypes.
8035 * intl/l10nflist.c: Switch to gettext copyright.
8036 Use ANSI definitions and prototypes.
8037 (_nl_normalize_codeset): Avoid integer overflow.
8038 * intl/loadinfo.h: Switch to gettext copyright.
8039 Use ANSI definitions and prototypes.
8040 (LIBINTL_DLL_EXPORTED): New define.
8041 (PATH_SEPARATOR): New define.
8042 * intl/loadmsgcat.c: Switch to gettext copyright.
8043 * intl/localealias.c: Switch to gettext copyright.
8044 Use ANSI definitions and prototypes.
8045 (_nl_expand_alias): Use PATH_SEPARATOR.
8046 * intl/ngettext.c: Switch to gettext copyright.
8047 Use ANSI definitions and prototypes.
8048 * intl/plural-exp.c: Likewise.
8049 * intl/plural-exp.h: Switch to gettext copyright.
8050 Use ANSI definitions and prototypes.
8051 (struct expression): Move definition of enum operator outside
8052 of struct definition.
8053 * intl/plural.c: Regenerate.
8054 * intl/plural.y: Switch to gettext copyright.
8055 Use ANSI definitions and prototypes.
8057 * intl/textdomain.c: Switch to gettext copyright.
8058 Use ANSI definitions and prototypes.
8059 Use gl_* locking primitives rather than __libc_* ones.
8061 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8063 * debug/warning-nop.c: Add used atrribute.
8065 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8067 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8069 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8070 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8071 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8073 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8078 Undefine after defining function. Define as weak alias of
8079 __wcschr. Use libc_hidden_weak.
8080 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8081 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8082 (libc_hidden_def): Also define __GI___wcschr alias.
8083 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8084 __wcschr and define as weak alias of __wcschr.
8085 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8087 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8088 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8089 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8090 libc_hidden_weak. Do not use libc_hidden_def.
8091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8092 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8093 __GI___wcschr alias.
8094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8095 [IS_IN (libc)] (wcschr): Define as macro expanding to
8097 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8098 [IS_IN (libc)] (__wcschr_power6): Likewise.
8099 [IS_IN (libc)] (__wcschr_power7): Likewise.
8100 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8102 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8104 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8105 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8106 __wcschr and define as weak alias of __wcschr. Use
8107 libc_hidden_builtin_def.
8108 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8109 as weak alias of __wcschr. Use libc_hidden_weak.
8110 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8112 * time/era.c (_nl_init_era_entries): Likewise.
8113 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8115 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8116 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8118 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8120 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8121 format for long int variable.
8123 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8126 * manual/search.texi: (Array Sort Function): Remove claim how to make
8129 2014-12-10 Andreas Schwab <schwab@suse.de>
8132 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8133 user-controlled locks.
8135 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8137 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8140 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8142 * configure.ac (--disable-werror): New configure option.
8143 (enable_werror): New AC_SUBST.
8144 * configure: Regenerated.
8145 * config.make.in (enable-werror): New variable.
8146 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8148 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8149 * manual/install.texi (Configuring and compiling): Document
8151 * INSTALL: Regenerated.
8152 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8153 (CFLAGS-tst-chk2.c): Likewise.
8154 (CFLAGS-tst-chk3.c): Likewise.
8155 (CFLAGS-tst-chk4.cc): Likewise.
8156 (CFLAGS-tst-chk5.cc): Likewise.
8157 (CFLAGS-tst-chk6.cc): Likewise.
8158 (CFLAGS-tst-lfschk1.c): Likewise.
8159 (CFLAGS-tst-lfschk2.c): Likewise.
8160 (CFLAGS-tst-lfschk3.c): Likewise.
8161 (CFLAGS-tst-lfschk4.cc): Likewise.
8162 (CFLAGS-tst-lfschk5.cc): Likewise.
8163 (CFLAGS-tst-lfschk6.cc): Likewise.
8165 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8166 (main): Disable -Wdeprecated-declarations around calls to
8167 register_printf_function.
8169 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8170 (do_test): Disable -Wdiv-by-zero around some calls to
8171 fwrite_unlocked and fread_unlocked.
8173 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8174 (DIAG_POP_NEEDS_COMMENT): Likewise.
8175 (_DIAG_STR1): Likewise.
8176 (_DIAG_STR): Likewise.
8177 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8178 * stdio-common/bug21.c: Include <libc-internal.h>.
8179 (do_test): Disable -Wformat around call to sscanf.
8180 * stdio-common/scanf14.c: Include <libc-internal.h>.
8181 (main): Disable -Wformat around some calls to scanf functions.
8183 2014-12-09 Torvald Riegel <triegel@redhat.com>
8185 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8187 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8189 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8190 stack variable alignment.
8192 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8195 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8196 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8197 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8198 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8199 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8200 __getrlimit instead of getrlimit.
8201 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8202 __gettimeofday instead of gettimeofday.
8203 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8205 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8207 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8208 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8210 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8211 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8213 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8215 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8216 for wide-character tests.
8218 2014-12-04 Roland McGrath <roland@hack.frob.com>
8220 * io/openat64.c: #include <libc-internal.h>
8221 (__openat64): Prototypify. Use ignore_value on MODE.
8222 * io/openat.c: Likewise.
8223 * misc/reboot.c: #include <libc-internal.h>
8224 (reboot): Prototypify. Use ignore_value on HOWTO.
8225 * misc/ptrace.c: #include <libc-internal.h>
8226 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8228 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8230 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8231 XPG4, UNIX98 and XOPEN2K.
8232 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8234 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8236 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8238 * libio/fileops.c: Use ISO C style for function definitions.
8239 * libio/iofopen.c: Likewise.
8240 * libio/wfileops.c: Likewise.
8243 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8245 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8246 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8247 (fgets_func): Function pointer to fgets and fgetws.
8248 (do_ftell_test): Add test to verify ftell value after read
8250 (do_test): Set fgets_func.
8252 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8253 O_TRUNC flag for w and w+ modes.
8254 (do_rewind_test): Likewise.
8255 (do_ftell_test): Likewise.
8256 (do_write_test): Likewise.
8259 * libio/fileops.c (do_ftell): Seek only when there are
8261 * libio/wfileops.c (do_ftell_wide): Likewise.
8262 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8264 (do_one_test): Call it.
8266 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8268 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8269 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8270 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8272 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8273 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8274 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8276 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8278 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8280 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8283 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8284 as weak alias of __getifaddrs. Use libc_hidden_weak.
8285 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8286 __freeifaddrs. Use libc_hidden_weak.
8287 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8288 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8289 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8290 __freeifaddrs. Use libc_hidden_weak.
8291 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8292 __getifaddrs and define as weak alias of __getifaddrs. Use
8294 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8295 __freeifaddrs. Use libc_hidden_weak.
8296 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8298 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8299 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8301 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8304 * sysdeps/mips/start.S (__start): Use indirect jump to call
8307 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8309 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8311 * nptl/tst-mutex1.c: Include <stdbool.h>.
8312 [!ATTR] (ATTR_NULL): New macro.
8313 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8314 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8315 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8317 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8321 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8322 Change conditional to [__USE_MISC].
8325 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8327 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8329 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8331 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8333 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8334 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8335 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8336 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8337 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8338 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8339 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8340 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8341 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8343 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8345 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8347 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8348 Remove strpbrk objects.
8349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8350 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8351 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8352 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8353 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8354 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8356 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8357 Remove strcspn objects.
8358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8359 (__libc_ifunc_impl_list): Remove strcspn implementation.
8360 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8361 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8362 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8363 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8365 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8366 Remove strspn objetcs.
8367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8368 (__libc_ifunc_impl_list): Remove strspn implementation.
8369 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8370 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8371 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8372 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8374 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8378 (mem2mem_check): Add a terminator to the chain of checking blocks.
8379 (malloc_check_get_size): Use it here.
8380 (mem2chunk_check): Ditto.
8382 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8384 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8385 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8387 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8389 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8391 * nptl/nptl-init.c: Include libc-internal.h.
8392 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8394 * elf/ldconfig.c (search_dir): Expand comment.
8396 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8398 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8400 (linknamespace-symlist-stdlibs-tests): Likewise.
8401 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8402 instead of $(objpfx)symlist-stdlibs.
8403 (linknamespace-libs-isoc): New variable.
8404 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8405 (linknamespace-libs-ISO): New variable.
8406 (linknamespace-libs-ISO99): Likewise.
8407 (linknamespace-libs-ISO11): Likewise.
8408 (linknamespace-libs-XPG3): Likewise.
8409 (linknamespace-libs-XPG4): Likewise.
8410 (linknamespace-libs-POSIX): Likewise.
8411 (linknamespace-libs-UNIX98): Likewise.
8412 (linknamespace-libs-XOPEN2K): Likewise.
8413 (linknamespace-libs-POSIX2008): Likewise.
8414 (linknamespace-libs-XOPEN2K8): Likewise.
8415 ($(objpfx)symlist-stdlibs): Replace by
8416 $(linknamespace-symlist-stdlibs-tests). Use
8417 $(linknamespace-libs-$*) as set of libraries.
8418 ($(linknamespace-header-tests)): Update dependencies. Use
8419 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8420 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8421 * conform/linknamespace.pl: Remove comment about considering
8422 definitions of symbols from irrelevant libraries.
8424 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8427 * elf/dl-tls.c: Include <atomic.h>.
8428 (oom): Remove #ifdef SHARED/#endif.
8429 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8430 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8431 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8433 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8434 * nptl/Makefile (tests): Add tst-stack4.
8435 (modules-names): Add tst-stack4mod.
8436 ($(objpfx)tst-stack4): New.
8437 (tst-stack4mod.sos): Likewise.
8438 ($(objpfx)tst-stack4.out): Likewise.
8439 ($(tst-stack4mod.sos)): Likewise.
8441 * nptl/tst-stack4.c: New file.
8442 * nptl/tst-stack4mod.c: Likewise.
8444 2014-11-27 J. Brown <jb999@gmx.de>
8446 * sysdeps/x86/bits/string.h: Add recent CPUs.
8448 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8450 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8453 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8456 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8459 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8461 * nscd/connections.c: Include libc-internal.h because of macro
8464 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8466 * string/bits/string3.h (__warn_memset_zero_len): Don't
8467 declare for gcc newer than 5.0.
8468 (memset): Don't test for zero-length __LEN for gcc newer than
8471 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8473 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8474 size_t for %zu format.
8476 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8477 difference, not %ju.
8479 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8481 * include/libc-internal.h (ignore_value): New macro.
8482 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8485 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8488 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8489 pthread_cleanup_push to void *.
8491 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8496 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8497 instead of 1L << 52.
8499 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8500 * libio/bug-rewind2.c (do_test): Likewise.
8502 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8503 * debug/test-strcpy_chk-ifunc.c: Likewise.
8504 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8505 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8506 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8507 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8508 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8509 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8510 * Rules [$(multi-arch) = no] (tests): Do not filter out
8512 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8513 * debug/Makefile (tests-ifunc): Remove variable.
8514 (tests): Do not add $(tests-ifunc).
8515 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8516 (tests): Do not add $(tests-ifunc).
8517 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8518 [TEST_IFUNC]: Remove conditionals.
8519 * string/test-string.h (TEST_IFUNC): Remove macro.
8520 [TEST_IFUNC]: Remove conditionals.
8522 * string/test-strchr.c [!WIDE] (L): New macro.
8523 [WIDE] (L): Likewise.
8524 (check1): Use CHAR instead of char. Use L on string and character
8527 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8529 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8531 * sysdeps/powerpc/bits/atomic.h
8532 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8533 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8534 (atomic_exchange_and_add_acq): Likewise.
8535 (atomic_exchange_and_add_rel): Likewise.
8536 * sysdeps/powerpc/powerpc32/bits/atomic.h
8537 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8538 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8539 * sysdeps/powerpc/powerpc64/bits/atomic.h
8540 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8541 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8543 2014-11-26 Torvald Riegel <triegel@redhat.com>
8545 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8546 Change synchronization of __sched_fifo_min_prio and
8547 __sched_fifo_max_prio.
8548 * nptl/pthread_mutexattr_getprioceiling.c
8549 (pthread_mutexattr_getprioceiling): Likewise.
8550 * nptl/pthread_mutexattr_setprioceiling.c
8551 (pthread_mutexattr_setprioceiling): Likewise.
8552 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8553 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8556 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8558 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8561 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8563 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8564 third argument const.
8566 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8568 fnmatch: work around GCC compiler warning bug with uninit var
8569 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8570 This works around a bug with x86-64 GCC 4.9.2 and earlier
8571 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8572 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8573 used uninitialized in this function [-Wmaybe-uninitialized]".
8575 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8577 * posix/bug-regex31.c (main): Return RES not 0.
8579 2014-11-25 Anton Blanchard <anton@samba.org>
8581 * sysdeps/powerpc/bits/atomic.h
8582 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8584 2014-11-24 Sterling Augustine <saugustine@google.com>
8586 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8588 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8591 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8593 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8596 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8597 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8599 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8600 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8602 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8604 * string/strncpy.c (strncpy): Improve performance by using memset.
8606 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8608 * string/strcpy.c (strcpy):
8609 Improve performance by using strlen and memcpy.
8611 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8613 * string/strcoll_l.c (get_next_seq): __always_inline.
8614 * string/strcoll_l.c (do_compare): __always_inline.
8616 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8618 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8620 * include/mqueue.h: Likewise.
8621 * include/stdlib.h: Likewise.
8623 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8624 (get_null_defines): Adjust.
8625 * sunrpc/Makefile: Adjust comment.
8626 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8627 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8628 (CFLAGS-interp.c): Likewise.
8629 (CFLAGS-ldconfig.c): Likewise.
8630 (CPPFLAGS-.os): Likewise.
8631 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8632 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8633 * extra-modules.mk (extra-modules.mk): Likewise.
8634 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8635 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8636 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8637 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8638 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8639 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8640 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8641 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8642 * iconvdata/Makefile (CPPFLAGS): Likewise.
8643 (cpp-srcs-left): Add libof for all iconvdata routines.
8644 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8645 * include/assert.h: Likewise.
8646 * include/ctype.h: Likewise.
8647 * include/errno.h: Likewise.
8648 * include/libc-symbols.h: Likewise.
8649 * include/math.h: Likewise.
8650 * include/netdb.h: Likewise.
8651 * include/resolv.h: Likewise.
8652 * include/stdio.h: Likewise.
8653 * include/stdlib.h: Likewise.
8654 * include/string.h: Likewise.
8655 * include/sys/stat.h: Likewise.
8656 * include/wctype.h: Likewise.
8657 * intl/l10nflist.c: Likewise.
8658 * libidn/idn-stub.c: Likewise.
8659 * libio/libioP.h: Likewise.
8660 * nptl/libc_multiple_threads.c: Likewise.
8661 * nptl/pthreadP.h: Likewise.
8662 * posix/regex_internal.h: Likewise.
8663 * resolv/res_hconf.c: Likewise.
8664 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8665 * sysdeps/arm/memmove.S: Likewise.
8666 * sysdeps/arm/sysdep.h: Likewise.
8667 * sysdeps/generic/_itoa.h: Likewise.
8668 * sysdeps/generic/symbol-hacks.h: Likewise.
8669 * sysdeps/gnu/errlist.awk: Likewise.
8670 * sysdeps/gnu/errlist.c: Likewise.
8671 * sysdeps/i386/i586/memcpy.S: Likewise.
8672 * sysdeps/i386/i586/memset.S: Likewise.
8673 * sysdeps/i386/i686/memcpy.S: Likewise.
8674 * sysdeps/i386/i686/memmove.S: Likewise.
8675 * sysdeps/i386/i686/mempcpy.S: Likewise.
8676 * sysdeps/i386/i686/memset.S: Likewise.
8677 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8679 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8680 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8694 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8700 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8716 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8723 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8724 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8725 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8726 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8727 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8728 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8729 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8730 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8731 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8732 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8733 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8734 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8735 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8736 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8737 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8738 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8739 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8740 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8741 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8742 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8743 * sysdeps/posix/closedir.c: Likewise.
8744 * sysdeps/posix/opendir.c: Likewise.
8745 * sysdeps/posix/readdir.c: Likewise.
8746 * sysdeps/posix/rewinddir.c: Likewise.
8747 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8748 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8749 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8750 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8751 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8755 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8757 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8761 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8762 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8764 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8769 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8770 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8783 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8784 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8785 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8786 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8787 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8789 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8791 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8792 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8793 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8794 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8795 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8796 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8797 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8798 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8799 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8800 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8801 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8804 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8805 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8806 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8807 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8808 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8809 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8810 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8811 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8812 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8813 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8814 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8815 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8816 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8818 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8819 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8820 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8821 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8822 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8823 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8824 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8825 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8826 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8827 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8828 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8829 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8830 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8831 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8832 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8833 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8834 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8835 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8836 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8837 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8838 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8839 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8843 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8845 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8846 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8848 * sysdeps/unix/alpha/sysdep.S: Likewise.
8849 * sysdeps/unix/alpha/sysdep.h: Likewise.
8850 * sysdeps/unix/make-syscalls.sh: Likewise.
8851 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8853 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8854 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8855 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8856 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8857 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8858 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8859 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8860 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8861 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8862 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8864 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8865 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8866 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8867 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8868 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8869 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8870 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8871 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8872 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8873 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8874 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8875 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8876 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8877 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8880 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8881 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8885 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8889 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8890 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8892 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8894 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8895 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8898 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8901 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8902 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8903 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8904 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8909 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8910 * sysdeps/x86_64/memcpy.S: Likewise.
8911 * sysdeps/x86_64/memmove.c: Likewise.
8912 * sysdeps/x86_64/memset.S: Likewise.
8913 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8915 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8916 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8917 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8920 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8921 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8922 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8923 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8924 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8925 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8926 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8927 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8928 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8929 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8930 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8932 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8933 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8934 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8936 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8937 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8938 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8939 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8940 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8941 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8942 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8944 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8945 * sysdeps/x86_64/strcmp.S: Likewise.
8947 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8949 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8950 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8951 * elf/rtld-Rules: Likewise.
8952 * elf/setup-vdso.h: Likewise.
8953 * include/assert.h: Likewise.
8954 * include/bits/stdlib-float.h: Likewise.
8955 * include/errno.h: Likewise.
8956 * include/sys/stat.h: Likewise.
8957 * include/unistd.h: Likewise.
8958 * sysdeps/aarch64/setjmp.S: Likewise.
8959 * sysdeps/alpha/setjmp.S: Likewise.
8960 * sysdeps/arm/__longjmp.S: Likewise.
8961 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8962 * sysdeps/arm/setjmp.S: Likewise.
8963 * sysdeps/arm/sysdep.h: Likewise.
8964 * sysdeps/generic/_itoa.h: Likewise.
8965 * sysdeps/generic/dl-sysdep.h: Likewise.
8966 * sysdeps/generic/ldsodefs.h: Likewise.
8967 * sysdeps/i386/dl-tls.h: Likewise.
8968 * sysdeps/i386/setjmp.S: Likewise.
8969 * sysdeps/m68k/setjmp.c: Likewise.
8970 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8971 * sysdeps/mach/hurd/opendir.c: Likewise.
8972 * sysdeps/posix/getcwd.c: Likewise.
8973 * sysdeps/posix/opendir.c: Likewise.
8974 * sysdeps/posix/profil.c: Likewise.
8975 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8977 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8978 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8980 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8981 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8982 * sysdeps/s390/dl-tls.h: Likewise.
8983 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8984 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8985 * sysdeps/sh/sh3/setjmp.S: Likewise.
8986 * sysdeps/sh/sh4/setjmp.S: Likewise.
8987 * sysdeps/unix/alpha/sysdep.h: Likewise.
8988 * sysdeps/unix/arm/sysdep.S: Likewise.
8989 * sysdeps/unix/i386/sysdep.S: Likewise.
8990 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8991 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8992 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8993 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8994 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8995 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8996 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8997 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8998 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8999 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9000 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9001 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9002 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9005 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9008 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9009 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9013 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9014 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9015 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9018 * sysdeps/x86_64/setjmp.S: Likewise.
9020 * include/math.h: Use IS_IN instead of IS_IN_libm.
9021 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9033 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9041 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9042 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9043 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9044 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9045 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9046 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9048 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9049 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9050 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9051 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9052 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9053 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9064 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9066 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9067 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9068 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9075 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9076 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9077 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9078 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9080 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9081 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9082 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9083 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9084 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9085 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9086 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9088 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9090 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9092 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9093 * nptl/pthreadP.h: Likewise.
9094 * nptl_db/structs.def: Likewise.
9095 * sysdeps/arm/sysdep.h: Likewise.
9096 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9097 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9098 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9099 * sysdeps/unix/alpha/sysdep.h: Likewise.
9100 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9102 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9103 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9104 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9105 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9106 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9107 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9108 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9109 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9110 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9111 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9112 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9113 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9118 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9121 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9122 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9123 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9124 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9125 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9127 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9128 * nptl/pthreadP.h: Likewise.
9129 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9130 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9131 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9132 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9133 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9134 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9135 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9137 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9138 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9139 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9140 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9146 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9147 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9150 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9151 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9152 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9154 * dlfcn/dladdr.c: Use IS_IN.
9155 * dlfcn/dladdr1.c: Likewise.
9156 * dlfcn/dlclose.c: Likewise.
9157 * dlfcn/dlerror.c: Likewise.
9158 * dlfcn/dlinfo.c: Likewise.
9159 * dlfcn/dlmopen.c: Likewise.
9160 * dlfcn/dlopen.c: Likewise.
9161 * dlfcn/dlsym.c: Likewise.
9162 * dlfcn/dlvsym.c: Likewise.
9164 * include/ifaddrs.h: Use IS_IN.
9165 * inet/check_pf.c: Likewise.
9166 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9167 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9169 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9171 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9172 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9174 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9175 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9178 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9180 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9181 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9182 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9183 * include/libc-symbols.h (IS_IN_LIB): New macro.
9184 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9185 * include/netdb.h: Likewise.
9186 * include/stap-probe.h: Remove all uses of IN_LIB.
9188 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9189 instead of IN_MODULE.
9190 * include/libc-symbols.h (IN_MODULE): Define using
9192 (PASTE_NAME, PASTE_NAME1): New macros.
9193 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9195 (STAP_PROBE_ASM): Likewise.
9197 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9199 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9200 __mach_init in dlopened libc.
9202 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9204 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9205 * sysdeps/arm/preconfigure: Regenerate.
9207 2014-11-21 Roland McGrath <roland@hack.frob.com>
9209 * nptl/pthread_create.c (__pthread_create_2_1): Set
9210 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9211 when copying values from IATTR into PD.
9213 2014-11-21 Will Newton <will.newton@linaro.org>
9214 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9216 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9217 Refactor inline-asm. Also add comment.
9219 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9220 ElfW macro instead of hardcoded Elf64 types.
9221 (la_aarch64_gnu_pltenter): Likewise.
9222 * sysdeps/aarch64/dl-machine.h
9223 (elf_machine_runtime_setup): Use ElfW(Addr).
9225 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9226 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9227 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9228 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9229 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9230 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9231 (R_AARCH64_TLS_DTPMOD): This.
9232 (R_AARCH64_TLS_DTPREL64): Rename to ...
9233 (R_AARCH64_TLS_DTPREL): This.
9234 (R_AARCH64_TLS_TPREL64): Rename to ...
9235 (R_AARCH64_TLS_TPREL): This.
9236 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9237 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9238 R_AARCH64_TLS_TPREL64.
9239 (elf_machine_rela): Likewise.
9241 2014-11-21 Torvald Riegel <triegel@redhat.com>
9243 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9244 by setting it to 0. 64b atomics are not supported currently.
9246 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9249 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9250 search domain names.
9252 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9256 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9258 * posix/tst-getaddrinfo5.c: New.
9259 * posix/Makefile (tests): Add it.
9261 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9265 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9266 after parsing line but before break_if_match.
9267 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9268 if there is a protocol mismatch.
9270 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9272 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9273 because the potential race is on the user-supplied stream.
9275 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9277 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9278 string literal if not passed a buffer.
9279 * manual/job.texi (ctermid): Update reasoning, note deviation
9280 from posix, suggest mtasurace when not passed a buffer, for
9281 future non-preliminary safety notes.
9283 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9285 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9286 of not passing it a buffer.
9287 Reported by Peng Haitao.
9289 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9291 * manual/Makefile ($(objpfx)stamp-summary): Require
9292 check-safety.sh to pass.
9293 * manual/check-safety.sh: Wish for verification that every
9294 @deftypefn and @deftypefun is followed by a @safety remark.
9296 2014-11-20 Roland McGrath <roland@hack.frob.com>
9298 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9300 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9301 PTHREAD_CANCEL_ASYNCHRONOUS.
9302 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9305 * nptl/default-sched.h: New file.
9306 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9307 * nptl/pthread_create.c: Include it.
9308 (__pthread_create_2_1): Use collect_default_sched instead of making
9309 Linux syscalls here directly.
9311 2014-11-20 Torvald Riegel <triegel@redhat.com>
9313 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9314 __pthread_once): Use C11 atomics.
9316 2014-11-20 Torvald Riegel <triegel@redhat.com>
9318 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9320 2014-11-20 Torvald Riegel <triegel@redhat.com>
9322 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9323 atomic_thread_fence_acquire, atomic_thread_fence_release,
9324 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9325 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9326 atomic_compare_exchange_weak_relaxed,
9327 atomic_compare_exchange_weak_acquire,
9328 atomic_compare_exchange_weak_release,
9329 atomic_exchange_acquire, atomic_exchange_release,
9330 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9331 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9332 atomic_fetch_and_acquire,
9333 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9335 2014-11-20 Torvald Riegel <triegel@redhat.com>
9337 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9338 USE_ATOMIC_COMPILER_BUILTINS): Define.
9339 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9340 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9341 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9342 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9343 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9344 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9345 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9346 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9347 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9348 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9349 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9350 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9351 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9352 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9353 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9354 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9355 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9356 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9357 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9358 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9359 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9360 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9361 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9362 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9363 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9364 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9365 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9366 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9367 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9368 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9369 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9370 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9371 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9372 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9373 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9374 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9375 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9376 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9377 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9378 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9380 2014-11-19 Roland McGrath <roland@hack.frob.com>
9382 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9383 the sched_priority value here. It was already checked when the user
9384 called pthread_attr_setschedparam.
9386 * nptl/tst-bad-schedattr.c: New file.
9387 * nptl/Makefile (tests): Add it.
9389 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9390 Florian Weimer <fweimer@redhat.com>
9391 Joseph Myers <joseph@codesourcery.com>
9392 Adam Conrad <adconrad@0c3.net>
9393 Andreas Schwab <schwab@suse.de>
9394 Brooks <bmoses@google.com>
9397 * wordexp-test.c (__dso_handle): Add prototype.
9398 (__register_atfork): Likewise.
9399 (__app_register_atfork): New function.
9400 (registered_forks): New global.
9401 (register_fork): New function.
9402 (test_case): Add 3 new tests for WRDE_CMDSUB.
9403 (main): Call __app_register_atfork.
9404 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9405 fork count is non-zero fail the test.
9406 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9408 (parse_dollars): Remove check for WRDE_NOCMD.
9409 (parse_dquote): Likewise.
9411 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 * Makeconfig (built-modules): List non-library modules to be
9415 (module-cppflags): Include libc-modules.h for
9416 everything except shlib-versions.v.i.
9418 (before-compile): Add libc-modules.h.
9419 ($(common-objpfx)libc-modules.h,
9420 $(common-objpfx)libc-modules.stmp): New targets.
9421 (common-generated): Add libc-modules.h and libc-modules.stmp.
9422 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9423 * include/libc-symbols.h: Don't include libc-modules.h.
9424 * include/libc-modules.h: Remove file.
9425 * scripts/gen-libc-modules.awk: New script to generate
9427 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9428 Depend on libc-modules.stmp.
9430 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9432 * Makeconfig (in-module): Get value of libof set for the
9434 (CPPFLAGS): Use $(in-module).
9435 * Makerules: Don't suffix routine names for nonlib.
9436 * include/libc-modules.h: New file.
9437 * include/libc-symbols.h: Include libc-modules.h
9438 (IS_IN): New macro to replace IS_IN_* macros.
9439 * elf/Makefile: Set libof-* for each routine.
9440 * elf/rtld-Rules: Likewise.
9441 * extra-modules.mk: Likewise.
9442 * iconv/Makefile: Likewise.
9443 * iconvdata/Makefile: Likewise.
9444 * locale/Makefile: Likewise.
9445 * malloc/Makefile: Likewise.
9446 * nss/Makefile: Likewise.
9447 * sysdeps/gnu/Makefile: Likewise.
9448 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9449 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9450 * sysdeps/s390/s390-64/Makefile: Likewise.
9451 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9452 CPPFLAGS for nscd instead of nonlib.
9454 2014-11-18 Roland McGrath <roland@hack.frob.com>
9456 * nptl/createthread.c: New file.
9458 * nptl/createthread.c: Moved ...
9459 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9461 * nptl/createthread.c: Add proper top-line comment.
9462 (do_clone): Folded into ...
9463 (create_thread): ... here. Take new arguments STOPPED_START and
9464 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9465 increment __nptl_threads, do event-reporting logic, do
9466 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9467 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9468 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9469 just send SIGCANCEL.
9470 * nptl/pthread_create.c: Forward-declare create_thread before
9471 including createthread.c.
9472 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9473 declaration, and new macro START_THREAD_SELF to replace argument.
9474 Remove return statement.
9475 (report_thread_creation): New function.
9476 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9477 synchronization logic, and __nptl_nthreads increment here, around
9478 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9479 PD->parent_cancelhandling here, before create_thread. When
9480 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9481 __deallocate_stack, and ENOMEM translation here.
9483 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9486 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9487 (mptwo): Rename to __mptwo.
9488 (__inv): Use __mptwo instead of mptwo.
9489 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9490 (mptwo): Rename to __mptwo.
9491 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9492 of mpone and __mptwo instead of mptwo.
9493 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9496 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9497 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9498 of mpone and __mptwo instead of mptwo.
9499 (__mpranred): Use __mpone instead of mpone.
9500 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9502 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9503 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9504 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9505 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9506 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9507 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9508 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9509 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9510 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9511 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9512 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9513 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9514 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9515 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9516 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9517 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9518 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9519 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9520 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9522 2014-11-18 Tom de Vries <tom@codesoucery.com>
9524 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9525 replace BSD Handler xref with BSD Signal Handling.
9527 2014-11-17 Richard Henderson <rth@redhat.com>
9529 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9530 (_FP_PACK_RAW_2): Remove.
9531 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9532 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9533 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9534 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9535 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9536 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9537 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9538 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9539 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9540 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9541 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9542 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9543 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9544 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9545 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9546 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9548 2014-11-14 Roland McGrath <roland@hack.frob.com>
9550 * signal/signal.h [__USE_MISC]
9551 (struct sigvec): Remove type.
9552 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9553 (sigvec): Remove declaration.
9554 * sysdeps/posix/sigvec.c: Moved ...
9555 * signal/sigvec.c: ... here, replacing old file.
9556 (struct sigvec): New type, copied from old signal.h definition.
9557 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9558 (__sigvec): Convert definition to prototype.
9559 (sigvec): Replace weak_alias with compat_symbol.
9560 * signal/Versions (libc: GLIBC_2.21): New version set.
9561 * include/signal.h: Remove __sigvec declaration.
9562 * sysdeps/unix/bsd/sigvec.c: Remove file.
9563 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9564 * manual/signal.texi (BSD Handler): Remove subsection.
9565 Move siginterrupt up to ...
9566 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9567 (Blocking in BSD): Fold subsection into its parent.
9568 * NEWS: Mention sigvec removal.
9570 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9572 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9573 (DLA_FMS): Make definition conditional only on [__FMA4__].
9574 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9577 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9578 Make definition conditional only on [PROF].
9579 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9581 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9582 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9584 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9586 * include/signal.h (__sigpause): Move declaration above call to
9588 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9590 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9591 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9593 2014-11-14 David S. Miller <davem@davemloft.net>
9595 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9596 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9598 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9600 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9601 * configure: Regenerated.
9602 * manual/install.texi (Tools for Compilation): Document a
9603 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9604 compiler verified to work.
9605 * INSTALL: Regenerated.
9607 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9608 redeclare with asm name.
9609 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9610 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9611 including <string.h>.
9612 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9613 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9614 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9615 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9616 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9617 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9618 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9620 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9622 * stdlib/strtol.c (__strtol): Use prototype definition.
9625 * stdlib/strtol.c (SYM__): New macro.
9627 (__strtol): Likewise.
9628 (strtol): Rename to __strtol and define as weak alias of
9629 __strtol. Use libc_hidden_weak.
9631 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9633 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9634 Use numbered labels in inline assembly.
9636 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9638 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9639 Add setjmp LIBC_PROBE.
9640 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9642 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9643 Add longjmp, longjmp_target LIBC_PROBE.
9644 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9647 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9649 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9650 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9651 to get rid of unused variable warning.
9653 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9655 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9656 Check for unwind_backtrace == NULL only in SHARED case.
9657 (__backchain_backtrace): Compile only in SHARED case.
9658 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9660 (__backchain_backtrace): Declare as static.
9662 2014-11-12 Roland McGrath <roland@hack.frob.com>
9664 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9665 (__libc_multiple_threads_ptr): Variable moved ...
9666 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9668 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9670 * conform/GlibcConform.pm: New file.
9671 * conform/conformtest.pl: Use GlibcConform module.
9672 * conform/linknamespace.pl: New file.
9673 * conform/list-header-symbols.pl: Likewise.
9674 * conform/Makefile (linknamespace-symlists-base): New variable.
9675 (linknamespace-symlists-tests): Likewise.
9676 (linknamespace-header-base): Likewise.
9677 (linknamespace-header-tests): Likewise.
9678 (tests-special): Add new tests.
9679 ($(linknamespace-symlists-tests)): New rule.
9680 (linknamespace-libs): New variable.
9681 ($(objpfx)symlist-stdlibs): New rule.
9682 ($(linknamespace-header-tests)): Likewise.
9683 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9684 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9685 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9686 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9687 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9688 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9689 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9690 (test-xfail-ISO/math.h/linknamespace): Likewise.
9691 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9692 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9693 (test-xfail-ISO/time.h/linknamespace): Likewise.
9694 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9695 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9696 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9697 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9698 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9699 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9700 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9701 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9702 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9703 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9704 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9705 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9706 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9707 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9708 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9709 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9710 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9711 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9712 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9713 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9714 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9715 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9716 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9717 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9718 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9719 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9720 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9721 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9722 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9723 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9724 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9725 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9726 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9727 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9728 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9729 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9730 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9731 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9732 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9733 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9734 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9735 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9736 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9737 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9738 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9739 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9740 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9741 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9742 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9743 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9744 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9745 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9746 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9747 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9748 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9749 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9750 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9751 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9752 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9753 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9754 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9755 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9756 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9757 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9758 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9759 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9760 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9761 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9762 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9763 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9764 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9765 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9766 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9767 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9768 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9769 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9770 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9771 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9772 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9773 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9774 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9775 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9776 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9777 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9778 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9779 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9780 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9781 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9782 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9783 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9784 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9785 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9786 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9787 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9788 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9789 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9790 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9791 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9792 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9793 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9794 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9795 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9796 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9797 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9798 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9799 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9800 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9801 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9802 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9803 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9804 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9805 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9806 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9807 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9808 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9809 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9810 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9811 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9812 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9813 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9814 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9815 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9816 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9817 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9818 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9819 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9820 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9821 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9822 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9823 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9824 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9825 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9826 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9827 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9828 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9829 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9830 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9831 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9832 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9833 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9834 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9835 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9836 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9837 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9838 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9839 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9840 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9841 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9842 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9843 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9846 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9850 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9851 (memmem): Rename to __memmem and define as weak alias of
9852 __memmem. Use libc_hidden_weak.
9853 (__memmem): Use libc_hidden_def.
9854 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9855 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9859 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9860 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9861 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9862 and define as weak alias of __fgets_unlocked. Use
9864 (__fgets_unlocked): Use libc_hidden_def.
9865 * include/stdio.h (__fgets_unlocked): Declare. Use
9867 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9868 __fgets_unlocked instead of fgets_unlocked.
9869 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9870 (GET_NPROCS_CONF_PARSER): Likewise.
9871 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9872 (GET_NPROCS_CONF_PARSER): Likewise.
9875 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9876 weak alias of __wmemset. Use libc_hidden_weak.
9877 (__wmemset): Use libc_hidden_def.
9878 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9879 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9883 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9884 with asm name __mempcpy.
9885 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9888 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9889 and define as weak alias of __rawmemchr.
9890 (__rawmemchr): Do not define as strong alias of rawmemchr.
9893 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9895 (qsort): Call __qsort_r instead of qsort_r.
9896 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9897 (__qsort_r): Declare. Call libc_hidden_proto.
9898 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9900 * nscd/gai.c (__qsort_r): Define to qsort_r.
9901 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9902 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9903 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9906 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9907 define as weak alias of __malloc_info.
9910 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9911 as weak alias of __rewinddir. Don't use libc_hidden_def.
9912 (__rewinddir): Use libc_hidden_def.
9913 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9914 as weak alias of __rewinddir. Don't use libc_hidden_def.
9915 (__rewinddir): Use libc_hidden_def.
9916 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9917 weak alias of __rewinddir. Don't use libc_hidden_def.
9918 (__rewinddir): Use libc_hidden_def.
9919 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9920 (__rewinddir): Use libc_hidden_proto.
9921 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9923 (__getcwd): Use __rewinddir instead of rewinddir.
9926 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9927 alias of __fileno. Use libc_hidden_weak.
9928 (__fileno): Use libc_hidden_def.
9929 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9930 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9932 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9934 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9935 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9937 (fread_unlocked): Don't use libc_hidden_ver.
9938 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9939 and define as weak alias of __fread_unlocked. Don't use
9941 (__fread_unlocked): Use libc_hidden_def.
9942 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9943 (ftello): Don't use libc_hidden_proto.
9944 (__ftello): Declare. Use libc_hidden_proto.
9945 (fread_unlocked): Don't use libc_hidden_proto.
9946 (__fread_unlocked): Declare. Use libc_hidden_proto.
9947 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9948 and __ftello instead of fileno, fread_unlocked and ftello.
9950 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9952 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9956 (_dl_start_user): Likewise.
9957 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9959 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9960 Siddhesh Poyarekar <siddhesh@redhat.com>
9962 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9963 Move argv and envp down instead of moving argc up.
9964 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9966 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9969 * test-skeleton.c (main): Return successful if one of
9970 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9971 * string/tst-strcoll-overflow.c: Define expected status.
9973 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9976 * locale/iso-639.def: Define Bhili and Tulu language codes.
9978 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9980 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9982 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9985 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9987 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9989 * configure.ac: Updated check of minimal required version to
9991 * manual/install.texi (Tools for Compilation): Updated version
9993 * configure: Regenerated.
9994 * INSTALL: Likewise.
9996 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9998 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10001 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10003 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10004 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10005 (__waitpid): Don't define as alias. Use libc_hidden_def not
10007 (waitpid): Define as alias of __waitpid.
10008 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10010 (__waitpid): Don't define as alias. Use libc_hidden_def not
10012 (waitpid): Define as alias of __waitpid.
10013 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10014 __libc_waitpid alias.
10015 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10016 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10018 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10019 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10020 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10022 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10024 (__waitpid): Don't define as alias. Use libc_hidden_def not
10026 (waitpid): Define as alias of __waitpid.
10028 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10030 * manual/llio.texi: Add comment that write safety has been
10033 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10034 (localplt-build-dso): Add elf/ld.so.
10035 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10036 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10037 and free for ld.so.
10038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10039 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10044 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10045 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10046 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10047 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10048 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10049 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10050 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10051 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10052 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10053 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10056 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10059 * include/libc-symbols.h (INTUSE): Remove macro.
10060 (INTDEF): Likewise.
10061 (INTVARDEF): Likewise.
10062 (_INTVARDEF): Likewise.
10063 (INTDEF2): Likewise.
10064 (INTVARDEF2): Likewise.
10065 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10066 rtld_hidden_def instead of INTVARDEF.
10067 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10068 (_dl_starting_up_internal): Remove declaration.
10069 (_dl_starting_up): Use rtld_hidden_proto.
10070 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10072 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10073 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10075 * elf/dl-writev.h (_dl_writev): Likewise.
10076 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10077 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10078 _dl_starting_up_internal.
10080 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10082 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10085 2014-11-05 Will Newton <will.newton@linaro.org>
10087 * benchtests/Makefile: (bench-malloc): Add malloc thread
10088 scalability benchmark.
10089 * benchtests/bench-malloc-threads.c: New file.
10091 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10093 * sysdeps/aarch64/strchrnul.S: New file.
10095 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10099 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10103 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10105 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10107 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10110 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10112 * catgets/test-gencat.c: Use test-skeleton.c.
10113 * catgets/tst-catgets.c: Likewise.
10114 * csu/tst-empty.c: Likewise.
10115 * elf/tst-audit2.c: Likewise.
10116 * elf/tst-global1.c: Likewise.
10117 * elf/tst-pathopt.c: Likewise.
10118 * elf/tst-piemod1.c: Likewise.
10119 * elf/tst-tls10.c: Likewise.
10120 * elf/tst-tls11.c: Likewise.
10121 * elf/tst-tls12.c: Likewise.
10122 * gnulib/tst-gcc.c: Likewise.
10123 * iconvdata/tst-e2big.c: Likewise.
10124 * iconvdata/tst-loading.c: Likewise.
10125 * iconv/tst-iconv1.c: Likewise.
10126 * iconv/tst-iconv2.c: Likewise.
10127 * inet/test-inet6_opt.c: Likewise.
10128 * inet/tst-gethnm.c: Likewise.
10129 * inet/tst-network.c: Likewise.
10130 * inet/tst-ntoa.c: Likewise.
10131 * intl/tst-codeset.c: Likewise.
10132 * intl/tst-gettext2.c: Likewise.
10133 * intl/tst-gettext3.c: Likewise.
10134 * intl/tst-ngettext.c: Likewise.
10135 * intl/tst-translit.c: Likewise.
10136 * io/test-stat.c: Likewise.
10137 * libio/test-fmemopen.c: Likewise.
10138 * libio/tst-freopen.c: Likewise.
10139 * libio/tst-sscanf.c: Likewise.
10140 * libio/tst-ungetwc1.c: Likewise.
10141 * libio/tst-ungetwc2.c: Likewise.
10142 * libio/tst-widetext.c: Likewise.
10143 * localedata/tst-ctype.c: Likewise.
10144 * localedata/tst-digits.c: Likewise.
10145 * localedata/tst-leaks.c: Likewise.
10146 * localedata/tst-mbswcs1.c: Likewise.
10147 * localedata/tst-mbswcs2.c: Likewise.
10148 * localedata/tst-mbswcs3.c: Likewise.
10149 * localedata/tst-mbswcs4.c: Likewise.
10150 * localedata/tst-mbswcs5.c: Likewise.
10151 * localedata/tst-setlocale.c: Likewise.
10152 * localedata/tst-trans.c: Likewise.
10153 * localedata/tst-wctype.c: Likewise.
10154 * localedata/tst-xlocale1.c: Likewise.
10155 * login/tst-grantpt.c: Likewise.
10156 * malloc/tst-calloc.c: Likewise.
10157 * malloc/tst-malloc.c: Likewise.
10158 * malloc/tst-mallocstate.c: Likewise.
10159 * malloc/tst-mcheck.c: Likewise.
10160 * malloc/tst-mtrace.c: Likewise.
10161 * malloc/tst-obstack.c: Likewise.
10162 * math/atest-exp2.c: Likewise.
10163 * math/atest-exp.c: Likewise.
10164 * math/atest-sincos.c: Likewise.
10165 * math/test-matherr.c: Likewise.
10166 * math/test-misc.c: Likewise.
10167 * math/test-powl.c: Likewise.
10168 * math/tst-definitions.c: Likewise.
10169 * misc/tst-dirname.c: Likewise.
10170 * misc/tst-efgcvt.c: Likewise.
10171 * misc/tst-fdset.c: Likewise.
10172 * misc/tst-hsearch.c: Likewise.
10173 * misc/tst-mntent2.c: Likewise.
10174 * nptl/tst-sem7.c: Likewise.
10175 * nptl/tst-sem8.c: Likewise.
10176 * nptl/tst-sem9.c: Likewise.
10177 * nss/test-netdb.c: Likewise.
10178 * posix/tst-fnmatch.c: Likewise.
10179 * posix/tst-getlogin.c: Likewise.
10180 * posix/tst-gnuglob.c: Likewise.
10181 * posix/tst-mmap.c: Likewise.
10182 * pwd/tst-getpw.c: Likewise.
10183 * resolv/tst-inet_ntop.c: Likewise.
10184 * rt/tst-timer.c: Likewise.
10185 * stdio-common/test-fseek.c: Likewise.
10186 * stdio-common/test-popen.c: Likewise.
10187 * stdio-common/test-vfprintf.c: Likewise.
10188 * stdio-common/tst-cookie.c: Likewise.
10189 * stdio-common/tst-fileno.c: Likewise.
10190 * stdio-common/tst-gets.c: Likewise.
10191 * stdio-common/tst-obprintf.c: Likewise.
10192 * stdio-common/tst-perror.c: Likewise.
10193 * stdio-common/tst-sprintf2.c: Likewise.
10194 * stdio-common/tst-sprintf3.c: Likewise.
10195 * stdio-common/tst-sprintf.c: Likewise.
10196 * stdio-common/tst-swprintf.c: Likewise.
10197 * stdio-common/tst-tmpnam.c: Likewise.
10198 * stdio-common/tst-unbputc.c: Likewise.
10199 * stdio-common/tst-wc-printf.c: Likewise.
10200 * stdlib/tst-environ.c: Likewise.
10201 * stdlib/tst-fmtmsg.c: Likewise.
10202 * stdlib/tst-limits.c: Likewise.
10203 * stdlib/tst-rand48-2.c: Likewise.
10204 * stdlib/tst-rand48.c: Likewise.
10205 * stdlib/tst-random2.c: Likewise.
10206 * stdlib/tst-random.c: Likewise.
10207 * stdlib/tst-strtol.c: Likewise.
10208 * stdlib/tst-strtoll.c: Likewise.
10209 * stdlib/tst-tls-atexit.c: Likewise.
10210 * stdlib/tst-xpg-basename.c: Likewise.
10211 * string/test-ffs.c: Likewise.
10212 * string/tst-bswap.c: Likewise.
10213 * string/tst-inlcall.c: Likewise.
10214 * string/tst-strtok.c: Likewise.
10215 * string/tst-strxfrm.c: Likewise.
10216 * sysdeps/x86_64/tst-audit10.c: Likewise.
10217 * sysdeps/x86_64/tst-audit3.c: Likewise.
10218 * sysdeps/x86_64/tst-audit4.c: Likewise.
10219 * sysdeps/x86_64/tst-audit5.c: Likewise.
10220 * time/tst-ftime_l.c: Likewise.
10221 * time/tst-getdate.c: Likewise.
10222 * time/tst-mktime3.c: Likewise.
10223 * time/tst-mktime.c: Likewise.
10224 * time/tst-posixtz.c: Likewise.
10225 * time/tst-strptime2.c: Likewise.
10226 * time/tst-strptime3.c: Likewise.
10227 * wcsmbs/tst-btowc.c: Likewise.
10228 * wcsmbs/tst-mbrtowc.c: Likewise.
10229 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10230 * wcsmbs/tst-wchar-h.c: Likewise.
10231 * wcsmbs/tst-wcpncpy.c: Likewise.
10232 * wcsmbs/tst-wcrtomb.c: Likewise.
10233 * wcsmbs/tst-wcsnlen.c: Likewise.
10234 * wcsmbs/tst-wcstof.c: Likewise.
10236 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10239 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10241 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10243 (_dl_mcount): Use rtld_hidden_proto.
10244 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10246 * elf/rtld.c (_rtld_global_ro): Likewise.
10249 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10250 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10251 of _dl_init_internal.
10252 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10253 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10254 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10255 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10256 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10257 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10258 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10259 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10260 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10261 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10262 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10263 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10264 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10265 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10266 * sysdeps/tile/dl-start.S (_start): Likewise.
10267 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10268 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10271 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10272 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10273 (rtld_progname): Make macro definition unconditional.
10274 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10276 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10277 (dl_main): Likewise.
10278 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10279 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10280 instead of _dl_argv_internal.
10281 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10282 __GI__dl_argv instead of INTUSE(_dl_argv).
10283 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10284 __GI__dl_argv instead of _dl_argv_internal.
10286 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10287 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10289 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10290 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10292 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10293 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10295 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10296 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10298 2014-11-04 Andreas Schwab <schwab@suse.de>
10300 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10302 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10304 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10305 mtvsrd instruction in binary form.
10307 2014-11-03 Andreas Schwab <schwab@suse.de>
10310 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10311 for less than MB_LEN_MAX use a local buffer of that size.
10312 * libio/tst-fputws.c: New file.
10313 * libio/Makefile (tests): Add tst-fputws.
10315 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10317 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10318 the size of the fpu_fr.fpu_dregs[] array.
10320 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10322 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10323 (__nanosleep): Do not define as alias.
10324 (nanosleep): Define as alias of __nanosleep.
10325 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10326 __libc_nanosleep name.
10328 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10330 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10331 install.texi in comment.
10333 2014-10-31 Torvald Riegel <triegel@redhat.com>
10335 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10336 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10337 ... add here and use lwsync or sync ...
10338 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10339 ... and add here using lwsync.
10341 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10343 * elf/dl-machine-reject-phdr.h: New file.
10344 * elf/dl-load.c: #include that.
10345 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10346 if that returned true.
10348 2014-10-31 Roland McGrath <roland@hack.frob.com>
10351 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10352 gen-as-const-headers chunk. Add a big scare comment after the last
10353 safe place to touch before-compile.
10355 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10357 * manual/install.texi (Tools for Compilation): Update autoconf
10358 version requirements.
10359 * INSTALL: Regenerated.
10361 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10362 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10363 (__libc_pselect): Likewise.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10371 2014-10-31 Torvald Riegel <triegel@redhat.com>
10373 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10374 correct barrier instruction.
10375 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10377 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10380 2014-10-30 Roland McGrath <roland@hack.frob.com>
10382 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10383 after defining inlines. Instead, just use parens to defeat macro
10384 expansion of __isctype in its declaration.
10386 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10388 * include/sys/uio.h (__libc_readv): Remove declaration.
10389 (__libc_writev): Likewise.
10390 * misc/readv.c (__libc_readv): Rename to __readv.
10391 (__readv): Do not define as alias.
10392 (readv): Define as alias of __readv.
10393 * misc/writev.c (__libc_writev): Rename to __writev.
10394 (__writev): Do not define as alias.
10395 (writev): Define as alias of __writev.
10396 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10397 (__readv): Do not define as alias.
10398 (readv): Define unconditionally as alias of __readv.
10399 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10400 (__writev): Do not define as alias.
10401 (writev): Define unconditionally as alias of __writev.
10402 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10404 (writev): Do not define __libc_writev name.
10406 2014-10-30 Roland McGrath <roland@hack.frob.com>
10408 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10409 (convert_charseq): New function, broken out of ...
10410 (use_from_charmap): ... here. Call it.
10411 (use_to_charmap): Use convert_charseq and free instead of duplicating
10412 its code with a variable-length stack struct.
10414 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10416 * include/fcntl.h (__libc_creat): Remove declaration.
10417 * io/creat.c (__libc_creat): Rename to creat.
10418 (creat): Do not define as alias.
10419 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10420 of creat instead of __libc_creat.
10421 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10423 (creat): Do not define as alias.
10424 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10426 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10431 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10433 * manual/llio.texi: Add comments discussing why write() may be
10434 considered MT-unsafe on Linux.
10436 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10438 * dl-load.c (local_strdup): Remove.
10439 (expand_dynamic_string_token): Use __strdup.
10440 (decompose_rpath): Likewise.
10441 (_dl_map_object): Likewise.
10443 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10446 * sysdeps/generic/unwind-dw2-fde.c
10447 (__register_frame_info_bases_internal): Do not declare.
10448 (__register_frame_info_table_bases_internal): Likewise.
10449 (__deregister_frame_info_bases_internal): Likewise.
10450 (__register_frame_info_bases): Declare and use hidden_proto before
10451 definition. Use hidden_def instead of INTDEF.
10452 (__register_frame_info_table_bases): Likewise.
10453 (__deregister_frame_info_bases): Likewise.
10454 (__register_frame_info): Do not use INTUSE.
10455 (__register_frame): Likewise.
10456 (__register_frame_info_table): Likewise.
10457 (__register_frame_table): Likewise.
10458 (__deregister_frame_info): Likewise.
10459 (__deregister_frame): Likewise.
10461 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10464 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10466 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10468 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10471 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10474 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10475 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10476 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10477 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10478 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10479 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10481 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10482 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10483 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10484 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10485 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10486 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10488 (setfsuid): Likewise.
10489 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10490 (setfsuid): Likewise.
10491 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10492 (setfsuid): Likewise.
10493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10495 (setfsuid): Likewise.
10496 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10497 (setfsuid): Likewise.
10498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10500 (setfsuid): Likewise.
10502 2014-10-27 Andreas Schwab <schwab@suse.de>
10505 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10506 check for Slow_SSE4_2 feature bit.
10507 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10508 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10509 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10510 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10512 2014-10-24 Roland McGrath <roland@hack.frob.com>
10514 * configure.ac: Validate compiler version with a empirical test of
10515 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10517 * configure: Regenerated.
10519 * inet/htons.c (htons): Prototypify.
10520 * inet/htonl.c (htonl): Likewise.
10522 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10524 * string/strncat.c (strncat): Improve performance by using strlen.
10526 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10528 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10530 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10532 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10533 Call libc_fetestexcept_aarch64.
10535 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10537 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10538 Call libc_feholdexcept_aarch64.
10540 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10542 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10543 Call get_rounding_mode.
10545 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10547 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10550 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10552 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10555 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10558 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10559 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10560 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10561 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10562 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10563 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10564 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10565 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10566 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10567 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10568 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10569 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10570 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10571 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10572 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10573 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10574 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10575 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10576 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10577 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10578 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10579 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10580 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10581 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10582 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10583 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10584 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10585 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10586 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10587 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10588 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10589 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10590 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10591 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10592 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10593 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10595 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10596 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10597 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10598 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10600 (geteuid): Likewise.
10601 (getgid): Likewise.
10602 (getuid): Likewise.
10603 (getresgid): Likewise.
10604 (getresuid): Likewise.
10605 (getgroups): Likewise.
10606 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10607 (geteuid): Likewise.
10608 (getgid): Likewise.
10609 (getuid): Likewise.
10610 (getresgid): Likewise.
10611 (getresuid): Likewise.
10612 (getgroups): Likewise.
10613 * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
10622 (geteuid): Likewise.
10623 (getgid): Likewise.
10624 (getuid): Likewise.
10625 (getresgid): Likewise.
10626 (getresuid): Likewise.
10627 (getgroups): Likewise.
10628 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10629 (geteuid): Likewise.
10630 (getgid): Likewise.
10631 (getuid): Likewise.
10632 (getresgid): Likewise.
10633 (getresuid): Likewise.
10634 (getgroups): Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10637 (geteuid): Likewise.
10638 (getgid): Likewise.
10639 (getuid): Likewise.
10640 (getgroups): Likewise.
10643 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10644 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10645 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10646 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10648 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10649 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10650 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10651 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10653 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10655 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10657 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10658 (lchown): Likewise.
10659 (fchown): Likewise.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10662 (lchown): Likewise.
10663 (fchown): Likewise.
10664 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10665 (lchown): Likewise.
10666 (fchown): Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10669 (lchown): Likewise.
10670 (fchown): Likewise.
10672 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10674 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10677 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10679 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10682 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10684 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10685 Remove unused include.
10687 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10689 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10690 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10691 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10692 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10694 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10695 Helge Deller <deller@gmx.de>
10698 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10699 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10700 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10702 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10706 Remove macro definition.
10707 (__ashrdi3_v_glibc20): Likewise.
10708 (__lshrdi3_v_glibc20): Likewise.
10709 (__cmpdi2_v_glibc20): Likewise.
10710 (__ucmpdi2_v_glibc20): Likewise.
10711 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10712 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10713 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10714 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10715 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10716 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10718 2014-10-22 Roland McGrath <roland@hack.frob.com>
10720 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10721 old GNU extension [0] syntax.
10722 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10723 alloca rather than an array member with variable length.
10724 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10725 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10726 (parse_opt): ... here. Likewise use alloca there.
10727 Validate the -i argument before checking for rootness.
10728 (send_shutdown): New function, broken out of ...
10729 (parse_opt): ... here.
10731 2014-10-22 Roland McGrath <roland@hack.frob.com>
10733 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10734 macro to get at the _rt_local_ro field.
10735 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10736 ([PIC] case) or _dl_hwcap ([!PIC] case).
10737 * sysdeps/arm/setjmp.S: Likewise.
10739 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10740 * sysdeps/arm/configure.ac: New check to define it.
10741 * sysdeps/arm/configure: Regenerated.
10742 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10743 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10744 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10745 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10746 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10747 Use move/movt pair instead of a load.
10748 (LDST_GLOBAL): Macro removed.
10749 (LDR_GLOBAL): New macro replaces it.
10750 (LDR_HIDDEN): New macro.
10751 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10752 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10754 * setjmp/tst-setjmp-static.c: New file.
10755 * setjmp/Makefile (tests): Add it.
10756 (tests-static): New variable.
10758 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10761 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10763 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10766 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10768 2014-10-21 Roland McGrath <roland@hack.frob.com>
10770 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10772 2014-10-20 Roland McGrath <roland@hack.frob.com>
10774 * io/fts.c (dirent_not_directory): New function.
10775 (fts_build): Call it.
10777 2014-10-20 Roland McGrath <roland@hack.frob.com>
10779 * nptl/version.c (__nptl_main): Use normal __write rather than
10781 (banner): Update copyright years.
10783 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10785 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10786 * nptl/pthread_cond_timedwait.c: Likewise.
10787 * nptl/pthread_mutex_timedlock.c: Likewise.
10788 * nptl/sem_timedwait.c: Likewise.
10790 * sysdeps/nptl/bits/libc-lock.h
10791 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10792 (__libc_lock_init_recursive): Return void, not 0.
10793 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10794 (__libc_rwlock_init): Likewise.
10795 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10797 2014-10-20 Torvald Riegel <triegel@redhat.com>
10800 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10801 (__pthread_once_slow): ... here.
10802 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10803 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10805 2014-10-20 Torvald Riegel <triegel@redhat.com>
10808 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10809 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10810 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10811 * nptl/pthread_once.c (__pthread_once): Likewise.
10814 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10817 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10819 (writev): Use __libc_writev as strong name.
10820 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10821 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10823 2014-10-17 Roland McGrath <roland@hack.frob.com>
10825 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10827 * sysdeps/i386/nptl/tls.h
10828 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10829 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10831 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10832 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10833 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10834 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10835 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10836 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10838 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10839 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10841 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10843 (__pthread_mutex_init): ... here. Call it.
10844 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10845 Conditionalize PI cases on [__NR_futex].
10846 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10847 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10848 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10850 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10851 conditional on [SIGSETXID].
10852 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10853 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10854 is defined. Likewise for SIGSETXID.
10855 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10856 Conditionalize definitions on [SIGSETXID].
10857 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10858 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10859 unblocking on [SIGCANCEL].
10861 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10862 [__NR_set_robust_list].
10864 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10866 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10867 (do_compare): Likewise.
10869 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10872 * string/strcoll_l.c: Don't include stdio.h.
10873 (coll_seq): Remove members idxarr and rulearr.
10874 (get_next_seq_cached): Remove function.
10875 (get_next_seq): Likewise.
10876 (get_next_seq_nocache): Rename to get_next_seq.
10877 (do_compare): Remove function.
10878 (do_compare_nocache): Rename to do_compare.
10879 (STRCOLL): Remove weight and rules cache.
10881 2014-10-16 Roland McGrath <roland@hack.frob.com>
10883 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10884 * sysdeps/arm/sfp-machine.h: ... to here.
10885 * sysdeps/arm/Implies: Remove arm/soft-fp.
10887 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10889 * conform/data/sys/utsname.h-data (*_t): Allow.
10890 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10891 [POSIX] (WEXITED): Do not expect constant.
10892 [POSIX] (WSTOPPED): Likewise.
10893 [POSIX] (WNOHANG): Likewise.
10894 [POSIX] (WNOWAIT): Likewise.
10895 [POSIX] (siginfo_t): Do not expect type or elements.
10896 [POSIX] (pid_t): Do not expect type.
10897 [POSIX] (signal.h): Do not allow header.
10898 [POSIX] (sys/resource.h): Likewise.
10899 [POSIX] (si_*): Do not allow pattern.
10900 [POSIX] (W*): Likewise.
10901 [POSIX] (P_*): Likewise.
10902 [POSIX] (BUS_*): Likewise.
10903 [POSIX] (CLD_*): Likewise.
10904 [POSIX] (FPE_*): Likewise.
10905 [POSIX] (ILL_*): Likewise.
10906 [POSIX] (POLL_*): Likewise.
10907 [POSIX] (SEGV_*): Likewise.
10908 [POSIX] (SI_*): Likewise.
10909 [POSIX] (TRAP_*): Likewise.
10910 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10913 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10916 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10917 infinite loop when __recvmsg returns 0.
10919 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10921 * CANCEL-FCT-WAIVE: Remove file.
10922 * CANCEL-FILE-WAIVE: Likewise.
10925 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10926 instead of INTVARDEF.
10927 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10928 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10929 rtld_hidden_data_def instead of INTVARDEF.
10930 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10931 * elf/dl-deps.c (expand_dst): Likewise.
10932 * elf/dl-load.c (_dl_dst_count): Likewise.
10933 (_dl_dst_substitute): Likewise.
10934 (decompose_rpath): Likewise.
10935 (_dl_init_paths): Likewise.
10936 (open_path): Likewise.
10937 (_dl_map_object): Likewise.
10938 * elf/rtld.c (dl_main): Likewise.
10939 (process_dl_audit): Likewise.
10940 (process_envvars): Likewise.
10941 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10942 Remove declaration.
10943 (__libc_enable_secure): Use rtld_hidden_proto.
10945 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10948 (add_path): New function broken out of _dl_rtld_di_serinfo.
10949 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10951 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10953 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10954 parentheses around macro arguments.
10955 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10956 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10957 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10958 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10959 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10960 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10961 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10962 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10963 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10964 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10965 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10966 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10967 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10968 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10969 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10970 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10971 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10972 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10973 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10974 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10975 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10976 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10977 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10980 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10981 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10984 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10985 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10986 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10987 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10988 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10989 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10990 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10992 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10994 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10995 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10996 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10997 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10998 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10999 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11000 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11001 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11002 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11003 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11004 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11005 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11006 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11007 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11008 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11009 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11010 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11011 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11012 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11013 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11014 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11015 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11016 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11017 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11018 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11019 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11020 (_FP_FRAC_SRS_1): Likewise.
11021 (_FP_FRAC_CLZ_1): Likewise.
11022 (_FP_MUL_MEAT_1_imm): Likewise.
11023 (_FP_MUL_MEAT_1_wide): Likewise.
11024 (_FP_MUL_MEAT_1_hard): Likewise.
11025 (_FP_SQRT_MEAT_1): Likewise.
11026 (_FP_FRAC_ASSEMBLE_1): Likewise.
11027 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11028 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11029 (__FP_CLZ_2): Likewise.
11030 (_FP_MUL_MEAT_2_wide): Likewise.
11031 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11032 (_FP_MUL_MEAT_2_gmp): Likewise.
11033 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11034 (_FP_SQRT_MEAT_2): Likewise.
11035 (_FP_FRAC_ASSEMBLE_2): Likewise.
11036 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11037 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11038 (_FP_FRAC_CLZ_4): Likewise.
11039 (_FP_MUL_MEAT_4_wide): Likewise.
11040 (_FP_MUL_MEAT_4_gmp): Likewise.
11041 (_FP_SQRT_MEAT_4): Likewise.
11042 (_FP_FRAC_ASSEMBLE_4): Likewise.
11043 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11044 * soft-fp/op-common.h (_FP_CMP): Likewise.
11045 (_FP_CMP_EQ): Likewise.
11046 (_FP_CMP_UNORD): Likewise.
11047 (_FP_TO_INT): Likewise.
11048 (_FP_FROM_INT): Likewise.
11049 [!__FP_CLZ] (__FP_CLZ): Likewise.
11050 (_FP_DIV_HELP_imm): Likewise.
11051 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11053 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11054 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11055 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11056 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11057 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11058 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11059 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11060 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11061 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11062 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11063 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11064 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11065 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11066 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11067 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11068 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11069 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11070 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11071 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11072 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11073 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11074 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11075 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11076 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11077 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11078 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11079 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11080 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11081 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11082 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11083 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11084 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11085 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11086 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11087 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11088 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11089 (FP_UNPACK_RAW_SP): Likewise.
11090 (FP_PACK_RAW_S): Likewise.
11091 (FP_PACK_RAW_SP): Likewise.
11092 (FP_UNPACK_S): Likewise.
11093 (FP_UNPACK_SP): Likewise.
11094 (FP_UNPACK_SEMIRAW_S): Likewise.
11095 (FP_UNPACK_SEMIRAW_SP): Likewise.
11096 (FP_PACK_S): Likewise.
11097 (FP_PACK_SP): Likewise.
11098 (FP_PACK_SEMIRAW_S): Likewise.
11099 (FP_PACK_SEMIRAW_SP): Likewise.
11100 (_FP_SQRT_MEAT_S): Likewise.
11101 (FP_CMP_S): Likewise.
11102 (FP_CMP_EQ_S): Likewise.
11103 (FP_CMP_UNORD_S): Likewise.
11104 (FP_TO_INT_S): Likewise.
11105 (FP_FROM_INT_S): Likewise.
11107 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11109 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11110 (FP_EX_INVALID_IMZ): Likewise.
11111 (FP_EX_INVALID_IMZ_FMA): Likewise.
11112 (FP_EX_INVALID_ISI): Likewise.
11113 (FP_EX_INVALID_ZDZ): Likewise.
11114 (FP_EX_INVALID_IDI): Likewise.
11115 (FP_EX_INVALID_SQRT): Likewise.
11116 (FP_EX_INVALID_CVI): Likewise.
11117 (FP_EX_INVALID_VC): Likewise.
11118 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11119 "invalid" exceptions.
11120 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11121 (_FP_ADD_INTERNAL): Likewise.
11122 (_FP_MUL): Likewise.
11123 (_FP_FMA): Likewise.
11124 (_FP_DIV): Likewise.
11125 (_FP_CMP_CHECK_NAN): Likewise.
11126 (_FP_SQRT): Likewise.
11127 (_FP_TO_INT): Likewise.
11128 (FP_EXTEND): Likewise.
11130 2014-10-09 Allan McRae <allan@archlinux.org>
11132 * po/fr.po: Update French translation from translation project.
11134 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11137 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11139 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11140 (__cxa_atexit): Use libc_hidden_proto.
11141 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11144 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11146 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11147 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11148 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11149 [!_ISOMAC] (__iswctype_internal): Likewise.
11150 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11151 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11153 (fcntl): Remove __fcntl_internal alias.
11154 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11155 __connect_internal alias.
11156 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11159 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11160 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11162 (_FP_CHECK_FLUSH_ZERO): New macro.
11163 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11164 (_FP_CMP): Likewise.
11165 (_FP_CMP_EQ): Likewise.
11166 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11168 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11169 (FP_TRUNC): Likewise.
11171 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11172 treated as invalid conversion, not as normal exponent.
11174 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11175 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11176 (_FP_CMP_EQ): Likewise.
11177 (_FP_CMP_UNORD): Likewise.
11178 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11179 (FP_CMP_EQ_D): Likewise.
11180 (FP_CMP_UNORD_D): Likewise.
11181 * soft-fp/extended.h (FP_CMP_E): Likewise.
11182 (FP_CMP_EQ_E): Likewise.
11183 (FP_CMP_UNORD_E): Likewise.
11184 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11185 (FP_CMP_EQ_Q): Likewise.
11186 (FP_CMP_UNORD_Q): Likewise.
11187 * soft-fp/single.h (FP_CMP_S): Likewise.
11188 (FP_CMP_EQ_S): Likewise.
11189 (FP_CMP_UNORD_S): Likewise.
11190 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11191 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11192 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11193 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11194 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11195 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11196 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11197 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11198 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11199 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11200 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11201 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11202 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11204 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11206 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11207 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11209 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11211 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11212 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11213 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11214 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11216 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11218 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11219 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11221 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11223 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11224 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11225 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11226 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11229 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11230 a subnormal result, set the underflow exception if trapping on
11231 underflow is enabled.
11232 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11233 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11234 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11236 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11237 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11238 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11239 * soft-fp/extendxftf2.c (__extendxftf2): Use
11240 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11242 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11243 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11244 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11245 FP_HANDLE_EXCEPTIONS.
11246 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11247 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11248 FP_HANDLE_EXCEPTIONS.
11249 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11250 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11251 FP_HANDLE_EXCEPTIONS.
11252 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11253 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11254 FP_HANDLE_EXCEPTIONS.
11256 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11259 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11260 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11262 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11263 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11265 (__adjtimex): Define using libc_hidden_ver.
11266 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11267 Remove declaration.
11268 (ntp_gettime): Call __adjtimex directly.
11269 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11270 Remove declaration.
11271 (ntp_gettimex): Call __adjtimex directly.
11272 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11273 __adjtimex_internal alias.
11275 2014-10-08 Roland McGrath <roland@hack.frob.com>
11278 * nscd/nscd.c (more_help): Rewrite list of tables collection
11279 using xstrdup and asprintf.
11281 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11283 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11284 Roland McGrath <roland@hack.frob.com>
11286 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11287 (do_lookup_unique): ... local function 'enter' here; update callers.
11289 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11291 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11292 compat_symbol calls on [SHARED].
11293 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11294 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11296 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11297 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11298 (oldsetrlimit): Remove.
11299 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11301 (lchown): New syscall entry.
11302 (oldsetrlimit): Remove.
11303 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11304 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11305 (oldsetrlimit): Remove.
11306 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11309 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11310 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11311 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11312 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11313 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11314 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11315 (fchown): Likewise.
11316 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11317 (fchown): Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11321 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11324 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11325 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11326 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11327 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11329 (__old_sem_post): Likewise.
11331 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11333 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11334 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11335 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11336 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11337 Use INLINE_VSYSCALL macro.
11338 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11339 __vdso_clock_gettime.
11340 * sysdeps/unix/sysv/linux/tile/init-first.c
11341 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11342 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11343 __vdso_clock_gettime.
11345 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11346 to set up frame more cleanly.
11348 * sysdeps/tile/memcmp.c: New file.
11350 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11352 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11353 * sysdeps/tile/tilegx/strcasestr.c: New file.
11354 * sysdeps/tile/tilegx/strnlen.c: New file.
11355 * sysdeps/tile/tilegx/strstr.c: New file.
11357 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11359 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11361 * nptl/tst-setuid3.c: Write errors to stdout.
11363 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11366 (preload): New functions broken out of _dl_map_object_deps.
11367 (_dl_map_object_deps): Remove a nested function. Update call sites.
11369 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11373 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11375 2014-10-01 Steve Ellcey <sellcey@mips.com>
11377 * sysdeps/mips/strcmp.S: New.
11379 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11382 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11383 (linkat): Likewise.
11384 (mkdirat): Likewise.
11385 (readlinkat): Likewise.
11386 (renameat): Likewise.
11387 (symlinkat): Likewise.
11388 (unlinkat): Likewise.
11389 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11390 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11391 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11392 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11393 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11394 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11395 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11397 2014-09-30 Will Newton <will.newton@linaro.org>
11399 * math/math.h: Define long double math functions if
11400 _LIBC_TEST is defined.
11401 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11403 * localedata/Makefile: Move assignment to tests-special
11404 into an ifdef testing run-built-tests.
11405 * timezone/Makefile: Likewise.
11407 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11409 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11410 with $(BASH) not $(SHELL).
11412 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11413 Matthew LeGendre <legendre1@llnl.gov>
11416 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11419 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11421 * stdio-common/printf_fp.c
11422 (hack_digit): New function, broken out of ...
11423 (__printf_fp): ... local function here. Update call sites.
11424 hack_digit now takes an additional parameter that is a pointer
11425 to a struct of the referenced locals. Those locals moved inside
11426 the struct and references updated.
11428 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11430 * aclocal.m4: Require autoconf 2.69.
11431 * configure: Regenerated.
11432 * sysdeps/aarch64/configure: Likewise.
11433 * sysdeps/alpha/configure: Likewise.
11434 * sysdeps/arm/armv7/configure: Likewise.
11435 * sysdeps/arm/configure: Likewise.
11436 * sysdeps/ia64/configure: Likewise.
11437 * sysdeps/mach/configure: Likewise.
11438 * sysdeps/mips/configure: Likewise.
11439 * sysdeps/s390/configure: Likewise.
11440 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11443 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11445 * sysdeps/ia64/configure.ac: Likewise.
11447 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11450 specify symbol version for ld.so. Do not include entry for
11452 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11453 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11454 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11457 * Makeconfig [$(build-shared) = yes]
11458 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11460 [$(build-shared) = yes && $(soversions.mk-done) = t]
11461 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11462 [$(build-shared) = yes && $(soversions.mk-done) = t]
11463 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11465 [$(build-shared) = yes && $(soversions.mk-done) = t]
11466 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11468 [$(build-shared) = yes && $(soversions.mk-done) = t]
11469 (common-generated): Don't append gnu/lib-names.h and
11470 gnu/lib-names.stmp here.
11471 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11472 (lib-names-h-abi): New variable.
11473 [$(build-shared) = yes && $(soversions.mk-done) = t]
11474 (lib-names-stmp-abi): Likewise.
11475 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11476 abi-variants] (before-compile): Append
11477 $(common-objpfx)$(lib-names-h-abi).
11478 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11479 abi-variants] (common-generated): Append gnu/lib-names.h.
11480 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11481 abi-variants] (install-others-nosubdir): Depend on
11482 $(inst_includedir)/$(lib-names-h-abi).
11483 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11484 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11485 [$(build-shared) = yes && $(soversions.mk-done) = t]
11486 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11487 [$(build-shared) = yes && $(soversions.mk-done) = t]
11488 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11489 [$(build-shared) = yes && $(soversions.mk-done) = t]
11490 (common-generated): Append $(lib-names-h-abi) and
11491 $(lib-names-stmp-abi).
11492 * scripts/lib-names.awk: Do not handle multi being set.
11493 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11495 (abi-lp64_be-ld-soname): Likewise.
11496 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11498 (abi-hard-ld-soname): Likewise.
11499 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11500 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11502 (abi-o32_hard-ld-soname): Likewise.
11503 (abi-o32_soft_2008-ld-soname): Likewise.
11504 (abi-o32_hard_2008-ld-soname): Likewise.
11505 (abi-n32_soft-ld-soname): Likewise.
11506 (abi-n32_hard-ld-soname): Likewise.
11507 (abi-n32_soft_2008-ld-soname): Likewise.
11508 (abi-n32_hard_2008-ld-soname): Likewise.
11509 (abi-n64_soft-ld-soname): Likewise.
11510 (abi-n64_hard-ld-soname): Likewise.
11511 (abi-n64_soft_2008-ld-soname): Likewise.
11512 (abi-n64_hard_2008-ld-soname): Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11515 (abi-64-v2-ld-soname): Likewise.
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11518 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11520 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11522 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11524 (abi-64-ld-soname): Likewise.
11525 (abi-x32-ld-soname): Likewise.
11526 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11528 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11530 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11533 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11534 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11535 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11536 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11537 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11538 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11539 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11540 syscall entry for GLIBC_2.2 symbol version.
11541 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11544 (setrlimit): Likewise.
11545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11548 2014-09-23 Will Newton <will.newton@linaro.org>
11550 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11551 _LINUX_ARM_SYSDEP_H include guard too.
11552 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11555 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11557 * sysdeps/unix/sysv/linux/eventfd.c:
11558 Make first argument unsigned.
11559 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11562 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11564 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11565 * socket/sys/socket.h: Likewise
11566 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11568 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11570 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11572 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11574 * time/tst-ftime.c: New test.
11575 * time/Makefile (tests): Add tst-ftime.
11577 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11579 * soft-fp/extended.h: Fix comment formatting.
11580 * soft-fp/op-1.h: Likewise.
11581 * soft-fp/op-2.h: Likewise.
11582 * soft-fp/op-4.h: Likewise.
11583 * soft-fp/op-8.h: Likewise.
11584 * soft-fp/op-common.h: Likewise.
11585 * soft-fp/soft-fp.h: Likewise.
11587 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11589 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11592 * Makeconfig (soversions-default-setname): Remove variable.
11593 ($(common-objpfx)soversions.i): Don't pass default_setname to
11595 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11596 oldest_abi to abi-versions.awk.
11597 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11598 * config.make.in (oldest-abi): Remove variable.
11599 * configure.ac (--enable-oldest-abi): Remove configure option.
11600 * configure: Regenerated.
11601 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11603 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11604 * scripts/soversions.awk: Do not handle default_setname variable.
11605 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11607 * sysdeps/mach/hurd/configure: Regenerated.
11608 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11610 * sysdeps/unix/sysv/linux/configure: Regenerated.
11612 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11614 * elf/Makefile (CFLAGS-interp.c): Remove.
11615 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11617 * elf/interp.c: Include generated runtime-linker.h
11619 * Makerules (lib%.so): Don't include $(+interp) in
11621 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11622 * dlfcn/eval.c: Remove file.
11624 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11628 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11632 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11634 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11635 Jakub Jelinek <jakub@redhat.com>
11638 * libio/stdio.h: Check definition of __fortify_function
11639 instead of __extern_always_inline to include bits/stdio2.h.
11640 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11641 check if __extern_always_inline is defined.
11642 [__USE_MISC || __USE_XOPEN]: Likewise.
11643 [__USE_ISOC99] Likewise.
11644 * misc/sys/cdefs.h (__fortify_function): Define only if
11645 __extern_always_inline is defined.
11646 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11647 __extern_always_inline and __extern_inline only for g++-4.3
11648 and newer or a compatible gcc.
11650 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11653 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11654 last change to handle zero prefix length.
11656 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11658 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11661 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11662 _POSIX_RAW_SOCKETS.
11664 2014-09-13 Allan McRae <allan@archlinux.org>
11666 * po/ru.po: Update Russian translation from translation project.
11668 2014-09-12 Roland McGrath <roland@hack.frob.com>
11670 * locale/programs/locale.c (show_locale_vars): Inline local function
11671 into its sole call site. Clean up some style nits.
11672 (print_item): New function, broken out of ...
11673 (show_info): ... local function here. Clean up style nits.
11675 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11677 (set_class_defaults): ... local function set_default here.
11678 Define set_default as a macro locally to pass constant parameters.
11679 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11680 rather than a shared local.
11682 * stdlib/rpmatch.c (try): New function, broken out of ...
11683 (rpmatch): ... local function here. Also, prototypify definition.
11685 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11687 * scripts/soversions.awk: Do not handle configuration names.
11688 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11689 vendor and os variables to soversions.awk.
11690 * configure.ac: Do not modify gnu-* host_os.
11691 * configure: Regenerated
11692 * shlib-versions: Remove first column with configuration names.
11693 * nptl/shlib-versions: Likewise.
11694 * nptl_db/shlib-versions: Likewise.
11695 * sysdeps/hppa/shlib-versions: Likewise.
11696 * sysdeps/m68k/shlib-versions: Likewise.
11697 * sysdeps/mach/hurd/shlib-versions: Likewise.
11698 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11699 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11700 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11701 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11702 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11703 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11704 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11705 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11708 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11709 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11710 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11713 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11714 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11715 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11718 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11721 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11723 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11725 * shlib-versions: Remove OS-specific entries. Moved to files in
11727 * sysdeps/mach/hurd/shlib-versions: New file.
11728 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11730 * nptl/shlib-versions: Remove architecture-specific entries.
11731 Moved to files in sysdeps.
11732 * shlib-versions: Likewise.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11735 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11736 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11740 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11741 (UDP_NO_CHECK6_RX): Likewise.
11743 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11745 * sysdeps/posix/sysconf.c (__sysconf): Spell
11746 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11748 2014-08-12 Florian Weimer <fweimer@redhat.com>
11750 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11752 * iconv/Versions (__gconv_transliterate): Export for use from
11754 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11755 (struct __gconv_trans_data, __gconv_trans_fct,
11756 __gconv_trans_context_fct, __gconv_trans_query_fct,
11757 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11759 (struct __gconv_step_data): Remove __trans member.
11760 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11761 longer hidden. Remove unused trans_data argument.
11762 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11763 (__gconv_translit_find): Remove declaration.
11764 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11766 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11767 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11768 trans_data argument. Add hidden definition.
11769 (__gconv_translit_find): Remove.
11770 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11771 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11772 * iconv/skeleton.c: Remove transliteration initialization.
11773 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11774 __gconv_step_data initialization.
11775 * libio/iofwide.c (__libio_translit_): Remove.
11776 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11777 * wcsmbs/btowc.c (__btowc): Likewise.
11778 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11779 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11780 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11781 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11782 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11783 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11784 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11785 * wcsmbs/wctob.c (wctob): Likewise.
11787 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11790 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11791 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11793 * sysdeps/x86/Makefile: Adjust.
11795 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11796 Roland McGrath <roland@hack.frob.com>
11798 * locale/weight.h: Add include guard.
11799 (findidx): Make static rather than auto; take new parameters
11800 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11801 * locale/weightwc.h: Likewise.
11802 * posix/fnmatch_loop.c
11803 (FCT): Change type of EXTRA from int32_t to wint_t.
11804 Don't include either header inside the function.
11805 Call FINDIDX rather than findidx, and pass new arguments.
11806 #undef FINDIDX at the end of the file.
11807 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11808 FINDIDX before including fnmatch_loop.c for the non-wide version.
11809 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11810 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11811 for the wide version.
11812 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11813 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11814 Pass new arguments to findidx.
11815 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11816 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11817 Don't #include it inside the function. Pass new arguments to findidx.
11818 * posix/regex_internal.h
11819 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11820 (re_string_elem_size_at): Don't #include it inside the function.
11821 Pass new arguments to findidx.
11822 * string/strcoll_l.c: #include WEIGHT_H at top level.
11823 (get_next_seq): Don't #include it inside the function.
11824 Pass new arguments to findidx.
11825 (get_next_seq_nocache): Likewise.
11826 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11827 (STRXFRM): Don't #include it inside the function.
11828 Pass new arguments to findidx.
11830 2014-09-11 Florian Weimer <fweimer@redhat.com>
11833 * malloc/malloc.c (unlink): Turn asserts into a call to
11836 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11839 * libio/wfileops (do_ftell_wide): Free OUT.
11841 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11843 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11845 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11848 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11849 group if the current group is empty.
11851 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11853 * benchtests/bench-memset.c (test_main): Add more test from size
11854 from 32 to 512 bytes.
11855 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11856 Add POWER8 memset object.
11857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11858 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11859 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11861 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11863 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11864 multiarch POWER8 memset optimization.
11865 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11866 POWER8 memset optimization.
11868 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11869 Remove bzero multiarch objects.
11870 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11871 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11872 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11873 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11875 [__bzero]: Redefine to specific name.
11876 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11877 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11878 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11880 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11881 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11883 2014-09-10 Florian Weimer <fweimer@redhat.com>
11885 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11886 warnings into errors.
11888 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11889 __cxa_thread_atexit_impl prototype.
11891 2014-09-09 Steve Ellcey <sellcey@mips.com>
11893 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11894 Fix capitalization of error message.
11896 2014-09-09 Steve Ellcey <sellcey@mips.com>
11898 * sysdeps/mips/preconfigure: Modify ABI tests.
11900 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11902 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11904 2014-09-07 Roland McGrath <roland@hack.frob.com>
11905 Carlos O'Donell <carlos@systemhalted.org>
11907 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11908 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11909 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11910 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11911 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11912 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11913 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11914 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11915 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11916 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11917 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11918 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11919 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11920 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11921 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11922 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11923 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11924 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11925 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11926 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11927 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11928 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11929 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11930 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11931 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11932 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11933 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11934 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11935 Deconditionalize the code that was previously under [RESET_PID].
11936 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11937 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11938 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11939 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11942 2014-09-08 Allan McRae <allan@archlinux.org>
11944 * version.h (RELEASE): Set to "development".
11945 (VERSION): Set to "2.20.90"
11947 2014-09-07 Allan McRae <allan@archlinux.org
11949 * version.h (RELEASE): Set to "stable".
11950 (VERSION): Set to "2.20"
11951 * include/features.h (__GLIBC_MINOR__): Set to 20.
11953 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11956 * po/ko.po: Update Korean translation from translation project.
11958 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11961 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11962 macro for handling signed relocations.
11964 2014-09-03 Florian Weimer <fweimer@redhat.com>
11967 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11968 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11970 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11971 * iconvdata/ibm935.c (BODY): Likewise.
11972 * iconvdata/ibm937.c (BODY): Likewise.
11973 * iconvdata/ibm939.c (BODY): Likewise.
11974 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11976 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11978 * iconvdata/run-iconv-test.sh: New test loop for checking for
11981 2014-09-02 Khem Raj <raj.khem@gmail.com>
11983 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11986 2014-09-01 Allan McRae <allan@archlinux.org>
11988 * po/eo.po: Update Esperanto translation from translation project.
11990 * po/ca.po: Update Catalan translation from translation project.
11992 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11994 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11995 __proc_dostop call.
11997 2014-08-27 Mark Wielaard <mjw@redhat.com>
12000 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12001 to call set_thread_area instead of hand written asm.
12002 (__NR_set_thread_area): Removed define.
12003 (TLS_FLAG_WRITABLE): Likewise.
12004 (__ASSUME_SET_THREAD_AREA): Remove check.
12005 (TLS_EBX_ARG): Remove define.
12006 (TLS_LOAD_EBX): Likewise.
12008 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12010 Simplify atomicity of socket creation in bind.
12012 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12013 looking up the name after linking the file.
12015 2014-08-27 Allan McRae <allan@archlinux.org>
12017 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12019 2014-08-26 Florian Weimer <fweimer@redhat.com>
12022 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12023 trans_compare, open_translit, __gconv_translit_find):
12024 Remove module loading code.
12026 2014-08-26 Allan McRae <allan@archlinux.org>
12028 * po/vi.po: Update Vietnamese translation from translation project.
12030 * po/uk.po: Update Ukrainian translation from translation project.
12032 * po/fr.po: Update French translation from translation project.
12034 * po/ru.po: Update Russian translation from translation project.
12036 * po/pl.po: Update Polish translation from translation project.
12038 * po/cs.po: Update Czech translation from translation project.
12040 * po/de.po: Update German translation from translation project.
12042 * po/bg.po: Update Bulgarian translation from translation project.
12044 * po/sv.po: Update Sweedish translation from translation project.
12046 * po/nl.po: Update Dutch translation from translation project.
12048 * po/es.po: Update Spanish translation from translation project.
12050 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12052 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12054 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12055 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12056 (CPPFLAGS-iconvconfig): Likewise.
12057 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12059 * include/libc-symbols.h: Remove unnecessary check for
12061 * nptl/pthreadP.h: Likewise.
12062 * sysdeps/aarch64/setjmp.S: Likewise.
12063 * sysdeps/alpha/setjmp.S: Likewise.
12064 * sysdeps/arm/sysdep.h: Likewise.
12065 * sysdeps/i386/setjmp.S: Likewise.
12066 * sysdeps/m68k/setjmp.c: Likewise.
12067 * sysdeps/posix/getcwd.c: Likewise.
12068 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12069 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12070 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12071 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12072 * sysdeps/sh/sh3/setjmp.S: Likewise.
12073 * sysdeps/sh/sh4/setjmp.S: Likewise.
12074 * sysdeps/unix/alpha/sysdep.h: Likewise.
12075 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12076 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12077 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12078 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12081 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12082 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12083 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12086 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12088 * sysdeps/x86_64/setjmp.S: Likewise.
12090 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12093 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12095 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12096 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12098 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12100 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12103 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12104 and __x86_64__ when disabling x87 inline functions.
12106 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12109 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12110 asm statement with __cpuid_count.
12112 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12114 * configure.ac: Change __ehdr_start code to dereference the struct.
12115 Run readelf on the output to look for relocations.
12116 * configure: Regenerated.
12118 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12121 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12123 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12125 2014-08-12 Roland McGrath <roland@hack.frob.com>
12127 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12129 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12132 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12133 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12135 2014-08-12 Sean Anderson <seanga2@gmail.com>
12137 * malloc/malloc.c: Fix typo in comment.
12139 2014-08-09 Allan McRae <allan@archlinux.org>
12141 * Regenerate libc.po.
12143 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12145 * intl/tst-gettext2.sh: Check every lang file for creation.
12147 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12149 * sysdeps/aarch64/fpu/math_private.h
12150 (libc_feholdsetround_noex_aarch64_ctx): New function.
12152 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12154 * sysdeps/arm/armv6/strcpy.S (strcpy):
12155 Fix performance issue in misaligned cases.
12157 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12159 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12160 Move definition from termios.h.
12161 (struct termio): Likewise.
12162 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12163 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12164 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12165 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12167 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12168 Move definition to ioctl-types.h
12169 (struct termio): Likewise.
12170 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12171 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12172 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12173 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12176 2014-08-05 Richard Henderson <rth@redhat.com>
12178 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12180 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12182 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12183 Use __feraiseexcept.
12184 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12185 Protect libm symbols with IS_IN_libm.
12187 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12189 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12191 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12193 2014-08-04 Will Newton <will.newton@linaro.org>
12195 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12198 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12200 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12201 variants for each function.
12203 2014-08-04 Roland McGrath <roland@hack.frob.com>
12205 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12207 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12208 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12210 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12211 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12212 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12213 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12214 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12215 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12216 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12217 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12218 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12219 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12220 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12221 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12222 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12223 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12224 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12225 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12226 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12227 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12228 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12229 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12230 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12231 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12233 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12234 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12235 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12236 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12237 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12238 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12239 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12244 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12245 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12246 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12247 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12248 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12249 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12250 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12251 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12252 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12253 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12254 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12255 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12256 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12257 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12258 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12259 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12260 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12261 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12262 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12264 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12265 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12267 2014-08-04 Roland McGrath <roland@hack.frob.com>
12269 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12270 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12271 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12272 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12273 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12274 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12276 2014-08-04 Roland McGrath <roland@hack.frob.com>
12278 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12279 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12280 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12281 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12283 2014-08-04 Roland McGrath <roland@hack.frob.com>
12285 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12286 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12287 (__libc_vfork): Define function under this name.
12288 (__vfork): Define as an alias.
12289 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12290 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12292 2014-08-04 Roland McGrath <roland@hack.frob.com>
12294 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12295 that was previously under [RESET_PID].
12296 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12298 2014-08-04 Andreas Schwab <schwab@suse.de>
12300 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12302 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12304 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12307 2014-08-01 Roland McGrath <roland@hack.frob.com>
12309 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12311 2014-08-01 Richard Henderon <rth@redhat.com>
12313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12314 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12315 typo in exact zero test.
12316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12318 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12320 2014-08-01 Roland McGrath <roland@hack.frob.com>
12322 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12323 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12324 * sysdeps/arm/sysdep.h: ... here.
12325 [!__ASSEMBLER__]: Include <stdint.h>.
12327 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12329 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12330 (HAVE_WCTYPE_H): Likewise.
12331 (HAVE_ISWCTYPE): Likewise.
12332 (ENABLE_NLS): Likewise.
12333 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12334 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12336 * posix/regex_internal.c: Check if DEBUG is defined and is
12339 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12340 (HAVE_MBSRTOWCS): Likewise.
12341 * posix/fnmatch.c: Include string.h unconditionally.
12343 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12345 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12348 2014-07-31 Roland McGrath <roland@hack.frob.com>
12350 * sysdeps/generic/safe-fatal.h: New file.
12351 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12352 * nptl/forward.c: Include it.
12353 (__pthread_unwind): Use __safe_fatal as default action, rather
12354 than a bogus use of INTERNAL_SYSCALL that could never work.
12356 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12357 * configure.ac (libc_cv_builtin_trap): New test.
12358 * configure: Regenerated.
12359 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12360 (ABORT_INSTRUCTION): Define using __builtin_trap.
12362 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12363 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12364 * sysdeps/nptl/nptl-signals.h: New file.
12365 * nptl/pthreadP.h: Include <nptl-signals.h>.
12367 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12369 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12370 (ONE_DIRECTION): Define.
12371 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12372 (ONE_DIRECTION): Define.
12373 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12374 (ONE_DIRECTION): Define.
12376 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12378 * sysdeps/s390/Makefile: Delete file.
12379 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12380 * sysdeps/s390/__longjmp.c: Delete file.
12381 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12382 Remove fields __flags and __reserved.
12383 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12384 and add versioning.
12385 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12386 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12387 * sysdeps/s390/rtld-setjmp.S: Likewise.
12388 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12389 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12390 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12391 * sysdeps/s390/s390-32/setjmp.S: ... here.
12393 (__sigsetjmp): Remove setting __flags field.
12394 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12395 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12396 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12397 * sysdeps/s390/s390-64/setjmp.S: ... here.
12399 (__sigsetjmp): Remove setting __flags field.
12400 * sysdeps/s390/setjmp.S: Delete file.
12401 * sysdeps/s390/sigjmp.c: Likewise.
12402 * sysdeps/s390/v1-longjmp.c: Likewise.
12403 * sysdeps/s390/v1-setjmp.h: Likewise.
12404 * sysdeps/s390/v1-sigjmp.c: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12406 Remove v1-longjmp_chk.
12407 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12408 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12409 Include debug/longjmp_chk.c and add versioning.
12410 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12411 Include nptl/pt-longjmp.c and add versioning.
12412 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12414 Include __longjmp.c.
12415 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12417 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12418 (__getcontext): Remove setting __flags field.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12421 Don't restore upper high grps.
12422 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12424 (__swapcontext): Remove setting uc_flags field.
12425 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12427 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12428 Include __longjmp.c.
12429 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12431 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12432 (__getcontext): Remove setting __flags field.
12434 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12435 (__swapcontext): Remove setting uc_flags field.
12436 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12438 Remove fields uc_high_gprs and __reserved.
12439 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12440 New file with reverted content.
12441 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12442 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12444 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12447 2014-07-31 Andreas Schwab <schwab@suse.de>
12449 * config.h.in (HAVE_IFUNC): Define to 0.
12450 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12453 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12456 memmove-avx-unaligned, memcpy-avx-unaligned and
12457 mempcpy-avx-unaligned.
12458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12459 Add tests for AVX memcpy functions.
12460 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12461 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12463 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12464 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12466 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12467 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12469 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12470 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12471 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12473 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12479 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12482 * manual/llio.texi: Add section about open file description locks.
12483 * manual/examples/ofdlocks.c: Example of open file description
12485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12486 F_OFD_SETLK, and F_OFD_SETLKW.
12488 2014-07-23 Allan McRae <allan@archlinux.org>
12490 * po/es.po: Update Spanish translation from translation project.
12492 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12494 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12496 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12499 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12500 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12501 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12503 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12506 * math/fesetenv.c (__fesetenv)
12507 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12508 * math/feupdateenv.c (__feupdateenv)
12509 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12511 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12512 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12513 (__ASSUME_SOCKETCALL): Do not define.
12515 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12516 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12517 (__ASSUME_SOCKETCALL): Do not define.
12518 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12519 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12520 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12521 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12522 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12523 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12524 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12525 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12528 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12529 (__ASSUME_SOCKETCALL): Do not define.
12530 (__ASSUME_IPC64): Define unconditionally.
12531 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12532 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12533 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12534 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12535 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12536 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12537 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12540 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12541 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12542 (__ASSUME_SOCKETCALL): Do not define.
12543 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12544 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12545 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12546 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12547 (__ASSUME_REQUEUE_PI): Define unconditionally.
12548 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12549 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12550 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12551 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12552 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12553 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12555 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12556 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12557 (__ASSUME_SOCKETCALL): Do not define.
12558 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12559 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12560 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12561 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12562 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12563 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12565 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12566 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12567 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12568 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12569 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12570 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12571 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12572 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12573 (__ASSUME_GETCPU_SYSCALL): Likewise.
12575 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12576 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12577 cases for individual architectures.
12578 * sysdeps/gnu/configure: Regenerated.
12579 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12580 LIBC_SLIBDIR_RTLDDIR.
12581 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12582 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12583 LIBC_SLIBDIR_RTLDDIR.
12584 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12586 LIBC_SLIBDIR_RTLDDIR.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12589 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12590 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12592 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12595 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12596 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12600 * sysdeps/aarch64/shlib-versions: Move to ...
12601 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12602 * sysdeps/alpha/shlib-versions: Move to ...
12603 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12604 * sysdeps/arm/shlib-versions: Move to ...
12605 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12606 * sysdeps/hppa/shlib-versions: Move all contents except for
12607 libgcc_s entry to ...
12608 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12610 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12611 * sysdeps/ia64/shlib-versions: Move to ...
12612 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12614 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12615 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12616 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12617 * sysdeps/microblaze/shlib-versions: Move to ...
12618 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12619 * sysdeps/mips/shlib-versions: Move to ...
12620 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12622 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12623 * sysdeps/tile/shlib-versions: Move to ...
12624 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12625 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12627 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12628 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12630 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12632 2014-07-17 Will Newton <will.newton@linaro.org>
12634 * sysdeps/arm/bits/atomic.h
12635 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12636 (__arch_compare_and_exchange_bool_16_int): Likewise.
12637 (__arch_compare_and_exchange_bool_64_int): Likewise.
12639 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12640 into an #else block.
12642 2014-07-16 Roland McGrath <roland@hack.frob.com>
12644 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12645 just Linux configurations. Test empirically that the compiler sets
12646 __ARM_EABI__, rather than using the tuple to decide.
12647 * sysdeps/arm/preconfigure: Regenerated.
12648 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12649 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12650 contents appended ...
12651 * sysdeps/arm/configure.ac: ... here.
12652 * sysdeps/arm/configure: Regenerated.
12654 2014-07-15 Roland McGrath <roland@hack.frob.com>
12656 * nptl/pthread_kill.c: New file.
12657 * nptl/pthread_sigmask.c: New file.
12658 * nptl/pthread_sigqueue.c: New file.
12660 * sysdeps/nptl/lowlevellock.h: New file.
12661 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12662 * sysdeps/nptl/lowlevellock-futex.h: New file.
12664 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12665 Remove dead declarations.
12667 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12669 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12670 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12671 config-cflags-avx2.
12672 * sysdeps/x86_64/configure.ac: Likewise.
12673 * sysdeps/i386/configure: Regenerated.
12674 * sysdeps/x86_64/configure: Likewise.
12675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12676 memset-avx2 only if config-cflags-avx2 is yes.
12677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12678 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12680 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12681 only if HAVE_AVX2_SUPPORT is defined.
12682 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12684 2014-07-14 Alan Modra <amodra@gmail.com>
12687 * elf/elf.h (DT_PPC64_NUM): Correct value.
12688 * NEWS: Add to fixed bug list.
12690 2014-07-13 Jim Meyering <meyering@fb.com>
12693 regex: don't deref NULL upon heap allocation failure
12694 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12695 failure in one more place.
12696 To trigger the segfault, configure grep -with-included-regex,
12697 build it, and run these commands:
12698 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12700 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12702 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12704 2014-07-11 Richard Henderson <rth@redhat.com>
12706 * sysdeps/aarch64/libm-test-ulps: Update.
12708 2014-07-10 Florian Weimer <fweimer@redhat.com>
12711 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12712 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12713 (__nptl_setxid): Initialize error member. Call
12714 __nptl_setxid_error.
12715 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12716 * nptl/descr.h (struct xid_command): Add error member.
12717 * nptl/tst-setuid3.c: New file.
12718 * nptl/Makefile (tests): Add it.
12720 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12722 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12724 (__lll_trylock): Use __lll_base_trylock.
12725 (__lll_cond_trylock): Likewise.
12727 2014-07-10 Roland McGrath <roland@hack.frob.com>
12729 * nptl/pthread_create.c (start_thread): Use atomic_or and
12730 lll_futex_wake directly rather than lll_robust_dead.
12731 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12732 (lll_robust_dead): Macro removed.
12733 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12734 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12735 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12736 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12737 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12738 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12739 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12740 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12741 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12743 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12744 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12745 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12746 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12749 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12750 Use atomic_compare_and_exchange_val_acq directly rather than
12751 lll_robust_trylock.
12752 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12753 (__lll_robust_trylock, lll_robust_trylock): Removed.
12754 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12755 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12756 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12758 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12759 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12760 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12761 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12762 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12763 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12764 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12765 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12766 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12767 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12769 2014-07-02 Florian Weimer <fweimer@redhat.com>
12771 * manual/locale.texi (Locale Names): New section documenting
12772 locale name syntax. Adjust menu and node chaining accordingly.
12773 (Choosing Locale): Reference Locale Names, Locale Categories.
12774 Mention setting LC_ALL=C. Reflect that name syntax is now
12776 (Locale Categories): New section title. Reference Locale Names.
12777 LC_ALL is an environment variable, but not a category.
12778 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12779 description, now in Locale Name. Reference that section. Locale
12780 name syntax is now documented.
12782 2014-07-02 Florian Weimer <fweimer@redhat.com>
12785 * locale/findlocale.c (name_present, valid_locale_name): New
12787 (_nl_find_locale): Use the loc_name variable to store name
12788 candidates. Call name_present and valid_locale_name to check and
12789 validate locale names. Return an error if the locale is invalid.
12791 2014-07-02 Florian Weimer <fweimer@redhat.com>
12793 * locale/setlocale.c (setlocale): Use strdup for allocating
12794 composite name copy.
12796 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12798 Sync up with gnulib.
12799 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12800 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12801 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12802 and _GL_ARG_NONNULL.
12803 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12804 [!_LIBC]: Include code for Windows and Cygwin.
12805 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12806 Include prototype for int strerror_r.
12807 [!_LIBC] (is_open): New function.
12808 (flush_stdout): New function.
12809 (print_errno_message): Use it.
12811 (error_at_line): Likewise.
12812 (error_tail) Add function attribute macros. Use
12815 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12817 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12819 * io/ftw.c: Include sys/param.h unconditionally.
12821 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12824 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12826 (freecache): New function to free CACHE on exit.
12828 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12831 2014-07-09 David S. Miller <davem@davemloft.net>
12833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12835 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12836 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12837 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12838 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12839 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12840 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12841 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12842 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12843 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12844 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12845 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12846 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12847 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12849 2014-07-09 Andreas Schwab <schwab@suse.de>
12851 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12853 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12854 (do_test): Likewise.
12856 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12858 2014-07-09 Will Newton <will.newton@linaro.org>
12860 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12861 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12862 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12863 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12864 * sysdeps/hppa/start.S (_start): Likewise.
12866 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12868 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12870 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12873 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12875 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12876 after checking that it is non-NULL.
12878 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12880 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12882 * sysdeps/powerpc/memmove.c: Remove file.
12883 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12884 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12885 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12886 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12887 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12888 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12889 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12890 string memmove instead of removed powerpc one.
12892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12893 [weak_alias]: Fix compiler warning due trailing data.
12894 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12895 [weak_alias]: Likewise.
12896 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12897 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12900 (__libc_ifunc_impl_list): Add memmove functions.
12902 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12904 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12906 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12908 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12910 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12912 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12914 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12916 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12918 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12920 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12922 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12924 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12926 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12928 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12930 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12932 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12934 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12936 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12939 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12942 to avoid alignment traps in non-cacheable memory.
12943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12947 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12948 file: multiarch power7 memmove.
12949 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12950 multiarch default memmove.
12951 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12952 multiarch memove for powerpc32/power4.
12954 * string/bcopy.c: Use full path to include memmove.c.
12955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12957 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12958 bcopy for powerpc64.
12959 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12960 bcopy for powerpc64.
12961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12962 and memmove implementations.
12963 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12964 optimized multiarch memmove for POWER7/powerpc64.
12965 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12966 default multiarch memmove for powerpc64.
12967 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12968 multiarch for powerpc64.
12969 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12970 for POWER7/powerpc64.
12971 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12972 memmove for POWER7/powerpc64.
12974 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12977 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12978 __ELF_NATIVE_CLASS equal to 64.
12980 2014-07-07 Roland McGrath <roland@hack.frob.com>
12982 * sysdeps/nptl/lowlevellock.h: File removed.
12984 * NEWS: NPTL is no longer an add-on!
12985 * nptl/internaltypes.h: Moved ...
12986 * sysdeps/nptl/internaltypes.h: ... here.
12987 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12988 * sysdeps/nptl/fork.c: Likewise.
12989 * sysdeps/nptl/gai_misc.h: Likewise.
12990 * sysdeps/nptl/librt-cancellation.c: Likewise.
12991 * sysdeps/nptl/jmp-unwind.c: Likewise.
12992 * sysdeps/nptl/setxid.h: Likewise.
12993 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12994 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12995 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12996 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12997 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12998 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12999 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13000 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13001 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13002 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13003 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13004 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13005 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13006 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13007 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13008 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13009 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13010 * nptl/Makeconfig: Moved ...
13011 * sysdeps/nptl/Makeconfig: ... here.
13012 * nptl/configure: File removed.
13013 * nptl/ANNOUNCE: File removed.
13014 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13015 * sysdeps/unix/sysv/linux/configure: Regenerated.
13017 * nptl/Makefile (routines): Add libc_pthread_init,
13018 libc_multiple_threads, register-atfork and unregister-atfork.
13019 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13020 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13021 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13022 pthread-pi-defines.sym, structsem.sym.
13023 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13024 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13025 [$(subdir) = nptl] (tests): Add tst-setgetname.
13026 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13027 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13028 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13029 [!LIBC_SIGACTION]: Remove aliases.
13030 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13031 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13032 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13033 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13034 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13035 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13039 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13040 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13041 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13042 __libc_allocate_rtsig_private.
13043 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13044 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13045 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13046 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13047 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13048 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13049 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13050 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13051 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13052 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13053 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13054 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13055 * nptl/internaltypes.h: ... here.
13056 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13057 * sysdeps/nptl/jmp-unwind.c: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13059 * nptl/libc-lowlevellock.c: ... here.
13060 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13061 * nptl/libc_multiple_threads.c: ... here.
13062 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13063 * nptl/libc_pthread_init.c: ... here.
13064 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13065 * nptl/lowlevelbarrier.sym: ... here.
13066 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13067 * nptl/lowlevelcond.sym: ... here.
13068 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13069 * nptl/lowlevellock.c: ... here.
13070 * nptl/lowlevellock.h: Moved ...
13071 * sysdeps/nptl/lowlevellock.h: ... here.
13072 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13073 * nptl/lowlevelrobustlock.c: ... here.
13074 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13075 * nptl/lowlevelrobustlock.sym: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13077 * nptl/lowlevelrwlock.sym: ... here.
13078 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13079 * nptl/pt-fork.c: ... here.
13080 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13081 * nptl/pthread-pi-defines.sym: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13083 * nptl/pthread_attr_getaffinity.c: ... here.
13084 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13085 * nptl/pthread_attr_setaffinity.c: ... here.
13086 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13087 * nptl/pthread_mutex_cond_lock.c: ... here.
13088 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13090 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13091 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13092 * nptl/pthread_once.c: ... here, replacing old file.
13093 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13094 * nptl/pthread_yield.c: ... here.
13095 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13096 * nptl/register-atfork.c: ... here.
13097 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13098 * nptl/sem_post.c: ... here.
13099 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13100 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13101 * nptl/sem_timedwait.c: ... here.
13102 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13103 * nptl/sem_trywait.c: ... here.
13104 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13105 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13106 * nptl/sem_wait.c: ... here.
13107 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13108 * nptl/structsem.sym: ... here.
13109 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13110 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13111 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13112 * nptl/unregister-atfork.c: ... here.
13113 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13114 * nptl/unwindbuf.sym: ... here.
13115 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13116 * sysdeps/nptl/fork.c: ... here.
13117 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13118 * sysdeps/nptl/fork.h: ... here.
13119 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13120 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13121 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13122 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13123 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13124 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13125 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13126 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13127 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13128 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13129 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13130 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13131 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13133 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13134 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13135 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13136 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13137 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13139 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13140 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13141 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13143 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13144 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13145 * sysdeps/unix/sysv/linux/raise.c: ... here.
13146 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13147 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13148 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13149 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13150 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13151 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13152 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13153 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13154 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13155 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13156 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13157 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13158 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13159 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13160 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13162 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13164 * sysdeps/generic/memcopy.h: Add comment for
13165 MEMCPY_OK_FOR_FWD_MEMMOVE.
13167 2014-07-04 Will Newton <will.newton@linaro.org>
13169 * string/memchr.c: Merge from gnulib.
13170 [_LIBC]: Remove conditionals.
13171 (__ptr_t): Remove define.
13172 (LONG_MAX_32_BITS): Likewise.
13173 (LONG_MAX): Likewise.
13174 (MEMCHR): Use ANSI prototype and optimize algorithm.
13176 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13178 2014-07-03 Roland McGrath <roland@hack.frob.com>
13180 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13181 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13183 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13184 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13185 in a bare environment with no <stdlib.h> installed.
13186 * sysdeps/nptl/configure: Regenerated.
13188 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13190 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13191 AC_EGREP_CPP for kernel header checks, so they only succeed if
13192 including <linux/version.h> actually works right.
13193 * sysdeps/unix/sysv/linux/configure: Regenerated.
13195 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13196 value so it's not diagnosed as unused.
13198 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13199 thing) with "ifeq ($(subdir),rt)".
13201 2014-07-03 Richard Henderson <rth@redhat.com>
13203 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13204 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13205 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13207 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13208 (math_force_eval): New.
13210 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13211 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13213 * sysdeps/alpha/fpu/s_round.c: Remove file.
13214 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13216 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13217 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13218 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13219 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13220 (_dl_start, print_statistics): Likewise.
13221 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13222 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13224 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13225 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13226 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13227 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13229 (HP_SMALL_TIMING_AVAIL): Define.
13230 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13231 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13232 (HP_SMALL_TIMING_AVAIL): Define.
13233 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13234 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13236 * sysdeps/aarch64/hp-timing.h: New file.
13238 * sysdeps/generic/hp-timing.h: Remove dead comment.
13239 * sysdeps/generic/hp-timing-common.h: New file.
13240 * sysdeps/alpha/hp-timing.h: Include it.
13241 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13242 * sysdeps/i386/i686/hp-timing.h: Likewise.
13243 * sysdeps/ia64/hp-timing.h: Likewise.
13244 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13245 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13246 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13247 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13248 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13249 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13250 (hp_timing_t): New.
13252 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13253 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13254 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13255 * elf/rtld.c (_dl_start_final): Likewise.
13256 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13257 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13258 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13259 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13260 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13262 (HP_TIMING_DIFF_INIT): Remove.
13263 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13265 (HP_TIMING_DIFF_INIT): Remove.
13266 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13267 * sysdeps/i386/i686/hp-timing.c: Remove file.
13268 * sysdeps/x86_64/hp-timing.c: Remove file.
13269 * sysdeps/ia64/hp-timing.c: Remove file.
13270 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13271 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13272 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13273 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13275 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13276 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13277 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13278 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13280 (HP_TIMING_ACCUM): Remove.
13281 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13282 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13283 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13285 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13286 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13287 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13288 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13289 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13290 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13292 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13294 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13296 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13298 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13300 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13302 Sync up with gettext.
13303 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13304 [_MSC_VER]: Include malloc.h
13305 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13306 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13307 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13308 TEMP_FAILURE_RETRY. Cast return of alloca.
13309 [!_LIBC] Call gl_rwlock_init.
13310 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13312 2014-07-02 Roland McGrath <roland@hack.frob.com>
13314 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13315 before checking its value.
13317 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13319 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13321 * debug/memcpy_chk.c: Don't include pagecopy.h.
13322 * debug/mempcpy_chk.c: Likewise.
13323 * string/memcpy.c: Likewise.
13324 * string/memmove.c: Likewise.
13325 * sysdeps/powerpc/memmove.c: Likewise.
13326 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13327 definition of PAGE_COPY_FWD_MAYBE here...
13328 * sysdeps/generic/pagecopy.h: ... from here.
13329 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13331 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13332 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13334 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13338 (__libc_ifunc_impl_list): Likewise.
13339 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13340 multiarch strcat for PPC64.
13341 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13342 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13344 2014-07-02 Roland McGrath <roland@hack.frob.com>
13346 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13348 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13350 * intl/loadmsgcat.c: Remove declaration of
13351 get_sysdep_segment_value.
13352 (get_sysdep_segment_value): Use ISO C style.
13353 (_nl_load_domain): Use ISO C style. Get rid of redundant
13354 semicolon. Fix typo and formatting in comment.
13355 (_nl_unload_domain): Use ISO C style.
13357 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13359 2014-07-02 Will Newton <will.newton@linaro.org>
13361 * malloc/obstack.c: Merge from gnulib master.
13362 [HAVE_CONFIG_H]: Remove conditional code.
13363 [!_LIBC]: Include config.h.
13364 [!ELIDE_CODE]: Don't include inttypes.h, include
13365 stdint.h unconditionally.
13366 (print_and_abort): Mark as _Noreturn.
13367 (_obstack_allocated_p): Mark as __attribute_pure__.
13368 (obstack_free): Rename to __obstack_free.
13369 [!__attribute__]: Remove conditional code.
13370 * malloc/obstack.h: Merge from gnulib master.
13371 [__cplusplus]: Move conditional down.
13372 [!__attribute_pure__]: Define __attribute_pure__ here
13373 if it is not already defined.
13374 (_obstack_memory_used): Mark as __attribute_pure__.
13375 [!__obstack_free]: Define as obstack_free.
13376 [__GNUC__]: Remove check for ancient NeXT gcc.
13378 2014-07-02 Will Newton <will.newton@linaro.org>
13379 Paul Eggert <eggert@cs.ucla.edu>
13381 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13383 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13385 * resolv/gethnamaddr.c: Add comment warning that the file is
13388 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13390 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13393 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13394 entry for aio_cancel and aio_cancel64.
13395 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13396 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13397 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13398 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13399 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13400 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13401 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13402 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13403 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13404 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13405 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13406 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13407 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13409 2014-07-01 Roland McGrath <roland@hack.frob.com>
13411 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13412 * nptl/pthread_mutex_lock.c: Likewise.
13413 * nptl/pthread_mutex_timedlock.c: Likewise.
13414 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13416 2014-07-01 Richard henderson <rth@redhat.com>
13418 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13419 (__isnan, __isnanl): Remove.
13420 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13422 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13424 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13426 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13428 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13430 * resolv/nss_dns/dns-host.c (getanswer_r)
13431 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13433 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13436 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13438 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13439 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13441 2014-07-01 Roland McGrath <roland@hack.frob.com>
13443 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13444 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13446 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13447 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13449 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13450 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13452 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13453 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13455 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13456 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13457 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13458 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13460 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13461 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13462 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13463 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13464 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13466 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13468 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13469 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13470 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13471 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13472 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13473 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13474 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13475 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13477 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13479 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13480 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13481 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13482 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13483 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13484 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13485 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13486 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13487 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13489 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13490 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13491 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13492 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13493 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13494 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13495 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13496 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13498 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13500 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13501 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13502 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13505 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13509 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13511 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13512 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13514 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13516 * sysdeps/arm/libm-test-ulps: Regenerated.
13518 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13519 Roland McGrath <roland@hack.frob.com>
13521 * test-skeleton.c (signal_handler): Kill the whole process group
13522 before killing the child individually.
13523 (main): Report any failure on `setpgid'.
13525 2014-06-30 Roland McGrath <roland@hack.frob.com>
13527 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13528 from _TLS_H to _ARM_NPTL_TLS_H.
13529 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13530 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13532 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13535 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13536 (__expm1l): Return argument unchanged when small but not
13539 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13540 include macro name.
13541 (_FP_UNPACK_RAW_1_P): Likewise.
13542 (_FP_PACK_RAW_1): Likewise.
13543 (_FP_PACK_RAW_1_P): Likewise.
13544 (_FP_MUL_MEAT_1_wide): Likewise.
13545 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13546 (_FP_MUL_MEAT_1_hard): Likewise.
13547 (_FP_DIV_MEAT_1_imm): Likewise.
13548 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13549 (_FP_DIV_MEAT_1_udiv): Likewise.
13550 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13551 (_FP_UNPACK_RAW_2): Likewise.
13552 (_FP_UNPACK_RAW_2_P): Likewise.
13553 (_FP_PACK_RAW_2): Likewise.
13554 (_FP_PACK_RAW_2_P): Likewise.
13555 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13556 (_FP_MUL_MEAT_2_wide): Likewise.
13557 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13558 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13559 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13560 (_FP_MUL_MEAT_2_gmp): Likewise.
13561 (_FP_DIV_MEAT_2_udiv): Likewise.
13562 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13563 (_FP_FRAC_SRL_4): Likewise.
13564 (_FP_FRAC_SRST_4): Likewise.
13565 (_FP_FRAC_SRS_4): Likewise.
13566 (_FP_UNPACK_RAW_4): Likewise.
13567 (_FP_UNPACK_RAW_4_P): Likewise.
13568 (_FP_PACK_RAW_4): Likewise.
13569 (_FP_PACK_RAW_4_P): Likewise.
13570 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13571 (_FP_MUL_MEAT_4_wide): Likewise.
13572 (_FP_MUL_MEAT_4_gmp): Likewise.
13573 (umul_ppppmnnn): Likewise.
13574 (_FP_DIV_MEAT_4_udiv): Likewise.
13575 (__FP_FRAC_ADD_4): Likewise.
13576 (__FP_FRAC_SUB_3): Likewise.
13577 (__FP_FRAC_SUB_4): Likewise.
13578 (__FP_FRAC_DEC_3): Likewise.
13579 (__FP_FRAC_DEC_4): Likewise.
13580 (__FP_FRAC_ADDI_4): Likewise.
13581 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13582 (_FP_FRAC_SRL_8): Likewise.
13583 (_FP_FRAC_SRS_8): Likewise.
13585 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13586 include macro name.
13587 (FP_UNPACK_RAW_EP): Likewise.
13588 (FP_PACK_RAW_E): Likewise.
13589 (FP_PACK_RAW_EP): Likewise.
13590 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13591 (_FP_ISSIGNAN): Likewise.
13592 (_FP_ADD_INTERNAL): Likewise.
13593 (_FP_FMA): Likewise.
13594 (_FP_CMP): Likewise.
13595 (_FP_SQRT): Likewise.
13596 (_FP_TO_INT): Likewise.
13597 (_FP_FROM_INT): Likewise.
13598 (FP_EXTEND): Likewise.
13599 (_FP_DIV_MEAT_N_loop): Likewise.
13601 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13603 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13606 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13609 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13610 result with correct sign in case of exponents that produce
13611 overflow except for X very close to 1.
13613 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13615 mktime: merge #if/#ifdef usage from glibc
13616 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13617 as that works with both Glibc's and Gnulib's style.
13618 See thread starting at Siddhesh Poyarekar's bug report at:
13619 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13621 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13623 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13624 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13625 * sysdeps/tile/tilegx/memmove.c: Remove file.
13627 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13629 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13630 abi-name definition.
13631 * scripts/soversions.awk: Do not handle or generate ABI lines.
13632 * shlib-versions: Remove ABI entries.
13633 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13634 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13636 2014-06-27 Roland McGrath <roland@hack.frob.com>
13638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13639 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13640 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13646 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13653 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13654 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13655 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13656 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13657 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13658 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13659 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13662 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13664 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13665 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13666 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13669 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13670 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13672 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13674 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13675 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13677 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13678 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13679 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13680 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13681 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13682 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13683 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13686 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13691 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13692 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13694 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13695 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13696 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13699 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13701 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13702 Identical file removed.
13703 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13705 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13706 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13707 Identical file removed.
13708 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13712 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13713 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13714 Identical file removed.
13715 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13716 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13717 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13718 Identical file removed.
13719 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13720 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13721 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13722 Identical file removed.
13723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13724 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13725 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13726 Identical file removed.
13727 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13729 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13730 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13731 Identical file removed.
13732 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13734 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13735 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13736 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13737 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13738 Identical file removed.
13739 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13741 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13743 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13744 Identical file removed.
13745 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13747 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13748 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13749 Identical file removed.
13750 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13752 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13753 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13754 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13755 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13756 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13757 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13759 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13760 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13761 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13763 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13764 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13765 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13766 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13767 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13769 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13772 * nscd/nscd.c (monitor_child): Return exit status of child
13773 instead of return value from wait syscall.
13775 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13777 * configure.ac (libc_commonpagesize): Remove variable.
13778 (libc_relro_required): Likewise.
13779 (libc_cv_z_relro): Remove configure test.
13780 * configure: Regenerated.
13781 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13783 (libc_relro_required): Likewise.
13784 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13785 (libc_relro_required): Likewise.
13786 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13787 (libc_relro_required): Likewise.
13788 * sysdeps/arm/preconfigure: Regenerated.
13789 * sysdeps/ia64/preconfigure: Remove file.
13790 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13792 (libc_relro_required): Likewise.
13796 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13797 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13798 recompute overflowing results in original rounding mode.
13799 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13800 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13801 recompute overflowing results in original rounding mode.
13802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13803 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13804 recompute overflowing results in original rounding mode.
13805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13806 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13807 recompute overflowing results in original rounding mode.
13808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13809 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13810 recompute overflowing results in original rounding mode.
13811 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13812 (libc_feholdsetround_ctx): New macro.
13813 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13814 * sysdeps/i386/fpu/libm-test-ulps: Update.
13815 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13817 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13819 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13820 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13821 corresponding .cpsetup call.
13823 2014-06-26 Roland McGrath <roland@hack.frob.com>
13825 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13826 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13827 * sysdeps/arm/Makefile [$(subdir) = csu]
13828 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13829 (static-only-routines): Add aeabi_read_tp here.
13830 (shared-only-routines): Add libc-aeabi_read_tp here.
13831 (CFLAGS-libc-start.c): Add -fexceptions here.
13832 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13833 (sysdep_routines, static-only-routines, shared-only-routines):
13834 Don't add to these here.
13835 (CFLAGS-libc-start.c): Likewise.
13837 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13838 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13839 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13840 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13841 * sysdeps/arm/Makefile [$(subdir) = rt]
13842 (librt-sysdep_routines, librt-shared-only-routines):
13843 Append rt-aeabi_unwind_cpp_pr1 here.
13844 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13845 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13846 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13847 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13848 Append nptl-aeabi_unwind_cpp_pr1 here.
13849 (tests): Filter out tst-cleanupx4 here.
13850 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13851 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13852 Don't do those here.
13854 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13856 * scripts/list-sources.sh: Do not handle ports specially.
13858 2014-06-26 Roland McGrath <roland@hack.frob.com>
13860 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13861 * sysdeps/arm/feupdateenv.c: Likewise.
13863 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13865 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13867 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13868 trailing whitespace removed.
13869 * scripts/config.guess: Update to version 2014-03-23.
13870 * scripts/config.sub: Update to version 2014-05-01
13871 * scripts/install-sh: Update to version 2013-12-25.23.
13872 * scripts/move-if-change: Update from gnulib.
13874 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13876 * debug/memmove_chk.c: Remove pagecopy.h include.
13878 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13880 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13881 identical to gnulib mktime.
13883 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13885 * configure.ac: Do not test for machine being rs6000. Do not test
13886 for powerpc*-*soft.
13887 * configure: Regenerated.
13890 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13892 * configure: Regenerated.
13893 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13894 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13895 Remove configure test.
13896 * sysdeps/arm/configure: Regenerated.
13897 * sysdeps/nptl/configure.ac: Do not check
13898 libc_cv_asm_cfi_directives.
13899 * sysdeps/nptl/configure: Regenerated.
13900 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13901 * sysdeps/x86_64/nptl/configure: Remove generated file.
13902 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13904 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13906 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13908 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13909 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13910 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13913 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13914 instead of whether it is defined.
13915 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13916 * sysdeps/hppa/dl-machine.h: Likewise.
13917 * sysdeps/ia64/dl-machine.h: Likewise.
13918 * sysdeps/m68k/dl-machine.h: Likewise.
13919 * sysdeps/microblaze/dl-machine.h: Likewise.
13920 * sysdeps/mips/dl-machine.: Likewise.
13921 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13922 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13923 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13924 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13925 * sysdeps/sh/dl-machine.h: Likewise.
13926 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13927 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13928 * sysdeps/tile/dl-machine.h: Likewise.
13929 * sysdeps/x86_64/dl-machine.h: Likewise.
13931 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13933 (verify_persistent_db): Likewise.
13935 2014-06-26 Roland McGrath <roland@hack.frob.com>
13937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13938 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13940 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13943 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13946 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13948 Identical file removed.
13949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13950 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13952 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13954 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13956 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13958 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13961 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13963 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13965 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13968 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13970 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13972 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13974 Identical file removed.
13975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13976 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13978 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13981 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13988 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13990 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13992 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13995 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13998 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14000 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14003 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14005 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14007 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14009 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14010 * sysdeps/unix/sysv/linux/s390/Versions
14011 (libpthread: GLIBC_2.19): New version set.
14012 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14013 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14014 (librt: GLIBC_2.3.3): New version set.
14015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14016 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14017 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14018 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14019 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14020 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14021 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14022 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14023 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14024 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14025 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14026 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14027 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14029 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14030 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14031 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14032 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14033 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14034 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14035 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14036 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14037 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14038 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14039 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14040 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14041 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14042 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14043 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14044 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14045 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14046 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14050 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14051 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14052 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14053 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14054 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14055 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14057 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14059 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14061 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14062 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14063 (__libc_vfork): Define the function under this name.
14064 [!NOT_IN_libc] (__vfork): Make this an alias.
14065 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14067 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14068 (__libc_vfork): Define the function under this name.
14069 [!NOT_IN_libc] (__vfork): Make this an alias.
14070 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14071 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14072 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14073 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14075 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14077 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14078 code that was previously under [RESET_PID].
14079 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14080 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14081 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14083 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14084 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14085 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14086 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14087 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14088 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14089 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14090 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14091 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14092 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14093 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14095 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14096 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14097 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14098 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14099 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14100 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14101 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14102 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14103 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14104 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14105 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14106 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14107 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14108 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14109 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14110 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14111 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14112 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14113 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14114 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14115 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14116 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14117 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14118 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14119 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14120 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14121 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14122 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14123 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14125 2014-06-25 Roland McGrath <roland@hack.frob.com>
14127 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14128 that was previously under [RESET_PID].
14129 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14131 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14133 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14134 not undefine and redefine.
14135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14136 [O_CLOEXEC]: Make code unconditional.
14137 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14138 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14139 <kernel-features.h>.
14140 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14141 conditional variable definition.
14142 (shm_open) [O_CLOEXEC]: Make code unconditional.
14143 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14146 * configure.ac (USE_REGPARMS): Don't define here.
14147 * configure: Regenerated.
14148 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14149 * sysdeps/i386/configure: Regenerated.
14151 * nptl/createthread.c: Don't include kernel-features.h.
14152 * nptl/pthread_cancel.c: Likewise.
14153 * nptl/pthread_condattr_setclock.c: Likewise.
14154 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14155 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14156 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14157 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14158 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14159 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14160 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14163 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14164 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14165 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14166 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14167 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14168 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14169 * nscd/gai.c: Likewise.
14170 * nss/nss_db/db-open.c: Likewise.
14171 * sysdeps/generic/ldsodefs.h: Likewise.
14172 * sysdeps/sh/nptl/tls.h: Likewise.
14173 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14174 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14175 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14176 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14177 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14178 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14179 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14180 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14182 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14183 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14184 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14185 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14186 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14187 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14188 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14189 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14190 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14191 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14192 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14193 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14194 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14195 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14196 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14197 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14198 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14199 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14200 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14201 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14202 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14203 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14204 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14205 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14206 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14207 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14208 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14209 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14210 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14211 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14212 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14213 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14214 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14215 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14216 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14217 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14218 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14219 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14220 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14221 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14222 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14223 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14224 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14225 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14226 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14227 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14228 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14229 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14230 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14253 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14254 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14255 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14256 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14257 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14258 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14259 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14260 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14261 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14262 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14263 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14264 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14265 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14266 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14267 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14268 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14269 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14270 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14271 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14272 * sysdeps/unix/sysv/linux/system.c: Likewise.
14273 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14274 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14275 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14276 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14277 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14279 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14281 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14282 * configure: Regenerated.
14283 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14285 * configure.ac (base_machine): Do not set specially for particular
14287 * configure: Regenerated.
14288 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14289 settings from configure.ac.
14290 * sysdeps/i386/preconfigure: New file.
14291 * sysdeps/s390/preconfigure: Likewise.
14292 * sysdeps/sh/preconfigure: Likewise.
14293 * sysdeps/sparc/preconfigure: Likewise.
14295 2014-06-25 Roland McGrath <roland@hack.frob.com>
14297 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14298 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14299 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14300 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14301 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14302 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14303 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14304 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14305 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14306 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14307 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14308 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14309 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14310 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14311 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14314 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14315 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14317 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14318 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14319 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14320 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14321 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14322 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14323 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14324 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14325 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14326 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14327 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14328 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14329 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14330 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14331 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14332 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14333 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14334 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14335 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14336 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14337 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14338 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14339 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14340 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14341 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14342 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14343 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14344 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14345 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14346 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14347 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14348 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14349 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14350 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14351 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14352 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14353 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14354 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14357 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14359 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14362 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14365 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14370 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14372 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14374 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14376 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14379 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14382 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14384 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14387 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14389 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14391 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14393 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14401 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14403 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14406 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14408 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14410 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14412 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14415 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14418 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14420 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14423 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14425 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14429 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14431 * timezone/checktab.awk: Update from tzcode 2014e.
14432 * timezone/private.h: Likewise.
14433 * timezone/tzfile.h: Likewise.
14434 * timezone/zdump.c: Likewise.
14435 * timezone/zic.c: Likewise.
14437 * sysdeps/unix/sysv/linux/kernel-features.h
14438 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14439 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14440 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14441 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14442 Remove conditional code.
14444 2014-06-25 Will Newton <will.newton@linaro.org>
14446 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14447 (_dl_arm_cap_flags): Add HWCAP2 values.
14448 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14449 (_DL_HWCAP_COUNT): Increase to 37.
14450 (_DL_HWCAP_LAST): New define.
14451 (_DL_HWCAP2_LAST): New define.
14452 (_dl_procinfo): Add support for printing
14454 (_dl_string_hwcap): Use _dl_hwcap_string.
14456 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14460 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14462 * README: Do not mention ports directory.
14464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14466 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14467 <kernel-features.h>.
14468 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14469 conditional variable definition.
14470 (__futimes): Update comment.
14471 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14472 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14475 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14476 arguments close to 0.
14477 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14479 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14481 * math/auto-libm-test-in: Add more tests of exp10.
14482 * math/auto-libm-test-out: Regenerated.
14483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14485 * sysdeps/unix/sysv/linux/kernel-features.h
14486 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14487 * sysdeps/unix/sysv/linux/readv.c: Do not include
14488 <kernel-features.h>.
14489 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14490 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14491 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14493 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14495 * sysdeps/unix/sysv/linux/writev.c: Do not include
14496 <kernel-features.h>.
14497 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14498 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14499 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14501 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14504 2014-06-25 Will Newton <will.newton@linaro.org>
14506 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14507 comment changes throughout the file. Remove checks
14508 for HAVE_*_H definitions that are not required.
14509 (__gen_tempname): Call abort if an unknown kind value is
14512 2014-06-25 Andreas Schwab <schwab@suse.de>
14515 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14516 scalbln, scalblnf, scalblnl in libc.
14518 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14521 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14522 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14523 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14525 2014-06-24 Roland McGrath <roland@hack.frob.com>
14527 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14528 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14529 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14530 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14532 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14533 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14535 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14536 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14537 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14538 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14539 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14540 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14541 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14542 * sysdeps/x86/bits/semaphore.h: ... here.
14543 * sysdeps/x86/nptl/elide.h: Moved ...
14544 * sysdeps/x86/elide.h: ... here.
14545 * sysdeps/x86_64/nptl/Implies: File removed.
14546 * sysdeps/i386/nptl/Implies: File removed.
14548 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14552 return the argument for normal arguments with exponent below -64.
14553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14555 * math/auto-libm-test-in: Add another test of expm1.
14556 * math/auto-libm-test-out: Regenerated.
14559 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14560 calling __erfcl for arguments at least 16.
14561 * math/auto-libm-test-in: Add more tests of erf.
14562 * math/auto-libm-test-out: Regenerated.
14564 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14565 individual architectures.
14566 * sysdeps/unix/sysv/linux/configure: Regenerated.
14567 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14568 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14569 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14570 (ldd_rewrite_script): Define variable.
14571 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14576 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14577 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14578 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14579 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14580 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14581 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14582 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14583 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14585 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14588 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14589 Rename member __data.d to __data.__elision_data.
14591 2014-06-24 Wilco <wdijkstr@arm.com>
14593 * NEWS: Add 16918 to fixed bug list.
14595 2014-06-24 Wilco <wdijkstr@arm.com>
14597 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14599 2014-06-24 Wilco <wdijkstr@arm.com>
14601 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14602 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14603 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14604 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14605 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14606 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14607 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14610 2014-06-24 Wilco <wdijkstr@arm.com>
14612 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14614 2014-06-24 Wilco <wdijkstr@arm.com>
14616 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14617 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14618 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14619 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14621 2014-06-24 Wilco <wdijkstr@arm.com>
14624 * sysdeps/arm/feupdateenv.c (feupdateenv):
14625 Rewrite to reduce FPSCR accesses and fix return value.
14627 2014-06-24 Wilco <wdijkstr@arm.com>
14629 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14630 Optimize to avoid unnecessary FPSCR writes.
14631 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14632 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14633 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14634 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14636 2014-06-24 Wilco <wdijkstr@arm.com>
14638 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14639 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14640 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14641 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14642 Call libc_fetestexcept_vfp.
14643 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14644 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14645 __SOFTFP__ ifdef so that they can be built for softfp.
14647 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14649 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14650 argument type signed char.
14652 * Makerules (check-abi): Dump diff of symlist if the test
14655 2014-06-23 Roland McGrath <roland@hack.frob.com>
14657 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14660 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14661 Remove unused variable ST.
14663 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14667 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14668 small arguments before calling __expm1.
14669 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14670 small arguments before calling __expm1f.
14671 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14672 small arguments before calling __expm1l.
14673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14675 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14676 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14677 spurious underflow for some cosh tests.
14678 * math/auto-libm-test-out: Regenerated.
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14682 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14683 (__ieee754_y1): Set errno if return value overflows.
14684 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14685 (__ieee754_y1f): Set errno if return value overflows.
14686 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14687 (__ieee754_y1l): Set errno if return value overflows.
14688 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14689 (__ieee754_y1l): Set errno if return value overflows.
14690 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14691 * math/auto-libm-test-out: Regenerated.
14693 * math/gen-auto-libm-tests.c: Document use of
14694 ignore-zero-inf-sign.
14695 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14696 (input_flags): Add ignore-zero-inf-sign.
14697 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14698 * math/gen-libm-test.pl (generate_testfile): Handle
14699 ignore-zero-inf-sign.
14700 * math/auto-libm-test-in: Mark some cpow tests with
14701 ignore-zero-inf-sign and some with xfail-rounding.
14702 * math/auto-libm-test-out: Regenerated.
14703 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14704 * sysdeps/i386/fpu/libm-test-ulps: Update.
14705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14708 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14709 overflowing or underflowing operations take place with sign of
14711 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14712 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14713 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14714 (__ieee754_pow): Recompute overflowing and underflowing results in
14715 original rounding mode.
14716 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14717 (__powl_helper): Allow negative argument X and scale negated value
14718 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14719 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14720 overflowing or underflowing operations take place with sign of
14722 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14724 * math/auto-libm-test-in: Add more tests of pow.
14725 * math/auto-libm-test-out: Regenerated.
14726 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14727 (pow_tonearest_test_data): Remove.
14728 (pow_test_tonearest): Likewise.
14729 (pow_towardzero_test_data): Likewise.
14730 (pow_test_towardzero): Likewise.
14731 (pow_downward_test_data): Likewise.
14732 (pow_test_downward): Likewise.
14733 (pow_upward_test_data): Likewise.
14734 (pow_test_upward): Likewise.
14735 (main): Don't call removed functions.
14736 * sysdeps/i386/fpu/libm-test-ulps: Update.
14737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14739 2014-06-23 Roland McGrath <roland@hack.frob.com>
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14915 2014-06-23 Will Newton <will.newton@linaro.org>
14916 Wilco <wdijkstr@arm.com>
14918 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14919 implementation. Include get-rounding-mode.h.
14920 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14921 [!libc_feholdsetround_noex_ctx]: Define
14922 libc_feholdsetround_noex_ctx.
14923 [!libc_feholdsetround_noexf_ctx]: Define
14924 libc_feholdsetround_noexf_ctx.
14925 [!libc_feholdsetround_noexl_ctx]: Define
14926 libc_feholdsetround_noexl_ctx.
14927 (libc_feholdsetround_ctx): New function.
14928 (libc_feresetround_ctx): New function.
14929 (libc_feholdsetround_noex_ctx): New function.
14930 (libc_feresetround_noex_ctx): New function.
14932 2014-06-23 Roland McGrath <roland@hack.frob.com>
14934 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14935 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14936 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14937 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14938 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14939 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14941 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14942 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14943 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14944 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14945 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14946 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14947 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14948 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14949 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14950 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14951 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14953 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14955 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14956 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14957 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14958 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14959 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14961 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14962 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14963 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14964 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14966 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14967 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14968 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14970 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14971 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14973 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14974 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14975 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14976 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14978 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14979 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14980 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14981 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14982 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14983 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14984 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14985 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14986 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14987 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14989 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14991 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14992 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14993 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14994 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14995 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14996 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14997 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14998 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14999 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15000 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15001 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15002 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15003 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15005 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15006 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15007 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15008 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15009 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15010 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15012 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15013 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15014 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15015 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15016 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15018 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15019 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15020 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15021 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15022 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15023 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15024 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15025 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15027 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15028 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15029 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15030 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15031 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15032 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15033 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15034 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15035 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15036 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15037 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15038 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15039 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15040 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15041 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15042 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15043 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15044 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15045 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15047 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15050 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15051 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15052 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15053 (IPV6_PMTUDISC_INTERFACE): Likewise.
15054 (IPV6_PMTUDISC_OMIT): Likewise.
15056 2014-06-23 Andreas Schwab <schwab@suse.de>
15058 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15059 Remove unused errout label.
15061 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15063 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15064 macro: hardware supports Vector Crypto instructions.
15066 2014-06-23 Will Newton <will.newton@linaro.org>
15068 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15069 rather than __builtin_expect.
15071 * elf/dl-lookup.c (undefined_msg): Remove variable.
15072 (_dl_lookup_symbol_x): Replace undefined_msg with string
15075 * elf/dl-lookup.c (do_lookup_unique): New function.
15076 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15077 to a separate function.
15079 2014-06-23 Andreas Schwab <schwab@suse.de>
15082 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15083 before reading the next line.
15085 2014-06-23 Will Newton <will.newton@linaro.org>
15087 * test-skeleton.c (signal_handler): Use printf and %m
15088 rather than perror. Use printf rather than fprintf to
15089 stderr. Use puts rather than fputs to stderr.
15092 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15094 * nscd/nscd.c (thread_info_t): Remove typedef.
15095 (thread_info): Remove variable.
15097 2014-06-21 Allan McRae <allan@archlinux.org>
15099 * NEWS: Mention CVE-2014-4043.
15101 2014-06-20 Roland McGrath <roland@hack.frob.com>
15103 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15104 * nptl/smp.h: ... here.
15106 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15108 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15109 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15110 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15111 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15113 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15114 * nptl/stack-aliasing.h: New file.
15115 * sysdeps/i386/i686/stack-aliasing.h: New file.
15116 * sysdeps/i386/i686/nptl/Makefile: File removed.
15117 * sysdeps/x86_64/stack-aliasing.h: New file.
15118 * sysdeps/x86_64/nptl/Makefile
15119 (CFLAGS-pthread_create.c): Variable removed.
15121 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15122 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15124 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15125 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15128 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15130 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15131 (__ASSUME_SIGFRAME_V2): Remove macro.
15132 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15133 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15134 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15135 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15136 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15137 Declare as function. Remove conditional macro definitions.
15138 (__default_rt_sa_restorer): Likewise.
15139 (__default_sa_restorer_v1): Remove declaration.
15140 (__default_sa_restorer_v2): Likewise.
15141 (__default_rt_sa_restorer_v1): Likewise.
15142 (__default_rt_sa_restorer_v2): Likewise.
15143 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15144 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15145 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15147 2014-06-20 Roland McGrath <roland@hack.frob.com>
15149 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15150 (libpthread-routines): Add sysdep.
15151 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15152 * sysdeps/unix/sysv/linux/sparc/Versions
15153 (libpthread: GLIBC_2.3.3): New version set.
15154 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15155 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15156 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15157 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15158 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15159 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15161 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15162 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15163 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15164 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15165 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15166 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15167 * sysdeps/sparc/nptl/sem_init.c: ... here.
15168 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15169 * sysdeps/sparc/nptl/sem_post.c: ... here.
15170 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15171 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15172 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15173 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15174 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15175 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15176 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15177 (libpthread-routines): Add cpu_relax.
15178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15180 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15181 (librt: GLIBC_2.3.3): New version set.
15182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15183 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15184 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15185 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15188 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15191 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15193 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15195 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15197 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15199 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15202 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15206 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15210 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15214 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15218 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15222 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15225 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15231 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15233 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15236 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15238 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15240 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15242 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15244 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15245 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15246 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15247 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15248 * nscd/nscd.c: Likewise.
15249 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15250 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15251 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15252 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15254 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15255 <kernel-features.h>.
15256 (init_mq_netlink): Remove conditional have_sock_cloexec
15257 definitions. Remove code conditional on have_sock_cloexec < 0.
15258 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15259 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15260 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15261 <kernel-features.h>.
15262 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15263 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15265 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15268 Add tests for memset_chk and memset.
15270 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15273 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15276 * elf/tst-dl-iter-static.c: New file.
15277 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15279 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15282 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15284 * sysdeps/unix/sysv/linux/kernel-features.h
15285 (__ASSUME_F_GETOWN_EX): Remove macro.
15286 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15287 <kernel-features.h>.
15288 (miss_F_GETOWN_EX): Remove variable or macro.
15289 (do_fcntl): Do not check miss_F_GETOWN_EX.
15290 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15295 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15296 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15298 * sysdeps/unix/sysv/linux/kernel-features.h
15299 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15300 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15301 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15302 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15304 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15307 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15308 Fix calculation of the symbol's value.
15309 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15310 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15311 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15312 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15313 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15314 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15315 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15316 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15317 (modules-names): Add `tst-armtlsdescmod',
15318 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15319 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15320 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15321 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15322 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15323 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15324 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15325 ($(objpfx)tst-armtlsdescloc): New dependency.
15326 ($(objpfx)tst-armtlsdescextnow): Likewise.
15327 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15328 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15329 TLS scheme support.
15330 * sysdeps/arm/configure: Regenerate.
15332 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15334 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15335 (__atfct_seterrno_2): Likewise.
15336 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15337 <kernel-features.h>.
15338 (__ASSUME_ATFCTS): Do not undefine and redefine.
15339 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15340 (__have_atfcts): Remove conditional definition.
15341 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15342 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15343 unreachable if [__ASSUME_ATFCTS].
15344 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15345 not undefine and redefine.
15346 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15347 <kernel-features.h>.
15348 (faccessat) [__NR_faccessat]: Make code unconditional.
15349 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15350 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15351 <kernel-features.h>.
15352 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15353 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15354 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15355 <kernel-features.h>.
15356 (fchownat) [__NR_fchownat]: Make code unconditional.
15357 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15358 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15359 <kernel-features.h>.
15360 (futimesat) [__NR_futimesat]: Make code unconditional.
15361 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15362 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15363 <kernel-features.h>.
15364 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15365 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15366 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15367 <kernel-features.h>.
15368 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15369 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15370 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15371 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15372 <kernel-features.h>.
15373 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15374 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15375 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15376 <kernel-features.h>.
15377 (linkat) [__NR_linkat]: Make code unconditional.
15378 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15379 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15380 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15381 <kernel-features.h>.
15382 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15383 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15384 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15385 <kernel-features.h>.
15386 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15387 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15388 * sysdeps/unix/sysv/linux/openat.c: Do not include
15389 <kernel-features.h>.
15390 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15391 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15392 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15393 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15394 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15395 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15396 <kernel-features.h>.
15397 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15398 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15399 result of INLINE_SYSCALL directly, not via int variable.
15400 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15401 <kernel-features.h>.
15402 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15403 (renameat) [__NR_renameat]: Make code unconditional.
15404 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15405 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15406 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15407 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15408 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15409 (__ASSUME_ATFCTS): Do not undefine and redefine.
15410 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15411 <kernel-features.h>.
15412 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15413 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15414 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15415 <kernel-features.h>.
15416 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15417 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15418 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15419 (__ASSUME_ATFCTS): Do not undefine and redefine.
15420 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15421 <kernel-features.h>.
15422 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15423 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15424 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15425 <kernel-features.h>.
15426 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15427 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15429 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15431 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15433 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15436 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15437 constructed tree before returning error.
15438 * posix/bug-regexp36.c: Expand test case.
15440 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15443 * math/libm-test.inc (scalbln_test_date):
15444 Add errno expectations.
15445 * math/w_scalblnf.c: New File.
15446 Add wrapper which checks for setting errno to ERANGE.
15447 Add weak_alias for corresponding scalbln function.
15448 * math/w_scalbln.c: Likewise.
15449 * math/w_scalblnl.c: Likewise.
15450 * math/Makefile (libm-calls): Add w_scalbln.
15451 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15452 Remove weak_alias for corresponding scalbln function.
15453 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15457 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15458 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15459 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15460 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15461 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15462 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15463 Remove long_double_symbol for scalblnl function in libm, libc.
15464 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15465 Add wrapper which checks for setting errno to ERANGE.
15466 Add long_double_symbol for scalblnl function in libm, libc.
15467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15468 Remove long_double_symbol for scalblnl in libm.
15469 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15470 Add wrapper which checks for setting errno to ERANGE.
15471 Add long_double_symbol for scalblnl function in libm.
15472 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15473 Do not use wrapper because of own implementation.
15475 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15477 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15478 3 bytes for __pad1 for x32.
15479 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15481 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15482 H.J. Lu <hongjiu.lu@intel.com>
15484 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15485 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15486 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15487 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15488 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15490 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15493 * posix/regcomp.c (parse_expression): Deallocate partially
15494 constructed tree before returning error.
15495 * posix/Makefile.c (tests): Add bug-regex36.
15496 (generated): Add bug-regex36.mtrace.
15497 (tests-special): Add $(objpfx)bug-regex36-mem.out
15498 (bug-regex36-ENV): New variable.
15499 ($(objpfx)bug-regex36-mem.out): New rule.
15500 * posix/bug-regex36.c: New file.
15502 2014-06-19 Will Newton <will.newton@linaro.org>
15504 * malloc/malloc.c (systrim): If extra is zero then return
15507 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15509 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15511 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15513 * sysdeps/aarch64/strchr.S: New file.
15515 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15518 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15519 from arguments -2 or below.
15520 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15521 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15523 2014-06-18 Andreas Schwab <schwab@suse.de>
15526 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15527 of a bracket expr not to run off the end of the string.
15528 * posix/Makefile (tests): Add tst-fnmatch3.
15529 * posix/tst-fnmatch3.c: New file.
15531 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15533 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15534 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15535 [$(cross-compiling) = no]: Likewise.
15536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15537 [$(cross-compiling) = no]: Likewise.
15539 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15542 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15543 double, adjusted for any remainder from the high double.
15544 * math/libm-test.inc (nearbyint): Add tests.
15547 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15549 * nptl/sysdeps/powerpc/Makefile: Moved ...
15550 * sysdeps/powerpc/nptl/Makefile: ... here.
15551 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15552 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15553 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15554 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15555 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15556 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15557 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15558 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15559 * nptl/sysdeps/powerpc/tls.h: Moved ...
15560 * sysdeps/powerpc/nptl/tls.h: ... here.
15562 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15565 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15566 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15567 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15568 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15569 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15570 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15571 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15572 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15573 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15575 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15577 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15579 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15581 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15584 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15587 2014-06-16 Florian Weimer <fweimer@redhat.com>
15590 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15591 non-executed part of the test.
15593 2014-06-16 Andreas Schwab <schwab@suse.de>
15595 * string/bits/string2.h (strdup, strndup): Update feature guard.
15597 2014-06-14 David S. Miller <davem@davemloft.net>
15599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15601 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15603 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15604 that was previously under [RESET_PID].
15605 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15607 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15608 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15609 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15610 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15611 (__libc_vfork): New strong alias.
15612 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15614 2014-06-14 Andi Kleen <ak@linux.intel.com>
15616 * sysdeps/generic/elide.h: New file.
15618 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15620 * Makefile (installed-headers): Adjust path of pthread.h header.
15622 2014-06-13 Roland McGrath <roland@hack.frob.com>
15624 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15625 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15626 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15627 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15629 * nptl/sysdeps/s390/Makefile: Moved ...
15630 * sysdeps/s390/nptl/Makefile: ... here.
15631 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15632 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15633 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15634 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15635 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15636 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15637 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15638 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15639 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15640 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15641 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15642 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15643 * nptl/sysdeps/s390/tls.h: Moved ...
15644 * sysdeps/s390/nptl/tls.h: ... here.
15646 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15647 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15649 2014-06-13 David S. Miller <davem@davemloft.net>
15651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15659 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15660 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15661 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15662 Remove RESET_PID cpp guards.
15663 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15664 Remove RESET_PID cpp guards.
15665 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15667 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15669 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15672 2014-06-13 Andi Kleen <ak@linux.intel.com>
15674 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15675 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15676 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15677 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15678 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15679 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15680 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15681 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15682 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15683 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15684 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15685 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15686 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15687 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15688 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15689 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15690 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15691 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15692 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15693 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15695 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15696 (pthread_rwlock_rdlock): Add elision.
15697 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15698 (pthread_rwlock_wrlock): Add elision.
15699 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15700 (pthread_rwlock_trywrlock): Add elision.
15701 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15702 (pthread_rwlock_tryrdlock): Add elision.
15703 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15704 (pthread_rwlock_tryrdlock): Add elision unlock.
15705 * nptl/sysdeps/pthread/pthread.h:
15706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15707 (PTHREAD_RWLOCK_INITIALIZER,
15708 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15709 Handle new elision field.
15710 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15711 * sysdeps/arm/nptl/bits/pthreadtypes.h
15712 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15713 * sysdeps/sh/nptl/bits/pthreadtypes.h
15714 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15715 * sysdeps/tile/nptl/bits/pthreadtypes.h
15716 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15717 * sysdeps/a/nptl/bits/pthreadtypes.h
15718 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15719 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15720 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15721 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15722 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15723 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15725 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15726 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15727 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15728 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15729 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15730 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15731 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15733 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15735 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15736 (elision_init): Set try_xbegin to zero when no RTM.
15737 * sysdeps/x86/nptl/bits/pthreadtypes.h
15738 (pthread_rwlock_t): Change __pad1 to __rwelision.
15739 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15741 2014-06-13 Andi Kleen <ak@linux.intel.com>
15743 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15744 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15745 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15746 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15748 2014-06-13 Meador Inge <meadori@codesourcery.com>
15751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15752 that the cached result has been set before returning it.
15754 2014-06-12 Roland McGrath <roland@hack.frob.com>
15756 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15757 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15758 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15759 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15760 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15761 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15763 * nptl/sysdeps/sparc/Makefile: Moved ...
15764 * sysdeps/sparc/nptl/Makefile: ... here.
15765 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15766 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15767 * nptl/sysdeps/sparc/tls.h: Moved ...
15768 * sysdeps/sparc/nptl/tls.h: ... here.
15769 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15770 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15771 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15772 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15773 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15774 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15775 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15776 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15777 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15778 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15779 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15780 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15781 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15782 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15783 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15784 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15785 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15786 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15788 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15789 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15791 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15792 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15794 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15795 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15798 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15800 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15801 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15803 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15804 (struct list_links): Type removed.
15805 (struct thread_node, struct timer_node): Replace struct list_links
15806 with struct list_head.
15807 (list_unlink_ip): Likewise.
15808 * sysdeps/pthread/timer_routines.c
15809 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15810 (list_append, list_insbefore): Likewise.
15811 (list_init): Function removed.
15812 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15813 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15814 * sysdeps/pthread/Makefile: ... here, new file.
15816 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15817 * sysdeps/nptl/Implies: ... here.
15818 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15819 * nptl/sysdeps/pthread/list.h: Moved ...
15820 * include/list.h: ... here.
15821 * nptl/sysdeps/pthread/createthread.c: Moved ...
15822 * nptl/createthread.c: ... here.
15823 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15824 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15825 * nptl/pt-longjmp.c: ... here.
15826 * nptl/sysdeps/pthread/Makefile: Moved ...
15827 * sysdeps/nptl/Makefile: ... here.
15828 * nptl/sysdeps/pthread/Subdirs: Moved ...
15829 * sysdeps/nptl/Subdirs: ... here.
15830 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15831 * sysdeps/nptl/aio_misc.h: ... here.
15832 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15833 * sysdeps/nptl/bits/libc-lock.h: ... here.
15834 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15835 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15836 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15837 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15838 * nptl/sysdeps/pthread/configure: Moved ...
15839 * sysdeps/nptl/configure: ... here.
15840 * nptl/sysdeps/pthread/configure.ac: Moved ...
15841 * sysdeps/nptl/configure.ac: ... here.
15842 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15843 * sysdeps/nptl/gai_misc.h: ... here.
15844 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15845 * sysdeps/nptl/librt-cancellation.c: ... here.
15846 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15847 * sysdeps/nptl/malloc-machine.h: ... here.
15848 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15849 * sysdeps/nptl/pthread-functions.h: ... here.
15850 * nptl/sysdeps/pthread/pthread.h: Moved ...
15851 * sysdeps/nptl/pthread.h: ... here.
15852 * nptl/sysdeps/pthread/setxid.h: Moved ...
15853 * sysdeps/nptl/setxid.h: ... here.
15854 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15855 * sysdeps/nptl/sigfillset.c: ... here.
15856 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15857 * sysdeps/nptl/tcb-offsets.h: ... here.
15858 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15859 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15860 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15861 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15862 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15863 * sysdeps/pthread/allocalim.h: ... here.
15864 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15865 * sysdeps/pthread/bits/sigthread.h: ... here.
15866 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15867 * sysdeps/pthread/flockfile.c: ... here.
15868 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15869 * sysdeps/pthread/ftrylockfile.c: ... here.
15870 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15871 * sysdeps/pthread/funlockfile.c: ... here.
15872 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15873 * sysdeps/pthread/posix-timer.h: ... here.
15874 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15875 * sysdeps/pthread/timer_create.c: ... here.
15876 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15877 * sysdeps/pthread/timer_delete.c: ... here.
15878 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15879 * sysdeps/pthread/timer_getoverr.c: ... here.
15880 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15881 * sysdeps/pthread/timer_gettime.c: ... here.
15882 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15883 * sysdeps/pthread/timer_routines.c: ... here.
15884 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15885 * sysdeps/pthread/timer_settime.c: ... here.
15886 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15887 * sysdeps/pthread/tst-timer.c: ... here.
15888 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15889 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15891 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15892 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15894 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15895 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15896 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15897 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15898 Update #include target.
15899 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15900 * sysdeps/i386/i686/nptl/Makefile: ... here.
15901 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15902 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15903 Update #include target.
15904 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15905 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15906 * nptl/sysdeps/i386/Makefile: Moved ...
15907 * sysdeps/i386/nptl/Makefile: ... here.
15908 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15909 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15910 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15911 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15912 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15913 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15914 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15915 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15916 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15917 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15918 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15919 * nptl/sysdeps/i386/tls.h: Moved ...
15920 * sysdeps/i386/nptl/tls.h: ... here.
15922 * sysdeps/sh/Makefile [$(subdir) = csu]
15923 (gen-as-const-headers): Add tcb-offsets.sym.
15924 * nptl/sysdeps/sh/Makefile: File removed.
15925 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15926 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15927 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15928 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15929 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15930 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15931 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15932 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15933 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15934 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15935 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15936 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15937 * nptl/sysdeps/sh/tls.h: Moved ...
15938 * sysdeps/sh/nptl/tls.h: ... here.
15939 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15940 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15941 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15942 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15943 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15944 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15945 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15946 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15947 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15948 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15949 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15950 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15951 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15952 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15953 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15954 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15955 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15956 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15957 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15958 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15959 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15960 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15961 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15962 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15963 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15965 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15966 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15968 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15970 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15971 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15972 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15974 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15975 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15976 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15977 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15978 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15979 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15980 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15981 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15982 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15983 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15984 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15985 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15986 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15988 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15990 * posix/spawn_faction_addopen.c: Include string.h.
15992 2014-06-11 Roland McGrath <roland@hack.frob.com>
15994 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15995 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15996 * nptl/sysdeps/x86_64/Makefile: Moved ...
15997 * sysdeps/x86_64/nptl/Makefile: ... here.
15998 * nptl/sysdeps/x86_64/configure: Moved ...
15999 * sysdeps/x86_64/nptl/configure: ... here.
16000 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16001 * sysdeps/x86_64/nptl/configure.ac: ... here.
16002 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16003 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16004 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16005 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16006 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16007 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16008 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16009 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16010 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16011 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16012 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16013 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16014 * nptl/sysdeps/x86_64/tls.h: Moved ...
16015 * sysdeps/x86_64/nptl/tls.h: ... here.
16016 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16017 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16018 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16019 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16021 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16023 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16027 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16029 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16031 [POSIX] (off_t): Likewise.
16032 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16033 [POSIX] (S_ISBLK): Require macro.
16034 [POSIX] (S_ISCHR): Likewise.
16035 [POSIX] (S_ISDIR): Likewise.
16036 [POSIX] (S_ISFIFO): Likewise.
16037 [POSIX] (S_ISREG): Likewise.
16038 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16040 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16042 [POSIX] (time_t): Likewise.
16043 [POSIX] (timer_t): Likewise.
16045 2014-06-11 Florian Weimer <fweimer@redhat.com>
16048 * posix/spawn_int.h (struct __spawn_action): Make the path string
16049 non-const to support deallocation.
16050 * posix/spawn_faction_addopen.c
16051 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16052 * posix/spawn_faction_destroy.c
16053 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16054 path in all spawn_do_open actions.
16055 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16056 posix_spawn_file_actions_addopen.
16058 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16060 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16061 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16062 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16063 conditional code always true.
16064 (__libc_vfork): New alias.
16066 2014-06-11 Roland McGrath <roland@hack.frob.com>
16068 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16069 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16071 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16073 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16074 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16076 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16077 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16079 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16080 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16082 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16084 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16085 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16086 multiarch strcmp for PPC64.
16087 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16088 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16090 multiarch optimizations.
16091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16092 (__libc_ifunc_impl_list): Likewise.
16094 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16096 * benchtests/scripts/validate_benchout.py: New script.
16097 * benchtests/Makefile (bench-func): Call it.
16098 * benchtests/scripts/benchout.schema.json: New file.
16100 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16102 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16103 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16104 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16105 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16106 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16107 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16108 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16109 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16110 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16111 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16112 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16113 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16114 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16115 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16116 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16117 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16222 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16223 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16224 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16225 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16227 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16229 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16230 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16231 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16232 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16233 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16234 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16235 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16236 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16237 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16238 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16239 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16240 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16243 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16244 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16246 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16248 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16249 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16251 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16252 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16253 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16254 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16255 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16256 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16257 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16259 2014-06-10 Wilco <wdijkstr@arm.com>
16261 * math/test-fenv-return.c: New file.
16262 * math/Makefile: Add new test test-fenv-return.
16264 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16267 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16268 when x - 1 is zero.
16269 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16270 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16271 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16272 0.0L for an argument of 1.0L.
16273 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16275 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16276 value when x - 1 is zero.
16277 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16278 * sysdeps/i386/fpu/libm-test-ulps: Update.
16279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16281 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16284 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16286 2014-06-09 Roland McGrath <roland@hack.frob.com>
16288 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16289 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16291 2014-06-09 Roland McGrath <roland@hack.frob.com>
16293 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16294 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16296 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16297 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16299 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16300 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16302 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16303 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16305 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16306 if not already defined.
16307 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16308 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16309 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16310 (TLS_INIT_TP): Use it.
16311 (TLS_DEFINE_INIT_TP): New macro.
16312 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16314 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16316 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16318 [POSIX] (IXANY): Likewise.
16319 [POSIX] (OLCUC): Likewise.
16320 [POSIX || POSIX2008] (CBAUD): Do not allow.
16321 [POSIX || POSIX2008] (DEFECHO): Likewise.
16322 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16323 [POSIX || POSIX2008] (ECHOKE): Likewise.
16324 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16325 [POSIX || POSIX2008] (EXTA): Likewise.
16326 [POSIX || POSIX2008] (EXTB): Likewise.
16327 [POSIX || POSIX2008] (FLUSHO): Likewise.
16328 [POSIX || POSIX2008] (LOBLK): Likewise.
16329 [POSIX || POSIX2008] (PENDIN): Likewise.
16330 [POSIX || POSIX2008] (SWTCH): Likewise.
16331 [POSIX || POSIX2008] (VDISCARD): Likewise.
16332 [POSIX || POSIX2008] (VDSUSP): Likewise.
16333 [POSIX || POSIX2008] (VLNEXT): Likewise.
16334 [POSIX || POSIX2008] (VREPRINT): Likewise.
16335 [POSIX || POSIX2008] (VSTATUS): Likewise.
16336 [POSIX || POSIX2008] (VWERASE): Likewise.
16337 (B*): Change to B[0123456789]*.
16338 * conform/data/time.h-data [POSIX || UNIX98]
16339 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16340 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16341 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16342 [POSIX] (tm_*): Do not allow.
16344 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16346 * Makefile (install): Don't set LANGUAGE.
16347 * Makefile.in (install): Likewise.
16348 * assert/Makefile (test-assert-ENV): Remove variable.
16349 (test-assert-perr-ENV): Likewise.
16350 * elf/Makefile (neededtest4-ENV): Likewise.
16351 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16352 [$(cross-compiling) = no]: Don't set LANGUAGE.
16353 * io/ftwtest-sh (LANG): Remove variable.
16354 * libio/Makefile (tst-widetext-ENV): Likewise.
16355 * manual/install.texi (Running make install): Don't refer to
16356 environment settings for make install.
16357 * INSTALL: Regenerated.
16358 * nptl/tst-tls6.sh: Don't set LANG.
16359 * posix/globtest.sh (LANG): Remove variable.
16360 * string/Makefile (tester-ENV): Likewise.
16361 (inl-tester-ENV): Likewise.
16362 (noinl-tester-ENV): Likewise.
16363 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16364 [$(cross-compiling) = no]: Don't set LANGUAGE.
16365 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16366 without explicit environment settings.
16368 2014-06-06 Roland McGrath <roland@hack.frob.com>
16370 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16371 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16372 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16373 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16375 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16377 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16378 other files in the crypt directory.
16379 * crypt/crypt.c: Remove duplicate includes.
16380 * crypt/crypt-entry.c: Likewise.
16381 * crypt/crypt_util.c: Likewise.
16383 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16385 * Makeconfig (run-program-env): New variable.
16386 (run-program-prefix-before-env): Likewise.
16387 (run-program-prefix-after-env): Likewise.
16388 (run-program-prefix): Define in terms of new variables.
16389 (built-program-cmd-before-env): New variable.
16390 (built-program-cmd-after-env): Likewise.
16391 (built-program-cmd): Define in terms of new variables.
16392 (test-program-prefix-before-env): New variable.
16393 (test-program-prefix-after-env): Likewise.
16394 (test-program-prefix): Define in terms of new variables.
16395 (test-program-cmd-before-env): New variable.
16396 (test-program-cmd-after-env): Likewise.
16397 (test-program-cmd): Define in terms of new variables.
16398 * Rules (make-test-out): Use $(run-program-env).
16399 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16400 (help): Do not mention environment variables. Mention
16401 --timeoutfactor option.
16402 (timeoutfactor): New variable.
16403 (blacklist_exports): Remove function.
16404 (exports): Remove variable.
16405 (command): Do not include ${exports}.
16406 * manual/install.texi (Configuring and compiling): Do not mention
16407 test wrappers preserving environment variables. Mention that last
16408 assignment to a variable must take precedence.
16409 * INSTALL: Regenerated.
16410 * benchtests/Makefile (run-bench): Use $(run-program-env).
16411 * catgets/Makefile ($(objpfx)test1.cat): Use
16412 $(built-program-cmd-before-env), $(run-program-env) and
16413 $(built-program-cmd-after-env).
16414 ($(objpfx)test2.cat): Do not specify environment variables
16416 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16417 $(run-program-env) and $(built-program-cmd-after-env).
16418 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16419 $(run-program-env) and $(test-program-cmd-after-env).
16420 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16422 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16423 run_program_env and test_program_cmd_after_env arguments.
16424 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16425 * elf/tst-pathopt.sh: Use run_program_env argument.
16426 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16427 $(test-wrapper-env) and $(run-program-env).
16428 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16429 run_program_env arguments.
16430 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16431 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16432 $(test-program-prefix-before-env), $(run-program-env) and
16433 $(test-program-prefix-after-env).
16434 ($(objpfx)tst-gettext2.out): Likewise.
16435 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16436 run_program_env and test_program_prefix_after_env arguments.
16437 * intl/tst-gettext2.sh: Likewise.
16438 * intl/tst-gettext4.sh: Do not set environment variables
16440 * intl/tst-gettext6.sh: Likewise.
16441 * intl/tst-translit.sh: Likewise.
16442 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16443 $(test-program-prefix-before-env), $(run-program-env) and
16444 $(test-program-prefix-after-env).
16445 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16446 run_program_env and test_program_prefix_after_env arguments.
16447 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16448 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16449 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16450 explicitly with each use of ${test_wrapper_env}.
16451 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16452 $(test-program-prefix-before-env), $(run-program-env) and
16453 $(test-program-prefix-after-env).
16454 * posix/tst-getconf.sh: Do not set environment variables
16456 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16457 run_program_env and test_program_prefix_after_env arguments.
16458 * stdio-common/tst-printf.sh: Do not set environment variables
16460 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16461 $(test-program-prefix-before-env), $(run-program-env) and
16462 $(test-program-prefix-after-env).
16463 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16464 run_program_env and test_program_prefix_after_env arguments.
16465 Split $test calls into $test_pre and $test.
16466 * timezone/Makefile (build-testdata): Use
16467 $(built-program-cmd-before-env), $(run-program-env) and
16468 $(built-program-cmd-after-env).
16470 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16472 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16473 strlen for non SHARED builds.
16475 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16477 * nptl/allocatestack.c (check_list): Inlined function...
16478 (__reclaim_stacks): ... here.
16480 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16483 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16486 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16488 * Rules (make-test-out): Include
16489 LOCPATH=$(common-objpfx)localedata in default environment.
16490 * debug/Makefile (tst-chk1-ENV): Remove variable.
16491 (tst-chk2-ENV): Likewise.
16492 (tst-chk3-ENV): Likewise.
16493 (tst-chk4-ENV): Likewise.
16494 (tst-chk5-ENV): Likewise.
16495 (tst-chk6-ENV): Likewise.
16496 (tst-lfschk1-ENV): Likewise.
16497 (tst-lfschk2-ENV): Likewise.
16498 (tst-lfschk3-ENV): Likewise.
16499 (tst-lfschk4-ENV): Likewise.
16500 (tst-lfschk5-ENV): Likewise.
16501 (tst-lfschk6-ENV): Likewise.
16502 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16503 (tst-iconv7-ENV): Likewise.
16504 * intl/Makefile (LOCPATH-ENV): Likewise.
16505 (tst-codeset-ENV): Likewise.
16506 (tst-gettext3-ENV): Likewise.
16507 (tst-gettext5-ENV): Likewise.
16508 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16509 (tst-fopenloc-ENV): Likewise.
16510 (tst-fgetws-ENV): Remove variable.
16511 (tst-ungetwc1-ENV): Likewise.
16512 (tst-ungetwc2-ENV): Likewise.
16513 (bug-ungetwc2-ENV): Likewise.
16514 (tst-swscanf-ENV): Likewise.
16515 (bug-ftell-ENV): Likewise.
16516 (tst-fgetwc-ENV): Likewise.
16517 (tst-fseek-ENV): Likewise.
16518 (tst-ftell-partial-wide-ENV): Likewise.
16519 (tst-ftell-active-handler-ENV): Likewise.
16520 (tst-ftell-append-ENV): Likewise.
16521 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16522 (tst-regexloc-ENV): Likewise.
16523 (bug-regex1-ENV): Likewise.
16524 (tst-regex-ENV): Likewise.
16525 (tst-regex2-ENV): Likewise.
16526 (bug-regex5-ENV): Likewise.
16527 (bug-regex6-ENV): Likewise.
16528 (bug-regex17-ENV): Likewise.
16529 (bug-regex18-ENV): Likewise.
16530 (bug-regex19-ENV): Likewise.
16531 (bug-regex20-ENV): Likewise.
16532 (bug-regex22-ENV): Likewise.
16533 (bug-regex23-ENV): Likewise.
16534 (bug-regex25-ENV): Likewise.
16535 (bug-regex26-ENV): Likewise.
16536 (bug-regex30-ENV): Likewise.
16537 (bug-regex32-ENV): Likewise.
16538 (bug-regex33-ENV): Likewise.
16539 (bug-regex34-ENV): Likewise.
16540 (bug-regex35-ENV): Likewise.
16541 (tst-rxspencer-ENV): Likewise.
16542 (tst-rxspencer-no-utf8-ENV): Likewise.
16543 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16544 (tst-sscanf-ENV): Likewise.
16545 (tst-swprintf-ENV): Likewise.
16546 (tst-swscanf-ENV): Likewise.
16547 (test-vfprintf-ENV): Likewise.
16548 (scanf13-ENV): Likewise.
16549 (bug14-ENV): Likewise.
16550 (tst-grouping-ENV): Likewise.
16551 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16552 (tst-strtod3-ENV): Likewise.
16553 (tst-strtod4-ENV): Likewise.
16554 (tst-strtod5-ENV): Likewise.
16555 (testmb2-ENV): Likewise./
16556 * string/Makefile (tst-strxfrm-ENV): Likewise.
16557 (tst-strxfrm2-ENV): Likewise.
16558 (bug-strcoll1-ENV): Likewise.
16559 (test-strcasecmp-ENV): Likewise.
16560 (test-strncasecmp-ENV): Likewise.
16561 * time/Makefile (tst-strptime-ENV): Likewise.
16562 (tst-ftime_l-ENV): Likewise.
16563 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16564 (tst-mbrtowc-ENV): Likewise.
16565 (tst-wcrtomb-ENV): Likewise.
16566 (tst-mbrtowc2-ENV): Likewise.
16567 (tst-c16c32-1-ENV): Likewise.
16568 (tst-mbsnrtowcs-ENV): Likewise.
16570 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16572 * manual/resource.texi (How to get information about the memory
16573 subsystem?): Fix typo.
16574 Reported by Peon de la Parra Ivan <peon@keba.com>
16576 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16579 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16580 (pthread_spin_lock): Branch out of spin loop to proper location.
16581 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16582 (pthread_spin_lock): Likewise.
16584 * nptl/tst-spin4.c: New test.
16585 * nptl/Makefile (tests): Add tst-spin4.
16587 2014-06-03 Andreas Schwab <schwab@suse.de>
16590 * resolv/res_send.c (send_dg): Reload file descriptor after
16593 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16595 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16597 2014-06-03 Richard Henderson <rth@redhat.com>
16599 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16600 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16601 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16602 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16603 in the SAVE_PID block.
16604 (__libc_vfork): New alias.
16605 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16607 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16608 child in registers, not on the stack. Remove RESET_PID conditionals.
16609 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16611 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16613 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16615 2014-06-03 Wilco <wdijkstr@arm.com>
16617 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16618 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16619 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16620 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16621 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16624 2014-06-03 Wilco <wdijkstr@arm.com>
16626 * sysdeps/aarch64/fpu/math_private.h
16627 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16628 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16629 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16630 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16633 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16635 * crypt/crypt-private.h: Include ufc-crypt.h.
16636 (__b64_from_24bit): Declare extern.
16637 * crypt/crypt_util.c(__b64_from_24bit): New function.
16638 (b64t): New static const variable.
16639 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16640 (b64t): Remove variable.
16641 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16642 * crypt/sha256-crypt.c: Include crypt-private.h.
16643 (b64t): Remove variable.
16644 (__sha256_crypt_r): Remove b64_from_24bit and replace
16645 with __b64_from_24bit.
16646 * crypt/sha512-crypt.c: Likewise.
16648 2014-06-02 Roland McGrath <roland@hack.frob.com>
16650 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16651 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16652 Label the code __libc_vfork rather than __vfork.
16653 [!NOT_IN_libc] (vfork): Define as weak alias.
16654 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16655 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16656 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16658 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16660 * malloc/malloc.c (malloc_info): Fix format specifier for
16663 2014-06-02 Wilco <wdijkstr@arm.com>
16665 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16668 2014-06-02 Wilco <wdijkstr@arm.com>
16671 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16672 Rewrite to reduce FPCR/FPSR accesses.
16674 2014-06-01 David S. Miller <davem@davemloft.net>
16676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16678 2014-05-31 David S. Miller <davem@davemloft.net>
16680 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16681 to occur in round to nearest mode when |x| >= 2.0
16683 2014-05-30 Richard Henderson <rth@twiddle.net>
16685 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16686 (PSEUDO_RET_NOERRNO): Remove.
16687 (ret): Don't redefine.
16688 (ret_NOERRNO): Define in terms of ret.
16689 (ret_ERRVAL): Likewise.
16691 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16692 use of PSEUDO_RET; perform the error check directly.
16694 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16696 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16699 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16701 * malloc/malloc (malloc_info): Fix formatting.
16703 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16704 Roland McGrath <roland@hack.frob.com>
16706 * malloc/malloc (malloc_info): Also print mmapped statistics.
16708 2014-05-30 Roland McGrath <roland@hack.frob.com>
16710 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16711 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16713 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16715 * malloc/malloc.c (malloc_info): Inline mi_arena.
16717 2014-05-29 Richard Henderson <rth@twiddle.net>
16719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16720 Remove comma before expanding ASM_ARGS_##nr.
16721 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16722 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16724 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16725 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16726 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16727 (ASM_ARGS_1): Add leading comma.
16729 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16730 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16731 to __errno_location.
16732 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16733 Remove the expected plt for __errno_location.
16735 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16736 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16739 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16740 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16741 it and break it down.
16742 (DOCARGS_0, DOCARGS_1): Do nothing.
16743 (DOCARGS_2): Update to store into the new stack frame.
16744 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16745 (UNDOCARGS_1): Update to restore from the new stack frame.
16746 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16747 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16749 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16750 (SINGLE_THREAD_P): New parameter for result regno.
16751 (PSEUDO): Update to match; use cbz instead of beq.
16753 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16754 Use ENTRY to define the _nocancel entry point. Share the syscall
16755 and syscall error check paths with the cancel path.
16758 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16759 whitespace; tabs before and after asm mnemonics.
16761 2014-05-29 Eric Wong <normalperson@yhbt.net>
16764 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16765 Call fstat64 or stat64 internally, depending on arguments passed.
16766 Replace stat buffer argument with file descriptor argument.
16767 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16768 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16769 Pass fd to __internal_statvfs instead of calling fstat64.
16770 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16771 Pass fd to __internal_statvfs64 instead of calling fstat64.
16772 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16773 Pass -1 to __internal_statvfs instead of calling stat64.
16774 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16775 Pass -1 to __internal_statvfs64 instead of calling stat64.
16777 2014-05-28 Roland McGrath <roland@hack.frob.com>
16779 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16780 that was previously under [RESET_PID].
16781 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16783 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16784 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16786 2014-05-27 Roland McGrath <roland@hack.frob.com>
16788 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16790 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16791 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16793 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16795 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16797 2014-05-27 Andreas Schwab <schwab@suse.de>
16799 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16801 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16802 * elf/rtld.c (init_tls, dl_main): Likewise.
16803 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16804 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16805 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16806 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16807 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16808 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16809 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16810 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16811 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16812 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16813 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16814 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16815 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16816 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16817 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16818 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16819 * sysdeps/generic/tls.h: Update description.
16821 2014-05-27 Will Newton <will.newton@linaro.org>
16824 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16825 and restore r2 rather than just restoring.
16827 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16830 * libio/tst-ftell-append.c: New test case.
16831 * libio/Makefile (tests): Add test case.
16832 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16834 * libio/wfileops.c (do_ftell_wide): Likewise.
16836 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16840 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16844 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16845 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16846 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16847 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16848 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16849 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16856 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16857 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16858 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16859 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16860 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16862 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16863 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16865 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16867 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16869 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16870 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16871 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16873 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16874 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16875 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16876 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16878 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16881 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16887 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16899 conditional [RESET_PID].
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16901 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16908 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16909 (__libc_vfork): New strong alias.
16910 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16917 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16918 (__libc_vfork): New strong alias.
16919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16924 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16926 * malloc/malloc.c (mi_arena): New function.
16927 (malloc_info): Remove nested function mi_arena. Call non-nosted
16930 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16932 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16934 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16935 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16936 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16937 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16938 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16939 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16942 2014-05-26 Andreas Schwab <schwab@suse.de>
16945 * locale/programs/repertoire.c (repertoire_read): Add slash
16946 between I18NPATH element and file name.
16947 * locale/programs/locfile.c (locfile_read): Likewise.
16949 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16951 * nptl/pthread_mutexattr_settype.c
16952 (__pthread_mutexattr_settype):
16953 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16955 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16957 * nptl/tst-mutex5 (do_test):
16958 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16960 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16962 * benchtests/README: Document 'init' directive.
16963 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16965 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16966 (parse_file): Recognize 'init' directive.
16968 2014-05-26 Kyle McMartin <kyle@redhat.com>
16971 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16972 alignment of struct pthread.
16974 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16977 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16978 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16979 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16980 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16982 2014-05-25 Richard Henderson <rth@twiddle.net>
16984 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16985 (SINGLE_THREAD_P_PIC): Remove.
16986 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16987 (SINGLE_THREAD_P_PIC): Remove.
16989 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16990 branch to syscall error ...
16991 (PSEUDO): ... here.
16992 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16993 from __local_syscall_error to .Lsyscall_error.
16994 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16995 (SYSCALL_ERROR): Update label name.
16997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16998 Do not use DOARGS/UNDOARGS.
16999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17000 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17001 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17002 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17003 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17008 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17009 define if !NOT_IN_libc.
17010 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17011 define with non-default symbol versions.
17013 2014-05-23 Richard Henderson <rth@twiddle.net>
17015 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17016 (vfork, __vfork): Define via compat_symbol.
17018 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17019 [!HAVE_IFUNC] (vfork_compat): Remove.
17020 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17022 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17025 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17026 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17029 2014-05-23 Richard Henderson <rth@twiddle.net>
17031 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17032 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17033 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17034 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17036 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17037 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17038 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17039 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17040 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17041 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17042 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17043 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17044 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17045 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17046 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17047 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17048 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17049 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17050 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17051 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17052 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17053 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17054 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17055 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17056 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17057 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17058 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17059 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17060 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17062 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17063 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17064 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17065 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17066 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17067 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17068 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17069 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17070 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17071 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17072 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17073 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17074 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17075 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17076 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17077 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17078 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17079 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17080 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17081 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17082 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17083 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17084 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17085 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17086 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17087 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17088 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17089 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17090 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17091 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17093 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17094 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17095 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17096 before exiting on error.
17097 (__libc_vfork): New strong alias.
17098 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17099 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17101 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17102 that was previously under [RESET_PID].
17103 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17105 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17107 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17110 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17111 value when x - 1 is zero.
17112 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17113 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17114 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17115 0.0L for an argument of 1.0L.
17116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17118 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17119 value when x - 1 is zero.
17120 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17121 * sysdeps/i386/fpu/libm-test-ulps: Update.
17122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17126 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17127 alphasort and versionsort.
17129 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17131 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17133 [copysignf]: Likewise.
17135 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17137 * crypt/md5-crypt.c: Fix formatting.
17139 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17141 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17142 (b64_from_24bit): New function.
17144 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17147 libc_hidden_builtin_def to ifunc.
17148 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17149 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17151 2014-05-21 Roland McGrath <roland@hack.frob.com>
17153 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17154 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17156 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17158 * nscd/Depend (linuxthreads): Remove.
17160 * resolv/Depend (linuxthreads): Remove.
17161 * rt/Depend (linuxthreads): Remove.
17163 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17164 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17165 $(common-objpfx)elf/.
17166 (link-libc-before-gnulib): Likewise.
17167 (elfobjdir): Remove variable.
17168 * Makefile (install): Use $(elf-objpfx) instead of
17169 $(common-objpfx)elf/.
17170 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17172 (link-libc-deps): Likewise.
17173 ($(common-objpfx)libc.so): Likewise.
17174 ($(common-objpfx)linkobj/libc.so): Likewise.
17175 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17176 instead of $(common-objpfx)elf/.
17177 (symbolic-link-list): Likewise.
17178 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17179 [$(cross-compiling) = no]: Likewise.
17180 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17182 (static-gnulib-arch): Likewise.
17183 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17184 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17185 $(common-objpfx)elf/.
17187 2014-05-21 Richard Henderson <rth@redhat.com>
17189 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17190 (SINGLE_THREAD_P): Use the correct width load. Fold
17191 into the ldr offset.
17193 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17194 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17196 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17198 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17199 (libgcc_s_resume): Use __attribute_used__.
17200 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17203 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17205 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17206 optimization when used with float constants.
17208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17210 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17213 * locale/nl_langinfo_l.c: Make direct reference to every
17214 _nl_current_CATEGORY symbol.
17215 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17216 (tests-static): Add tst-langinfo-static.
17217 (tests-special): Add tst-langinfo-static.out.
17218 ($(objpfx)tst-langinfo.out): Redirect output.
17219 ($(objpfx)tst-langinfo-static.out): New.
17220 * localedata/tst-langinfo.sh: Send output to stdout.
17221 * localedata/tst-langinfo-static.c: New file.
17224 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17225 when the shift amount is modulo the limb size.
17227 2014-05-20 Richard Henderson <rth@redhat.com>
17230 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17231 Change type of sa_flags from unsigned int to int.
17234 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17236 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17238 2014-05-20 Will Newton <will.newton@linaro.org>
17240 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17241 Test the return value of the system call in the nocancel case.
17243 2014-05-20 Will Newton <will.newton@linaro.org>
17244 Yvan Roux <yvan.roux@linaro.org>
17246 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17247 #include of asm/ptrace.h.
17248 (PTRACE_GET_THREAD_AREA): Remove #undef.
17249 (PTRACE_GETHBPREGS): Likewise.
17250 (PTRACE_SETHBPREGS): Likewise.
17251 (struct user_regs_struct): New structure.
17252 (struct user_fpsimd_struct): New structure.
17253 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17254 #include of asm/ptrace.h and second #include of sys/user.h.
17255 (PTRACE_GET_THREAD_AREA): Remove #undef.
17256 (PTRACE_GETHBPREGS): Likewise.
17257 (PTRACE_SETHBPREGS): Likewise.
17258 (ELF_NGREG): Use new struct user_regs_struct.
17259 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17261 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17263 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17264 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17266 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17270 membar to avoid block loads/stores to overlap previous stores.
17272 2014-05-17 Richard Henderson <rth@redhat.com>
17274 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17275 Create the __##syscall_name##_nocancel entry point.
17276 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17277 Remove; let the sysdep-cancel.h code create it.
17279 2014-05-17 David S. Miller <davem@davemloft.net>
17281 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17282 Protect with __USE_GNU.
17283 (TIOCSET_TEMPT): Likewise.
17284 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17285 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17286 these are already provided in bits/ioctl-types.h
17288 2014-05-16 Roland McGrath <roland@hack.frob.com>
17290 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17291 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17293 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17294 Use wait4 regardless of [__NR_waitpid].
17296 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17299 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17300 (_FP_NANSIGN_Q): Set the quiet bit.
17302 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17304 * benchtests/Makefile
17305 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17306 not $(common-objpfx)math/libm.so.
17307 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17308 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17309 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17310 $(common-objpfx)dlfcn/libdl.so.
17311 ($(objpfx)tst-audit8): Depend on $(libm), not
17312 $(common-objpfx)math/libm.so.
17313 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17314 not $(common-objpfx)dlfcn/libdl.so.
17316 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17317 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17318 [$(build-shared) = yes].
17319 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17320 $(common-objpfx)nptl/libpthread.so.
17321 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17322 $(common-objpfx)math/libm.so$(libm.so-version) or
17323 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17324 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17325 $(common-objpfx)dlfcn/libdl.so.
17326 * setjmp/Makefile (link-libm): Remove variable.
17327 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17328 * stdio-common/Makefile (link-libm): Remove variable.
17329 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17330 * stdlib/Makefile (link-libm): Remove variable.
17331 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17332 ($(objpfx)tst-strtod-round): Likewise.
17333 ($(objpfx)tst-tininess): Likewise.
17334 ($(objpfx)tst-strtod-underflow): Likewise.
17335 ($(objpfx)tst-strtod6): Likewise.
17336 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17337 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17338 $(common-objpfx)dlfcn/libdl.so.
17340 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17342 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17343 BSD terminal modes definitions.
17345 2014-05-16 Roland McGrath <roland@hack.frob.com>
17347 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17348 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17350 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17351 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17352 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17353 Don't do #include_next.
17354 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17355 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17356 Don't do #include_next.
17357 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17358 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17359 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17360 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17362 2014-05-16 Allan McRae <allan@archlinux.org>
17364 * po/sv.po: Update Swedish translation from translation project.
17366 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17369 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17372 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17373 errno if the TIOCGPTN ioctl fails with an error different than
17375 * login/tst-ptsname.c: New file.
17376 * login/Makefile (tests): Add tst-ptsname.
17379 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17382 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17386 herrno to return EAI_AGAIN.
17388 2014-05-14 Roland McGrath <roland@hack.frob.com>
17390 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17391 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17392 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17393 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17394 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17395 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17397 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17399 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17400 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17401 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17403 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17404 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17405 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17406 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17407 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17408 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17409 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17410 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17411 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17412 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17413 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17414 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17415 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17416 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17417 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17418 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17419 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17421 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17423 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17426 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17428 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17430 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17432 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17434 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17436 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17438 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17440 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17442 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17444 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17446 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17448 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17450 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17452 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17455 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17457 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17459 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17461 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17463 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17465 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17469 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17471 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17473 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17476 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17478 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17480 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17481 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17482 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17483 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17484 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17485 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17486 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17487 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17488 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17489 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17490 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17492 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17493 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17494 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17495 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17496 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17497 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17498 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17500 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17501 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17502 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17503 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17504 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17505 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17506 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17507 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17508 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17509 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17510 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17512 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17513 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17515 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17516 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17517 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17518 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17519 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17520 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17525 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17528 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17529 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17531 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17532 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17533 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17534 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17536 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17537 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17538 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17539 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17540 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17541 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17542 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17543 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17545 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17546 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17548 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17550 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17551 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17552 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17553 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17554 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17556 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17558 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17560 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17562 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17563 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17564 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17565 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17567 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17568 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17570 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17573 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17574 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17576 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17577 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17578 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17579 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17581 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17582 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17583 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17584 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17585 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17586 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17587 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17588 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17590 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17591 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17593 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17595 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17596 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17597 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17598 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17599 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17601 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17603 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17605 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17606 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17607 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17608 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17609 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17610 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17612 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17613 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17614 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17617 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17619 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17622 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17623 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17625 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17626 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17627 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17628 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17629 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17630 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17632 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17633 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17634 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17635 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17636 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17637 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17638 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17639 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17641 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17642 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17644 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17646 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17647 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17648 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17649 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17650 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17652 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17654 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17657 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17658 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17659 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17660 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17661 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17662 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17663 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17664 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17665 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17666 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17668 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17669 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17671 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17672 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17674 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17675 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17676 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17677 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17678 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17679 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17680 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17681 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17682 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17683 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17684 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17685 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17686 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17687 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17688 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17689 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17690 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17691 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17693 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17694 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17695 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17696 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17698 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17699 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17700 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17701 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17702 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17703 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17704 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17705 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17707 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17708 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17712 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17713 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17714 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17715 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17716 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17717 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17718 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17719 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17720 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17721 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17722 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17723 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17724 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17725 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17726 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17728 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17729 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17730 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17731 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17732 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17734 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17735 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17736 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17737 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17738 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17739 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17740 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17741 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17742 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17743 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17745 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17746 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17748 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17749 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17751 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17753 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17754 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17755 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17756 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17757 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17758 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17759 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17760 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17761 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17768 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17770 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17786 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17787 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17789 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17791 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17792 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17793 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17794 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17795 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17799 that was previously under [RESET_PID].
17800 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17801 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17802 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17804 * sysdeps/i386/nptl/Implies: New file.
17805 * sysdeps/x86_64/nptl/Implies: New file.
17806 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17807 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17808 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17809 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17811 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17812 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17813 (__libc_vfork): New strong alias.
17814 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17815 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17817 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17818 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17819 (__libc_vfork): New strong alias.
17820 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17821 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17823 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17824 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17825 (__libc_vfork): New strong alias.
17826 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17827 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17828 * nptl/pt-vfork.c: New file.
17829 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17830 (libpthread: GLIBC_2.20): New version set (empty).
17832 2014-05-14 Will Newton <will.newton@linaro.org>
17834 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17837 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17840 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17841 arguments with exponent 65 or above.
17842 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17843 arguments 0x1p113L or above.
17844 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17845 to arguments 0x1p107L or above.
17846 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17847 positive arguments with exponent 65 or above.
17848 * math/auto-libm-test-in: Add more tests of log1p.
17849 * math/auto-libm-test-out: Regenerated.
17852 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17853 non-finite arguments is +0.
17854 * math/s_cacosf.c (__cacosf): Likewise.
17855 * math/s_cacosl.c (__cacosl): Likewise.
17856 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17857 * sysdeps/i386/fpu/libm-test-ulps: Update.
17858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17861 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17863 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17864 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17865 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17866 for explicit high bit of mantissa when testing for argument equal
17868 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17869 * sysdeps/i386/fpu/libm-test-ulps: Update.
17870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17873 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17874 (__erf): Scale by 16 instead of 8 in potentially underflowing
17875 case. Ensure exception if result actually underflows.
17876 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17877 (__erff): Scale by 16 instead of 8 in potentially underflowing
17878 case. Ensure exception if result actually underflows.
17879 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17880 (efx8): Remove variable.
17881 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17882 case. Ensure exception if result actually underflows.
17883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17884 (efx8): Remove variable.
17885 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17886 case. Ensure exception if result actually underflows.
17887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17888 (efx8): Remove variable.
17889 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17890 case. Ensure exception if result actually underflows.
17891 * math/auto-libm-test-in: Add more tests of erf.
17892 * math/auto-libm-test-out: Regenerated.
17894 2014-05-14 Andreas Schwab <schwab@suse.de>
17896 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17897 Remove code conditionalized on USE___THREAD.
17899 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17900 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17903 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17905 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17906 Define unconditionally.
17907 (__ASSUME_O_CLOEXEC): Likewise.
17908 (__ASSUME_SOCK_CLOEXEC): Likewise.
17909 (__ASSUME_IN_NONBLOCK): Likewise.
17910 (__ASSUME_PIPE2): Likewise.
17911 (__ASSUME_EVENTFD2): Likewise.
17912 (__ASSUME_SIGNALFD4): Likewise.
17913 (__ASSUME_DUP3): Likewise.
17914 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17915 (__ASSUME_DUP3): Do not define.
17916 (__ASSUME_EVENTFD2): Likewise.
17917 (__ASSUME_IN_NONBLOCK): Likewise.
17918 (__ASSUME_O_CLOEXEC): Likewise.
17919 (__ASSUME_PIPE2): Likewise.
17920 (__ASSUME_SIGNALFD4): Likewise.
17921 (__ASSUME_SOCK_CLOEXEC): Likewise.
17922 (__ASSUME_UTIMES): Undefine.
17923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17924 (__ASSUME_UTIMES): Do not define.
17925 (__ASSUME_O_CLOEXEC): Likewise.
17926 (__ASSUME_SOCK_CLOEXEC): Likewise.
17927 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17928 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17930 (__ASSUME_PIPE2): Likewise.
17931 (__ASSUME_EVENTFD2): Likewise.
17932 (__ASSUME_SIGNALFD4): Likewise.
17933 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17934 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17936 (__ASSUME_EVENTFD2): Likewise.
17937 (__ASSUME_SIGNALFD4): Likewise.
17938 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17939 (__ASSUME_32BITUIDS): Likewise.
17940 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17941 (__ASSUME_IPC64): Likewise.
17942 (__ASSUME_ST_INO_64_BIT): Likewise.
17943 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17944 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17945 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17946 (__ASSUME_UTIMES): Do not define.
17947 (__ASSUME_PSELECT): Likewise.
17948 (__ASSUME_PPOLL): Likewise.
17949 (__ASSUME_O_CLOEXEC): Likewise.
17950 (__ASSUME_SOCK_CLOEXEC): Likewise.
17951 (__ASSUME_IN_NONBLOCK): Likewise.
17952 (__ASSUME_PIPE2): Likewise.
17953 (__ASSUME_EVENTFD2): Likewise.
17954 (__ASSUME_SIGNALFD4): Likewise.
17955 (__ASSUME_DUP3): Likewise.
17956 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17957 (__ASSUME_UTIMES): Likewise.
17958 (__ASSUME_O_CLOEXEC): Likewise.
17959 (__ASSUME_SOCK_CLOEXEC): Likewise.
17960 (__ASSUME_IN_NONBLOCK): Likewise.
17961 (__ASSUME_PIPE2): Likewise.
17962 (__ASSUME_EVENTFD2): Likewise.
17963 (__ASSUME_SIGNALFD4): Likewise.
17964 (__ASSUME_DUP3): Likewise.
17965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17966 (__ASSUME_UTIMES): Likewise.
17967 (__ASSUME_O_CLOEXEC): Likewise.
17968 (__ASSUME_SOCK_CLOEXEC): Likewise.
17969 (__ASSUME_IN_NONBLOCK): Likewise.
17970 (__ASSUME_PIPE2): Likewise.
17971 (__ASSUME_EVENTFD2): Likewise.
17972 (__ASSUME_SIGNALFD4): Likewise.
17973 (__ASSUME_DUP3): Likewise.
17974 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17976 (__ASSUME_UTIMES): Likewise.
17977 (__ASSUME_EVENTFD2): Likewise.
17978 (__ASSUME_SIGNALFD4): Likewise.
17979 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17980 (__ASSUME_O_CLOEXEC): Likewise.
17981 (__ASSUME_SOCK_CLOEXEC): Likewise.
17982 (__ASSUME_IN_NONBLOCK): Likewise.
17983 (__ASSUME_PIPE2): Likewise.
17984 (__ASSUME_EVENTFD2): Likewise.
17985 (__ASSUME_SIGNALFD4): Likewise.
17986 (__ASSUME_DUP3): Likewise.
17987 (__ASSUME_UTIMES): Undefine.
17989 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17990 feclearexcept. Remove symbol versioning code.
17991 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17992 symbol versioning code.
17993 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17994 symbol versioning code.
17995 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17996 feupdateenv. Remove symbol versioning code.
17997 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17998 fegetexceptflag. Remove symbol versioning code.
17999 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18000 fesetexceptflag. Remove symbol versioning code.
18001 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18002 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18003 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18004 (__posix_fadvise64_l32): Remove prototype.
18005 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18008 2014-05-13 Roland McGrath <roland@hack.frob.com>
18010 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18011 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18012 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18013 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18015 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18017 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18018 current working directory
18020 2014-05-13 Roland McGrath <roland@hack.frob.com>
18022 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18023 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18024 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18025 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18026 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18027 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18028 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18029 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18030 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18031 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18032 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18033 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18034 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18035 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18036 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18037 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18038 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18039 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18040 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18041 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18042 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18043 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18044 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18045 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18046 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18047 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18048 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18049 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18050 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18051 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18052 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18053 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18054 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18055 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18056 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18057 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18058 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18059 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18060 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18061 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18062 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18063 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18065 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18066 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18068 * sysdeps/unix/sysv/linux/arm/Makefile
18069 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18070 Add rt-aeabi_unwind_cpp_pr1.
18071 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18072 Add nptl-aeabi_unwind_cpp_pr1.
18073 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18074 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18075 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18076 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18077 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18078 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18080 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18081 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18082 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18083 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18085 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18086 Deconditionalize the code that was previously under [RESET_PID].
18087 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18089 * sysdeps/generic/exit-thread.h: New file.
18090 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18091 * include/unistd.h (__exit_thread): Remove declaration.
18092 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18093 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18094 * csu/libc-start.c: Include <exit-thread.h>.
18095 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18096 * nptl/pthread_create.c: Include <exit-thread.h>.
18097 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18098 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18099 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18100 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18101 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18102 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18103 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18104 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18105 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18106 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18107 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18108 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18109 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18110 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18111 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18112 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18113 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18115 2014-05-13 Andreas Schwab <schwab@suse.de>
18117 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18119 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18121 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18122 (__ASSUME_UTIMES): Do not condition on kernel version.
18123 (__ASSUME_PSELECT): Define unconditionally.
18124 (__ASSUME_PPOLL): Likewise.
18125 (__ASSUME_ATFCTS): Likewise.
18126 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18127 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18128 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18129 (__ASSUME_UTIMENSAT): Define unconditionally.
18130 (__ASSUME_PRIVATE_FUTEX): Likewise.
18131 (__ASSUME_FALLOCATE): Likewise.
18132 (__ASSUME_O_CLOEXEC): Likewise.
18133 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18134 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18135 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18136 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18137 (__ASSUME_IN_NONBLOCK): Likewise.
18138 (__ASSUME_PIPE2): Likewise.
18139 (__ASSUME_EVENTFD2): Likewise.
18140 (__ASSUME_SIGNALFD4): Likewise.
18141 (__ASSUME_DUP3): Likewise.
18142 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18143 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18144 (__ASSUME_AT_RANDOM): Likewise.
18145 (__ASSUME_PREADV): Likewise.
18146 (__ASSUME_PWRITEV): Likewise.
18147 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18148 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18149 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18150 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18151 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18152 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18153 (__ASSUME_O_CLOEXEC): Define unconditionally.
18154 (__ASSUME_PSELECT): Do not undefine conditionally.
18155 (__ASSUME_PPOLL): Likewise.
18156 (__ASSUME_ATFCTS): Likewise.
18157 (__ASSUME_SET_ROBUST_LIST): Likewise.
18158 (__ASSUME_UTIMENSAT): Likewise.
18159 (__ASSUME_FDATASYNC): Define unconditionally.
18160 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18161 (__ASSUME_SIGFRAME_V2): Likewise.
18162 )__ASSUME_EVENTFD2): Likewise.
18163 (__ASSUME_SIGNALFD4): Likewise.
18164 (__ASSUME_PSELECT): Do not undefine conditionally.
18165 (__ASSUME_PPOLL): Likewise.
18166 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18167 (__ASSUME_PSELECT): Define unconditionally.
18168 (__ASSUME_PPOLL): Likewise.
18169 (__ASSUME_O_CLOEXEC): Likewise.
18170 (__ASSUME_SOCK_CLOEXEC): Likewise.
18171 (__ASSUME_IN_NONBLOCK): Likewise.
18172 (__ASSUME_PIPE2): Likewise.
18173 (__ASSUME_EVENTFD2): Likewise.
18174 (__ASSUME_SIGNALFD4): Likewise.
18175 (__ASSUME_DUP3): Likewise.
18176 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18177 (__ASSUME_O_CLOEXEC): Likewise.
18178 (__ASSUME_SOCK_CLOEXEC): Likewise.
18179 (__ASSUME_IN_NONBLOCK): Likewise.
18180 (__ASSUME_PIPE2): Likewise.
18181 (__ASSUME_EVENTFD2): Likewise.
18182 (__ASSUME_SIGNALFD4): Likewise.
18183 (__ASSUME_DUP3): Likewise.
18184 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18185 (__ASSUME_EVENTFD2): Likewise.
18186 (__ASSUME_SIGNALFD4): Likewise.
18187 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18189 2014-05-12 Andreas Schwab <schwab@suse.de>
18192 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18193 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18194 than maximum RPC packet size.
18195 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18196 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18197 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18198 (_nss_nis_getservbyport_r): Likewise.
18200 2014-05-12 Will Newton <will.newton@linaro.org>
18202 * malloc/Makefile (tests): Add tst-mallopt.
18203 * malloc/tst-mallopt.c: New file.
18205 2014-05-09 Roland McGrath <roland@hack.frob.com>
18207 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18208 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18210 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18212 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18213 (tst-tlsmod6.so): Likewise.
18215 2014-05-09 Roland McGrath <roland@hack.frob.com>
18217 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18219 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18222 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18223 and <dl-procinfo.h>.
18224 (__fegetenv): Save SSE state in envp->__eip if supported.
18225 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18226 envp->__eip if supported.
18227 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18228 and <dl-procinfo.h>.
18229 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18230 __data_offset and __data_selector in environment to 0. Set SSE
18231 state if supported.
18232 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18234 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18236 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18238 2014-05-09 Will Newton <will.newton@linaro.org>
18240 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18241 and libc_relro_required for ARM.
18242 * sysdeps/arm/preconfigure: Regenerate.
18244 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18245 Stefan Liebler <stli@linux.vnet.ibm.com>
18247 * config.make.in (enable-lock-elision): New Makefile variable.
18248 * configure.ac: Likewise.
18249 * configure: Regenerate.
18250 * sysdeps/s390/configure.ac:
18251 Add check for gcc transactions support.
18252 * sysdeps/s390/configure: Regenerate.
18253 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18254 Build elision files if enabled.
18255 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18256 Add lock elision support for s390.
18257 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18258 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18259 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18260 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18261 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18262 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18263 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18265 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18271 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18272 (__lll_timedlock_elision, __lll_lock_elision)
18273 (__lll_unlock_elision, __lll_trylock_elision)
18274 (lll_timedlock_elision, lll_lock_elision)
18275 (lll_unlock_elision, lll_trylock_elision): Add.
18276 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18277 (pthread_mutex_t): Add lock elision support for s390.
18279 2014-05-14 Wilco <wdijkstr@arm.com>
18281 * sysdeps/arm/fclrexcpt.c: Cleanup.
18282 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18283 * sysdeps/arm/feenablxcpt.c: Cleanup.
18284 * sysdeps/arm/fegetenv.c: Cleanup.
18285 * sysdeps/arm/fegetexcept.c: Cleanup.
18286 * sysdeps/arm/fegetround.c: Cleanup.
18287 * sysdeps/arm/feholdexcpt.c: Cleanup.
18288 * sysdeps/arm/fesetenv.c: Cleanup.
18289 * sysdeps/arm/fesetround.c: Cleanup.
18290 * sysdeps/arm/feupdateenv.c: Cleanup.
18291 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18292 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18293 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18294 * sysdeps/arm/ftestexcept.c: Cleanup.
18295 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18296 * sysdeps/arm/setfpucw.c: Cleanup.
18298 2014-05-09 Will Newton <will.newton@linaro.org>
18300 * sysdeps/arm/armv7/strcmp.S: New file.
18301 * NEWS: Mention addition of ARMv7 optimized strcmp.
18303 2014-05-08 Roland McGrath <roland@hack.frob.com>
18305 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18306 look for %.ac rather than %.in.
18308 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18309 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18310 * sysdeps/mach/hurd/configure: Regenerated.
18311 * sysdeps/unix/sysv/linux/configure: Regenerated.
18313 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18315 2014-05-07 Steve Ellcey <sellcey@mips.com>
18318 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18322 2014-05-07 Andreas Schwab <schwab@suse.de>
18324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18325 when skipping over non-matching result from nscd.
18327 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18330 * nptl/sockperf.c (client): Check socket return value.
18333 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18334 nscd security class.
18336 2014-05-06 Roland McGrath <roland@hack.frob.com>
18338 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18339 * sysdeps/arm/unwind.h: ... here.
18341 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18344 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18347 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18349 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18350 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18351 multiarch strncpy for PPC64.
18352 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18353 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18355 multiarch optimizations.
18356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18357 (__libc_ifunc_impl_list): Likewise.
18358 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18359 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18360 multiarch stpncpy for PPC64.
18361 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18362 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18364 2014-05-06 Andreas Schwab <schwab@suse.de>
18367 * gmon/mcount.c (_MCOUNT_DECL): Use
18368 atomic_compare_and_exchange_bool_acq instead of
18369 catomic_compare_and_exchange_bool_acq.
18371 2014-05-05 Roland McGrath <roland@hack.frob.com>
18373 * elf/Makefile (others, install-bin): Remove pldd.
18374 (pldd-modules): Variable removed.
18375 ($(objpfx)pldd): Target removed.
18376 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18377 (others, install-bin): Append pldd here.
18378 ($(objpfx)pldd): New target.
18380 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18381 to 0, so the first #if test emitted later doesn't see it undefined.
18382 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18383 * sysdeps/gnu/errlist.c: Regenerated.
18385 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18388 [libc_hidden_builtin_def]: Define to empty value.
18389 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18390 [libc_hidden_builtin_def]: Likewise.
18391 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18392 [libc_hidden_builtin_def]: Likewise.
18393 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18394 [libc_hidden_builtin_def]: Likewise.
18395 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18396 __redirect_memcpy and define ifunc as default hidden symbol.
18397 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18398 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18400 2014-05-04 Adam Conrad <adconrad@0c3.net>
18402 * locale/iso-4217.def: Reintroduce XDR currency.
18404 2014-05-04 Allan McRae <allan@archlinux.org>
18406 * po/eo.po: Update Esperanto translation from translation project.
18408 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18410 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18411 and FEATURE_INDEX_MAX to 1.
18412 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18414 2014-05-01 Steve Ellcey <sellcey@mips.com>
18416 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18417 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18418 * iconvdata/big5.c (ONE_DIRECTION): Define.
18419 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18420 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18421 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18422 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18423 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18424 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18425 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18426 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18427 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18428 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18429 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18430 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18431 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18432 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18433 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18434 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18435 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18436 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18437 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18438 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18439 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18440 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18441 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18442 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18443 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18444 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18445 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18446 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18447 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18448 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18449 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18450 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18451 * iconvdata/johab.c (ONE_DIRECTION): Define.
18452 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18453 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18454 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18455 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18456 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18457 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18458 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18459 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18460 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18461 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18463 2014-05-01 Roland McGrath <roland@hack.frob.com>
18465 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18466 (_IO_JUMPS_OFFSET): Define to 0.
18468 * nptl/sysdeps/pthread/bits/libc-lock.h
18469 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18470 (__libc_lock_define_initialized_recursive): Always define using
18471 initializer. Modern compilers treat uninitialized (implicit zero) and
18472 explicit zero initializers the same (i.e. put the datum in bss).
18474 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18476 * nscd/nscd-client.h: Include <string.h>.
18478 2014-05-01 David S. Miller <davem@davemloft.net>
18481 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18482 multiple zero bytes exist at the end of a string.
18483 Reported by Aurelien Jarno <aurelien@aurel32.net>
18485 * string/test-strcmp.c (check): Add explicit test for situations where
18486 there are multiple zero bytes after the first.
18488 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18491 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18492 when compiling wprintf.
18493 * stdio-common/tstdiomisc.c (t3): New function.
18496 2014-05-01 Steve Ellcey <sellcey@mips.com>
18498 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18499 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18500 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18501 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18503 2014-05-01 Steve Ellcey <sellcey@mips.com>
18505 * stdlib/longlong.h: Updated from GCC.
18507 2014-05-01 Will Newton <will.newton@linaro.org>
18508 Bernard Ogden <bernie.ogden@linaro.org>
18510 * NEWS: Update fixed bug list.
18513 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18515 2014-04-30 David S. Miller <davem@davemloft.net>
18517 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18518 (libc_feholdexcept_setround_sparc_ctx): New function.
18519 (libc_fesetenv_sparc_ctx): Likewise.
18520 (libc_feupdateenv_sparc_ctx): Likewise.
18521 (libc_feholdsetround_sparc_ctx): Likewise.
18522 (libc_feholdexcept_setround_ctx): Define.
18523 (libc_feholdexcept_setroundf_ctx): Likewise.
18524 (libc_feholdexcept_setroundl_ctx): Likewise.
18525 (libc_fesetenv_ctx): Likewise.
18526 (libc_fesetenvf_ctx): Likewise.
18527 (libc_fesetenvl_ctx): Likewise.
18528 (libc_feupdateenv_ctx): Likewise.
18529 (libc_feupdateenvf_ctx): Likewise.
18530 (libc_feupdateenvl_ctx): Likewise.
18531 (libc_feresetround_ctx): Likewise.
18532 (libc_feresetroundf_ctx): Likewise.
18533 (libc_feresetroundl_ctx): Likewise.
18534 (libc_feholdsetround_ctx): Likewise.
18535 (libc_feholdsetroundf_ctx): Likewise.
18536 (libc_feholdsetroundl_ctx): Likewise.
18538 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18539 with __USE_GNU instead of XOPEN cpp guards.
18541 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18545 with XOPEN cpp guards.
18547 2014-04-30 Julian Brown <julian@codesourcery.com>
18550 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18553 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18556 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18558 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18559 * sysdeps/unix/sysv/linux/configure: Regenerated.
18560 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18561 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18562 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18563 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18564 * README: Update reference to required Linux kernel version.
18565 * manual/install.texi (Linux): Update reference to required Linux
18566 kernel headers version.
18567 * INSTALL: Regenerated.
18569 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18571 [POSIX] (limits.h): Likewise.
18572 [POSIX] (math.h): Likewise.
18573 [POSIX] (sys/wait.h): Likewise.
18574 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18576 [POSIX] (stddef.h): Do not allow header inclusion.
18578 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18580 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18582 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18584 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18585 Return immediately after lll_futex_wake.
18587 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18590 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18592 (datahead_init_pos): Call datahead_init_common early.
18593 (datahead_init_neg): Likewise.
18595 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18596 datahead_init_neg): New functions.
18597 * nscd/aicache.c (addhstaiX): Use them.
18598 * nscd/grpcache.c (cache_addgr): Likewise.
18599 * nscd/hstcache.c (cache_addhst): Likewise.
18600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18601 * nscd/netgroupcache.c (do_notfound): Likewise.
18602 (addgetnetgrentX): Likewise.
18603 (addinnetgrX): Likewise.
18604 * nscd/pwdcache.c (cache_addpw): Likewise.
18605 * nscd/servicescache.c (cache_addserv): Likewise.
18607 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18608 Atsushi Onoe <atsushi@onoe.org>
18613 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18614 one response is valid.
18615 * resolv/res_send.c (send_dg): Check for validity of other
18616 response if the current response is a referral.
18618 2014-04-29 Steve Ellcey <sellcey@mips.com>
18620 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18622 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18626 Always divide by positive zero when computing -Inf result.
18627 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18628 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18630 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18632 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18633 FPSCR if value do not change.
18634 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18635 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18636 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18637 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18638 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18639 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18642 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18644 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18645 * sysdeps/unix/sysv/linux/hppa: Move directory from
18646 ports/systeps/unix/sysv/linux/hppa.
18647 * README: Update listing for hppa-*-linux-gnu.
18649 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18652 * manual/stdio.texi (Hook functions): Fix types of stream hook
18655 * socket/sys/socket.h: Fix typo in comment.
18657 2014-04-28 Wilco <wdijkstr@arm.com>
18659 * sysdeps/arm/fenv_private.h: New file.
18660 * sysdeps/arm/math_private.h: New file.
18661 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18663 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18665 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18667 (La_x86_64_retval): Likewise.
18669 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18671 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18672 fpsr if value didn't change.
18673 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18674 to fpcr if value didn't change.
18675 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18676 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18677 fpsr or fpcr if value didn't change.
18678 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18679 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18680 fpcr if value didn't change.
18681 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18682 to fpsr if value didn't change.
18684 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18686 * nptl/tst-sem3.c: Use test-skeleton.c
18687 (main): Rename to do_test. Use return instead of
18689 * nptl/tst-sem4.c: Use test-skeleton.c
18690 (main): Rename to do_test.
18692 2014-04-22 David S. Miller <davem@davemloft.net>
18694 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18695 (struct sigaction): New struct member __glibc_reserved0, change
18696 type of sa_flags to int.
18698 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18700 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18701 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18703 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18705 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18706 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18708 2014-04-22 Will Newton <will.newton@linaro.org>
18709 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18711 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18712 (__longjmp): Add longjmp and longjmp_target SystemTap
18714 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18715 (__sigsetjmp): Add setjmp SystemTap probe.
18717 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18719 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18720 match manual order.
18722 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18726 * sysdeps/powerpc/fpu/fenv_private.h
18727 (libc_feholdexcept_setroundl_ctx): Define to
18728 libc_feholdexcept_setround_ppc_ctx.
18729 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18730 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18731 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18732 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18734 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18736 * sysdeps/aarch64/math-tests.h: New file.
18738 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18740 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18743 Check and set bit_AVX2_Usable.
18744 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18746 (bit_AVX2): Likewise.
18747 (index_AVX2_Usable): Likewise.
18748 (CPUID_AVX2): Likewise.
18749 (HAS_AVX2): Likewise.
18751 2014-04-17 Will Newton <will.newton@linaro.org>
18753 * manual/setjmp.texi (System V contexts): Add note that
18754 calling setcontext on a context created by a call to a
18755 signal handler is undefined. Update text to note that
18756 setcontext from a signal handler is possible but not
18760 * stdlib/tst-setcontext.c: Include signal.h.
18761 (main): Check that the signal stack before and
18762 after swapcontext is the same.
18764 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18765 Re-implement to restore registers in user code and avoid
18766 rt_sigreturn system call.
18768 2014-04-17 Wilco <wdijkstr@arm.com>
18770 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18771 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18772 * math/test-fenv.c: Skip exception trap tests on targets which only
18773 support non-stop mode.
18775 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18776 Wilco Dijkstra <wilco.dijkstra@arm.com>
18778 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18779 (libc_feholdsetround_aarch64_ctx)
18780 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18781 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18782 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18783 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18784 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18785 (libc_feresetround_noexl_ctx): Define.
18787 2014-04-16 Richard Henderson <rth@redhat.com>
18789 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18791 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18794 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18795 const from the non-libc, non-ldso copy.
18797 * sysdeps/alpha/libm-test-ulps: Regenerate.
18799 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18800 Wilco Dijkstra <wilco.dijkstra@arm.com>
18802 * sysdeps/aarch64/fpu/math_private.h: New file.
18804 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18806 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18808 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18811 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18812 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18814 Intel MPX bound registers before _dl_profile_fixup.
18815 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18816 registers after _dl_profile_fixup. Save and restore bound
18817 registers bnd0/bnd1 when calling _dl_call_pltexit.
18818 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18819 (LR_BND_OFFSET): Likewise.
18820 (LRV_BND0_OFFSET): Likewise.
18821 (LRV_BND1_OFFSET): Likewise.
18823 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18825 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18827 * sysdeps/mach/hurd/i386/tls.h: ... here.
18828 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18829 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18832 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18834 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18836 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18838 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18840 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18843 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18844 * sysdeps/s390/configure: Regenerate.
18847 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18848 Set round-to-nearest internally to reduce error accumulation.
18850 2014-04-16 Alan Modra <amodra@gmail.com>
18854 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18855 * math/libm-test.inc (frexp_test_data): Add tests.
18856 * NEWS: Update fixed bug list.
18858 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18860 * benchtests/Makefile: Depend on libraries in build directory.
18861 (bench-math): Separate out math tests.
18862 (bench-pthread): Separate out pthread tests.
18863 (bench): Include math and pthread tests.
18865 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18868 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18869 _dl_debug_initialize.
18871 * configure.ac: Remove SELinux header check.
18872 * configure: Regenerate.
18873 * nscd/selinux.c (perms): Array of const char* to permission names.
18874 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18875 default policy. Call string_to_security_class and string_to_av_perm to
18876 translate strings. Enforce default policy and call avs_has_perm with
18877 results of translated strings.
18879 2014-04-13 David S. Miller <davem@davemloft.net>
18881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18883 2014-04-12 Allan McRae <allan@archlinux.org>
18886 * manual/string.texi (Collation Functions): Fix qsort argument
18888 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18890 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18892 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18893 Make the test a no-op if there are no exceptions defined.
18895 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18897 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18898 enable-hardcoded-path-in-tests
18900 2014-04-11 Will Newton <will.newton@linaro.org>
18902 * benchtests/Makefile (extra-objs): Add json-lib.o.
18903 (bench-func): Tidy up JSON output.
18904 * benchtests/bench-skeleton.c: Include json-lib.h.
18905 (main): Use JSON library functions to do output of
18907 * benchtests/bench-timing-type.c (main): Output the
18908 timing type simply, leaving formatting to the user.
18909 * benchtests/json-lib.c: New file.
18910 * benchtests/json-lib.h: Likewise.
18912 2014-04-11 Torvald Riegel <triegel@redhat.com>
18915 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18916 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18917 memory barriers. Add comments.
18918 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18919 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18920 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18921 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18922 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18923 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18925 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18927 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18928 * sysdeps/s390/s390-64/configure.ac: ... this ...
18929 * sysdeps/s390/configure.ac: ... to here.
18930 * sysdeps/s390/s390-32/configure: Delete file.
18931 * sysdeps/s390/s390-64/configure: Delete file.
18932 * sysdeps/s390/configure: Regenerate.
18934 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18936 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18938 2014-04-11 Will Newton <will.newton@linaro.org>
18940 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18941 to zero if it is not defined elsewhere. (mtrim): Test
18942 the value of MALLOC_DEBUG with #if rather than #ifdef.
18944 2014-04-10 Torvald Riegel <triegel@redhat.com>
18946 * benchtests/pthread_once-inputs: New file.
18947 * benchtests/pthread_once-source.c: New file.
18948 * benchtests/README: Update documentation.
18950 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18951 H.J. Lu <hongjiu.lu@intel.com>
18954 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18955 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18956 * sysdeps/x86_64/configure: Regenerated.
18957 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18959 (REGISTER_SAVE_RAX): Likewise.
18960 (REGISTER_SAVE_RCX): Likewise.
18961 (REGISTER_SAVE_RDX): Likewise.
18962 (REGISTER_SAVE_RSI): Likewise.
18963 (REGISTER_SAVE_RDI): Likewise.
18964 (REGISTER_SAVE_R8): Likewise.
18965 (REGISTER_SAVE_R9): Likewise.
18966 (REGISTER_SAVE_BND0): Likewise.
18967 (REGISTER_SAVE_BND1): Likewise.
18968 (REGISTER_SAVE_BND2): Likewise.
18969 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18970 bound registers when calling _dl_fixup.
18972 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18974 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18975 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18977 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18978 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18979 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18980 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18981 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18982 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18983 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18985 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18988 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18989 pathconf(_PC_NAME_MAX).
18991 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18993 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18994 Remove macro usage.
18995 (__PTHREAD_SPINS): Move definition to ...
18996 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18997 (__PTHREAD_SPINS): ... here.
18998 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18999 (__PTHREAD_SPIN): Likewise.
19000 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19001 (__PTHREAD_SPIN): Likewise.
19002 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19003 (__PTHREAD_SPIN): Likewise.
19004 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19005 (__PTHREAD_SPIN): Likewise.
19006 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19007 (__PTHREAD_SPIN): Likewise.
19008 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19009 (__PTHREAD_SPIN): Likewise.
19010 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19011 (__PTHREAD_SPIN): Likewise.
19012 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19013 (__PTHREAD_SPIN): Likewise.
19014 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19015 (__PTHREAD_SPIN): Likewise.
19016 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19017 (__PTHREAD_SPIN): Likewise.
19018 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19019 (__PTHREAD_SPIN): Likewise.
19020 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19021 (__PTHREAD_SPIN): Likewise.
19023 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19024 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19025 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19028 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19029 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19030 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19031 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19032 correct imply path.
19033 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19034 strlen symbol for non multi-arch builds.
19035 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19036 missing hidden_def and weak_alias.
19038 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19040 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19042 2014-04-07 Will Newton <will.newton@linaro.org>
19044 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19045 and contents. [!_LIBC] Remove #ifndef and contents.
19046 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19047 * string/memccpy.c (__memccpy): Use ANSI prototype.
19048 * string/memfrob.c (memfrob): Likewise.
19049 * string/strcoll.c (STRCOLL): Likewise.
19050 * string/strlen.c (strlen): Likewise.
19051 * string/strtok.c (STRTOK): Likewise.
19052 * string/strcat.c: Remove unused #include of memcopy.h.
19053 (strcat): Use ANSI prototype.
19054 * string/strchr.c: Remove unused #include of memcopy.h.
19055 (strchr): Use ANSI prototype.
19056 * string/strcmp.c: Remove unused #include of memcopy.h.
19057 (strcmp): Use ANSI prototype.
19058 * string/strcpy.c: Remove unused #include of memcopy.h.
19059 (strcpy): Use ANSI prototype.
19061 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19063 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19064 * config.make.in (config-extra-cppflags): Set it from
19065 libc_extra_cppflags.
19066 * configure.ac (libc_extra_cflags): Make it accumulate over
19067 configure fragments.
19068 (libc_extra_cppflags): New flag.
19069 * configure. Regenerate.
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19071 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19072 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19076 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19077 result for FE_DOWNWARD rounding mode.
19078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19082 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19084 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19085 in function argument name.
19087 2014-04-03 David Svoboda <svoboda@cert.org>
19090 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19093 2014-04-03 Roland McGrath <roland@hack.frob.com>
19095 * elf/dl-unmap-segments.h: New file.
19096 * sysdeps/generic/ldsodefs.h
19097 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19098 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19099 * elf/dl-fptr.c: Likewise.
19100 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19101 * sysdeps/aarch64/tlsdesc.c: Likewise.
19102 * sysdeps/arm/tlsdesc.c: Likewise.
19103 * sysdeps/i386/tlsdesc.c: Likewise.
19104 * sysdeps/tile/dl-runtime.c: Likewise.
19105 * sysdeps/x86_64/tlsdesc.c: Likewise.
19106 * elf/dl-load.h: New file.
19107 * elf/dl-load.c: Include it.
19108 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19109 Macros moved to dl-load.h.
19110 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19111 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19112 Use _dl_unmap_segments in place of __munmap.
19113 Break out segment-mapping loop into ...
19114 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19116 2014-04-03 Will Newton <will.newton@linaro.org>
19118 * elf/dl-lookup.c (do_lookup_x): Remove comment
19119 referring to nested function and move variable
19120 declarations down to before first use.
19122 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19126 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19128 * math/s_catanf.c (__catanf): Likewise.
19129 * math/s_catanh.c (__catanh): Likewise.
19130 * math/s_catanhf.c (__catanhf): Likewise.
19131 * math/s_catanhl.c (__catanhl): Likewise.
19132 * math/s_catanl.c (__catanl): Likewise.
19133 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19134 by positive zero when computing -Inf result.
19135 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19136 (catanh_test): Likewise.
19137 * sysdeps/i386/fpu/libm-test-ulps: Update.
19138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19141 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19142 instead of using underflowing value in computing result.
19143 * math/s_clog10.c (__clog10): Likewise.
19144 * math/s_clog10f.c (__clog10f): Likewise.
19145 * math/s_clog10l.c (__clog10l): Likewise.
19146 * math/s_clogf.c (__clogf): Likewise.
19147 * math/s_clogl.c (__clogl): Likewise.
19148 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19149 (clog10_test): Likewise.
19150 * sysdeps/i386/fpu/libm-test-ulps: Update.
19151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19153 2014-04-02 Alan Modra <amodra@gmail.com>
19156 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19157 output when value is near a power of two. Use int64_t for lx and
19158 remove casts. Use decimal rather than hex exponent constants.
19159 Don't use long double multiplication when double will suffice.
19160 * math/libm-test.inc (nextafter_test_data): Add tests.
19161 * NEWS: Add 16739 and 16786 to bug list.
19163 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19165 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19167 2014-04-01 Will Newton <will.newton@linaro.org>
19169 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19170 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19172 2014-04-01 Florian Weimer <fweimer@redhat.com>
19175 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19176 * nptl/tst-setuid2.c: New file.
19177 * nptl/Makefile (xtests): Add tst-setuid2.
19179 2014-04-01 Alan Modra <amodra@gmail.com>
19182 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19184 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19188 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19189 set errno as appropriate.
19190 * math/w_scalbf.c (__scalbf): Likewise.
19191 * math/w_scalbl.c (__scalbl): Likewise.
19192 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19193 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19194 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19195 Add more NaN tests.
19198 * math/w_atan2.c: Include <errno.h>.
19199 (__atan2): Set errno for result underflowing to zero.
19200 * math/w_atan2f.c: Include <errno.h>.
19201 (__atan2f): Set errno for result underflowing to zero.
19202 * math/w_atan2l.c: Include <errno.h>.
19203 (__atan2l): Set errno for result underflowing to zero.
19204 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19206 * math/auto-libm-test-out: Regenerated.
19208 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19210 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19211 Encode instruction correctly in little endian.
19212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19216 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19218 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19221 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19224 * sysdeps/unix/sysv/linux/kernel-features.h
19225 [__sparc__ && !__arch64__ && !__sparc_v9__]
19226 (__ASSUME_SET_ROBUST_LIST): Do not define.
19227 [__sparc__ && !__arch64__ && !__sparc_v9__]
19228 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19229 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19231 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19232 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19233 (__ASSUME_REQUEUE_PI): Likewise.
19234 (__ASSUME_SET_ROBUST_LIST): Likewise.
19235 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19236 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19239 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19241 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19243 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19245 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19246 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19248 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19249 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19253 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19254 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19255 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19257 2014-03-31 Will Newton <will.newton@linaro.org>
19259 * benchtests/Makefile (bench): Add ffs and ffsll to list
19261 * benchtests/ffs-inputs: New file.
19262 * benchtests/ffsll-inputs: Likewise.
19264 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19267 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19268 too large before casting to int.
19269 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19270 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19271 * math/libm-test.inc (scalb_test_data): Add more tests.
19273 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19275 * benchtests/Makefile (DETAILED_OPT): New make option.
19276 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19278 * benchtests/bench-skeleton.c: Include stdbool.h.
19279 (main): Store and print timings per input.
19280 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19281 member to each argument value.
19282 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19283 (_print_arg_data): Initialize per-input timing to 0.
19285 * benchtests/Makefile (timing-type): New binary.
19286 (bench-clean): Also remove bench-timing-type.
19287 (bench): New target for timing-type.
19288 (bench-func): Print output in JSON format.
19289 * benchtests/bench-skeleton.c (main): Print output in JSON
19291 * benchtests/bench-timing-type.c: New file.
19292 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19293 (TIMING_PRINT_STATS): Remove.
19294 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19297 * benchtests/bench-modf.c: Remove.
19298 * benchtests/modf-inputs: New inputs file.
19300 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19303 * math/s_clog10.c (M_PI_LOG10E): New macro.
19304 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19305 imaginary parts are 0.
19306 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19307 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19308 imaginary parts are 0.
19309 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19310 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19311 imaginary parts are 0.
19312 * math/libm-test.inc (clog10_test_data): Update expected results
19313 for when real and imaginary parts are 0.
19315 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19317 * elf/dl-load.c: Finish conversion of __builtin_expect into
19318 __glibc_{un}likely.
19320 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19323 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19324 1+x for argument with exponent below -67.
19325 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19327 * math/auto-libm-test-in: Add more tests of exp.
19328 * math/auto-libm-test-out: Regenerated.
19330 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19333 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19334 (nscd_getnetgrent): Use it.
19337 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19340 2014-03-27 Andi Kleen <ak@linux.intel.com>
19342 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19343 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19344 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19345 (lll_robust_unlock): Remove out of line section. Use cfi
19347 (LLL_STUB_UNWIND_INFO*): Remove.
19348 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19349 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19350 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19351 (lll_robust_unlock): Remove out of line section. Use cfi
19353 (LLL_STUB_UNWIND_INFO*): Remove.
19355 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19358 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19361 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19363 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19365 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19368 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19370 * math/test-fenv-preserve.c: New file.
19371 * math/Makefile (tests): Add test-fenv-preserve.
19373 2014-03-26 Will Newton <will.newton@linaro.org>
19375 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19377 2014-03-25 Roland McGrath <roland@hack.frob.com>
19379 * scripts/versionlist.awk: Partition the version sets and emit all
19380 GLIBC_* (sorted) before all others (sorted).
19382 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19384 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19385 GLIBC_2.2.5 version.
19387 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19389 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19392 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19397 2014-03-25 Andreas Schwab <schwab@suse.de>
19399 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19400 label to be used after in6ailist is initialized.
19402 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19404 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19405 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19407 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19411 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19413 (fp_formats): Update initializers.
19414 (init_fp_formats): Initialize new field.
19415 (output_for_one_input_case): Allow underflow for results up to
19417 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19418 * math/auto-libm-test-in: Don't mark some underflows from asin and
19420 * math/auto-libm-test-out: Regenerated.
19421 * sysdeps/i386/fpu/libm-test-ulps: Update.
19422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19424 2014-03-25 Andreas Schwab <schwab@suse.de>
19426 * libio/Makefile (tst-ftell-partial-wide-ENV)
19427 (tst-ftell-active-handler-ENV): Define.
19429 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19431 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19433 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19435 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19437 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19439 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19440 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19441 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19443 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19446 * elf/dl-load.c (open_verify): Add mode parameter.
19447 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19448 (open_path): Change from boolean 'secure' to complete flag 'mode'
19449 (_dl_map_object): Adjust.
19450 * elf/Makefile (tests): Add tst-dlopen-aout.
19451 * elf/tst-dlopen-aout.c: New test.
19453 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19456 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19457 (struct stat): Rename member pad0 to __glibc_reserved0.
19460 * sysdeps/s390/s390-32/bits/wordsize.h
19461 (__WORDSIZE32_SIZE_ULONG): New define.
19462 * sysdeps/s390/s390-64/bits/wordsize.h
19463 (__WORDSIZE32_SIZE_ULONG): Likewise.
19464 * sysdeps/generic/stdint.h (SIZE_MAX):
19465 Define as UL if __WORDSIZE32_SIZE_ULONG.
19468 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19469 (__glibc_reserved0): New variable.
19470 (sa_flags): Change type to int.
19472 * posix/Makefile (before-compile): Use += before-compile instead
19475 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19476 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19478 2014-03-20 Andreas Schwab <schwab@suse.de>
19481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19482 non-matching result from nscd.
19484 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19486 * scripts/bench.py: Moved to ...
19487 * benchtests/scripts/bench.py: ... here.
19488 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19490 2014-03-24 Andreas Schwab <schwab@suse.de>
19493 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19494 alloca_account and account alloca use for struct in6ailist.
19496 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19500 rounding mode to recompute results that overflow to infinity or
19502 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19504 * math/auto-libm-test-out: Regenerated.
19505 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19506 (ccosh_test): Likewise.
19507 (csin_test_data): Use plus_oflow.
19508 (csin_test): Use ALL_RM_TEST.
19509 (csinh_test_data): Use plus_oflow.
19510 (csinh_test): Use ALL_RM_TEST.
19511 * sysdeps/i386/fpu/libm-test-ulps: Update.
19512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19514 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19516 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19517 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19518 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19521 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19522 when x - 1 is zero.
19523 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19524 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19525 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19526 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19528 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19529 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19531 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19532 * sysdeps/i386/fpu/libm-test-ulps: Update.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19537 * scripts/bench.pl: Remove file.
19538 * scripts/bench.py: New benchmark script.
19539 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19540 * benchtests/README: Mention python dependency.
19541 * scripts/pylintrc: New file.
19542 * scripts/pylint: New file.
19544 * bits/mathdef.h: Use #ifdef instead of #if.
19545 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19546 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19547 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19548 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19549 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19550 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19552 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19553 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19555 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19557 and strpbrk-ppc64 objects.
19558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19559 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19560 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19561 multiarch strpbrk for POWER7.
19562 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19563 multiarch strpbrk for PPC64.
19564 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19566 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19567 strpbrk for POWER7.
19569 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19571 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19572 (atan_test): Likewise.
19573 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19574 (atanh_test): Use ALL_RM_TEST.
19575 (atan2_test_data): Likewise.
19576 (cabs_test): Likewise.
19577 (cacosh_test): Likewise.
19578 (carg_test): Likewise.
19579 (casin_test): Likewise.
19580 (casinh_test): Likewise.
19581 (cbrt_test): Likewise.
19582 (csqrt_test): Likewise.
19583 (erf_test): Likewise.
19584 (erfc_test): Likewise.
19585 (pow10_test): Likewise.
19586 (exp2_test): Likewise.
19587 (hypot_test): Likewise.
19588 (j0_test): Likewise.
19589 (j1_test): Likewise.
19590 (lgamma_test): Likewise.
19591 (gamma_test): Likewise.
19592 (sincos_test): Likewise.
19593 (tanh_test): Likewise.
19594 (y0_test): Likewise.
19595 (y1_test): Likewise.
19596 * sysdeps/i386/fpu/libm-test-ulps: Update.
19597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19599 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19601 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19603 and strcspn-ppc64 objects.
19604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19605 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19606 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19607 multiarch strcspn for POWER7.
19608 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19609 multiarch strcspn for PPC64.
19610 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19612 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19613 strcspn for POWER7.
19615 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19617 * math/gen-libm-test.pl (generate_testfile): Expect only function
19618 name as argument to AUTO_TESTS_* and pass results for all rounding
19619 modes to parse_args.
19620 (parse_auto_input): Separate inputs of automatic tests from
19621 outputs before storing in %auto_tests.
19622 * math/libm-test.inc (acos_test_data): Update call to
19624 (acos_test): Use ALL_RM_TEST.
19625 (acos_tonearest_test_data): Remove.
19626 (acos_test_tonearest): Likewise.
19627 (acos_towardzero_test_data): Likewise.
19628 (acos_test_towardzero): Likewise.
19629 (acos_downward_test_data): Likewise.
19630 (acos_test_downward): Likewise.
19631 (acos_upward_test_data): Likewise.
19632 (acos_test_upward): Likewise.
19633 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19634 (asin_test_data): Likewise.
19635 (asin_test): Use ALL_RM_TEST.
19636 (asin_tonearest_test_data): Remove.
19637 (asin_test_tonearest): Likewise.
19638 (asin_towardzero_test_data): Likewise.
19639 (asin_test_towardzero): Likewise.
19640 (asin_downward_test_data): Likewise.
19641 (asin_test_downward): Likewise.
19642 (asin_upward_test_data): Likewise.
19643 (asin_test_upward): Likewise.
19644 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19645 (atan_test_data): Likewise.
19646 (atanh_test_data): Likewise.
19647 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19648 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19649 (carg_test_data): Likewise.
19650 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19651 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19652 (ccosh_test_data): Likewise.
19653 (cexp_test_data): Likewise.
19654 (clog_test_data): Likewise.
19655 (clog10_test_data): Likewise.
19656 (cos_test_data): Update call to AUTO_TESTS_f_f.
19657 (cos_test): Use ALL_RM_TEST.
19658 (cos_tonearest_test_data): Remove.
19659 (cos_test_tonearest): Likewise.
19660 (cos_towardzero_test_data): Likewise.
19661 (cos_test_towardzero): Likewise.
19662 (cos_downward_test_data): Likewise.
19663 (cos_test_downward): Likewise.
19664 (cos_upward_test_data): Likewise.
19665 (cos_test_upward): Likewise.
19666 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19667 (cosh_test): Use ALL_RM_TEST.
19668 (cosh_tonearest_test_data): Remove.
19669 (cosh_test_tonearest): Likewise.
19670 (cosh_towardzero_test_data): Likewise.
19671 (cosh_test_towardzero): Likewise.
19672 (cosh_downward_test_data): Likewise.
19673 (cosh_test_downward): Likewise.
19674 (cosh_upward_test_data): Likewise.
19675 (cosh_test_upward): Likewise.
19676 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19677 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19678 (ctan_test_data): Likewise.
19679 (ctan_test): Use ALL_RM_TEST.
19680 (ctan_tonearest_test_data): Remove.
19681 (ctan_test_tonearest): Likewise.
19682 (ctan_towardzero_test_data): Likewise.
19683 (ctan_test_towardzero): Likewise.
19684 (ctan_downward_test_data): Likewise.
19685 (ctan_test_downward): Likewise.
19686 (ctan_upward_test_data): Likewise.
19687 (ctan_test_upward): Likewise.
19688 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19689 (ctanh_test): Use ALL_RM_TEST.
19690 (ctanh_tonearest_test_data): Remove.
19691 (ctanh_test_tonearest): Likewise.
19692 (ctanh_towardzero_test_data): Likewise.
19693 (ctanh_test_towardzero): Likewise.
19694 (ctanh_downward_test_data): Likewise.
19695 (ctanh_test_downward): Likewise.
19696 (ctanh_upward_test_data): Likewise.
19697 (ctanh_test_upward): Likewise.
19698 (erf_test_data): Update call to AUTO_TESTS_f_f.
19699 (erfc_test_data): Likewise.
19700 (exp_test_data): Likewise.
19701 (exp_test): Use ALL_RM_TEST.
19702 (exp_tonearest_test_data): Remove.
19703 (exp_test_tonearest): Likewise.
19704 (exp_towardzero_test_data): Likewise.
19705 (exp_test_towardzero): Likewise.
19706 (exp_downward_test_data): Likewise.
19707 (exp_test_downward): Likewise.
19708 (exp_upward_test_data): Likewise.
19709 (exp_test_upward): Likewise.
19710 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19711 (exp10_test): Use ALL_RM_TEST.
19712 (exp10_tonearest_test_data): Remove.
19713 (exp10_test_tonearest): Likewise.
19714 (exp10_towardzero_test_data): Likewise.
19715 (exp10_test_towardzero): Likewise.
19716 (exp10_downward_test_data): Likewise.
19717 (exp10_test_downward): Likewise.
19718 (exp10_upward_test_data): Likewise.
19719 (exp10_test_upward): Likewise.
19720 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19721 (expm1_test_data): Likewise.
19722 (expm1_test): Use ALL_RM_TEST.
19723 (expm1_tonearest_test_data): Remove.
19724 (expm1_test_tonearest): Likewise.
19725 (expm1_towardzero_test_data): Likewise.
19726 (expm1_test_towardzero): Likewise.
19727 (expm1_downward_test_data): Likewise.
19728 (expm1_test_downward): Likewise.
19729 (expm1_upward_test_data): Likewise.
19730 (expm1_test_upward): Likewise.
19731 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19732 (fma_test): Use ALL_RM_TEST.
19733 (fma_towardzero_test_data): Remove.
19734 (fma_test_towardzero): Likewise.
19735 (fma_downward_test_data): Likewise.
19736 (fma_test_downward): Likewise.
19737 (fma_upward_test_data): Likewise.
19738 (fma_test_upward): Likewise.
19739 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19740 (j0_test_data): Update call to AUTO_TESTS_f_f.
19741 (j1_test_data): Likewise.
19742 (jn_test_data): Update call to AUTO_TESTS_if_f.
19743 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19744 (log_test_data): Update call to AUTO_TESTS_f_f.
19745 (log10_test_data): Likewise.
19746 (log1p_test_data): Likewise.
19747 (log2_test_data): Likewise.
19748 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19749 (pow_tonearest_test_data): Likewise.
19750 (sin_test_data): Update call to AUTO_TESTS_f_f.
19751 (sin_test): Use ALL_RM_TEST.
19752 (sin_tonearest_test_data): Remove.
19753 (sin_test_tonearest): Likewise.
19754 (sin_towardzero_test_data): Likewise.
19755 (sin_test_towardzero): Likewise.
19756 (sin_downward_test_data): Likewise.
19757 (sin_test_downward): Likewise.
19758 (sin_upward_test_data): Likewise.
19759 (sin_test_upward): Likewise.
19760 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19761 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19762 (sinh_test): Use ALL_RM_TEST.
19763 (sinh_tonearest_test_data): Remove.
19764 (sinh_test_tonearest): Likewise.
19765 (sinh_towardzero_test_data): Likewise.
19766 (sinh_test_towardzero): Likewise.
19767 (sinh_downward_test_data): Likewise.
19768 (sinh_test_downward): Likewise.
19769 (sinh_upward_test_data): Likewise.
19770 (sinh_test_upward): Likewise.
19771 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19772 (sqrt_test): Use ALL_RM_TEST.
19773 (sqrt_tonearest_test_data): Remove.
19774 (sqrt_test_tonearest): Likewise.
19775 (sqrt_towardzero_test_data): Likewise.
19776 (sqrt_test_towardzero): Likewise.
19777 (sqrt_downward_test_data): Likewise.
19778 (sqrt_test_downward): Likewise.
19779 (sqrt_upward_test_data): Likewise.
19780 (sqrt_test_upward): Likewise.
19781 (tan_test_data): Update call to AUTO_TESTS_f_f.
19782 (tan_test): Use ALL_RM_TEST.
19783 (tan_tonearest_test_data): Remove.
19784 (tan_test_tonearest): Likewise.
19785 (tan_towardzero_test_data): Likewise.
19786 (tan_test_towardzero): Likewise.
19787 (tan_downward_test_data): Likewise.
19788 (tan_test_downward): Likewise.
19789 (tan_upward_test_data): Likewise.
19790 (tan_test_upward): Likewise.
19791 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19792 (tgamma_test_data): Likewise.
19793 (y0_test_data): Likewise.
19794 (y1_test_data): Likewise.
19795 (yn_test_data): Update call to AUTO_TESTS_if_f.
19796 (main): Do not call removed functions.
19798 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19800 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19801 (ldexp_test_data): Remove.
19802 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19804 (scalb_test): Use ALL_RM_TEST.
19806 2014-03-19 Andreas Schwab <schwab@suse.de>
19808 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19810 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19813 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19814 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19815 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19816 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19817 (__ASSUME_PREADV): Undefine.
19818 (__ASSUME_PWRITEV): Likewise.
19820 2014-03-18 Roland McGrath <roland@hack.frob.com>
19822 * bits/mman-linux.h: Add comment about non-Linux use.
19823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19824 bits/mman-linux.h resting place.
19826 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19827 * bits/mman-linux.h: ... here.
19829 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19831 * conform/conformtest.pl: Add standard definition when calling C
19832 preprocessor on data files.
19833 (checknamespace): Remove unused variable.
19835 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19837 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19838 minus_oflow, plus_uflow and minus_uflow in expected results.
19839 * math/libm-test.inc (scalbn_test_data): Add more tests of
19840 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19842 (scalbn_test): Use ALL_RM_TEST.
19843 (scalbln_test_data): Add more tests of negative arguments. Use
19844 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19845 (scalbln_test): Use ALL_RM_TEST.
19847 2014-03-18 Roland McGrath <roland@hack.frob.com>
19849 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19851 2014-03-18 Will Newton <will.newton@linaro.org>
19853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19854 inaccurate comment.
19856 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19858 * Makerules [!subdir] (check-abi): Exit with error status if a
19861 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19863 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19864 for rint. Include results for all rounding modes.
19865 (nearbyint_test): Use ALL_RM_TEST.
19866 (rint_test_data): Include all tests used for nearbyint.
19868 2014-03-17 Will Newton <will.newton@linaro.org>
19870 * nptl/sysdeps/pthread/pthread.h: Revert previous
19873 * sysdeps/generic/ldsodefs.h: Revert previous
19876 * libio/genops.c: Revert previous change.
19877 * libio/libioP.h: Likewise.
19878 * stdio-common/vfprintf.c: Likewise.
19880 * sysdeps/generic/math_private.h: Revert previous
19883 * sysdeps/generic/math_private.h: Check whether
19884 HAVE_RM_CTX is defined with #ifdef rather
19887 * argp/argp-fmtstream.h: Check whether
19888 __STRICT_ANSI__ is defined with #ifdef rather
19890 * argp/argp.h: Likewise.
19892 * libio/genops.c: Check whether
19893 _IO_JUMPS_OFFSET is defined with #ifdef rather
19895 * libio/libioP.h: Likewise.
19896 * stdio-common/vfprintf.c: Likewise.
19898 * sysdeps/generic/ldsodefs.h: Check whether
19899 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19902 * nptl/sysdeps/pthread/pthread.h: Check
19903 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19906 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19908 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19910 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19914 * libio/fileops.c (_IO_file_open): Seek to end of file but
19915 don't cache the offset.
19916 (get_file_offset): Remove function.
19917 (do_ftell): Use cached offset when available.
19918 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19919 don't cache the offset.
19920 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19922 (do_one_test): Call it.
19923 (do_ftell_test): Fix up expected old offset for a+ mode.
19924 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19927 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19928 up test status with function return status.
19929 (do_write_test): Likewise.
19930 (do_append_test): Likewise.
19932 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19933 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19936 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19938 * math/gen-libm-test.pl (parse_args): Handle results specified for
19939 each rounding mode separately.
19940 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19941 tests and results from lrint_tonearest_test_data,
19942 lrint_towardzero_test_data, lrint_downward_test_data and
19943 lrint_upward_test_data.
19944 (lrint_test): Use ALL_RM_TEST.
19945 (lrint_tonearest_test_data): Remove.
19946 (lrint_test_tonearest): Likewise.
19947 (lrint_towardzero_test_data): Likewise.
19948 (lrint_test_towardzero): Likewise.
19949 (lrint_downward_test_data): Likewise.
19950 (lrint_test_downward): Likewise.
19951 (lrint_upward_test_data): Likewise.
19952 (lrint_test_upward): Likewise.
19953 (llrint_test_data): Merge in per-rounding-mode tests and results
19954 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19955 llrint_downward_test_data and llrint_upward_test_data.
19956 (llrint_test): Use ALL_RM_TEST.
19957 (llrint_tonearest_test_data): Remove.
19958 (llrint_test_tonearest): Likewise.
19959 (llrint_towardzero_test_data): Likewise.
19960 (llrint_test_towardzero): Likewise.
19961 (llrint_downward_test_data): Likewise.
19962 (llrint_test_downward): Likewise.
19963 (llrint_upward_test_data): Likewise.
19964 (llrint_test_upward): Likewise.
19965 (rint_test_data): Merge in per-rounding-mode tests and results
19966 from rint_tonearest_test_data, rint_towardzero_test_data,
19967 rint_downward_test_data and rint_upward_test_data. Add
19968 per-rounding-mode results for tests not in those arrays.
19969 (rint_test): Use ALL_RM_TEST.
19970 (rint_tonearest_test_data): Remove.
19971 (rint_test_tonearest): Likewise.
19972 (rint_towardzero_test_data): Likewise.
19973 (rint_test_towardzero): Likewise.
19974 (rint_downward_test_data): Likewise.
19975 (rint_test_downward): Likewise.
19976 (rint_upward_test_data): Likewise.
19977 (rint_test_upward): Likewise.
19978 (main): Don't call removed functions.
19980 2014-03-14 Roland McGrath <roland@hack.frob.com>
19982 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19983 "Compiled on ..." crapola. It is anti-useful.
19985 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19987 * scripts/evaluate-test.sh: Handle fourth argument to determine
19988 whether test run should stop on failure.
19989 * Makeconfig (stop-on-test-failure): New variable.
19990 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19991 $(stop-on-test-failure).
19992 * Makefile (tests): Give a summary of results from testing and
19993 exit with failure status if they include an ERROR or FAIL.
19994 (xtests): Likewise.
19995 * manual/install.texi (Configuring and compiling): Mention
19996 stop-on-test-failure=y.
19997 * INSTALL: Regenerated.
19999 2014-03-14 Roland McGrath <roland@hack.frob.com>
20001 * scripts/versionlist.awk: New file.
20002 * Makerules [$(build-shared) = yes]
20003 (postclean-generated): Add Versions.def, not Versions.def.v and
20005 ($(common-objpfx)Versions.def.v.i): Target removed.
20006 ($(common-objpfx)Versions.def): New target.
20007 ($(common-objpfx)Versions.all): Depend on that rather that
20008 $(common-objpfx)Versions.def.v.
20009 * Versions.def: File removed.
20011 * Makeconfig (+gccwarn): Add -Wundef.
20012 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20013 a dl-sysdep.h breaking its contract.
20014 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20015 * include/stackinfo.h: New file.
20016 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20017 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20018 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20019 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20020 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20021 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20022 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20023 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20024 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20025 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20026 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20027 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20028 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20029 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20030 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20032 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20035 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20037 * math/libm-test.inc (round_test_data): Add more tests.
20040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20042 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20045 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20047 * math/libm-test.inc (ceil_test_data): Add more tests.
20049 * math/libm-test.inc (trunc_test_data): Add more tests related to
20052 2014-03-14 Roland McGrath <roland@hack.frob.com>
20054 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20055 with #if rather than #ifdef.
20056 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20058 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20060 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20061 first. Disable AVX-512 GCC support if assembler doesn't support
20063 * sysdeps/x86_64/configure: Regenerated.
20065 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20067 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20068 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20069 (__old_pthread_attr_setstack): Likewise.
20070 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20071 [!_STACK_GROWS_DOWN]: Likewise.
20073 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20075 * config.make.in (have-bash2): Delete.
20076 * configure.ac (libc_cv_have_bash2): Delete.
20077 * configure: Regenerate.
20078 * elf/Makefile (common-ldd-rewrite): Rename to ...
20079 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20080 (sh-ldd-rewrite): Delete.
20081 (bash-ldd-rewrite): Delete.
20082 (have-bash2): Delete checks.
20083 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20086 * config.make.in (have-ksh): Delete.
20088 * configure.ac (libc_cv_have_ksh): Delete.
20089 * configure: Regenerate.
20091 * elf/Makefile: Delete $(have-ksh) check.
20092 ($(objpfx)sotruss): Change KSH to BASH.
20093 * elf/sotruss.ksh: Rename to ...
20094 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20095 function style to match POSIX. Drop ksh vim mode setting.
20097 * manual/time.texi (Specifying the Time Zone with TZ): Change
20098 Tuesday to Thursday.
20100 * debug/tst-longjmp_chk2.c: Update header comment.
20101 (stackoverflow_handler): Add comment. Call assert on pass value.
20103 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20106 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20107 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20108 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20109 (La_x86_64_vector): Add zmm.
20110 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20111 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20112 ($(objpfx)tst-audit10): New target.
20113 ($(objpfx)tst-audit10.out): Likewise.
20114 (tst-audit10-ENV): New.
20115 (AVX512-CFLAGS): Likewise.
20116 (CFLAGS-tst-audit10.c): Likewise.
20117 (CFLAGS-tst-auditmod10a.c): Likewise.
20118 (CFLAGS-tst-auditmod10b.c): Likewise.
20119 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20120 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20121 * sysdeps/x86_64/configure: Regenerated.
20122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20123 AVX-512 zmm register support.
20124 (_dl_x86_64_save_sse): Likewise.
20125 (_dl_x86_64_restore_sse): Likewise.
20126 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20127 size vector registers.
20128 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20129 (ZMM_SIZE): Likewise.
20130 * sysdeps/x86_64/tst-audit10.c: New file.
20131 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20132 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20134 2014-03-13 Roland McGrath <roland@hack.frob.com>
20136 * configure.ac (HAVE_EHDR_START): New check.
20137 * configure: Regenerated.
20138 * config.h.in (HAVE_EHDR_START): New #undef.
20139 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20140 assuming the lowest-addressed segment maps the start of the file.
20142 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20144 * INSTALL: Regenerated.
20146 2014-03-13 Will Newton <will.newton@linaro.org>
20148 * manual/setjmp.texi (System V contexts): Improve
20149 clarity and grammar of documentation.
20151 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20154 * elf/Makefile (tests): Add tst-pie2.
20155 (tests-pie): Add tst-pie2.
20156 * elf/tst-pie2.c: New file.
20157 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20159 * elf/rtld.c (map_doit): Load executable as lt_executable.
20160 (dl_main): Likewise.
20162 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20166 (__ASSUME_PSELECT): Undefine.
20168 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20172 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20174 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20175 selector for static builds.
20177 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20180 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20183 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20185 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20186 IFUNC selector for static builds.
20188 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20190 * sysdeps/mips/math_private.h [__mips_hard_float]
20191 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20192 libc_feresetround_mips_ctx.
20193 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20194 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20195 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20198 * math/s_nextafter.c (__nextafter): Do not return value from
20199 overflowing computation.
20200 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20201 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20202 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20204 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20206 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20207 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20209 2014-03-11 Roland McGrath <roland@hack.frob.com>
20211 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20212 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20213 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20214 the new mov targetting sp.
20216 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20220 Define it for static builds as well.
20221 (NO_BZERO_IMPL): Likewise.
20223 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20225 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20226 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20227 multiarch strspn for PPC64.
20228 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20229 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20231 (__libc_ifunc_impl_list): Likewise.
20232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20233 multiarch optimizations
20234 * string/strspn.c (strspn): Using macro to redefine symbol name.
20236 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20237 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20239 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20240 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20241 multiarch strncat for PPC64.
20242 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20243 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20245 (__libc_ifunc_impl_list): Likewise.
20246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20247 multiarch optimizations
20249 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20252 * nscd/nscd.service: Make service type forking.
20254 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20256 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20257 sign in non default rounding modes.
20258 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20260 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20262 * math/libm-test.inc (ALL_RM_TEST): New macro.
20263 (ceil_test): Use ALL_RM_TEST.
20264 (cimag_test): Likewise.
20265 (conj_test): Likewise.
20266 (copysign_test): Likewise.
20267 (cproj_test): Likewise.
20268 (creal_test): Likewise.
20269 (fabs_test): Likewise.
20270 (floor_test): Likewise.
20271 (fmax_test): Likewise.
20272 (fmin_test): Likewise.
20273 (fmod_test): Likewise.
20274 (fpclassify_test): Likewise.
20275 (frexp_test): Likewise.
20276 (ilogb_test): Likewise.
20277 (isfinite_test): Likewise.
20278 (finite_test): Likewise.
20279 (isgreater_test): Likewise.
20280 (isgreaterequal_test): Likewise.
20281 (isinf_test): Likewise.
20282 (isless_test): Likewise.
20283 (islessequal_test): Likewise.
20284 (islessgreater_test): Likewise.
20285 (isnan_test): Likewise.
20286 (isnormal_test): Likewise.
20287 (issignaling_test): Likewise.
20288 (isunordered_test): Likewise.
20289 (logb_test): Likewise.
20290 (logb_downward_test_data): Remove.
20291 (logb_test_downward): Likewise.
20292 (lround_test): Use ALL_RM_TEST.
20293 (llround_test): Likewise.
20294 (modf_test): Likewise.
20295 (nexttoward_test): Likewise.
20296 (remainder_test): Likewise.
20297 (drem_test): Likewise.
20298 (remainder_tonearest_test_data): Likewise.
20299 (remainder_test_tonearest): Likewise.
20300 (drem_test_tonearest): Likewise.
20301 (remainder_towardzero_test_data): Likewise.
20302 (remainder_test_towardzero): Likewise.
20303 (drem_test_towardzero): Likewise.
20304 (remainder_downward_test_data): Likewise.
20305 (remainder_test_downward): Likewise.
20306 (drem_test_downward): Likewise.
20307 (remainder_upward_test_data): Likewise.
20308 (remainder_test_upward): Likewise.
20309 (drem_test_upward): Likewise.
20310 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20311 (round_test): Use ALL_RM_TEST.
20312 (signbit_test): Likewise.
20313 (trunc_test): Likewise.
20314 (significand_test): Likewise.
20315 (main): Don't call removed functions.
20317 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20320 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20321 || __USE_XOPEN2K8].
20322 (ILL_ILLOPN): Likewise.
20323 (ILL_ILLADR): Likewise.
20324 (ILL_ILLTRP): Likewise.
20325 (ILL_PRVOPC): Likewise.
20326 (ILL_PRVREG): Likewise.
20327 (ILL_COPROC): Likewise.
20328 (ILL_BADSTK): Likewise.
20329 (FPE_INTDIV): Likewise.
20330 (FPE_INTOVF): Likewise.
20331 (FPE_FLTDIV): Likewise.
20332 (FPE_FLTOVF): Likewise.
20333 (FPE_FLTUND): Likewise.
20334 (FPE_FLTRES): Likewise.
20335 (FPE_FLTINV): Likewise.
20336 (FPE_FLTSUB): Likewise.
20337 (SEGV_MAPERR): Likewise.
20338 (SEGV_ACCERR): Likewise.
20339 (BUS_ADRALN): Likewise.
20340 (BUS_ADRERR): Likewise.
20341 (BUS_OBJERR): Likewise.
20342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20343 (TRAP_TRACE): Likewise.
20344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20346 (CLD_KILLED): Likewise.
20347 (CLD_DUMPED): Likewise.
20348 (CLD_TRAPPED): Likewise.
20349 (CLD_STOPPED): Likewise.
20350 (CLD_CONTINUED): Likewise.
20351 (POLL_IN): Likewise.
20352 (POLL_OUT): Likewise.
20353 (POLL_MSG): Likewise.
20354 (POLL_ERR): Likewise.
20355 (POLL_PRI): Likewise.
20356 (POLL_HUP): Likewise.
20357 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20359 (ILL_ILLOPN): Likewise.
20360 (ILL_ILLADR): Likewise.
20361 (ILL_ILLTRP): Likewise.
20362 (ILL_PRVOPC): Likewise.
20363 (ILL_PRVREG): Likewise.
20364 (ILL_COPROC): Likewise.
20365 (ILL_BADSTK): Likewise.
20366 (FPE_INTDIV): Likewise.
20367 (FPE_INTOVF): Likewise.
20368 (FPE_FLTDIV): Likewise.
20369 (FPE_FLTOVF): Likewise.
20370 (FPE_FLTUND): Likewise.
20371 (FPE_FLTRES): Likewise.
20372 (FPE_FLTINV): Likewise.
20373 (FPE_FLTSUB): Likewise.
20374 (SEGV_MAPERR): Likewise.
20375 (SEGV_ACCERR): Likewise.
20376 (BUS_ADRALN): Likewise.
20377 (BUS_ADRERR): Likewise.
20378 (BUS_OBJERR): Likewise.
20379 (BUS_MCEERR_AR): Likewise.
20380 (BUS_MCEERR_AO): Likewise.
20381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20382 (TRAP_TRACE): Likewise.
20383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20385 (CLD_KILLED): Likewise.
20386 (CLD_DUMPED): Likewise.
20387 (CLD_TRAPPED): Likewise.
20388 (CLD_STOPPED): Likewise.
20389 (CLD_CONTINUED): Likewise.
20390 (POLL_IN): Likewise.
20391 (POLL_OUT): Likewise.
20392 (POLL_MSG): Likewise.
20393 (POLL_ERR): Likewise.
20394 (POLL_PRI): Likewise.
20395 (POLL_HUP): Likewise.
20396 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20397 (ILL_ILLOPN): Likewise.
20398 (ILL_ILLADR): Likewise.
20399 (ILL_ILLTRP): Likewise.
20400 (ILL_PRVOPC): Likewise.
20401 (ILL_PRVREG): Likewise.
20402 (ILL_COPROC): Likewise.
20403 (ILL_BADSTK): Likewise.
20404 (FPE_INTDIV): Likewise.
20405 (FPE_INTOVF): Likewise.
20406 (FPE_FLTDIV): Likewise.
20407 (FPE_FLTOVF): Likewise.
20408 (FPE_FLTUND): Likewise.
20409 (FPE_FLTRES): Likewise.
20410 (FPE_FLTINV): Likewise.
20411 (FPE_FLTSUB): Likewise.
20412 (SEGV_MAPERR): Likewise.
20413 (SEGV_ACCERR): Likewise.
20414 (BUS_ADRALN): Likewise.
20415 (BUS_ADRERR): Likewise.
20416 (BUS_OBJERR): Likewise.
20417 (BUS_MCEERR_AR): Likewise.
20418 (BUS_MCEERR_AO): Likewise.
20419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20420 (TRAP_TRACE): Likewise.
20421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20423 (CLD_KILLED): Likewise.
20424 (CLD_DUMPED): Likewise.
20425 (CLD_TRAPPED): Likewise.
20426 (CLD_STOPPED): Likewise.
20427 (CLD_CONTINUED): Likewise.
20428 (POLL_IN): Likewise.
20429 (POLL_OUT): Likewise.
20430 (POLL_MSG): Likewise.
20431 (POLL_ERR): Likewise.
20432 (POLL_PRI): Likewise.
20433 (POLL_HUP): Likewise.
20434 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20436 (ILL_ILLOPN): Likewise.
20437 (ILL_ILLADR): Likewise.
20438 (ILL_ILLTRP): Likewise.
20439 (ILL_PRVOPC): Likewise.
20440 (ILL_PRVREG): Likewise.
20441 (ILL_COPROC): Likewise.
20442 (ILL_BADSTK): Likewise.
20443 (ILL_BADIADDR): Likewise.
20444 (ILL_BREAK): Likewise.
20445 (FPE_INTDIV): Likewise.
20446 (FPE_INTOVF): Likewise.
20447 (FPE_FLTDIV): Likewise.
20448 (FPE_FLTOVF): Likewise.
20449 (FPE_FLTUND): Likewise.
20450 (FPE_FLTRES): Likewise.
20451 (FPE_FLTINV): Likewise.
20452 (FPE_FLTSUB): Likewise.
20453 (FPE_DECOVF): Likewise.
20454 (FPE_DECDIV): Likewise.
20455 (FPE_DECERR): Likewise.
20456 (FPE_INVASC): Likewise.
20457 (FPE_INVDEC): Likewise.
20458 (SEGV_MAPERR): Likewise.
20459 (SEGV_ACCERR): Likewise.
20460 (SEGV_PSTKOVF): Likewise.
20461 (BUS_ADRALN): Likewise.
20462 (BUS_ADRERR): Likewise.
20463 (BUS_OBJERR): Likewise.
20464 (BUS_MCEERR_AR): Likewise.
20465 (BUS_MCEERR_AO): Likewise.
20466 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20467 (TRAP_TRACE): Likewise.
20468 (TRAP_BRANCH): Likewise.
20469 (TRAP_HWBKPT): Likewise.
20470 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20472 (CLD_KILLED): Likewise.
20473 (CLD_DUMPED): Likewise.
20474 (CLD_TRAPPED): Likewise.
20475 (CLD_STOPPED): Likewise.
20476 (CLD_CONTINUED): Likewise.
20477 (POLL_IN): Likewise.
20478 (POLL_OUT): Likewise.
20479 (POLL_MSG): Likewise.
20480 (POLL_ERR): Likewise.
20481 (POLL_PRI): Likewise.
20482 (POLL_HUP): Likewise.
20483 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20484 (ILL_ILLOPN): Likewise.
20485 (ILL_ILLADR): Likewise.
20486 (ILL_ILLTRP): Likewise.
20487 (ILL_PRVOPC): Likewise.
20488 (ILL_PRVREG): Likewise.
20489 (ILL_COPROC): Likewise.
20490 (ILL_BADSTK): Likewise.
20491 (FPE_INTDIV): Likewise.
20492 (FPE_INTOVF): Likewise.
20493 (FPE_FLTDIV): Likewise.
20494 (FPE_FLTOVF): Likewise.
20495 (FPE_FLTUND): Likewise.
20496 (FPE_FLTRES): Likewise.
20497 (FPE_FLTINV): Likewise.
20498 (FPE_FLTSUB): Likewise.
20499 (SEGV_MAPERR): Likewise.
20500 (SEGV_ACCERR): Likewise.
20501 (BUS_ADRALN): Likewise.
20502 (BUS_ADRERR): Likewise.
20503 (BUS_OBJERR): Likewise.
20504 (BUS_MCEERR_AR): Likewise.
20505 (BUS_MCEERR_AO): Likewise.
20506 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20507 (TRAP_TRACE): Likewise.
20508 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20510 (CLD_KILLED): Likewise.
20511 (CLD_DUMPED): Likewise.
20512 (CLD_TRAPPED): Likewise.
20513 (CLD_STOPPED): Likewise.
20514 (CLD_CONTINUED): Likewise.
20515 (POLL_IN): Likewise.
20516 (POLL_OUT): Likewise.
20517 (POLL_MSG): Likewise.
20518 (POLL_ERR): Likewise.
20519 (POLL_PRI): Likewise.
20520 (POLL_HUP): Likewise.
20521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20522 (ILL_ILLOPN): Likewise.
20523 (ILL_ILLADR): Likewise.
20524 (ILL_ILLTRP): Likewise.
20525 (ILL_PRVOPC): Likewise.
20526 (ILL_PRVREG): Likewise.
20527 (ILL_COPROC): Likewise.
20528 (ILL_BADSTK): Likewise.
20529 (FPE_INTDIV): Likewise.
20530 (FPE_INTOVF): Likewise.
20531 (FPE_FLTDIV): Likewise.
20532 (FPE_FLTOVF): Likewise.
20533 (FPE_FLTUND): Likewise.
20534 (FPE_FLTRES): Likewise.
20535 (FPE_FLTINV): Likewise.
20536 (FPE_FLTSUB): Likewise.
20537 (SEGV_MAPERR): Likewise.
20538 (SEGV_ACCERR): Likewise.
20539 (BUS_ADRALN): Likewise.
20540 (BUS_ADRERR): Likewise.
20541 (BUS_OBJERR): Likewise.
20542 (BUS_MCEERR_AR): Likewise.
20543 (BUS_MCEERR_AO): Likewise.
20544 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20545 (TRAP_TRACE): Likewise.
20546 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20548 (CLD_KILLED): Likewise.
20549 (CLD_DUMPED): Likewise.
20550 (CLD_TRAPPED): Likewise.
20551 (CLD_STOPPED): Likewise.
20552 (CLD_CONTINUED): Likewise.
20553 (POLL_IN): Likewise.
20554 (POLL_OUT): Likewise.
20555 (POLL_MSG): Likewise.
20556 (POLL_ERR): Likewise.
20557 (POLL_PRI): Likewise.
20558 (POLL_HUP): Likewise.
20559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20560 (ILL_ILLOPN): Likewise.
20561 (ILL_ILLADR): Likewise.
20562 (ILL_ILLTRP): Likewise.
20563 (ILL_PRVOPC): Likewise.
20564 (ILL_PRVREG): Likewise.
20565 (ILL_COPROC): Likewise.
20566 (ILL_BADSTK): Likewise.
20567 (FPE_INTDIV): Likewise.
20568 (FPE_INTOVF): Likewise.
20569 (FPE_FLTDIV): Likewise.
20570 (FPE_FLTOVF): Likewise.
20571 (FPE_FLTUND): Likewise.
20572 (FPE_FLTRES): Likewise.
20573 (FPE_FLTINV): Likewise.
20574 (FPE_FLTSUB): Likewise.
20575 (SEGV_MAPERR): Likewise.
20576 (SEGV_ACCERR): Likewise.
20577 (BUS_ADRALN): Likewise.
20578 (BUS_ADRERR): Likewise.
20579 (BUS_OBJERR): Likewise.
20580 (BUS_MCEERR_AR): Likewise.
20581 (BUS_MCEERR_AO): Likewise.
20582 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20583 (TRAP_TRACE): Likewise.
20584 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20586 (CLD_KILLED): Likewise.
20587 (CLD_DUMPED): Likewise.
20588 (CLD_TRAPPED): Likewise.
20589 (CLD_STOPPED): Likewise.
20590 (CLD_CONTINUED): Likewise.
20591 (POLL_IN): Likewise.
20592 (POLL_OUT): Likewise.
20593 (POLL_MSG): Likewise.
20594 (POLL_ERR): Likewise.
20595 (POLL_PRI): Likewise.
20596 (POLL_HUP): Likewise.
20597 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20598 (ILL_ILLOPN): Likewise.
20599 (ILL_ILLADR): Likewise.
20600 (ILL_ILLTRP): Likewise.
20601 (ILL_PRVOPC): Likewise.
20602 (ILL_PRVREG): Likewise.
20603 (ILL_COPROC): Likewise.
20604 (ILL_BADSTK): Likewise.
20605 (ILL_DBLFLT): Likewise.
20606 (ILL_HARDWALL): Likewise.
20607 (FPE_INTDIV): Likewise.
20608 (FPE_INTOVF): Likewise.
20609 (FPE_FLTDIV): Likewise.
20610 (FPE_FLTOVF): Likewise.
20611 (FPE_FLTUND): Likewise.
20612 (FPE_FLTRES): Likewise.
20613 (FPE_FLTINV): Likewise.
20614 (FPE_FLTSUB): Likewise.
20615 (SEGV_MAPERR): Likewise.
20616 (SEGV_ACCERR): Likewise.
20617 (BUS_ADRALN): Likewise.
20618 (BUS_ADRERR): Likewise.
20619 (BUS_OBJERR): Likewise.
20620 (BUS_MCEERR_AR): Likewise.
20621 (BUS_MCEERR_AO): Likewise.
20622 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20623 (TRAP_TRACE): Likewise.
20624 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20626 (CLD_KILLED): Likewise.
20627 (CLD_DUMPED): Likewise.
20628 (CLD_TRAPPED): Likewise.
20629 (CLD_STOPPED): Likewise.
20630 (CLD_CONTINUED): Likewise.
20631 (POLL_IN): Likewise.
20632 (POLL_OUT): Likewise.
20633 (POLL_MSG): Likewise.
20634 (POLL_ERR): Likewise.
20635 (POLL_PRI): Likewise.
20636 (POLL_HUP): Likewise.
20637 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20638 (ILL_ILLOPN): Likewise.
20639 (ILL_ILLADR): Likewise.
20640 (ILL_ILLTRP): Likewise.
20641 (ILL_PRVOPC): Likewise.
20642 (ILL_PRVREG): Likewise.
20643 (ILL_COPROC): Likewise.
20644 (ILL_BADSTK): Likewise.
20645 (FPE_INTDIV): Likewise.
20646 (FPE_INTOVF): Likewise.
20647 (FPE_FLTDIV): Likewise.
20648 (FPE_FLTOVF): Likewise.
20649 (FPE_FLTUND): Likewise.
20650 (FPE_FLTRES): Likewise.
20651 (FPE_FLTINV): Likewise.
20652 (FPE_FLTSUB): Likewise.
20653 (SEGV_MAPERR): Likewise.
20654 (SEGV_ACCERR): Likewise.
20655 (BUS_ADRALN): Likewise.
20656 (BUS_ADRERR): Likewise.
20657 (BUS_OBJERR): Likewise.
20658 (BUS_MCEERR_AR): Likewise.
20659 (BUS_MCEERR_AO): Likewise.
20660 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20661 (TRAP_TRACE): Likewise.
20662 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20664 (CLD_KILLED): Likewise.
20665 (CLD_DUMPED): Likewise.
20666 (CLD_TRAPPED): Likewise.
20667 (CLD_STOPPED): Likewise.
20668 (CLD_CONTINUED): Likewise.
20669 (POLL_IN): Likewise.
20670 (POLL_OUT): Likewise.
20671 (POLL_MSG): Likewise.
20672 (POLL_ERR): Likewise.
20673 (POLL_PRI): Likewise.
20674 (POLL_HUP): Likewise.
20675 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20676 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20679 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20680 before #include of <time.h>.
20681 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20682 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20683 (test-xfail-UNIX98/sched.h/conform): Likewise.
20685 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20687 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20688 error absence of trapping exception support.
20689 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20691 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20693 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20694 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20695 * timezone/Makefile (testdata): Move definition above include of
20697 (test-zones): New variable.
20698 (tests-special): Add zone files.
20699 (build-testdata): Use $(evaluate-test).
20701 * elf/Makefile (tests-special): Rename tests to end with .out.
20702 ($(objpfx)noload-mem): Likewise.
20703 ($(objpfx)tst-leaks1-mem): Likewise.
20704 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20705 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20706 $(objpfx)test-iconvconfig.out.
20707 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20708 set -e inside subshell and redirect output to file.
20709 * iconvdata/Makefile (generated): Rename tests to end with .out.
20711 (tests-special): Rename tests to end with .out.
20712 ($(objpfx)mtrace-tst-loading): Likewise.
20713 * intl/Makefile (generated): Likewise.
20714 (tests-special): Likewise.
20715 ($(objpfx)mtrace-tst-gettext): Likewise.
20716 * misc/Makefile (generated): Likewise.
20717 (tests-special): Likewise.
20718 ($(objpfx)tst-error1-mem): Likewise.
20719 * nptl/Makefile (tests-special): Likewise.
20720 ($(objpfx)tst-stack3-mem): Likewise.
20721 (generated): Likewise.
20722 * posix/Makefile (generated): Likewise.
20723 (tests-special): Likewise.
20724 (xtests-special): Likewise.
20725 ($(objpfx)tst-fnmatch-mem): Likewise.
20726 ($(objpfx)bug-regex2-mem): Likewise.
20727 ($(objpfx)bug-regex14-mem): Likewise.
20728 ($(objpfx)bug-regex21-mem): Likewise.
20729 ($(objpfx)bug-regex31-mem): Likewise.
20730 ($(objpfx)tst-vfork3-mem): Likewise.
20731 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20732 ($(objpfx)tst-pcre-mem): Likewise.
20733 ($(objpfx)tst-boost-mem): Likewise.
20734 ($(objpfx)bug-ga2-mem): Likewise.
20735 ($(objpfx)bug-glob2-mem): Likewise.
20736 * resolv/Makefile (generate): Likewise.
20737 (tests-special): Likewise.
20738 (xtests-special): Likewise.
20739 (generated): Likewise.
20740 ($(objpfx)mtrace-tst-leaks): Likewise.
20741 ($(objpfx)mtrace-tst-leaks2): Likewise.
20743 * scripts/merge-test-results.sh: New file.
20744 * Makefile (tests-special-notdir): New variable.
20745 (tests): Run merge-test-results.sh.
20746 (xtests): Likewise.
20747 * Rules (tests-special-notdir): New variable.
20748 (xtests-special-notdir): Likewise.
20749 (tests): Run merge-test-results.sh
20750 (xtests): Likewise.
20752 * Makeconfig (test-xfail-name): New variable.
20753 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20754 compute variable name for expected failures.
20755 * conform/Makefile (conformtest-headers-data): New variable.
20756 (conformtest-standards): Likewise.
20757 (conformtest-headers-ISO): Likewise.
20758 (conformtest-headers-ISO99): Likewise.
20759 (conformtest-headers-ISO11): Likewise.
20760 (conformtest-headers-POSIX): Likewise.
20761 (conformtest-headers-XPG3): Likewise.
20762 (conformtest-headers-XPG4): Likewise.
20763 (conformtest-headers-UNIX98): Likewise.
20764 (conformtest-headers-XOPEN2K): Likewise.
20765 (conformtest-headers-POSIX2008): Likewise.
20766 (conformtest-headers-XOPEN2K8): Likewise.
20767 (conformtest-header-list-base): Likewise.
20768 (conformtest-header-list-tests): Likewise.
20769 (conformtest-header-base): Likewise.
20770 (conformtest-header-tests): Likewise.
20771 (tests-special): Add $(conformtest-header-list-tests). If
20772 [$(fast-check) && !$(cross-compiling)], add
20773 $(conformtest-header-tests) instead of
20774 $(objpfx)run-conformtest.out.
20775 (generated): Add $(conformtest-header-list-base). If
20776 [$(fast-check) && !$(cross-compiling)], add
20777 $(conformtest-header-base). Remove previous setting.
20778 ($(conformtest-header-list-tests)): New target.
20779 (test-xfail-run-conformtest): Remove variable.
20780 ($(objpfx)run-conformtest.out): Remove target.
20781 (test-xfail-ISO11/complex.h/conform): New variable.
20782 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20783 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20784 (test-xfail-XPG3/varargs.h/conform): Likewise.
20785 (test-xfail-XPG4/varargs.h/conform): Likewise.
20786 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20787 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20788 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20789 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20790 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20791 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20792 (test-xfail-XPG3/ftw.h/conform): Likewise.
20793 (test-xfail-XPG3/grp.h/conform): Likewise.
20794 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20795 (test-xfail-XPG3/limits.h/conform): Likewise.
20796 (test-xfail-XPG3/pwd.h/conform): Likewise.
20797 (test-xfail-XPG3/search.h/conform): Likewise.
20798 (test-xfail-XPG3/signal.h/conform): Likewise.
20799 (test-xfail-XPG3/stdio.h/conform): Likewise.
20800 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20801 (test-xfail-XPG3/string.h/conform): Likewise.
20802 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20803 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20804 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20805 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20806 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20807 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20808 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20809 (test-xfail-XPG3/termios.h/conform): Likewise.
20810 (test-xfail-XPG3/time.h/conform): Likewise.
20811 (test-xfail-XPG3/unistd.h/conform): Likewise.
20812 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20813 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20814 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20815 (test-xfail-XPG4/netdb.h/conform): Likewise.
20816 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20817 (test-xfail-XPG4/signal.h/conform): Likewise.
20818 (test-xfail-XPG4/stdio.h/conform): Likewise.
20819 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20820 (test-xfail-XPG4/stropts.h/conform): Likewise.
20821 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20822 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20823 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20824 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20825 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20826 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20827 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20828 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20829 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20830 (test-xfail-XPG4/termios.h/conform): Likewise.
20831 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20832 (test-xfail-XPG4/unistd.h/conform): Likewise.
20833 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20834 (test-xfail-POSIX/sched.h/conform): Likewise.
20835 (test-xfail-POSIX/signal.h/conform): Likewise.
20836 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20837 (test-xfail-POSIX/tar.h/conform): Likewise.
20838 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20839 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20840 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20841 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20842 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20843 (test-xfail-UNIX98/sched.h/conform): Likewise.
20844 (test-xfail-UNIX98/signal.h/conform): Likewise.
20845 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20846 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20847 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20848 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20849 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20850 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20851 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20852 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20853 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20854 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20855 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20856 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20857 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20858 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20859 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20860 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20861 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20862 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20863 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20864 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20865 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20866 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20867 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20868 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20869 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20870 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20871 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20872 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20873 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20874 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20875 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20876 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20877 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20878 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20879 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20880 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20881 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20882 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20883 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20884 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20885 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20886 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20887 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20888 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20889 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20890 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20891 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20892 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20893 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20894 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20895 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20896 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20897 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20898 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20899 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20900 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20901 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20902 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20903 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20904 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20905 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20906 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20907 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20908 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20909 (conformtest-cc-flags): Likewise.
20910 ($(conformtest-header-tests): New target.
20911 * conform/check-header-lists.sh: New file.
20912 * conform/run-conformtest.sh: Remove.
20914 * conform/conformtest.pl: Allow ' and \ in values given for
20916 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20918 [POSIX] (sys/types.h): Likewise.
20919 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20921 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20923 * conform/data/signal.h-data (SIGIO): Remove expectation.
20924 [XPG3] (SIGBUS): Do not expect.
20925 [POSIX || XPG3] (SIGPOLL): Likewise.
20926 [POSIX || XPG3] (SIGPROF): Likewise.
20927 [POSIX || XPG3] (SIGSYS): Likewise.
20928 [XPG3] (SIGTRAP): Likewise.
20929 [POSIX || XPG3] (SIGURG): Likewise.
20930 [POSIX || XPG3] (SIGVTALRM): Likewise.
20931 [POSIX || XPG3] (SIGXCPU): Likewise.
20932 [POSIX || XPG3] (SIGXFSZ): Likewise.
20933 [POSIX] (SA_SIGINFO): Expect.
20934 [XPG3] (siginfo_t): Do not expect type or contents.
20935 [POSIX] (si_pid): Do not expect element.
20936 [POSIX] (si_uid): Likewise.
20937 [POSIX] (si_addr): Likewise.
20938 [POSIX] (si_status): Likewise.
20939 [POSIX] (si_band): Likewise.
20940 [XPG4] (si_value): Likewise.
20941 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20942 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20943 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20944 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20945 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20946 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20947 [POSIX || XPG3] (ILL_COPROC): Likewise.
20948 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20949 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20950 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20951 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20952 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20953 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20954 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20955 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20956 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20957 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20958 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20959 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20960 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20961 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20962 [POSIX || XPG3] (CLD_EXITED): Likewise.
20963 [POSIX || XPG3] (CLD_KILLED): Likewise.
20964 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20965 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20966 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20967 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20968 [POSIX || XPG3] (POLL_IN): Likewise.
20969 [POSIX || XPG3] (POLL_OUT): Likewise.
20970 [POSIX || XPG3] (POLL_MSG): Likewise.
20971 [POSIX || XPG3] (POLL_ERR): Likewise.
20972 [POSIX || XPG3] (POLL_PRI): Likewise.
20973 [POSIX || XPG3] (POLL_HUP): Likewise.
20974 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20975 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20976 (SIG*): Do not allow.
20977 [XPG3] (si_*): Likewise.
20978 [XPG3] (SI_*): Likewise.
20979 [XPG3 || XPG4] (sigev_*): Likewise.
20980 [XPG3 || XPG4] (SIGEV_*): Likewise.
20981 [XPG3 || XPG4] (sival_*): Likewise.
20982 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20983 [POSIX || XPG3] (BUS_*): Likewise.
20984 [POSIX || XPG3] (CLD_*): Likewise.
20985 [POSIX || XPG3] (FPE_*): Likewise.
20986 [POSIX || XPG3] (ILL_*): Likewise.
20987 [POSIX || XPG3] (POLL_*): Likewise.
20988 [POSIX || XPG3] (SEGV_*): Likewise.
20989 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20990 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20991 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20992 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20993 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20994 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20995 Specify type and value.
20996 (TVERSLEN): Likewise.
20997 (REGTYPE): Likewise.
20998 (AREGTYPE): Likewise.
20999 (LNKTYPE): Likewise.
21000 (SYMTYPE): Likewise.
21001 (CHRTYPE): Likewise.
21002 (BLKTYPE): Likewise.
21003 (DIRTYPE): Likewise.
21004 (FIFOTYPE): Likewise.
21005 (CONTTYPE): Likewise.
21009 (TUREAD): Likewise.
21010 (TUWRITE): Likewise.
21011 (TUEXEC): Likewise.
21012 (TGREAD): Likewise.
21013 (TGWRITE): Likewise.
21014 (TGEXEC): Likewise.
21015 (TOREAD): Likewise.
21016 (TOWRITE): Likewise.
21017 (TOEXEC): Likewise.
21018 [POSIX] (TSVTX): Expect constant.
21020 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21022 * Makefile (tests): Change dependencies to ....
21023 (tests-special): ... additions to this variable.
21024 (tests): Depend on $(tests-special).
21025 * Makerules (check-abi-list): New variable.
21026 (check-abi): Depend on $(check-abi-list).
21027 [$(subdir) = elf] (tests-special): Add
21028 $(objpfx)check-abi-libc.out.
21029 [$(build-shared) = yes && subdir] (tests-special): Add
21031 [$(build-shared) = yes && subdir] (tests): Do not depend on
21033 * Rules (tests): Depend on $(tests-special).
21034 (xtests): Depend on $(xtests-special).
21035 * catgets/Makefile (tests): Change dependencies to ....
21036 (tests-special): ... additions to this variable.
21037 * conform/Makefile (tests): Change dependencies to ....
21038 (tests-special): ... additions to this variable.
21039 * elf/Makefile (tests): Change dependencies to ....
21040 (tests-special): ... additions to this variable.
21041 * grp/Makefile (tests): Change dependencies to ....
21042 (tests-special): ... additions to this variable.
21043 * iconv/Makefile (xtests): Change dependencies to ....
21044 (xtests-special): ... additions to this variable.
21045 * iconvdata/Makefile (tests): Change dependencies to ....
21046 (tests-special): ... additions to this variable.
21047 * intl/Makefile (tests): Change dependencies to ....
21048 (tests-special): ... additions to this variable. Also add
21049 $(objpfx)tst-gettext.out.
21050 * io/Makefile (tests): Change dependencies to ....
21051 (tests-special): ... additions to this variable.
21052 * libio/Makefile (tests): Change dependencies to ....
21053 (tests-special): ... additions to this variable.
21054 * malloc/Makefile (tests): Change dependencies to ....
21055 (tests-special): ... additions to this variable.
21056 * misc/Makefile (tests): Change dependencies to ....
21057 (tests-special): ... additions to this variable.
21058 * nptl/Makefile (tests): Change dependencies to ....
21059 (tests-special): ... additions to this variable.
21060 * nptl_db/Makefile (tests): Change dependencies to ....
21061 (tests-special): ... additions to this variable.
21062 * posix/Makefile (tests): Change dependencies to ....
21063 (tests-special): ... additions to this variable.
21064 (xtests): Change dependencies to ....
21065 (xtests-special): ... additions to this variable.
21066 * resolv/Makefile (tests): Change dependencies to ....
21067 (tests-special): ... additions to this variable.
21068 (xtests): Change dependencies to ....
21069 (xtests-special): ... additions to this variable.
21070 * stdio-common/Makefile (tests): Change dependencies to ....
21071 (tests-special): ... additions to this variable.
21072 (do-tst-unbputc): Remove target.
21073 (do-tst-printf): Likewise.
21074 * stdlib/Makefile (tests): Change dependencies to ....
21075 (tests-special): ... additions to this variable.
21076 * string/Makefile (tests): Change dependencies to ....
21077 (tests-special): ... additions to this variable.
21078 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21079 (tests-special): ... additions to this variable.
21081 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21083 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21085 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21086 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21088 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21089 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21090 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21091 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21092 * conform/data/libgen.h-data [XPG3]: Likewise.
21093 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21094 * conform/data/ndbm.h-data [XPG3]: Likewise.
21095 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21096 * conform/data/netdb.h-data [XPG3]: Likewise.
21097 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21098 * conform/data/poll.h-data [XPG3]: Likewise.
21099 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21100 * conform/data/strings.h-data [XPG3]: Likewise.
21101 * conform/data/stropts.h-data [XPG3]: Likewise.
21102 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21103 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21104 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21106 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21107 * conform/data/sys/time.h-data [XPG3]: Likewise.
21108 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21109 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21110 * conform/data/sys/un.h-data [XPG3]: Likewise.
21111 * conform/data/syslog.h-data [XPG3]: Likewise.
21112 * conform/data/ucontext.h-data [XPG3]: Likewise.
21113 * conform/data/utmpx.h-data [XPG3]: Likewise.
21114 * conform/data/varargs.h-data [UNIX98]: Enable file.
21116 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21118 * math/libm-test.inc (struct test_f_f_data): Move expected results
21119 into structure for each rounding mode.
21120 (struct test_ff_f_data): Likewise.
21121 (struct test_ff_f_data_nexttoward): Likewise.
21122 (struct test_fi_f_data): Likewise.
21123 (struct test_fl_f_data): Likewise.
21124 (struct test_if_f_data): Likewise.
21125 (struct test_fff_f_data): Likewise.
21126 (struct test_c_f_data): Likewise.
21127 (struct test_f_f1_data): Likewise.
21128 (struct test_fF_f1_data): Likewise.
21129 (struct test_ffI_f1_data): Likewise.
21130 (struct test_c_c_data): Likewise.
21131 (struct test_cc_c_data): Likewise.
21132 (struct test_f_i_data): Likewise.
21133 (struct test_ff_i_data): Likewise.
21134 (struct test_f_l_data): Likewise.
21135 (struct test_f_L_data): Likewise.
21136 (struct test_fFF_11_data): Likewise.
21138 (RM_FE_DOWNWARD): Likewise.
21139 (RM_FE_TONEAREST): Likewise.
21140 (RM_FE_TOWARDZERO): Likewise.
21141 (RM_FE_UPWARD): Likewise.
21142 (RUN_TEST_LOOP_f_f): Update references to expected results.
21143 (RUN_TEST_LOOP_2_f): Likewise.
21144 (RUN_TEST_LOOP_fff_f): Likewise.
21145 (RUN_TEST_LOOP_c_f): Likewise.
21146 (RUN_TEST_LOOP_f_f1): Likewise.
21147 (RUN_TEST_LOOP_fF_f1): Likewise.
21148 (RUN_TEST_LOOP_fI_f1): Likewise.
21149 (RUN_TEST_LOOP_ffI_f1): Likewise.
21150 (RUN_TEST_LOOP_c_c): Likewise.
21151 (RUN_TEST_LOOP_cc_c): Likewise.
21152 (RUN_TEST_LOOP_f_i): Likewise.
21153 (RUN_TEST_LOOP_f_i_tg): Likewise.
21154 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21155 (RUN_TEST_LOOP_f_b): Likewise.
21156 (RUN_TEST_LOOP_f_b_tg): Likewise.
21157 (RUN_TEST_LOOP_f_l): Likewise.
21158 (RUN_TEST_LOOP_f_L): Likewise.
21159 (RUN_TEST_LOOP_fFF_11): Likewise.
21160 * math/gen-libm-test.pl (parse_args): Output four copies of
21161 expected results for each test.
21163 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21164 (__ASSUME_UTIMES): Remove.
21165 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21166 (__ASSUME_UTIMES): Likewise.
21168 * math/gen-auto-libm-tests.c: Update comment on output format.
21169 (output_for_one_input_case): Generate before-rounding and
21170 after-rounding information as conditions on output flags not
21171 floating-point format.
21172 * math/auto-libm-test-out: Regenerated.
21173 * math/gen-libm-test.pl (cond_value): New function.
21174 (or_cond_value): Use cond_value.
21175 (generate_testfile): Handle conditional exceptions.
21177 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21179 * math/libm-test.inc (max_valid_error): New variable.
21180 (init_max_error): Take new argument specifying whether function
21181 results are exactly determined. Set max_valid_error and bound
21182 other variables for errors based on this argument.
21183 (set_max_error): Do not record results above max_valid_error.
21184 (check_float_internal): Only accept errors of up to 0.5ulps if
21185 also at most max_valid_error.
21186 (START): Take new argument EXACT and pass it to init_max_error.
21187 (acos_test): Update call to START.
21188 (acos_test_tonearest): Likewise.
21189 (acos_test_towardzero): Likewise.
21190 (acos_test_downward): Likewise.
21191 (acos_test_upward): Likewise.
21192 (acosh_test): Likewise.
21193 (asin_test): Likewise.
21194 (asin_test_tonearest): Likewise.
21195 (asin_test_towardzero): Likewise.
21196 (asin_test_downward): Likewise.
21197 (asin_test_upward): Likewise.
21198 (asinh_test): Likewise.
21199 (atan_test): Likewise.
21200 (atanh_test): Likewise.
21201 (atan2_test): Likewise.
21202 (cabs_test): Likewise.
21203 (cacos_test): Likewise.
21204 (cacosh_test): Likewise.
21205 (carg_test): Likewise.
21206 (casin_test): Likewise.
21207 (casinh_test): Likewise.
21208 (catan_test): Likewise.
21209 (catanh_test): Likewise.
21210 (cbrt_test): Likewise.
21211 (ccos_test): Likewise.
21212 (ccosh_test): Likewise.
21213 (ceil_test): Likewise.
21214 (cexp_test): Likewise.
21215 (cimag_test): Likewise.
21216 (clog_test): Likewise.
21217 (clog10_test): Likewise.
21218 (conj_test): Likewise.
21219 (copysign_test): Likewise.
21220 (cos_test): Likewise.
21221 (cos_test_tonearest): Likewise.
21222 (cos_test_towardzero): Likewise.
21223 (cos_test_downward): Likewise.
21224 (cos_test_upward): Likewise.
21225 (cosh_test): Likewise.
21226 (cosh_test_tonearest): Likewise.
21227 (cosh_test_towardzero): Likewise.
21228 (cosh_test_downward): Likewise.
21229 (cosh_test_upward): Likewise.
21230 (cpow_test): Likewise.
21231 (cproj_test): Likewise.
21232 (creal_test): Likewise.
21233 (csin_test): Likewise.
21234 (csinh_test): Likewise.
21235 (csqrt_test): Likewise.
21236 (ctan_test): Likewise.
21237 (ctan_test_tonearest): Likewise.
21238 (ctan_test_towardzero): Likewise.
21239 (ctan_test_downward): Likewise.
21240 (ctan_test_upward): Likewise.
21241 (ctanh_test): Likewise.
21242 (ctanh_test_tonearest): Likewise.
21243 (ctanh_test_towardzero): Likewise.
21244 (ctanh_test_downward): Likewise.
21245 (ctanh_test_upward): Likewise.
21246 (erf_test): Likewise.
21247 (erfc_test): Likewise.
21248 (exp_test): Likewise.
21249 (exp_test_tonearest): Likewise.
21250 (exp_test_towardzero): Likewise.
21251 (exp_test_downward): Likewise.
21252 (exp_test_upward): Likewise.
21253 (exp10_test): Likewise.
21254 (exp10_test_tonearest): Likewise.
21255 (exp10_test_towardzero): Likewise.
21256 (exp10_test_downward): Likewise.
21257 (exp10_test_upward): Likewise.
21258 (pow10_test): Likewise.
21259 (exp2_test): Likewise.
21260 (expm1_test): Likewise.
21261 (expm1_test_tonearest): Likewise.
21262 (expm1_test_towardzero): Likewise.
21263 (expm1_test_downward): Likewise.
21264 (expm1_test_upward): Likewise.
21265 (fabs_test): Likewise.
21266 (fdim_test): Likewise.
21267 (floor_test): Likewise.
21268 (fma_test): Likewise.
21269 (fma_test_towardzero): Likewise.
21270 (fma_test_downward): Likewise.
21271 (fma_test_upward): Likewise.
21272 (fmax_test): Likewise.
21273 (fmin_test): Likewise.
21274 (fmod_test): Likewise.
21275 (fpclassify_test): Likewise.
21276 (frexp_test): Likewise.
21277 (hypot_test): Likewise.
21278 (ilogb_test): Likewise.
21279 (isfinite_test): Likewise.
21280 (finite_test): Likewise.
21281 (isgreater_test): Likewise.
21282 (isgreaterequal_test): Likewise.
21283 (isinf_test): Likewise.
21284 (isless_test): Likewise.
21285 (islessequal_test): Likewise.
21286 (islessgreater_test): Likewise.
21287 (isnan_test): Likewise.
21288 (isnormal_test): Likewise.
21289 (issignaling_test): Likewise.
21290 (isunordered_test): Likewise.
21291 (j0_test): Likewise.
21292 (j1_test): Likewise.
21293 (jn_test): Likewise.
21294 (ldexp_test): Likewise.
21295 (lgamma_test): Likewise.
21296 (gamma_test): Likewise.
21297 (lrint_test): Likewise.
21298 (lrint_test_tonearest): Likewise.
21299 (lrint_test_towardzero): Likewise.
21300 (lrint_test_downward): Likewise.
21301 (lrint_test_upward): Likewise.
21302 (llrint_test): Likewise.
21303 (llrint_test_tonearest): Likewise.
21304 (llrint_test_towardzero): Likewise.
21305 (llrint_test_downward): Likewise.
21306 (llrint_test_upward): Likewise.
21307 (log_test): Likewise.
21308 (log10_test): Likewise.
21309 (log1p_test): Likewise.
21310 (log2_test): Likewise.
21311 (logb_test): Likewise.
21312 (logb_test_downward): Likewise.
21313 (lround_test): Likewise.
21314 (llround_test): Likewise.
21315 (modf_test): Likewise.
21316 (nearbyint_test): Likewise.
21317 (nextafter_test): Likewise.
21318 (nexttoward_test): Likewise.
21319 (pow_test): Likewise.
21320 (pow_test_tonearest): Likewise.
21321 (pow_test_towardzero): Likewise.
21322 (pow_test_downward): Likewise.
21323 (pow_test_upward): Likewise.
21324 (remainder_test): Likewise.
21325 (drem_test): Likewise.
21326 (remainder_test_tonearest): Likewise.
21327 (drem_test_tonearest): Likewise.
21328 (remainder_test_towardzero): Likewise.
21329 (drem_test_towardzero): Likewise.
21330 (remainder_test_downward): Likewise.
21331 (drem_test_downward): Likewise.
21332 (remainder_test_upward): Likewise.
21333 (drem_test_upward): Likewise.
21334 (remquo_test): Likewise.
21335 (rint_test): Likewise.
21336 (rint_test_tonearest): Likewise.
21337 (rint_test_towardzero): Likewise.
21338 (rint_test_downward): Likewise.
21339 (rint_test_upward): Likewise.
21340 (round_test): Likewise.
21341 (scalb_test): Likewise.
21342 (scalbn_test): Likewise.
21343 (scalbln_test): Likewise.
21344 (signbit_test): Likewise.
21345 (sin_test): Likewise.
21346 (sin_test_tonearest): Likewise.
21347 (sin_test_towardzero): Likewise.
21348 (sin_test_downward): Likewise.
21349 (sin_test_upward): Likewise.
21350 (sincos_test): Likewise.
21351 (sinh_test): Likewise.
21352 (sinh_test_tonearest): Likewise.
21353 (sinh_test_towardzero): Likewise.
21354 (sinh_test_downward): Likewise.
21355 (sinh_test_upward): Likewise.
21356 (sqrt_test): Likewise.
21357 (sqrt_test_tonearest): Likewise.
21358 (sqrt_test_towardzero): Likewise.
21359 (sqrt_test_downward): Likewise.
21360 (sqrt_test_upward): Likewise.
21361 (tan_test): Likewise.
21362 (tan_test_tonearest): Likewise.
21363 (tan_test_towardzero): Likewise.
21364 (tan_test_downward): Likewise.
21365 (tan_test_upward): Likewise.
21366 (tanh_test): Likewise.
21367 (tgamma_test): Likewise.
21368 (trunc_test): Likewise.
21369 (y0_test): Likewise.
21370 (y1_test): Likewise.
21371 (yn_test): Likewise.
21372 (significand_test): Likewise.
21374 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21375 individual tests in comment.
21376 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21377 (prev_max_error): New variable.
21378 (prev_real_max_error): Likewise.
21379 (prev_imag_max_error): Likewise.
21380 (compare_ulp_data): Don't refer to test names in comment.
21381 (find_test_ulps): Remove function.
21382 (find_function_ulps): Likewise.
21383 (find_complex_function_ulps): Likewise.
21384 (init_max_error): Take function name as argument. Look up ulps
21386 (print_ulps): Remove function.
21387 (print_max_error): Use prev_max_error instead of calling
21388 find_function_ulps.
21389 (print_complex_max_error): Use prev_real_max_error and
21390 prev_imag_max_error instead of calling find_complex_function_ulps.
21391 (check_float_internal): Take max_ulp parameter instead of calling
21392 find_test_ulps. Don't call print_ulps.
21393 (check_float): Update call to check_float_internal.
21394 (check_complex): Update calls to check_float_internal.
21395 (START): Pass argument to init_max_error.
21396 * math/gen-libm-test.pl (%results): Don't include "kind"
21398 (parse_ulps): Don't handle ulps of individual tests.
21399 (print_ulps_file): Likewise.
21400 (output_ulps): Likewise.
21401 * math/README.libm-test: Update.
21402 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21404 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21405 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21406 * sysdeps/arm/libm-test-ulps: Likewise.
21407 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21408 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21409 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21410 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21411 * sysdeps/microblaze/libm-test-ulps: Likewise.
21412 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21413 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21415 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21417 * sysdeps/sh/libm-test-ulps: Likewise.
21418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21419 * sysdeps/tile/libm-test-ulps: Likewise.
21420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21422 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21424 * math/libm-test.inc (print_complex_max_error): Check separately
21425 whether real and imaginary errors are within allowed range and
21426 pass 0 to print_complex_function_ulps instead of value within
21429 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21431 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21433 (get_handles_fopen): Likewise.
21434 (do_write_test): Likewise.
21436 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21438 * libio/fileops.c (do_ftell): Use cached offset when
21440 * libio/iofwide.c (do_ftell_wide): Likewise.
21441 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21443 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21446 * libio/libioP.h (get_file_offset): New function.
21447 * libio/fileops.c (get_file_offset): Likewise.
21448 (do_ftell): Likewise.
21449 (_IO_new_file_seekoff): Split out ftell logic.
21450 * libio/wfileops.c (do_ftell_wide): Likewise.
21451 (_IO_wfile_seekoff): Split out ftell logic.
21452 * libio/tst-ftell-active-handler.c: New test case.
21453 * libio/Makefile (tests): Add it.
21455 2014-03-03 Roland McGrath <roland@hack.frob.com>
21457 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21458 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21460 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21463 * nscd/connections.c (nscd_init): Call do_exit.
21464 (start_threads): Call do_exit and notify_parent.
21465 (begin_drop_privileges): Call do_exit.
21466 (finish_drop_privileges): Likewise.
21467 * nscd/selinux.c (preserve_capabilities): Likewise.
21468 (install_real_capabilities): Likewise.
21469 (nscd_selinux_enabled): Likewise.
21470 (avc_create_thread): Likewise.
21471 (avc_alloc_lock): Likewise.
21472 (nscd_avc_init): Likewise.
21473 * nscd/nscd.c (parent_fd): New static variable.
21474 (main): Create a pipe between parent and child processes.
21475 Skip closing parent_fd.
21476 (monitor_child): New function.
21477 (do_exit): Likewise.
21478 (notify_parent): Likewise.
21479 * nscd/nscd.h (notify_parent): Likewise.
21480 (do_exit): Likewise.
21482 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21484 * malloc/malloc.c (__libc_calloc): Revert last change.
21486 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21490 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21492 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21496 (__libc_ifunc_impl_list): Likewise.
21497 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21498 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21499 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21500 * string/strrchr.c: Define STRRCHR.
21502 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21504 * benchtest/bench-strtok.c (simple_strtok): Delete.
21505 (strtok_string): Use as benchmark.
21506 * string/strtok (STRTOK): New macro.
21508 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21510 * manual/threads.texi: Add header and standard comments to all
21513 * elf/dl-lookup.c (check_match): New function.
21514 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21515 (do_lookup_x): Remove nested function check_match. Use non-nested
21516 function check_match.
21518 2014-02-28 Roland McGrath <roland@hack.frob.com>
21520 * csu/Makefile (generated, before-compile): Use += rather than =.
21521 * catgets/Makefile (generated, generated-dirs): Likewise.
21522 * debug/Makefile (generated): Likewise.
21523 * dlfcn/Makefile (generated): Likewise.
21524 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21525 * iconvdata/Makefile (before-compile, generated): Likewise.
21526 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21527 * libio/Makefile (generated): Likewise.
21528 * malloc/Makefile (generated): Likewise.
21529 * manual/Makefile (generated, generated-dirs): Likewise.
21530 * misc/Makefile (generated): Likewise.
21531 * posix/Makefile (generated): Likewise.
21532 * resolv/Makefile (generated): Likewise.
21533 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21534 * timezone/Makefile (generated, generated-dirs): Likewise.
21536 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21538 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21541 power8 implementation.
21542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21543 file: POWER8 llround ifunc implementation.
21544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21545 (__lllround): Add POWER8 implementation.
21546 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21547 POWER8 llround implementation.
21549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21550 power8 implementation.
21551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21552 file: POWER8 llrint ifunc implementation.
21553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21554 Add POWER8 implementation.
21555 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21556 POWER8 llrint implementation.
21558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21559 power8 implementation.
21560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21561 file: POWER8 finite ifunc implementation.
21562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21563 Add POWER8 implementation.
21564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21566 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21567 POWER8 finite implementation.
21568 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21571 power8 implementation.
21572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21573 file: POWER8 isinf ifunc implementation.
21574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21575 POWER8 implementation.
21576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21579 isinf implementation.
21580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21582 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21583 (INIT_ARCH): Add hwcap2 initialization.
21584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21585 power8 implementation.
21586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21587 file: POWER8 isnan ifunc implementation.
21588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21589 POWER8 implementation.
21590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21593 isnan implementation.
21594 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21596 2014-02-27 Joey Ye <joey.ye@arm.com>
21598 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21599 (_FP_NANFRAC_Q): Set to zero.
21601 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21604 * math/auto-libm-test-in: New test inputs.
21605 * math/auto-libm-test-out: Regenerate.
21606 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21609 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21611 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21613 * scripts/evaluate-test.sh: Take new argument indicating whether
21614 failure is expected.
21615 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21616 indicating whether failure is expected.
21617 * conform/Makefile (test-xfail-run-conformtest): New variable.
21618 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21620 * posix/Makefile (test-xfail-annexc): New variable.
21621 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21623 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21625 * argp/Makefile: Include Makeconfig immediately after defining
21627 * assert/Makefile: Likewise.
21628 * benchtests/Makefile: Likewise.
21629 * catgets/Makefile: Likewise.
21630 * conform/Makefile: Likewise.
21631 * crypt/Makefile: Likewise.
21632 * csu/Makefile: Likewise.
21633 (all): Remove target.
21634 * ctype/Makefile: Include Makeconfig immediately after defining
21636 * debug/Makefile: Likewise.
21637 * dirent/Makefile: Likewise.
21638 * dlfcn/Makefile: Likewise.
21639 * gmon/Makefile: Likewise.
21640 * gnulib/Makefile: Likewise.
21641 * grp/Makefile: Likewise.
21642 * gshadow/Makefile: Likewise.
21643 * hesiod/Makefile: Likewise.
21644 * hurd/Makefile: Likewise.
21645 (all): Remove target.
21646 * iconvdata/Makefile: Include Makeconfig immediately after
21648 * inet/Makefile: Likewise.
21649 * intl/Makefile: Likewise.
21650 * io/Makefile: Likewise.
21651 * libio/Makefile: Likewise.
21652 (all): Remove target.
21653 * locale/Makefile: Include Makeconfig immediately after defining
21655 * login/Makefile: Likewise.
21656 * mach/Makefile: Likewise.
21657 (all): Remove target.
21658 * malloc/Makefile: Include Makeconfig immediately after defining
21660 (all): Remove target.
21661 * manual/Makefile: Include Makeconfig immediately after defining
21663 * math/Makefile: Likewise.
21664 * misc/Makefile: Likewise.
21665 * nis/Makefile: Likewise.
21666 * nss/Makefile: Likewise.
21667 * po/Makefile: Likewise.
21668 (all): Remove target.
21669 * posix/Makefile: Include Makeconfig immediately after defining
21671 * pwd/Makefile: Likewise.
21672 * resolv/Makefile: Likewise.
21673 * resource/Makefile: Likewise.
21674 * rt/Makefile: Likewise.
21675 * setjmp/Makefile: Likewise.
21676 * shadow/Makefile: Likewise.
21677 * signal/Makefile: Likewise.
21678 * socket/Makefile: Likewise.
21679 * soft-fp/Makefile: Likewise.
21680 * stdio-common/Makefile: Likewise.
21681 * stdlib/Makefile: Likewise.
21682 * streams/Makefile: Likewise.
21683 * string/Makefile: Likewise.
21684 * sunrpc/Makefile: Likewise.
21685 (all): Remove target.
21686 * sysvipc/Makefile: Include Makeconfig immediately after defining
21688 * termios/Makefile: Likewise.
21689 * time/Makefile: Likewise.
21690 * timezone/Makefile: Likewise.
21691 (all): Remove target.
21692 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21694 * wctype/Makefile: Likewise.
21696 2014-02-26 Steve Ellcey <sellcey@mips.com>
21698 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21699 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21700 (libc_feholdexcept_setround_mips): Ditto.
21701 (libc_feholdsetround): New.
21702 (libc_feholdsetroundf): New.
21703 (libc_feholdsetroundl): New.
21704 (libc_feupdateenv_test_mips): New.
21705 (libc_feupdateenv_test): New.
21706 (libc_feupdateenv_testf): New.
21707 (libc_feupdateenv_testl): New.
21708 (libc_feresetround): New.
21709 (libc_feresetroundf): New.
21710 (libc_feresetroundl): New.
21711 (libc_fetestexcept_mips): New.
21712 (libc_fetestexcept): New.
21713 (libc_fetestexceptf): New.
21714 (libc_fetestexceptl): New.
21715 (HAVE_RM_CTX): New.
21716 (libc_feholdexcept_setround_mips_ctx): New.
21717 (libc_feholdexcept_setround_ctx): New.
21718 (libc_feholdexcept_setroundf_ctx): New.
21719 (libc_feholdexcept_setroundl_ctx): New.
21720 (libc_fesetenv_mips_ctx): New.
21721 (libc_fesetenv_ctx): New.
21722 (libc_fesetenv_ctxf): New.
21723 (libc_fesetenv_ctxl): New.
21724 (libc_feupdateenv_mips_ctx): New.
21725 (libc_feupdateenv_ctx): New.
21726 (libc_feupdateenvf_ctx): New.
21727 (libc_feupdateenvl_ctx): New.
21728 (libc_feholdsetround_mips_ctx): New.
21729 (libc_feholdsetround_ctx): New.
21730 (libc_feholdsetroundf_ctx): New.
21731 (libc_feholdsetroundl_ctx): New.
21732 (libc_feresetround_mips_ctx): New.
21733 (libc_feresetround_ctx): New.
21734 (libc_feresetroundf_ctx): New.
21735 (libc_feresetroundl_ctx): New.
21737 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21739 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21741 * manual/ipc.texi: New file.
21742 * manual/Makefile (chapters): Add ipc.
21743 * manual/job.texi: Add "Inter-Process Communication" to next.
21744 * manual/process.texi: Add "Inter-Process Communication" to prev.
21746 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21750 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21752 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21754 * manual/arith.texi: Fix spaces after sentences.
21755 * manual/charset.texi: Likewise.
21756 * manual/errno.texi: Likewise.
21757 * manual/install.texi: Likewise.
21758 * manual/llio.texi: Likewise.
21759 * manual/locale.texi: Likewise.
21760 * manual/maint.texi: Likewise.
21761 * manual/math.texi: Likewise.
21762 * manual/memory.texi: Likewise.
21763 * manual/message.texi: Likewise.
21764 * manual/probes.texi: Likewise.
21765 * manual/resource.texi: Likewise.
21766 * manual/signal.texi: Likewise.
21767 * manual/socket.texi: Likewise.
21768 * manual/stdio.texi: Likewise.
21769 * manual/string.texi: Likewise.
21770 * manual/time.texi: Likewise.
21771 * manual/users.texi: Likewise.
21773 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21776 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21777 _DEFAULT_SOURCE is defined.
21779 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21780 Carlos O'Donell <carlos@redhat.com>
21783 * elf/dl-tls.c (_dl_count_modids): New function.
21784 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21785 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21786 audit library and increment generation counter.
21787 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21788 * elf/tst-audit9.c: New file.
21789 * elf/tst-auditmod9a.c: New file.
21790 * elf/tst-auditmod9b.c: New file.
21791 * elf/Makefile: Add rules to build and run tst-audit9.
21793 2014-02-25 Florian Weimer <fweimer@redhat.com>
21796 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21798 2014-02-25 Will Newton <will.newton@linaro.org>
21800 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21801 (__longjmp): Restore sp and lr before restoring callee
21802 saved registers. Add longjmp and longjmp_target
21803 SystemTap probe point.
21804 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21805 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21806 Define to zero to match jmpbuf layout.
21807 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21808 (__sigsetjmp): Save sp and lr before saving callee
21809 saved registers. Add setjmp SystemTap probe point.
21811 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21813 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21815 2014-02-24 Andreas Schwab <schwab@suse.de>
21818 * elf/pldd.c (wait_for_ptrace_stop): New function.
21819 (main): Call it after attaching.
21821 2014-02-22 Roland McGrath <roland@hack.frob.com>
21823 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21824 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21825 Versions files is now verboten.
21826 * hurd/Versions (libc: GLIBC_2.0):
21827 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21828 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21829 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21830 * mach/Versions: Likewise.
21832 * csu/Versions: Remove unused %include.
21833 * resolv/Versions: Likewise.
21835 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21837 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21838 ($(objpfx)check-local-headers.out): Likewise.
21839 ($(objpfx)begin-end-check.out): Likewise.
21840 * Makerules (check-abi-%.out): Likewise.
21841 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21842 ($(objpfx)test2.cat): Likewise.
21843 ($(objpfx)de/libc.cat): Likewise.
21844 ($(objpfx)test-gencat.out): Likewise.
21845 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21846 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21847 ($(objpfx)noload-mem): Likewise.
21848 ($(objpfx)tst-pathopt.out): Likewise.
21849 ($(objpfx)tst-rtld-load-self.out): Likewise.
21850 ($(objpfx)tst-array1-cmp.out): Likewise.
21851 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21852 ($(objpfx)tst-array2-cmp.out): Likewise.
21853 ($(objpfx)tst-array3-cmp.out): Likewise.
21854 ($(objpfx)tst-array4-cmp.out): Likewise.
21855 ($(objpfx)tst-array5-cmp.out): Likewise.
21856 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21857 ($(objpfx)check-textrel.out): Likewise.
21858 ($(objpfx)check-execstack.out): Likewise.
21859 ($(objpfx)check-localplt.out): Likewise.
21860 ($(objpfx)order2-cmp.out): Likewise.
21861 ($(objpfx)tst-leaks1-mem): Likewise.
21862 ($(objpfx)tst-leaks1-static-mem): Likewise.
21863 ($(objpfx)tst-initorder-cmp.out): Likewise.
21864 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21865 ($(objpfx)tst-unused-dep.out): Likewise.
21866 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21867 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21868 * iconv/Makefile (test-iconvconfig): Likewise.
21869 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21870 ($(objpfx)iconv-test.out): Likewise.
21871 ($(objpfx)tst-tables.out): Likewise.
21872 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21873 ($(objpfx)tst-gettext.out): Likewise.
21874 ($(objpfx)tst-translit.out): Likewise.
21875 ($(objpfx)tst-gettext2.out): Likewise.
21876 ($(objpfx)tst-gettext4.out): Likewise.
21877 ($(objpfx)tst-gettext6.out): Likewise.
21878 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21879 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21880 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21881 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21882 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21883 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21884 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21885 ($(objpfx)wordexp-tst.out): Likewise.
21886 ($(objpfx)annexc.out): Likewise.
21887 ($(objpfx)tst-fnmatch-mem): Likewise.
21888 ($(objpfx)bug-regex2-mem): Likewise.
21889 ($(objpfx)bug-regex14-mem): Likewise.
21890 ($(objpfx)bug-regex21-mem): Likewise.
21891 ($(objpfx)bug-regex31-mem): Likewise.
21892 ($(objpfx)tst-vfork3-mem): Likewise.
21893 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21894 ($(objpfx)tst-pcre-mem): Likewise.
21895 ($(objpfx)tst-boost-mem): Likewise.
21896 ($(objpfx)tst-getconf.out): Likewise.
21897 ($(objpfx)bug-ga2-mem): Likewise.
21898 ($(objpfx)bug-glob2-mem): Likewise.
21899 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21900 ($(objpfx)mtrace-tst-leaks2): Likewise.
21901 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21902 ($(objpfx)tst-printf.out): Likewise.
21903 ($(objpfx)tst-setvbuf1.out): Likewise.
21904 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21905 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21906 ($(objpfx)tst-fmtmsg.out): Likewise.
21907 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21908 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21910 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21911 * bits/sigaction.h [__USE_MISC]: Likewise.
21912 * bits/waitstatus.h: Update #endif comments.
21913 * ctype/ctype.h: Likewise.
21914 * dirent/dirent.h: Likewise.
21915 [__USE_MISC]: Remove redundant conditionals.
21916 * grp/grp.h: Update #endif comments.
21917 [__USE_GNU]: Remove redundant conditionals.
21918 [__USE_MISC]: Likewise.
21919 * inet/netinet/in.h [__USE_GNU]: Likewise.
21920 * io/sys/stat.h [__USE_MISC]: Likewise.
21921 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21922 * libio/bits/stdio.h: Update #endif comments.
21923 [__USE_MISC]: Remove redundant conditionals.
21924 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21925 * libio/stdio.h: Update #endif comments.
21926 [__USE_MISC]: Remove redundant conditionals.
21927 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21928 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21929 * math/math.h: Update #else and #endif comments.
21930 [__USE_MISC]: Remove redundant conditionals.
21931 * misc/sys/uio.h: Update #endif comments.
21932 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21933 * posix/glob.h [__USE_MISC]: Likewise.
21934 * posix/sys/types.h: Update #endif comments.
21935 [__USE_MISC]: Remove redundant conditionals.
21936 * posix/sys/wait.h: Update #endif comments.
21937 [__USE_MISC]: Remove redundant conditionals.
21938 * posix/unistd.h: Update #endif comments.
21939 [__USE_MISC]: Remove redundant conditionals.
21940 * pwd/pwd.h [__USE_GNU]: Likewise.
21941 [__USE_MISC]: Likewise.
21942 * resolv/netdb.h [__USE_GNU]: Likewise.
21943 * signal/signal.h: Update #endif comments.
21944 [__USE_MISC]: Remove redundant conditionals.
21945 * stdlib/stdlib.h: Update #else and #endif comments.
21946 [__USE_MISC]: Remove redundant conditionals.
21947 [__USE_GNU]: Likewise.
21948 * string/bits/string2.h [__USE_MISC]: Likewise.
21949 * string/string.h: Update #endif comments.
21950 [__USE_MISC]: Remove redundant conditionals.
21951 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21953 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21954 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21955 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21957 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21959 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21961 [__USE_MISC]: Remove redundant conditionals.
21962 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21963 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21964 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21965 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21966 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21968 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21969 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21971 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21972 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21974 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21976 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21977 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21979 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21981 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21982 * sysdeps/x86/bits/string.h: Update #endif comments.
21983 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21985 * time/sys/time.h: Update #endif comments.
21986 * time/time.h: Likewise.
21987 [__USE_MISC]: Remove redundant conditionals.
21989 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21992 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21994 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21996 * Versions.def (librt): Add GLIBC_2.17.
21998 2014-02-21 Adam Conrad <adconrad@0c3.net>
22000 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22001 synonym for _SYS_AUXV_H to allow direct inclusion.
22002 * sysdeps/sparc/bits/hwcap.h: Likewise.
22003 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22004 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22005 * sysdeps/sparc/sysdep.h: Likewise.
22007 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22009 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22011 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22013 * benchtests/bench-strrchr.c: Print length instead of position.
22015 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22018 * sysdeps/unix/sysv/linux/kernel-features.h
22019 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22020 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22021 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22022 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22024 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22025 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22026 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22027 (__ASSUME_SENDMMSG): Define instead of using previous
22028 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22029 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22030 (__ASSUME_SENDMMSG_SYSCALL): Define.
22031 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22032 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22034 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22035 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22037 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22038 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22040 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22041 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22042 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22043 [__ASSUME_SENDMMSG]: Change conditionals to
22044 [__ASSUME_SENDMMSG_SOCKETCALL].
22045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22046 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22048 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22049 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22051 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22052 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22053 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22054 [!__ASSUME_SENDMMSG]: Change conditional to
22055 [!__ASSUME_SENDMMSG_SOCKETCALL].
22056 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22057 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22061 * sysdeps/unix/sysv/linux/kernel-features.h
22062 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22063 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22064 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22065 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22066 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22067 [__i386__ || __sparc__]
22068 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22069 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22070 (__ASSUME_RECVMMSG): Define instead of using previous
22071 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22072 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22073 (__ASSUME_RECVMMSG_SYSCALL): Define.
22074 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22075 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22077 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22078 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22080 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22081 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22083 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22084 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22085 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22086 [__ASSUME_RECVMMSG]: Change condition to
22087 [__ASSUME_RECVMMSG_SOCKETCALL].
22088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22089 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22091 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22092 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22093 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22095 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22096 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22097 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22098 [!__ASSUME_RECVMMSG]: Change condition to
22099 [!__ASSUME_RECVMMSG_SOCKETCALL].
22100 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22101 (__ASSUME_RECVMMSG_SYSCALL): Define.
22104 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22105 __powerpc__ || __s390__ || __sh__ || __sparc__]
22106 (__ASSUME_SOCKETCALL): Define.
22107 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22108 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22109 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22110 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22111 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22112 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22113 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22114 (__ASSUME_ACCEPT4): Define instead of using previous
22115 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22116 __powerpc__ || __sparc__ || __s390__)] condition.
22117 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22118 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22119 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22120 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22121 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22122 [!__ASSUME_ACCEPT4]: Change condition to
22123 [!__ASSUME_ACCEPT4_SOCKETCALL].
22124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22125 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22126 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22127 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22128 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22129 __ASSUME_ACCEPT4_SYSCALL.
22130 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22131 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22132 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22133 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22134 __ASSUME_ACCEPT4_SYSCALL.
22135 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22136 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22137 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22138 [__ASSUME_ACCEPT4]: Change condition to
22139 [__ASSUME_ACCEPT4_SOCKETCALL].
22140 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22141 (__ASSUME_SOCKETCALL): Define.
22142 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22143 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22144 (__ASSUME_SOCKETCALL): Define.
22145 (__ASSUME_ACCEPT4): Remove.
22146 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22148 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22149 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22151 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22152 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22154 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22156 (HWCAP_ARM_LPAE): Likewise.
22157 (HWCAP_ARM_EVTSTRM): Likewise.
22158 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22159 Add vpfd32, lpae and evtstrm.
22160 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22163 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22165 * math/auto-libm-test-in: Add tests of clog10.
22166 * math/auto-libm-test-out: Regenerated.
22167 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22168 * sysdeps/i386/fpu/libm-test-ulps: Update.
22169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171 2014-02-18 Andreas Schwab <schwab@suse.de>
22174 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22175 Store non-zero if the second buffer was newly allocated.
22176 (send_dg): Likewise.
22177 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22178 to send_vc and send_dg.
22179 (res_nsend): Pass NULL for ansp2_malloced.
22180 * resolv/res_query.c (__libc_res_nquery): Add parameter
22181 answerp2_malloced and pass it down to __libc_res_nsend.
22182 (res_nquery): Pass additional NULL to __libc_res_nquery.
22183 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22184 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22185 second answer buffer if answerp2_malloced was set.
22186 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22187 (__libc_res_nquerydomain): Add parameter
22188 answerp2_malloced and pass it down to __libc_res_nquery.
22189 (res_nquerydomain): Pass additional NULL to
22190 __libc_res_nquerydomain.
22191 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22192 additional NULL to __libc_res_nsend and __libc_res_nquery.
22193 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22194 additional NULL to __libc_res_nsearch.
22195 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22196 parameter of __libc_res_nsearch to check for separately allocated
22198 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22200 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22201 additional NULL to __libc_res_nquery.
22202 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22203 __libc_res_nsearch.
22204 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22205 * include/resolv.h: Update prototypes of __libc_res_nquery,
22206 __libc_res_nsearch, __libc_res_nsend.
22208 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22210 * math/auto-libm-test-in: Add tests of fma.
22211 * math/auto-libm-test-out: Regenerated.
22212 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22213 (fma_towardzero_test_data): Likewise.
22214 (fma_downward_test_data): Likewise.
22215 (fma_upward_test_data): Likewise.
22216 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22218 (rounding_modes): Add values for new field.
22219 (func_calc_method): Add value mpfr_fff_f.
22220 (func_calc_desc): Add mpfr_fff_f union field.
22221 (test_function): Add field exact_args.
22222 (FUNC): Add macro argument EXACT_ARGS.
22223 (FUNC_mpfr_f_f): Update call to FUNC.
22224 (FUNC_mpfr_f_f): Likewise.
22225 (FUNC_mpfr_ff_f): Likewise.
22226 (FUNC_mpfr_if_f): Likewise.
22227 (FUNC_mpc_c_f): Likewise.
22228 (FUNC_mpc_c_c): Likewise.
22229 (test_functions): Add fma. Update calls to FUNC.
22230 (handle_input_arg): Add argument exact_args.
22231 (add_test): Update call to handle_input_arg.
22232 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22233 (output_for_one_input_case): Update call to calc_generic_results.
22234 Recalculate exact zero results in each rounding mode.
22236 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22237 non-negative before setting low bit.
22238 * math/auto-libm-test-in: Mark one asin test possibly having
22239 spurious underflow.
22240 * math/auto-libm-test-out: Regenerated.
22241 * sysdeps/i386/fpu/libm-test-ulps: Update.
22242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22246 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22247 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22248 ports/sysdeps/unix/sysv/linux/microblaze.
22249 * README: Add missing listing for microblaze*-*-linux-gnu.
22251 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22253 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22256 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22258 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22259 * sysdeps/unix/sysv/linux/ia64: Move directory from
22260 ports/sysdeps/unix/sysv/linux/ia64.
22261 * README: Update listing for ia64-*-linux-gnu.
22263 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22264 Joseph Myers <joseph@codesourcery.com>
22266 * Makeconfig (test-name): New variable.
22267 (evaluate-test): Likewise.
22268 * Makerules (do-test-clean): Remove .test-result files.
22269 (common-mostlyclean): Likewise.
22270 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22271 * scripts/evaluate-test.sh: New file.
22273 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22275 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22276 separate $(objpfx)tst-fopenloc-cmp.out and
22277 $(objpfx)tst-fopenloc-mem.out targets.
22278 (tests): Update dependencies.
22279 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22280 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22281 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22282 (tst-rxspencer-no-utf8-ARGS): New variable.
22283 (tst-rxspencer-no-utf8-ENV): Likewise.
22284 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22285 instead of $(objpfx)tst-rxspencer-mem.
22286 ($(objpfx)tst-rxspencer-mem): Change target to
22287 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22288 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22289 * posix/tst-rxspencer-no-utf8.c: New file.
22291 * elf/Makefile ($(objpfx)order.out): Remove rule.
22292 [$(run-built-tests) = yes] (tests): Depend on
22293 $(objpfx)order-cmp.out.
22294 ($(objpfx)order-cmp.out): New rule.
22295 [$(run-built-tests) = yes] (tests): Depend on
22296 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22297 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22298 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22299 $(objpfx)tst-array5-static-cmp.out.
22300 ($(objpfx)tst-array1.out): Remove rule.
22301 ($(objpfx)tst-array1-cmp.out): New rule.
22302 ($(objpfx)tst-array1-static.out): Remove rule.
22303 ($(objpfx)tst-array1-static-cmp.out): New rule.
22304 ($(objpfx)tst-array2.out): Remove rule.
22305 ($(objpfx)tst-array2-cmp.out): New rule.
22306 ($(objpfx)tst-array3.out): Remove rule.
22307 ($(objpfx)tst-array3-cmp.out): New rule.
22308 ($(objpfx)tst-array4.out): Remove rule.
22309 ($(objpfx)tst-array4-cmp.out): New rule.
22310 ($(objpfx)tst-array5.out): Remove rule.
22311 ($(objpfx)tst-array5-cmp.out): New rule.
22312 ($(objpfx)tst-array5-static.out): Remove rule.
22313 ($(objpfx)tst-array5-static-cmp.out): New rule.
22314 [$(run-built-tests) = yes] (tests): Depend on
22315 $(objpfx)order2-cmp.out.
22316 ($(objpfx)order2.out): Remove rule.
22317 ($(objpfx)order2-cmp.out): New rule.
22318 ($(objpfx)tst-initorder.out): Remove rule.
22319 [$(run-built-tests) = yes] (tests): Depend on
22320 $(objpfx)tst-initorder-cmp.out.
22321 ($(objpfx)tst-initorder-cmp.out): New rule.
22322 ($(objpfx)tst-initorder2.out): Remove rule.
22323 [$(run-built-tests) = yes] (tests): Depend on
22324 $(objpfx)tst-initorder2-cmp.out.
22325 ($(objpfx)tst-initorder2-cmp.out): New rule.
22326 [$(run-built-tests) = yes] (tests): Depend on
22327 $(objpfx)tst-unused-dep-cmp.out.
22328 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22329 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22330 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22331 on $(objpfx)tst-setvbuf1-cmp.out.
22332 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22333 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22334 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22335 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22336 ($(objpfx)tst-svc.out): Remove rule.
22337 ($(objpfx)tst-svc-cmp.out): New rule.
22339 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22341 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22342 * ctype/ctype.h [__USE_MISC]: Likewise.
22343 * dirent/dirent.h [__USE_MISC]: Likewise.
22344 * grp/grp.h [__USE_MISC]: Likewise.
22345 * io/fcntl.h [__USE_MISC]: Likewise.
22346 * io/sys/stat.h [__USE_MISC]: Likewise.
22347 * libio/stdio.h [__USE_MISC]: Likewise.
22348 * posix/unistd.h [__USE_MISC]: Likewise.
22349 * pwd/pwd.h [__USE_MISC]: Likewise.
22350 * stdlib.h [__USE_MISC]: Likewise.
22351 * string/bits/string2.h [__USE_MISC]: Likewise.
22352 * string/string.h [__USE_MISC]: Likewise.
22353 * time/time.h [__USE_MISC]: Likewise.
22355 2014-02-13 Andreas Schwab <schwab@suse.de>
22358 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22359 second answer buffer if it was separately allocated.
22361 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22363 * sysdeps/mips/math-tests.h: Include <features.h>.
22364 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22365 (ROUNDING_TESTS_long_double): Do not define.
22366 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22367 (EXCEPTION_TESTS_long_double): Likewise.
22368 * sysdeps/mips/mips64/libm-test-ulps: Update.
22370 * include/features.h (__USE_BSD): Remove macro definitions.
22371 (__USE_SVID): Likewise.
22372 (_BSD_SOURCE): Likewise.
22373 (_SVID_SOURCE): Likewise.
22374 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22375 from definition of _DEFAULT_SOURCE.
22376 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22378 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22379 * bits/mman.h [__USE_BSD]: Likewise.
22380 * bits/termios.h [__USE_BSD]: Likewise.
22381 * bits/waitstatus.h [__USE_BSD]: Likewise.
22382 * ctype/ctype.h [__USE_SVID]: Likewise.
22383 * dirent/dirent.h [__USE_BSD]: Likewise.
22384 * grp/grp.h [__USE_SVID]: Likewise.
22385 [__USE_BSD]: Likewise.
22386 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22387 * io/fcntl.h [__USE_BSD]: Likewise.
22388 * io/ftw.h [__USE_BSD]: Likewise.
22389 * io/sys/stat.h [__USE_BSD]: Likewise.
22390 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22391 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22392 * libio/stdio.h [__USE_SVID]: Likewise.
22393 [__USE_BSD]: Likewise.
22394 * math/math.h [__USE_SVID]: Likewise.
22395 [__USE_BSD]: Likewise.
22396 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22397 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22398 * misc/search.h [__USE_SVID]: Likewise.
22399 * misc/sys/mman.h [__USE_BSD]: Likewise.
22400 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22401 * misc/sys/uio.h [__USE_BSD]: Likewise.
22402 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22403 * posix/glob.h [__USE_BSD]: Likewise.
22404 * posix/regex.h [__USE_BSD]: Likewise.
22405 * posix/sys/types.h [__USE_BSD]: Likewise.
22406 [__USE_SVID]: Likewise.
22407 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22408 * posix/sys/wait.h [__USE_BSD]: Likewise.
22409 [__USE_SVID]: Likewise.
22410 * posix/unistd.h [__USE_BSD]: Likewise.
22411 [__USE_SVID]: Likewise.
22412 * pwd/pwd.h [__USE_SVID]: Likewise.
22413 * resolv/netdb.h [__USE_BSD]: Likewise.
22414 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22415 * signal/signal.h [__USE_BSD]: Likewise.
22416 [__USE_SVID]: Likewise.
22417 * socket/sys/socket.h [__USE_BSD]: Likewise.
22418 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22419 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22420 [__USE_SVID]: Likewise.
22421 * string/bits/string2.h [__USE_BSD]: Likewise.
22422 [__USE_SVID]: Likewise.
22423 * string/bits/string3.h [__USE_BSD]: Likewise.
22424 * string/endian.h [__USE_BSD]: Likewise.
22425 * string/string.h [__USE_SVID]: Likewise.
22426 [__USE_BSD]: Likewise.
22427 * string/strings.h [__USE_BSD]: Likewise.
22428 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22429 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22430 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22431 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22432 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22433 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22435 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22437 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22438 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22440 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22441 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22443 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22445 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22446 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22447 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22449 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22451 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22452 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22453 * termios/termios.h [__USE_BSD]: Likewise.
22454 * time/sys/time.h [__USE_BSD]: Likewise.
22455 * time/time.h [__USE_BSD]: Likewise.
22456 [__USE_SVID]: Likewise.
22458 * Makefile (subdir_targets): Remove subdir_lint.out.
22460 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22461 (do-tst-printf): Likewise.
22462 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22463 $(objpfx)tst-printf.out.
22465 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22467 * Makerules (check-abi-%): Change target to
22468 $(objpfx)check-abi-%.out.
22469 (check-abi target): Update dependencies.
22470 (check-abi-pattern variable): Redirect output of diff to $@.
22471 (check-abi variable): Likewise.
22472 * elf/Makefile (check-abi): Update dependencies.
22474 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22476 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22477 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22479 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22480 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22481 value has largest subnormal exponent.
22482 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22483 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22484 * sysdeps/aarch64/soft-fp/sfp-machine.h
22485 (_FP_TININESS_AFTER_ROUNDING): New macro.
22486 * sysdeps/alpha/soft-fp/sfp-machine.h
22487 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22488 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22490 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22491 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22492 * sysdeps/mips/soft-fp/sfp-machine.h
22493 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22494 * sysdeps/powerpc/soft-fp/sfp-machine.h
22495 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22496 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22498 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22500 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22501 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22502 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22505 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22508 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22511 2014-02-12 Richard Henderson <rth@redhat.com>
22513 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22514 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22515 * sysdeps/unix/sysv/linux/alpha: Move directory from
22516 ports/sysdeps/unix/sysv/linux/alpha.
22517 * README: Update listing for alpha-*-linux-gnu.
22519 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22521 * include/features.h: Update comment documenting feature test
22523 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22525 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22526 (_SVID_SOURCE): Likewise.
22527 (_DEFAULT_SOURCE): Update description of default features.
22528 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22530 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22531 (S_ISVTX): Likewise.
22532 * manual/math.texi (Mathematical Constants): Likewise.
22533 * manual/signal.texi (Interrupted Primitives): Likewise.
22534 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22535 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22536 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22537 Don't refer to _SVID_SOURCE in warning text.
22539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22541 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22543 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22544 * sysdeps/mips/dl-lookup.c: Remove.
22545 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22547 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22550 * math/auto-libm-test-in: Add testcase for expl.
22551 * math/auto-libm-test-out: Regenerate.
22552 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22553 calculation of unsafe.
22554 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22556 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22558 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22559 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22560 ports/sysdeps/unix/sysv/linux/aarch64.
22561 * README: Update listing for aarch64*-*-linux-gnu.
22563 2014-02-11 Will Newton <will.newton@linaro.org>
22565 * manual/probes.texi (Mathematical Function Probes): Use
22566 "triggered" instead of "hit".
22568 * manual/probes.texi (Internal Probes): Add documentation
22569 of setjmp, longjmp and longjmp_target probes.
22571 * include/stap-probe.h: Add comment about probe argument
22574 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22575 definition. (tr_where, tr_freehook, tr_mallochook,
22576 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22578 2014-02-11 David S. Miller <davem@davemloft.net>
22580 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22581 processing int_tests.
22583 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22585 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22586 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22587 * sysdeps/unix/sysv/linux/mips: Move directory from
22588 ports/sysdeps/unix/sysv/linux/mips.
22589 * README: Update listing for mips-*-linux-gnu and
22590 mips64-*-linux-gnu.
22592 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22594 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22595 * sysdeps/unix/sysv/linux/m68k: Move directory from
22596 ports/sysdeps/unix/sysv/linux/m68k.
22597 * README: Update listing for m68k-*-linux-gnu.
22599 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22601 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22602 * sysdeps/unix/sysv/linux/generic: Move directory from
22603 ports/sysdeps/unix/sysv/linux/generic.
22604 * sysdeps/unix/sysv/linux/tile: Move directory from
22605 ports/sysdeps/unix/sysv/linux/tile.
22606 * README: Update listing for tile*-*-linux-gnu.
22608 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22610 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22612 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22613 * catgets/open_catalog.c (__open_catalog): Likewise.
22614 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22615 * debug/confstr_chk.c: Likewise.
22616 * debug/fread_chk.c (__fread_chk): Likewise.
22617 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22618 * debug/getgroups_chk.c: Likewise.
22619 * debug/mbsnrtowcs_chk.c: Likewise.
22620 * debug/mbsrtowcs_chk.c: Likewise.
22621 * debug/mbstowcs_chk.c: Likewise.
22622 * debug/memcpy_chk.c: Likewise.
22623 * debug/memmove_chk.c: Likewise.
22624 * debug/mempcpy_chk.c: Likewise.
22625 * debug/memset_chk.c: Likewise.
22626 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22627 * debug/strcat_chk.c (__strcat_chk): Likewise.
22628 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22629 * debug/strncat_chk.c (__strncat_chk): Likewise.
22630 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22631 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22632 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22633 * debug/wcpncpy_chk.c: Likewise.
22634 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22635 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22636 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22637 * debug/wcsncpy_chk.c: Likewise.
22638 * debug/wcsnrtombs_chk.c: Likewise.
22639 * debug/wcsrtombs_chk.c: Likewise.
22640 * debug/wcstombs_chk.c: Likewise.
22641 * debug/wmemcpy_chk.c: Likewise.
22642 * debug/wmemmove_chk.c: Likewise.
22643 * debug/wmempcpy_chk.c: Likewise.
22644 * debug/wmemset_chk.c: Likewise.
22645 * dirent/scandirat.c (SCANDIRAT): Likewise.
22646 * dlfcn/dladdr1.c (dladdr1): Likewise.
22647 * dlfcn/dladdr.c (dladdr): Likewise.
22648 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22649 * dlfcn/dlerror.c (__dlerror): Likewise.
22650 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22651 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22652 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22653 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22654 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22655 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22656 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22657 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22659 * elf/dl-conflict.c: Likewise.
22660 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22661 * elf/dl-dst.h: Likewise.
22662 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22663 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22664 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22665 * elf/dl-init.c (call_init, _dl_init): Likewise.
22666 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22667 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22668 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22670 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22672 * elf/dl-minimal.c (__libc_memalign): Likewise.
22673 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22674 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22675 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22676 * elf/dl-sym.c (do_sym): Likewise.
22677 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22678 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22679 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22680 * elf/dl-writev.h (_dl_writev): Likewise.
22681 * elf/ldconfig.c (search_dir): Likewise.
22682 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22683 (dl_main): Likewise.
22684 * elf/setup-vdso.h (setup_vdso): Likewise.
22685 * grp/compat-initgroups.c (compat_call): Likewise.
22686 * grp/fgetgrent.c (fgetgrent): Likewise.
22687 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22688 * grp/putgrent.c (putgrent): Likewise.
22689 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22691 * hurd/hurdinit.c: Likewise.
22692 * iconvdata/8bit-gap.c (struct): Likewise.
22693 * iconvdata/ansi_x3.110.c : Likewise.
22694 * iconvdata/big5.c : Likewise.
22695 * iconvdata/big5hkscs.c : Likewise.
22696 * iconvdata/cp1255.c: Likewise.
22697 * iconvdata/cp1258.c : Likewise.
22698 * iconvdata/cp932.c : Likewise.
22699 * iconvdata/euc-cn.c: Likewise.
22700 * iconvdata/euc-jisx0213.c : Likewise.
22701 * iconvdata/euc-jp.c: Likewise.
22702 * iconvdata/euc-jp-ms.c : Likewise.
22703 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22704 * iconvdata/gb18030.c : Likewise.
22705 * iconvdata/gbbig5.c (const): Likewise.
22706 * iconvdata/gbgbk.c: Likewise.
22707 * iconvdata/gbk.c : Likewise.
22708 * iconvdata/ibm1364.c : Likewise.
22709 * iconvdata/ibm930.c : Likewise.
22710 * iconvdata/ibm932.c: Likewise.
22711 * iconvdata/ibm933.c : Likewise.
22712 * iconvdata/ibm935.c : Likewise.
22713 * iconvdata/ibm937.c : Likewise.
22714 * iconvdata/ibm939.c : Likewise.
22715 * iconvdata/ibm943.c: Likewise.
22716 * iconvdata/iso_11548-1.c: Likewise.
22717 * iconvdata/iso-2022-cn.c : Likewise.
22718 * iconvdata/iso-2022-cn-ext.c : Likewise.
22719 * iconvdata/iso-2022-jp-3.c: Likewise.
22720 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22721 * iconvdata/iso-2022-kr.c : Likewise.
22722 * iconvdata/iso646.c (gconv_end): Likewise.
22723 * iconvdata/iso_6937-2.c : Likewise.
22724 * iconvdata/iso_6937.c : Likewise.
22725 * iconvdata/iso8859-1.c: Likewise.
22726 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22727 * iconvdata/shift_jisx0213.c : Likewise.
22728 * iconvdata/sjis.c : Likewise.
22729 * iconvdata/t.61.c : Likewise.
22730 * iconvdata/tcvn5712-1.c : Likewise.
22731 * iconvdata/tscii.c: Likewise.
22732 * iconvdata/uhc.c : Likewise.
22733 * iconvdata/unicode.c (gconv_end): Likewise.
22734 * iconvdata/utf-16.c (gconv_end): Likewise.
22735 * iconvdata/utf-32.c (gconv_end): Likewise.
22736 * iconvdata/utf-7.c (base64): Likewise.
22737 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22738 * iconv/gconv_close.c (__gconv_close): Likewise.
22739 * iconv/gconv_open.c (__gconv_open): Likewise.
22740 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22741 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22742 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22743 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22744 (ucs4le_internal_loop_single): Likewise.
22745 * iconv/iconv.c (iconv): Likewise.
22746 * iconv/iconv_close.c: Likewise.
22747 * iconv/loop.c (SINGLE): Likewise.
22748 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22749 * include/atomic.h: Likewise.
22750 * inet/inet6_option.c (option_alloc): Likewise.
22751 * intl/bindtextdom.c (set_binding_values): Likewise.
22752 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22753 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22754 * intl/localealias.c (read_alias_file): Likewise.
22755 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22756 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22757 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22758 * libio/fmemopen.c (fmemopen): Likewise.
22759 * libio/iofgets.c (_IO_fgets): Likewise.
22760 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22761 * libio/iofgetws.c (fgetws): Likewise.
22762 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22763 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22764 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22765 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22766 * locale/findlocale.c (_nl_find_locale): Likewise.
22767 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22768 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22770 * locale/setlocale.c (setlocale): Likewise.
22771 * login/programs/pt_chown.c (main): Likewise.
22772 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22773 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22774 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22775 (mmap, mmap64, mremap, munmap): Likewise.
22776 * math/e_exp2l.c: Likewise.
22777 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22778 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22779 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22780 * math/s_catan.c (__catan): Likewise.
22781 * math/s_catanf.c (__catanf): Likewise.
22782 * math/s_catanh.c (__catanh): Likewise.
22783 * math/s_catanhf.c (__catanhf): Likewise.
22784 * math/s_catanhl.c (__catanhl): Likewise.
22785 * math/s_catanl.c (__catanl): Likewise.
22786 * math/s_ccosh.c (__ccosh): Likewise.
22787 * math/s_ccoshf.c (__ccoshf): Likewise.
22788 * math/s_ccoshl.c (__ccoshl): Likewise.
22789 * math/s_cexp.c (__cexp): Likewise.
22790 * math/s_cexpf.c (__cexpf): Likewise.
22791 * math/s_cexpl.c (__cexpl): Likewise.
22792 * math/s_clog10.c (__clog10): Likewise.
22793 * math/s_clog10f.c (__clog10f): Likewise.
22794 * math/s_clog10l.c (__clog10l): Likewise.
22795 * math/s_clog.c (__clog): Likewise.
22796 * math/s_clogf.c (__clogf): Likewise.
22797 * math/s_clogl.c (__clogl): Likewise.
22798 * math/s_csin.c (__csin): Likewise.
22799 * math/s_csinf.c (__csinf): Likewise.
22800 * math/s_csinh.c (__csinh): Likewise.
22801 * math/s_csinhf.c (__csinhf): Likewise.
22802 * math/s_csinhl.c (__csinhl): Likewise.
22803 * math/s_csinl.c (__csinl): Likewise.
22804 * math/s_csqrt.c (__csqrt): Likewise.
22805 * math/s_csqrtf.c (__csqrtf): Likewise.
22806 * math/s_csqrtl.c (__csqrtl): Likewise.
22807 * math/s_ctan.c (__ctan): Likewise.
22808 * math/s_ctanf.c (__ctanf): Likewise.
22809 * math/s_ctanh.c (__ctanh): Likewise.
22810 * math/s_ctanhf.c (__ctanhf): Likewise.
22811 * math/s_ctanhl.c (__ctanhl): Likewise.
22812 * math/s_ctanl.c (__ctanl): Likewise.
22813 * math/w_pow.c: Likewise.
22814 * math/w_powf.c: Likewise.
22815 * math/w_powl.c: Likewise.
22816 * math/w_scalb.c (sysv_scalb): Likewise.
22817 * math/w_scalbf.c (sysv_scalbf): Likewise.
22818 * math/w_scalbl.c (sysv_scalbl): Likewise.
22819 * misc/error.c (error_tail): Likewise.
22820 * misc/pselect.c (__pselect): Likewise.
22821 * nis/nis_callback.c (__nis_create_callback): Likewise.
22822 * nis/nis_call.c (__nisfind_server): Likewise.
22823 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22824 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22825 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22826 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22827 * nis/nis_lookup.c (nis_lookup): Likewise.
22828 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22829 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22830 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22831 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22832 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22833 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22834 * nis/nss_compat/compat-initgroups.c (add_group)
22835 (internal_getgrent_r): Likewise.
22836 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22837 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22838 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22839 (internal_getspnam_r): Likewise.
22840 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22841 (_nss_nis_getaliasbyname_r): Likewise.
22842 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22843 (_nss_nis_getntohost_r): Likewise.
22844 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22845 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22846 (_nss_nis_getgrgid_r): Likewise.
22847 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22848 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22849 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22850 (_nss_nis_gethostbyname4_r): Likewise.
22851 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22852 (initgroups_netid): Likewise.
22853 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22854 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22855 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22856 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22857 (_nss_nis_getprotobynumber_r): Likewise.
22858 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22859 (_nss_nis_getsecretkey): Likewise.
22860 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22861 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22862 (_nss_nis_getpwuid_r): Likewise.
22863 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22864 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22865 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22866 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22867 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22868 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22869 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22871 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22872 (_nss_nisplus_getntohost_r): Likewise.
22873 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22874 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22875 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22876 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22878 * nis/nss_nisplus/nisplus-initgroups.c
22879 (_nss_nisplus_initgroups_dyn): Likewise.
22880 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22881 (_nss_nisplus_getnetbyaddr_r): Likewise.
22882 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22883 (_nss_nisplus_getprotobynumber_r): Likewise.
22884 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22885 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22886 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22888 * nis/nss_nisplus/nisplus-service.c
22889 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22890 (_nss_nisplus_getservbyport_r): Likewise.
22891 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22892 (_nss_nisplus_getspnam_r): Likewise.
22893 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22895 * nscd/aicache.c (addhstaiX): Likewise.
22896 * nscd/cache.c (cache_search, prune_cache): Likewise.
22897 * nscd/connections.c (register_traced_file, send_ro_fd)
22898 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22899 (main_loop_epoll): Likewise.
22900 * nscd/grpcache.c (addgrbyX): Likewise.
22901 * nscd/hstcache.c (addhstbyX): Likewise.
22902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22903 * nscd/mem.c (gc, mempool_alloc): Likewise.
22904 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22905 (addinnetgrX): Likewise.
22906 * nscd/nscd-client.h (__nscd_acquire_maplock)
22907 (__nscd_drop_map_ref): Likewise.
22908 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22909 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22910 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22912 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22913 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22914 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22915 (__nscd_get_map_ref): Likewise.
22916 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22917 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22919 * nscd/pwdcache.c (addpwbyX): Likewise.
22920 * nscd/selinux.c (preserve_capabilities): Likewise.
22921 * nscd/servicescache.c (addservbyX): Likewise.
22922 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22923 * posix/fnmatch.c (fnmatch): Likewise.
22924 * posix/getopt.c (_getopt_internal_r): Likewise.
22925 * posix/glob.c (glob, glob_in_dir): Likewise.
22926 * posix/wordexp.c (exec_comm_child): Likewise.
22927 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22928 (getanswer_r, gaih_getanswer_slice): Likewise.
22929 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22930 * resolv/res_init.c: Likewise.
22931 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22932 * resolv/res_query.c (__libc_res_nquery): Likewise.
22933 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22935 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22936 * stdio-common/perror.c (perror): Likewise.
22937 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22938 * stdio-common/tmpnam.c (tmpnam): Likewise.
22939 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22940 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22941 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22943 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22944 * stdlib/putenv.c (putenv): Likewise.
22945 * stdlib/setenv.c (__add_to_environ): Likewise.
22946 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22947 * stdlib/strtol_l.c (INTERNAL): Likewise.
22948 * string/memmem.c (memmem): Likewise.
22949 * string/strerror.c (strerror): Likewise.
22950 * string/strnlen.c (__strnlen): Likewise.
22951 * string/test-memmem.c (simple_memmem): Likewise.
22952 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22953 * sunrpc/pm_getport.c (__get_socket): Likewise.
22954 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22955 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22956 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22957 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22959 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22961 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22962 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22963 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22964 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22966 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22968 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22969 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22970 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22971 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22972 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22974 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22975 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22976 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22977 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22978 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22979 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22981 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22983 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22985 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22987 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22988 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22989 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22990 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22991 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22992 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22994 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22995 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22997 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22998 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23002 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23006 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23008 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23010 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23012 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23013 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23014 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23015 * sysdeps/posix/sleep.c: Likewise.
23016 * sysdeps/posix/tempname.c: Likewise.
23017 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23018 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23020 * sysdeps/powerpc/powerpc32/dl-machine.h
23021 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23024 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23025 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23027 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23028 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23029 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23030 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23031 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23032 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23033 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23034 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23035 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23036 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23038 (elf_machine_lazy_rel): Likewise.
23039 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23041 (elf_machine_lazy_rel): Likewise.
23042 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23043 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23044 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23045 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23046 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23047 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23048 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23051 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23052 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23053 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23054 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23055 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23056 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23057 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23058 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23060 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23061 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23063 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23064 (__posix_fallocate64_l64): Likewise.
23065 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23066 (posix_fallocate): Likewise.
23067 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23070 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23071 (getifaddrs_internal): Likewise.
23072 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23073 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23074 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23075 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23076 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23077 (__posix_fallocate64_l64): Likewise.
23078 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23080 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23081 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23082 (__get_clockfreq): Likewise.
23083 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23084 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23085 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23088 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23089 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23090 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23092 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23093 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23094 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23096 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23097 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23098 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23100 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23101 (posix_fallocate): Likewise.
23102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23103 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23104 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23105 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23106 (elf_machine_rela, elf_machine_rela_relative)
23107 (elf_machine_lazy_rel): Likewise.
23108 * time/asctime.c (asctime_internal): Likewise.
23109 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23110 * time/tzset.c (__tzset_parse_tz): Likewise.
23111 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23112 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23113 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23114 * wcsmbs/wcsmbsload.h: Likewise.
23117 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23119 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23120 (arena_get2): Remove THREAD_STATS conditionals.
23121 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23122 (__malloc_stats, int): Likewise.
23124 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23126 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23127 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23129 * manual/setjmp.texi: Fix typos/grammar errors.
23131 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23132 Only return early when n is <= 0. Delete unused return statement.
23134 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23135 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23136 * debug/tst-longjmp_chk3.c: New file.
23138 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23139 (test_main): Replace code with set_fortify_handler call.
23140 * debug/test-strcpy_chk.c: Likewise.
23141 * debug/tst-chk1.c: Likewise.
23142 * debug/tst-longjmp_chk.c: Likewise.
23143 * test-skeleton.c: Include fcntl.h & paths.h
23144 (set_fortify_handler): Define.
23146 * debug/tst-longjmp_chk.c: Add header comment and include
23147 ../test-skeleton.c.
23148 (do_test): Mark static.
23149 (TEST_FUNCTION): Define.
23151 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23152 (IP_PMTUDISC_INTERFACE): Likewise.
23153 (IP_MULTICAST_IF): Likewise.
23154 (IP_MULTICAST_TTL): Likewise.
23155 (IP_MULTICAST_LOOP): Likewise.
23156 (IP_ADD_MEMBERSHIP): Likewise.
23157 (IP_DROP_MEMBERSHIP): Likewise.
23158 (IP_UNBLOCK_SOURCE): Likewise.
23159 (IP_BLOCK_SOURCE): Likewise.
23160 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23161 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23162 (IP_MSFILTER): Likewise.
23163 (MCAST_JOIN_GROUP): Likewise.
23164 (MCAST_BLOCK_SOURCE): Likewise.
23165 (MCAST_UNBLOCK_SOURCE): Likewise.
23166 (MCAST_LEAVE_GROUP): Likewise.
23167 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23168 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23169 (MCAST_MSFILTER): Likewise.
23170 (IP_MULTICAST_ALL): Likewise.
23171 (IP_UNICAST_IF): Likewise.
23173 * timezone/Makefile: Delete $(have-ksh) check.
23174 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23175 * timezone/tzselect.ksh: Add +x mode bits.
23177 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23178 (ANON_INODE_FS_MAGIC): Likewise.
23179 (BDEVFS_MAGIC): Likewise.
23180 (BINFMTFS_MAGIC): Likewise.
23181 (BTRFS_TEST_MAGIC): Likewise.
23182 (CRAMFS_MAGIC_WEND): Likewise.
23183 (DEBUGFS_MAGIC): Likewise.
23184 (ECRYPTFS_SUPER_MAGIC): Likewise.
23185 (EXT3_SUPER_MAGIC): Likewise.
23186 (EXT4_SUPER_MAGIC): Likewise.
23187 (FUTEXFS_SUPER_MAGIC): Likewise.
23188 (HOSTFS_SUPER_MAGIC): Likewise.
23189 (HUGETLBFS_MAGIC): Likewise.
23190 (MINIX3_SUPER_MAGIC): Likewise.
23191 (MTD_INODE_FS_MAGIC): Likewise.
23192 (NILFS_SUPER_MAGIC): Likewise.
23193 (OPENPROM_SUPER_MAGIC): Likewise.
23194 (PIPEFS_MAGIC): Likewise.
23195 (PSTOREFS_MAGIC): Likewise.
23196 (QNX6_SUPER_MAGIC): Likewise.
23197 (RAMFS_MAGIC): Likewise.
23198 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23199 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23200 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23201 (SECURITYFS_MAGIC): Likewise.
23202 (SELINUX_MAGIC): Likewise.
23203 (SMACK_MAGIC): Likewise.
23204 (SOCKFS_MAGIC): Likewise.
23205 (SQUASHFS_MAGIC): Likewise.
23206 (STACK_END_MAGIC): Likewise.
23207 (TMPFS_MAGIC): Likewise.
23208 (USBDEVICE_SUPER_MAGIC): Likewise.
23209 (V9FS_MAGIC): Likewise.
23210 (XENFS_SUPER_MAGIC): Likewise.
23211 (CRAMFS_MAGIC): Fix typo in comment.
23212 (EXT2_SUPER_MAGIC): Update comment.
23213 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23215 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23217 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23218 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23219 * sysdeps/unix/sysv/linux/arm: Move directory from
23220 ports/sysdeps/unix/sysv/linux/arm.
23221 * README: Update listing for arm-*-linux-gnueabi.
23223 * README: Remove mention of am33.
23225 2014-02-07 Roland McGrath <roland@hack.frob.com>
23227 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23228 than the comma operator, to avoid "rhs of comma has no effect"
23230 (__sigfillset, __sigandset, __sigorset): Likewise.
23231 * include/signal.h (__sigemptyset): Likewise.
23232 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23234 2014-02-07 Allan McRae <allan@archlinux.org>
23236 * version.h (RELEASE): Set to "development".
23237 (VERSION): Set to "2.19.90"
23238 * NEWS: Add 2.20 section.
23240 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23243 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23245 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23247 * manual/contrib.texi: Update entry for Carlos O'Donell,
23248 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23250 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23252 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23254 * sysdeps/unix/sysv/linux/kernel-features.h
23255 [__LINUX_KERNEL_VERSION >= 0x020621]
23256 (__ASSUME_PROC_PID_TASK_COMM): Define.
23258 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23261 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23262 conversion when destination buffer does not have enough space.
23263 * libio/tst-ftell-partial-wide.c: New test case.
23264 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23266 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23267 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23268 Leonard and Allan McRae.
23270 2014-02-04 David S. Miller <davem@davemloft.net>
23272 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23275 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23304 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23306 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23307 * shlib-versions: Likewise.
23309 2014-02-04 Roland McGrath <roland@hack.frob.com>
23310 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23312 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23313 (abilist-pattern): New variable, set to %-le.abilist.
23315 * Makerules (abilist-pattern): New variable.
23316 (vpath): Use $(abilist-pattern) in place of %.abilist.
23317 (check-abi-% pattern rule): Likewise.
23318 (check-abi, update-abi): Likewise.
23320 2014-02-04 Eric Wong <normalperson@yhbt.net>
23322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23324 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23326 * manual/startup.texi: Add next, previous, and top entries for
23327 the `Program Arguments' and `Environment Variables' nodes.
23329 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23331 * manual/macros.texi: Add comments before MTASC-safety macros.
23333 * manual/users.texi: Document MTASC-safety properties.
23335 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23336 (pthread_getspecific, pthread_setspecific): Format with
23337 @deftypefun, and add @safety note.
23338 * manual/signal.texi: Move comments that analyze the above
23339 functions to their home place.
23341 2014-02-03 Allan McRae <allan@archlinux.org>
23343 * po/sl.po: Update Slovenian translation from translation project.
23345 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23347 * manual/time.texi (timegm): Add missing blank after @c.
23348 Reported by Joseph Myers <joseph@codesourcery.com>.
23350 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23352 * manual/check-safety.sh: New.
23353 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23355 * manual/terminal.texi: Document MTASC-safety properties.
23357 * manual/filesys.texi: Document MTASC-safety properties.
23359 * manual/errno.texi: Document MTASC-safety properties.
23361 * manual/intro.texi: Document safety identifiers and
23364 * manual/string.texi (wcstok): Fix prototype.
23365 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23367 * manual/time.texi: Document MTASC-safety properties.
23369 * manual/string.texi: Document MTASC-safety properties.
23371 * manual/threads.texi: Document MTASC-safety properties.
23373 * manual/stdio.texi: Document MTASC-safety properties.
23375 * manual/syslog.texi: Document MTASC-safety properties.
23377 * manual/sysinfo.texi: Document MTASC-safety properties.
23379 * manual/startup.texi: Document MTASC-safety properties.
23381 * manual/socket.texi: Document MTASC-safety properties.
23383 * manual/signal.texi: Document MTASC-safety properties.
23385 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23387 * manual/setjmp.texi: Document MTASC-safety properties.
23389 * manual/search.texi: Document MTASC-safety properties.
23391 * manual/resource.texi: Document MTASC-safety properties.
23393 * manual/process.texi: Document MTASC-safety properties.
23395 * manual/platform.texi: Document MTASC-safety properties.
23397 * manual/pipe.texi: Document MTASC-safety properties.
23399 * manual/pattern.texi: Document MTASC-safety properties.
23401 * manual/message.texi: Document MTASC-safety properties.
23404 * manual/memory.texi: Document MTASC-safety properties.
23406 * manual/math.texi: Document MTASC-safety properties.
23408 * manual/locale.texi: Document MTASC-safety properties.
23410 * manual/llio.texi: Document MTASC-safety properties.
23412 * manual/libdl.texi: New.
23414 * manual/lang.texi: Document MTASC-safety properties.
23416 * manual/job.texi: Document MTASC-safety properties.
23418 * manual/getopt.texi: Document MTASC-safety properties.
23420 * manual/ctype.texi: Document MTASC-safety properties.
23422 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23425 * csu/libc-tls.c (static_map): Remove variable.
23426 (__libc_setup_tls): Use main executable's link map for TLS data.
23427 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23428 casing for LM_ID_BASE and GL(dl_nns).
23429 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23430 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23431 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23432 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23433 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23435 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23438 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23440 * manual/debug.texi: Document MTASC-safety properties.
23442 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23445 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23446 of __x86_64__ when disabling x87 inline functions.
23448 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23450 * manual/charset.texi: Document MTASC-safety properties.
23452 * manual/crypt.texi: Document MTASC-safety properties.
23454 * manual/conf.texi: Document MTASC-safety properties.
23456 * manual/arith.texi: Document MTASC-safety properties.
23458 * manual/argp.texi: Document MTASC-safety properties.
23460 * manual/macros.texi: Introduce macros to document multi
23461 thread, asynchronous signal and asynchronous cancellation
23463 * manual/intro.texi: Introduce the properties themselves.
23465 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23467 * sysdeps/sh/sh4/Makefile: New file.
23469 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23471 * math/gen-libm-test.pl ($srcdir): New variable.
23472 ($auto_input): Use it.
23474 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23477 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23478 access beyond array bounds when parsing netgroups file.
23480 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23481 the old buffer before realloc.
23483 2014-01-27 Allan McRae <allan@archlinux.org>
23485 * po/fr.po: Update French translation from translation project.
23487 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23489 * sysdeps/sh/libm-test-ulps: Regenerate.
23491 2014-01-24 David S. Miller <davem@davemloft.net>
23493 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23495 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23497 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23498 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23500 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23503 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23504 string pointers after reallocation.
23506 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23508 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23509 __SH4A__ instead of __SH_FPU_ANY__.
23511 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23513 * sysdeps/sh/fpu_control.h: New file.
23514 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23515 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23516 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23517 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23518 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23519 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23520 * sysdeps/sh/sys/ucontext.h: Remove.
23521 * sysdeps/sh/sys: Remove directory.
23523 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23525 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23526 s390/sys/ucontext.h.
23527 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23528 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23530 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23533 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23535 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23538 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23539 Adjust the vDSO correctly for internal calls.
23540 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23542 2014-01-20 Allan McRae <allan@archlinux.org>
23544 * po/ca.po: Update Catalan translation from translation project.
23546 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23548 * sysdeps/s390/sotruss-lib.c: New file.
23550 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23553 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23554 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23555 local calls issues by not having a PLT stub required for IFUNC calls.
23556 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23558 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23560 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23561 * math/test-fpucw-static.c: Likewise.
23563 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23566 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23568 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23570 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23571 implementation for powerpc.
23573 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23576 * sysdeps/posix/system.c (__libc_system): Do not enable
23577 asynchronous cancellation.
23579 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23582 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23583 handling only for numbers special also in the IEEE case.
23585 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23587 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23589 2014-01-11 Allan McRae <allan@archlinux.org>
23591 * po/bg.po: Update Bulgarian translation from translation project.
23593 * po/de.po: Update German translation from translation project.
23595 2014-01-10 Roland McGrath <roland@hack.frob.com>
23597 * sysdeps/generic/gcc-compat.h: New file.
23599 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23601 * benchtests/asin-inputs: Correct slow inputs.
23602 * benchtests/acos-inputs: Likewise.
23604 2014-01-10 Allan McRae <allan@archlinux.org>
23606 * po:sv.po: Update Swedish translation from translation project.
23608 * po/vi.po: Update Vietnamese translation from translation project.
23610 * po/eo.po: Update Esperanto translation from translation project.
23612 * po/cs.po: Update Czech translation from translation project.
23614 * po/nl.po: Update Dutch translation from translation project.
23616 * po/pl.po: Update Polish translation from translation project.
23618 * po/ru.po: Update Russian translation from translation project.
23620 * po/uk.po: Update Ukrainian translation from translation project.
23622 2014-01-08 Brooks Moses <bmoses@google.com>
23624 * elf/dl-load.c: Fix comment typo.
23626 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23628 * po/header.pot: Rename to...
23629 * po/pot.header: ... this.
23630 * po/Makefile: Use pot.header.
23632 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23633 Maxim Kuvyrkov <maxim@kugelworks.com>
23636 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23637 SRC and DEST against LEN.
23639 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23642 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23644 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23646 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23650 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23653 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23654 for large positive arguments.
23656 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23658 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23660 * math/auto-libm-test-in: Mark various tests with
23661 xfail-rounding:ldbl-128ibm.
23662 * math/auto-libm-test-out: Regenerated.
23665 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23666 Increase overflow threshold.
23668 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23671 * stdio-common/vfprintf.c: Check for integer overflow.
23673 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23675 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23676 the first argument and return value of __tls_get_addr_internal.
23678 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23680 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23681 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23683 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23685 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23686 * sysdeps/s390/rtld-global-offsets.sym: New file.
23687 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23689 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23690 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23693 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23694 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23700 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23701 halfs of GPRs for high_gprs contexts.
23702 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23703 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23705 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23707 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23709 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23710 for high GPRs (uc_high_gprs) and for future extensions
23712 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23713 for future extensions (__reserved).
23714 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23716 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23717 SC_HIGHGPRS offset definition.
23718 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23719 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23721 * Versions.def: Add GLIBC_2.19 for libpthread.
23722 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23723 siglongjmp for libpthread with GLIBC_2.19 symver.
23724 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23725 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23726 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23727 * sysdeps/s390/__longjmp.c: New file.
23728 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23729 * sysdeps/s390/longjmp.c: New file.
23730 * sysdeps/s390/setjmp.S: New file.
23731 * sysdeps/s390/sigjmp.S: New file.
23732 * sysdeps/s390/v1-longjmp.c: New file.
23733 * sysdeps/s390/v1-setjmp.h: New file.
23734 * sysdeps/s390/v1-sigjmp.c: New file.
23735 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23736 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23737 GLIBC_2.19 version.
23738 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23739 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23740 versioned symbols for ____longjmp_chk.
23741 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23751 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23752 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23753 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23754 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23755 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23756 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23757 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23758 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23759 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23760 * sysdeps/s390/rtld-__longjmp.c: New file.
23761 * sysdeps/s390/rtld-setjmp.S: New file.
23763 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23766 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23767 Return -__logl (x) for small positive arguments without evaluating
23770 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23772 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23774 (__ptrace_peeksiginfo_args): ... this.
23775 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23776 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23777 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23779 2014-01-06 Allan McRae <allan@archlinux.org>
23781 * inet/netinet/in.h: Fix typo in comment.
23783 2014-01-05 Andreas Jaeger <aj@suse.de>
23785 * sysdeps/i386/fpu/libm-test-ulps: Update.
23787 2014-01-05 Allan McRae <allan@archlinux.org>
23789 * po/libc.pot: Regenerated.
23791 * malloc/memusagestat.c: Fix gettext call formatting.
23793 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23795 * nscd/nscd.c: Improve usage() output.
23797 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23799 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23800 * sysdeps/unix/sysv/linux/configure: Regenerated.
23801 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23802 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23804 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23807 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23808 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23810 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23813 extra tokens at end of #undef directive.
23814 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23815 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23818 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23820 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23822 * math/auto-libm-test-in: Mark various tests with
23823 xfail-rounding:ldbl-128ibm.
23824 * math/auto-libm-test-out: Regenerated.
23826 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23830 numbers with subnormal high part when calculating exponent.
23833 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23839 (__ieee754_acoshl): Use __log1pl not __log1p.
23841 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23843 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23844 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23845 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23846 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23847 (reused_arena, arena_get2): Convert to GNU style.
23848 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23849 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23850 (memalign_check, __malloc_set_state): Likewise.
23851 * malloc/mallocbug.c (main): Likewise.
23852 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23853 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23854 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23855 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23856 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23857 (__posix_memalign, malloc_info): Likewise.
23858 * malloc/malloc.h: Likewise.
23859 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23860 (mallochook, memalignhook, reallochook, mabort): Likewise.
23861 * malloc/mcheck.h: Likewise.
23862 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23863 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23864 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23865 * malloc/morecore.c (__default_morecore): Likewise.
23866 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23867 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23868 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23869 (print_and_abort): Likewise.
23870 * malloc/obstack.h: Likewise.
23871 * malloc/set-freeres.c (__libc_freeres): Likewise.
23872 * malloc/tst-mallocstate.c (main): Likewise.
23873 * malloc/tst-mtrace.c (main): Likewise.
23874 * malloc/tst-realloc.c (do_test): Likewise.
23876 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23879 * nscd/netgroupcache.c (do_notfound): New function.
23880 (addgetnetgrentX): Use it.
23883 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23884 NSS_STATUS_NOTFOUND.
23886 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23888 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23891 2014-01-01 Allan McRae <allan@archlinux.org>
23893 * scripts/update-copyrights: Update configure input file suffix.
23895 * NEWS: Update copyright year.
23896 * catgets/gencat.c: Likewise.
23897 * csu/version.c: Likewise.
23898 * debug/catchsegv.sh: Likewise.
23899 * debug/pcprofiledump.c: Likewise.
23900 * debug/xtrace.sh: Likewise.
23901 * elf/ldconfig.c: Likewise.
23902 * elf/ldd.bash.in: Likewise.
23903 * elf/pldd.c: Likewise.
23904 * elf/sotruss.ksh: Likewise.
23905 * elf/sprof.c: Likewise.
23906 * iconv/iconv_prog.c: Likewise.
23907 * iconv/iconvconfig.c: Likewise.
23908 * locale/programs/locale.c: Likewise.
23909 * locale/programs/localedef.c: Likewise.
23910 * login/programs/pt_chown.c: Likewise.
23911 * malloc/memusage.sh: Likewise.
23912 * malloc/memusagestat.c: Likewise.
23913 * malloc/mtrace.pl: Likewise.
23914 * manual/libc.texinfo: Likewise.
23915 * nscd/nscd.c: Likewise.
23916 * nss/getent.c: Likewise.
23917 * nss/makedb.c: Likewise.
23918 * posix/getconf.c: Likewise.
23919 * scripts/test-installation.pl: Likewise.
23921 * All files with FSF copyright notices: Update copyright dates
23922 using scripts/update-copyrights.
23923 * intl/plural.c: Regenerated.
23924 * locale/programs/charmap-kw.h: Likewise.
23925 * locale/programs/locfile-kw.h: Likewise.
23927 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23929 * sysdeps/unix/sysv/linux/configure: Regenerated.
23930 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23931 the linux/fanotify.h header.
23932 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23933 HAVE_LINUX_FANOTIFY_H is defined.
23935 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23937 * benchtests/cos-inputs: New inputs.
23938 * benchtests/sin-inputs: Likewise.
23940 * benchtests/atan-inputs: New inputs. Fix name of multiple
23941 precision fallback inputs.
23943 * benchtests/atanh-inputs: New inputs.
23944 * benchtests/tanh-inputs: Likewise.
23946 * benchtests/acosh-inputs: New inputs.
23947 * benchtests/asinh-inputs: Likewise.
23949 * benchtests/cosh-inputs: New inputs.
23950 * benchtests/sinh-inputs: Likewise.
23952 * benchtests/acos-inputs: Add more inputs.
23953 * benchtests/asin-inputs: Likewise.
23955 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23958 * manual/arith.texi: Fix spelling.
23959 * manual/charset.texi: Likewise.
23960 * manual/errno.texi: Likewise.
23961 * manual/filesys.texi: Likewise.
23962 * manual/lang.texi: Likewise.
23963 * manual/llio.texi: Likewise.
23964 * manual/locale.texi: Likewise.
23965 * manual/message.texi: Likewise.
23966 * manual/resource.texi: Likewise.
23967 * manual/search.texi: Likewise.
23968 * manual/setjmp.texi: Likewise.
23969 * manual/stdio.texi: Likewise.
23970 * manual/string.texi: Likewise.
23971 * manual/sysinfo.texi: Likewise.
23972 * manual/time.texi: Likewise.
23974 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23976 * po/sl.po: New file.
23978 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23980 * .gitignore: Add core/.gdbinit/.gdb_history.
23982 2013-12-27 Allan McRae <allan@archlinux.org>
23985 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23986 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23988 2013-12-24 Brooks Moses <bmoses@google.com>
23990 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23991 all compilers that claim C++98 compliance, not just GCC.
23992 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23995 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23997 * NEWS: Restore accidentally deleted bug-fix entries.
23999 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24000 Ondřej Bílka <neleai@seznam.cz>
24003 * malloc/malloc.c (_int_free): Perform sanity check only if we
24006 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24009 * manual/stdio.texi (String Input Conversions): Clarify that character
24010 classes are not supported.
24012 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24016 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24019 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24020 Calculate results for small negative arguments directly rather
24021 than using reflection formula with special underflow handling.
24023 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24024 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24025 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24026 (fchflags): Likewise.
24027 (revoke): Likewise.
24028 (setlogin): Likewise.
24029 (sigaltstack): Likewise.
24031 (sigblock): Remove.
24032 (sigsetmask): Likewise.
24034 (waitpid): Likewise.
24035 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24036 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24038 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24039 * sysdeps/unix/bsd/Makefile: ... here.
24040 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24041 * sysdeps/unix/bsd/Versions: ... here.
24042 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24043 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24044 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24045 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24046 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24047 * sysdeps/unix/bsd/sigblock.c: ... here.
24048 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24049 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24050 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24051 * sysdeps/unix/bsd/sigvec.c: ... here.
24052 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24053 * sysdeps/unix/bsd/tcdrain.c: ... here.
24054 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24055 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24056 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24057 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24058 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24059 * sysdeps/unix/bsd/wait.c: ... here.
24060 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24061 * sysdeps/unix/bsd/wait3.c: ... here.
24062 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24063 * sysdeps/unix/bsd/waitpid.c: ... here.
24065 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24069 round-to-nearest for [!USE_AS_EXPM1L].
24070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24071 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24072 more tests of exp and exp10. Expect some exp10 tests to miss
24073 exceptions or fail in directed rounding modes.
24074 * math/auto-libm-test-out: Regenerated.
24075 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24076 (exp10_test_tonearest): New function.
24077 (exp10_towardzero_test_data): New array.
24078 (exp10_test_towardzero): New function.
24079 (exp10_downward_test_data): New array.
24080 (exp10_test_downward): New function.
24081 (exp10_upward_test_data): New array.
24082 (exp10_test_upward): New function.
24083 (main): Call the new functions.
24084 * sysdeps/i386/fpu/libm-test-ulps: Update.
24085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24087 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24089 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24090 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24091 * math/auto-libm-test-out: Regenerated.
24092 * math/libm-test.inc (acosh_test_data): Add more tests.
24093 (atanh_test_data): Likewise.
24094 (ceil_test_data): Likewise.
24095 (copysign_test_data): Likewise.
24096 * sysdeps/i386/fpu/libm-test-ulps: Update.
24097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24099 * timezone/checktab.awk: Update from tzcode 2013i.
24100 * timezone/private.h: Likewise.
24101 * timezone/scheck.c: Likewise.
24102 * timezone/tzfile.h: Likewise.
24103 * timezone/tzselect.ksh: Likewise.
24104 * timezone/zdump.c: Likewise.
24105 * timezone/zic.c: Likewise.
24107 * math/auto-libm-test-in: Add tests of cpow.
24108 * math/auto-libm-test-out: Regenerated.
24109 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24112 (func_calc_desc): Add mpc_cc_c union field.
24113 (test_functions): Add cpow.
24114 (special_fill_2pi): New function.
24115 (special_real_inputs): Add 2pi.
24116 (calc_generic_results): Handle mpc_cc_c.
24117 * sysdeps/i386/fpu/libm-test-ulps: Update.
24118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24120 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24121 csqrt, ctan and ctanh.
24122 * math/auto-libm-test-out: Regenerated.
24123 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24124 (TEST_COND_x86): Likewise.
24125 (ccos_test_data): Use AUTO_TESTS_c_c.
24126 (ccosh_test_data): Likewise.
24127 (cexp_test_data): Likewise.
24128 (clog_test_data): Likewise.
24129 (csqrt_test_data): Likewise.
24130 (ctan_test_data): Likewise.
24131 (ctan_tonearest_test_data): Likewise.
24132 (ctan_towardzero_test_data): Likewise.
24133 (ctan_downward_test_data): Likewise.
24134 (ctan_upward_test_data): Likewise.
24135 (ctanh_test_data): Likewise.
24136 (ctanh_tonearest_test_data): Likewise.
24137 (ctanh_towardzero_test_data): Likewise.
24138 (ctanh_downward_test_data): Likewise.
24139 (ctanh_upward_test_data): Likewise.
24140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24142 (func_calc_desc): Add mpc_c_c union field.
24143 (FUNC_mpc_c_c): New macro.
24144 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24145 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24147 (special_fill_min_subnorm_p120): New function.
24148 (special_real_inputs): Add min_subnorm_p120.
24149 (calc_generic_results): Handle mpc_c_c.
24150 * sysdeps/i386/fpu/libm-test-ulps: Update.
24151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24153 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24155 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24156 (do_sin_slow): New functions.
24157 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24158 (cslow2, csloww1, csloww2): Use the new functions.
24160 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24161 Use M to change sign of result instead of X. Assume X is
24163 (csloww1): Likewise.
24167 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24168 arguments A and DA.
24172 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24174 (sloww1): Don't adjust sign of DX.
24175 (csloww1): Likewise.
24176 (sloww2): Use X directly and don't adjust sign of DX.
24177 (csloww2): Likewise.
24179 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24181 * math/auto-libm-test-in: Add tests of cabs and carg.
24182 * math/auto-libm-test-out: Regenerated.
24183 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24184 (carg_test_data): Likewise.
24185 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24187 (func_calc_desc): Add mpc_c_f union field.
24188 (test_functions): Add cabs and carg.
24189 (calc_generic_results): Handle mpc_c_f.
24191 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24192 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24193 as a macro and a compat symbol.
24194 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24195 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24196 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24197 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24198 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24199 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24201 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24203 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24211 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24212 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24215 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24219 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24221 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24222 trailing whitespace removed.
24223 * scripts/config.guess: Update to version 2013-11-29.
24224 * scripts/config.sub: Update to version 2013-10-01.
24226 * math/auto-libm-test-in: Add tests of sincos.
24227 * math/auto-libm-test-out: Regenerated.
24228 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24229 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24231 (func_calc_desc): Add mpfr_f_11 union field.
24232 (test_functions): Add sincos.
24233 (calc_generic_results): Handle mpfr_f_11.
24234 * sysdeps/i386/fpu/libm-test-ulps: Update.
24235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237 2013-12-19 Andreas Schwab <schwab@suse.de>
24239 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24241 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24242 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24243 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24245 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24247 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24248 * sysdeps/i386/fpu/libm-test-ulps: Update.
24249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24252 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24253 round-to-nearest mode when using frndint.
24254 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24255 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24256 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24258 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24260 * math/auto-libm-test-out: Regenerated.
24261 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24262 (TEST_COND_x86): Likewise.
24263 (expm1_tonearest_test_data): New array.
24264 (expm1_test_tonearest): New function.
24265 (expm1_towardzero_test_data): New array.
24266 (expm1_test_towardzero): New function.
24267 (expm1_downward_test_data): New array.
24268 (expm1_test_downward): New function.
24269 (expm1_upward_test_data): New array.
24270 (expm1_test_upward): New function.
24271 (main): Run the new test functions.
24272 * sysdeps/i386/fpu/libm-test-ulps: Update.
24273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24275 * include/features.h: Update comment documenting feature test
24276 macros. Mention _DEFAULT_SOURCE in comment.
24277 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24278 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24279 _BSD_SOURCE and _SVID_SOURCE.
24280 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24281 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24282 !_SVID_SOURCE]: Likewise.
24283 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24284 (__USE_POSIX_IMPLICITLY): Define.
24285 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24286 (_POSIX_SOURCE): Undefine and redefine.
24287 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24288 (_POSIX_C_SOURCE): Likewise.
24289 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24290 (Feature Test Macros): Update documentation of default features.
24292 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24294 * benchtests/Makefile: Add bench-strtok.
24295 * benchtests/bench-strtok.c: New file: strtok benchtest.
24297 2013-12-19 Allan McRae <allan@archlinux.org>
24299 * manual/install.texi: Suppress menu for plain text output.
24300 * INSTALL: Regenerated.
24302 2013-12-18 Brooks Moses <bmoses@google.com>
24305 * misc/getauxval.c: Include errno.h.
24306 (__getauxval): Set errno to ENOENT if the requested type is not
24308 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24309 don't declare with __attribute_const__.
24310 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24311 * manual/startup.texi: Document that getauxval sets errno.
24313 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24315 * math/auto-libm-test-in: Add tests of jn and yn.
24316 * math/auto-libm-test-out: Regenerated.
24317 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24318 (yn_test_data): Likewise.
24319 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24321 (func_calc_desc): Add mpfr_if_f union field.
24322 (FUNC_mpfr_if_f): New macro.
24323 (test_functions): Add jn and yn.
24324 (calc_generic_results): Assert type of second input for
24325 mpfr_ff_f. Handle mpfr_if_f.
24326 (output_for_one_input_case): Disable all checking for arguments
24327 fitting floating-point types in case of an integer argument.
24328 * sysdeps/i386/fpu/libm-test-ulps: Update.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24332 Don't expect fegetround reference in libm.so.
24334 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24336 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24337 $(config-cflags-nofma).
24339 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24341 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24342 * math/auto-libm-test-out: Regenerated.
24345 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24346 to determine exponent and adjust argument to have exponent of -1.
24347 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24349 * math/auto-libm-test-out: Regenerated.
24350 * sysdeps/i386/fpu/libm-test-ulps: Update.
24351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24353 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24355 * manual/probes.texi: Remove cases when per-thread arenas are
24358 2013-12-18 Andreas Schwab <schwab@suse.de>
24360 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24361 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24362 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24363 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24364 * sysdeps/i386/i686/multiarch/Makefile: Update.
24365 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24367 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24369 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24370 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24372 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24375 Support TZ transition times < 00:00:00.
24376 This is needed for version-3 tz-format files; it supports time
24377 stamps past 2037 for America/Godthab (the only entry in the tz
24378 database for which this change is relevant).
24379 * manual/time.texi (TZ Variable): Document transition times
24380 from -167:59:59 through -00:00:01.
24381 * time/tzset.c (tz_rule): Time of day is now signed.
24382 (__tzset_parse_tz): Parse negative time of day.
24384 Document TZ transition times >= 25:00:00.
24385 * manual/time.texi (TZ Variable): Document transition times from
24386 25:00:00 through 167:59:59. These are already supported, and this
24387 support will help with version-3 tz-format files.
24389 * manual/time.texi (TZ Variable): Modernize North America example
24390 to reflect current (i.e., 2007-and-later) daylight saving rules.
24392 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24394 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24396 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24397 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24400 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24401 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24402 * sysdeps/unix/bsd/clock.c: Likewise.
24403 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24404 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24405 * sysdeps/unix/bsd/init-posix.c: Likewise.
24406 * sysdeps/unix/bsd/poll.c: Likewise.
24407 * sysdeps/unix/bsd/ptsname.c: Likewise.
24408 * sysdeps/unix/bsd/seekdir.c: Likewise.
24409 * sysdeps/unix/bsd/setegid.c: Likewise.
24410 * sysdeps/unix/bsd/seteuid.c: Likewise.
24411 * sysdeps/unix/bsd/setgid.c: Likewise.
24412 * sysdeps/unix/bsd/setrgid.c: Likewise.
24413 * sysdeps/unix/bsd/setruid.c: Likewise.
24414 * sysdeps/unix/bsd/setsid.c: Likewise.
24415 * sysdeps/unix/bsd/setuid.c: Likewise.
24416 * sysdeps/unix/bsd/sigaction.c: Likewise.
24417 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24418 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24419 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24420 * sysdeps/unix/bsd/telldir.c: Likewise.
24421 * sysdeps/unix/bsd/times.c: Likewise.
24422 * sysdeps/unix/bsd/usleep.c: Likewise.
24424 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24425 ($(objpfx)libbsd-compat.a): Remove rule.
24427 * include/features.h (__FAVOR_BSD): Do not define.
24428 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24429 features conflicting with POSIX.
24430 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24431 (_BSD_SOURCE): Remove description of not being a subset of other
24432 feature test macros.
24433 * manual/job.texi (getpgrp): Do not document BSD version.
24434 (getpgid): Do not document by reference to BSD getpgrp.
24435 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24436 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24437 * signal/signal.h [__FAVOR_BSD]: Likewise.
24438 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24439 instead of making contents conditional on [__FAVOR_BSD].
24440 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24442 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24446 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24449 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24450 values below 2**-450, not 2**-500.
24451 * math/auto-libm-test-in: Don't allow spurious underflow from
24453 * math/auto-libm-test-out: Regenerated.
24457 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24458 values of ha and hb and sort them after adjusting subnormal
24460 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24462 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24463 values of ea and eb and sort them after adjusting subnormal
24465 * math/auto-libm-test-in: Do not expect some hypot tests of
24466 subnormals to fail. Add more hypot tests.
24467 * math/auto-libm-test-out: Regenerated.
24469 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24472 * sysdeps/sh/s_fma.c: New file.
24473 * sysdeps/sh/s_fmaf.c: New file.
24474 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24476 * sysdeps/sh/Implies: Add sh/soft-fp.
24478 2013-12-16 Roland McGrath <roland@hack.frob.com>
24480 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24481 level of indirection to members `objname', `errstring', `malloced'.
24482 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24483 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24484 it as the __longjmp argument (just pass 1 instead).
24485 (_dl_catch_error): Initialize C with argument pointers and address of
24486 volatile local ERRCODE rather than copying values out of C at return.
24488 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24490 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24491 * math/auto-libm-test-out: Regenerated.
24492 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24493 (hypot_test_data): Likewise.
24494 (pow_test_data): Likewise.
24495 (pow_tonearest_test_data): Likewise.
24496 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24498 (func_calc_desc): Add mpfr_ff_f union field.
24499 (FUNC_mpfr_ff_f): New macro.
24500 (test_functions): Add atan2, hypot and pow.
24501 (special_fill_min): New function.
24502 (special_fill_minus_min): Likewise.
24503 (special_fill_min_subnorm): Likewise.
24504 (special_fill_minus_min_subnorm): Likewise.
24505 (special_real_inputs): Add min, -min, min_subnorm and
24507 (calc_generic_results): Handle mpfr_ff_f.
24508 * sysdeps/i386/fpu/libm-test-ulps: Update.
24509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24511 2013-12-16 Will Newton <will.newton@linaro.org>
24513 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24514 (Aligned Memory Blocks): Add documentation for aligned_alloc
24515 and suggest it as an alternative to posix_memalign.
24516 (Hooks for Malloc): Document __memalign_hook is also called
24517 for aligned_alloc. (Summary of Malloc): Add summary for
24518 aligned alloc. Document __memalign_hook is also called
24521 2013-12-16 Will Newton <will.newton@linaro.org>
24523 * manual/memory.texi (Malloc Examples): Clarify default
24524 alignment documentation. Suggest posix_memalign rather
24525 than memalign or valloc.
24526 (Aligned Memory Blocks): Remove suggestion to use memalign
24527 or valloc. Remove obsolete comment about BSD.
24528 Document memalign errno values and mark the function obsolete.
24529 Document posix_memalign returned error codes. Mark valloc
24530 as obsolete. (Hooks for Malloc): __memalign_hook is also
24531 called for posix_memalign and valloc.
24532 (Summary of Malloc): Add posix_memalign to function summary.
24533 __memalign_hook is also called for posix_memalign and valloc.
24535 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24537 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24541 (sloww): Use mynumber union. Expand ternary operator into
24542 if-else statements.
24543 (cslow): use mynumber union.
24545 2013-12-16 Allan McRae <allan@archlinux.org>
24547 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24548 * configure: Regenerated.
24550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24553 * configure.ac: Added --enable-maintainer-mode. Check for
24554 autoconf when enabled.
24555 * configure: Regenerated.
24557 * nscd/nscd.service: New file.
24558 * nscd/nscd.tmpfiles: New file.
24560 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24563 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24564 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24565 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24566 (strstr): Add __strstr_sse2_unaligned ifunc.
24567 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24568 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24569 (strcasestr): Remove __strcasestr_sse42 ifunc.
24570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24574 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24576 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24577 * sysdeps/sh/bits/fenv.h: ... here.
24578 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24580 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24582 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24585 hypotf multiarch implementations.
24586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24587 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24589 multiarch hypot for PPC64.
24590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24593 multiarch hypotf for PPC64.
24595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24596 modff multiarch implementations.
24597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24600 multiarch modf for PPC64.
24601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24604 multiarch modff for PPC64.
24606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24607 and logl multiarch implementations.
24608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24611 multiarch logb for PPC64.
24612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24615 multiarch logb for PPC64.
24616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24619 multiarch logb for PPC64.
24621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24622 isinff multiarch implementation.
24623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24627 multiarch isinf for PPC64.
24628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24631 multiarch isinff for PPC64.
24633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24634 finitef multiarch implementation.
24635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24639 multiarch finite for PPC64.
24640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24643 multiarch finitef for PPC64.
24645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24646 lrint multiarch implementation.
24647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24651 multiarch llrint for PPC64.
24652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24653 multiarch lrint for PPC64.
24655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24656 copysignf multiarch implementation.
24657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24662 multiarch copysign for PPC64.
24663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24664 multiarch copysignf for PPC64.
24666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24667 multiarch implementation.
24668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24676 multiarch llround for PPC64.
24677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24678 multiarch trunc for PPC64.
24679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24680 multiarch truncf for PPC64.
24682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24683 multiarch implementation.
24684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24692 multiarch llround for PPC64.
24693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24694 multiarch round for PPC64.
24695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24696 multiarch roundf for PPC64.
24698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24699 multiarch implementation.
24700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24708 multiarch llround for PPC64.
24709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24710 multiarch floor for PPC64.
24711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24712 multiarch floorf for PPC64.
24714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24715 multiarch implementation.
24716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24724 multiarch llround for PPC64.
24725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24726 multiarch ceil for PPC64.
24727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24728 multiarch ceilf for PPC64.
24730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24731 multiarch implementation.
24732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24739 multiarch llround for PPC64.
24740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24741 multiarch lround for PPC64.
24743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24744 multiarch implementation.
24745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24752 multiarch isnan for PPC64.
24753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24754 multiarch isnanf for PPC64.
24756 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24757 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24758 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24759 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24760 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24763 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24769 multiarch implementations.
24770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24771 (__libc_ifunc_impl_list): Likewise.
24772 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24773 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24774 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24775 multiarch stpcpy for PPC64.
24777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24778 multiarch implementations.
24779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24780 (__libc_ifunc_impl_list): Likewise.
24781 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24782 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24783 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24784 multiarch strcpy for PPC64.
24786 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24787 redefine function name.
24788 (_wordcopy_fwd_dest_aligned): Likewise.
24789 (_wordcopy_bwd_aligned): Likewise.
24790 (_wordcopy_bwd_dest_aligned): Likewise.
24791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24792 multiarch implementations.
24793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24794 (__libc_ifunc_impl_list): Likewise.
24795 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24796 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24797 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24798 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24799 multiarch wcscpy for PPC64.
24801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24802 multiarch implementations.
24803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24804 (__libc_ifunc_impl_list): Likewise.
24805 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24806 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24807 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24808 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24809 multiarch wcscpy for PPC64.
24811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24812 multiarch implementations.
24813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24814 (__libc_ifunc_impl_list): Likewise.
24815 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24816 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24817 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24818 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24819 multiarch wcsrchr for PPC64.
24821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24822 multiarch implementations.
24823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24824 (__libc_ifunc_impl_list): Likewise.
24825 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24826 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24827 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24828 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24829 multiarch wcschr for PPC64.
24831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24832 multiarch implementations.
24833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24834 (__libc_ifunc_impl_list): Likewise.
24835 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24836 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24837 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24838 multiarch strchrnul for PPC64.
24840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24843 (__libc_ifunc_impl_list): Likewise.
24844 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24845 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24846 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24847 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24853 (__libc_ifunc_impl_list): Likewise.
24854 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24855 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24856 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24857 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24861 multiarch implementations.
24862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24863 (__libc_ifunc_impl_list): Likewise.
24864 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24865 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24866 strncasecmp for PPC64.
24867 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24868 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24869 multiarch strncasecmp_l for PPC64.
24871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24872 multiarch implementations.
24873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24874 (__libc_ifunc_impl_list): Likewise.
24875 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24876 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24877 multiarch strcasecmp for PPC64.
24878 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24880 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24881 multiarch strcasecmp_l for PPC64.
24883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24886 (__libc_ifunc_impl_list): Likewise.
24887 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24888 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24889 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24895 (__libc_ifunc_impl_list): Likewise.
24896 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24897 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24898 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24904 (__libc_ifunc_impl_list): Likewise.
24905 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24906 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24907 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24908 rawmemrchr for PPC64.
24910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24913 (__libc_ifunc_impl_list): Likewise.
24914 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24915 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24916 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24922 (__libc_ifunc_impl_list): Likewise.
24923 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24924 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24925 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24931 (__libc_ifunc_impl_list): Likewise.
24932 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24933 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24934 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24937 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24938 avoid cretion of __bzero symbol.
24939 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24941 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24943 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24946 multiarch implementations.
24947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24948 (__libc_ifunc_impl_list): Likewise.
24949 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24950 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24951 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24952 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24954 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24955 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24956 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24957 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24958 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24960 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24962 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24966 (__libc_ifunc_impl_list): Likewise.
24967 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24968 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24969 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24970 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24974 multiarch for POWER/PPC64.
24975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24976 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24977 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24978 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24983 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24986 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24987 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24988 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24989 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24990 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24991 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24992 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24993 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24994 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24995 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24996 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24997 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24998 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24999 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25000 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25009 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25011 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25013 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25015 * benchtests/Makefile (bench): Add exp2 and log2.
25016 (LDLIBS-bench-exp2): Add -lm.
25017 (LDLIBS-bench-log2): Likewise.
25018 * benchtests/exp2-inputs: New inputs file.
25019 * benchtests/log2-inputs: New inputs file.
25020 * benchtests/log-inputs: Add new inputs.
25021 * benchtests/tan-inputs: Likewise.
25023 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25025 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25027 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25028 (csloww2): ... from here.
25030 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25031 instead of structures.
25032 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25033 (POLYNOMIAL): Likewise.
25034 (TAYLOR_SLOW): Likewise.
25040 (sloww1); Likewise.
25041 (sloww2): Likewise.
25042 (bsloww1): Likewise.
25043 (bsloww2): Likewise.
25044 (cslow2): Likewise.
25045 (csloww): Likewise.
25046 (csloww1): Likewise.
25047 (csloww2): Likewise.
25049 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25051 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25052 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25053 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25054 * malloc/hooks.c (realloc_check): Likewise.
25056 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25057 * malloc/arena.c: Remove PER_THREAD conditional.
25058 [!PER_THREAD]: Remove code.
25059 (ptmalloc_unlock_all2): Likewise.
25060 (ptmalloc_init): Likewise.
25061 (_int_new_arena): Likewise.
25062 (arena_get2): Likewise.
25063 * malloc/hooks.c (__malloc_get_state): Likewise.
25064 (__malloc_set_state): Likewise.
25065 * malloc/malloc.c: Likewise.
25066 (struct malloc_state): Likewise.
25067 (struct malloc_par): Likewise.
25068 (__libc_realloc): Likewise.
25069 (__libc_mallopt): Likewise.
25071 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25073 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25075 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25077 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25078 macro to a function. Check for zero perturb_byte.
25079 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25081 * malloc/malloc.c: (force_reg): Remove.
25082 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25083 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25084 force_reg by atomic_forced_read.
25085 * malloc/arena.c (ptmalloc_init): Likewise.
25086 * malloc/hooks.c (top_check): Likewise.
25088 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25092 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25096 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25098 * math/auto-libm-test-in: Add tests of lgamma.
25099 * math/auto-libm-test-out: Regenerated.
25100 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25101 (M_LOG_2_SQRT_PIl): Likewise.
25102 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25103 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25105 (func_calc_desc): Add mpfr_f_f1 union field.
25106 (ARGS1): New macro.
25114 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25115 (test_functions): Add lgamma.
25116 (calc_generic_results): Handle mpfr_f_f1.
25117 * sysdeps/i386/fpu/libm-test-ulps: Update.
25118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25122 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25123 __mpn_add_n for PowerPC64/POWER7.
25124 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25125 __mpn_sub_n for PowerPC64/POWER7.
25127 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25128 __mpn_addmul_1 for PowerPC64.
25129 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25130 __mpn_submul_1 for PowerPC64.
25131 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25133 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25136 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25139 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25141 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25143 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25145 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25146 add multiarch folders.
25147 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25148 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25149 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25150 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25151 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25152 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25153 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25154 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25155 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25156 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25157 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25166 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25172 multiarch __ieee754_hypot for PowerPC32.
25173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25178 multiarch __ieee754_hypotf for PowerPC32.
25180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25181 long_double_symbol only if __logbl is defined.
25182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25183 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25185 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25186 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25187 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25188 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25189 path for implementation.
25190 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25191 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25193 logb, and logbl multiarch implementations for PowerPC32.
25194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25199 multiarch logb for PowerPC32.
25200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25205 multiarch logbf for PowerPC32.
25206 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25210 multiarch logbl implementation for PowerPC32.
25212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25213 and modff multiarch implementations.
25214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25219 multiarch modf for PowerPC32.
25220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25225 multiarch modff for PowerPC32.
25227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25228 and lrintf multiarch implementations.
25229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25234 multiarch lrint for PowerPC32.
25235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25236 file: multiarch lrintf for PowerPC32.
25238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25239 and lroundf multiarch implementations.
25240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25247 multiarch lround for PowerPC32.
25248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25249 file: multiarch lroundf for PowerPC32.
25251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25252 copysign and copysignf multiarch implementations.
25253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25258 file: multiarch copysign for PowerPC32.
25259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25260 file: multiarch copysignf for PowerPC32.
25262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25263 and truncf multiarch implementations.
25264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25269 multiarch trunc for PowerPC32.
25270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25275 multiarch truncf for PowerPC32.
25277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25278 and roundf multiarch implementations.
25279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25284 multiarch round for PowerPC32.
25285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25290 multiarch roundf for PowerPC32.
25292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25293 and floorf multiarch implementations.
25294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25299 multiarch floor for PowerPC32.
25300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25305 multiarch floorf for PowerPC32.
25307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25308 and ceilf multiarch implementations.
25309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25314 multiarch ceil for PowerPC32.
25315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25320 multiarch ceilf for PowerPC32.
25322 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25324 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25325 FINITEF is defined.
25326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25327 and finitef multiarch implementations.
25328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25333 multiarch finite for PowerPC32.
25334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25337 file: multiarch finitef for PowerPC32.
25339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25340 and isinff multiarch implementations.
25341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25346 multiarch isinf for PowerPC32.
25347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25350 multiarch isinff for PowerPC32.
25352 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25353 alias when __isnan is defined.
25354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25355 and isnanf multiarch implementations.
25356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25365 multiarch isnan for PowerPC32.
25366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25371 multiarch isnanf for PowerPC32.
25373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25374 and sqrtf multiarch implementations.
25375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25380 multiarch sqrt for PowerPC32.
25381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25386 multiarch sqrtf for PowerPC32.
25388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25389 and llroundf multiarch implementations.
25390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25397 file: multiarch llround for PowerPC32.
25398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25399 file: multiarch llroundf for PowerPC32.
25401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25402 multiarch PowerPC32 fpu implementations.
25403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25408 multiarch llrint for PowerPC32.
25409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25418 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25420 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25422 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25424 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25425 multiarch wordcopy for PPC32.
25426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25429 (__libc_ifunc_impl_list): Likewise.
25430 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25431 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25432 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25433 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25434 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25435 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25437 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25445 multiarch wcscpy for PPC32.
25446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25449 (__libc_ifunc_impl_list): Likewise.
25450 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25451 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25452 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25453 sysdeps/powerpc/power6/wcscpy.c.
25455 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25463 multiarch wcsrchr for PPC32.
25464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25467 (__libc_ifunc_impl_list): Likewise.
25468 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25469 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25470 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25471 sysdeps/powerpc/power6/wcsrchr.c.
25473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25479 multiarch wcschr for PPc32.
25480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25483 (__libc_ifunc_impl_list): Likewise.
25484 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25485 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25486 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25487 sysdeps/powerpc/power6/wcschr.c.
25489 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25490 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25492 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25493 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25494 file: multiarch strchr for PPC32.
25495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25498 (__libc_ifunc_impl_list): Likewise.
25500 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25502 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25504 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25506 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25507 multiarch strchrnul for PPC32.
25508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25511 (__libc_ifunc_impl_list): Likewise.
25513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25516 multiarch strncasecmp for PPC32.
25517 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25519 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25520 multiarch strncasecmp_l for PPC32.
25521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25522 strncasecmp multiarch objects.
25523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25524 (__libc_ifunc_impl_list): Likewise.
25526 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25528 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25529 multiarch strncasecmp for PPC32.
25530 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25532 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25533 multiarch strcasecmp_l for PPC32.
25534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25537 (__libc_ifunc_impl_list): Likewise.
25539 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25541 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25543 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25544 multiarch strncmp for PPC32.
25545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25548 (__libc_ifunc_impl_list): Likewise.
25550 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25551 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25553 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25554 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25558 (__libc_ifunc_impl_list): Likewise.
25560 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25562 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25564 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25568 (__libc_ifunc_impl_list): Likewise.
25570 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25572 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25574 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25575 multiarch rawmemchr for PPC32.
25576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25579 (__libc_ifunc_impl_list): Likewise.
25581 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25583 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25585 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25586 file: memrchr multiarch for PPC32.
25587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25590 (__libc_ifunc_impl_list): Likewise.
25592 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25595 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25596 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25597 multiarch memchr for PPC32.
25598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25601 (__libc_ifunc_impl_list): Likewise.
25603 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25604 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25606 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25608 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25609 file: multiarch mempcpy for PPC32.
25610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25613 (__libc_ifunc_impl_list): Likewise.
25615 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25616 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25617 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25618 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25619 multiarch bzero for PPC32.
25620 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25622 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25624 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25625 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25626 file: multiarch memset for PPC32.
25627 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25629 memset multiarch objects.
25630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25631 (__libc_ifunc_impl_list): Likewise.
25633 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25635 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25636 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25638 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25639 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25642 (__libc_ifunc_impl_list): Likewise.
25644 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25645 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25646 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25648 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25650 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25653 multiarch memcpy for PPC32.
25654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25657 (__libc_ifunc_impl_list): Likewise.
25659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25660 support multiarch for POWER/PPC32.
25661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25663 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25665 Implies file to make multiarch folder appers before the fpu and
25666 default folder for power4 configuration.
25668 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25670 * scripts/bench.pl: Append volatile keyword to type.
25672 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25674 * sysdeps/sh/sotruss-lib.c: New file.
25675 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25677 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25681 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25684 * math/w_tgamma.c: Include <errno.h>.
25685 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25686 * math/w_tgammaf.c: Include <errno.h>.
25687 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25688 * math/w_tgammal.c: Include <errno.h>.
25689 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25690 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25691 underflow. Add more tgamma tests.
25692 * math/auto-libm-test-out: Regenerated.
25693 * sysdeps/i386/fpu/libm-test-ulps: Update.
25694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25696 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25697 sin, sinh, tan, tanh, tgamma, y0 and y1.
25698 * math/auto-libm-test-out: Regenerated.
25699 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25700 (TEST_COND_x86): Likewise.
25701 (M_E2l): Remove macro.
25703 (M_2_SQRT_PIl): Likewise.
25704 (M_SQRT_PIl): Likewise.
25705 (M_1_DIV_El): Likewise.
25706 (log_test_data): Use AUTO_TESTS_f_f.
25707 (log10_test_data): Likewise.
25708 (log1p_test_data): Likewise.
25709 (log2_test_data): Likewise.
25710 (sin_test_data): Likewise.
25711 (sin_tonearest_test_data): Likewise.
25712 (sin_towardzero_test_data): Likewise.
25713 (sin_downward_test_data): Likewise.
25714 (sin_upward_test_data): Likewise.
25715 (sinh_test_data): Likewise.
25716 (sinh_tonearest_test_data): Likewise.
25717 (sinh_towardzero_test_data): Likewise.
25718 (sinh_downward_test_data): Likewise.
25719 (sinh_upward_test_data): Likewise.
25720 (tan_test_data): Likewise.
25721 (tan_tonearest_test_data): Likewise.
25722 (tan_towardzero_test_data): Likewise.
25723 (tan_downward_test_data): Likewise.
25724 (tan_upward_test_data): Likewise.
25725 (tanh_test_data): Likewise.
25726 (tgamma_test_data): Likewise.
25727 (y0_test_data): Likewise.
25728 (y1_test_data): Likewise.
25729 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25730 (special_real_inputs): Add pi/4.
25731 * sysdeps/i386/fpu/libm-test-ulps: Update.
25732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25734 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25736 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25737 "longjmp_target" static probes.
25738 (__longjmp): Rename to __longjmp_symbol.
25739 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25740 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25741 on which longjmp to generate.
25742 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25743 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25745 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25746 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25747 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25748 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25749 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25750 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25752 __longjmp_symbol based on which __longjmp to generate.
25753 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25755 (setjmp): Rename to setjmp_symbol.
25756 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25757 (_setjmp): Rename to _setjmp_symbol.
25758 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25759 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25760 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25761 which setjmp to generate.
25762 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25763 "longjmp_target" static probes.
25765 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25767 * benchtests/README: Add note about output arguments.
25768 * benchtests/bench-sincos.c: Remove file.
25769 * benchtests/sincos-inputs: New file.
25770 * scripts/bench.pl: Identify output arguments and define
25771 static variables for them.
25773 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25776 * Makefile (INSTALL): Add install-plain.texi as the primary
25778 * manual/install-plain.texi: New file.
25779 * manual/install.texi: Include node directive only for
25780 non-plaintext output.
25782 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25784 * stdlib/longlong.h: Update from GCC.
25788 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25789 * math/w_j0f.c (y0f): Likewise.
25790 * math/w_j0l.c (__y0l): Likewise.
25791 * math/w_j1.c (y1): Likewise.
25792 * math/w_j1f.c (y1f): Likewise.
25793 * math/w_j1l.c (__y1l): Likewise
25794 * math/w_jn.c (yn): Likewise.
25795 * math/w_jnf.c (ynf): Likewise.
25796 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25797 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25798 value for Bessel function domain errors outside _SVID_ mode.
25799 Adjust sign of return value for yn (negative integer, 0).
25800 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25801 by zero in return for negative x and set sign appropriately for
25803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25804 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25805 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25806 expectations in error cases.
25807 (y1_test_data): Likewise.
25808 (yn_test_data): Likewise.
25809 * sysdeps/i386/fpu/libm-test-ulps: Update.
25810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25812 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25814 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25815 "64" to "64-v1". Add "64-v2".
25816 (abi-64-options): Rename to ...
25817 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25818 (abi-64-condition): Rename to ...
25819 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25820 (abi-64-ld-soname): Rename to ...
25821 (abi-64-v1-ld-soname): ... this.
25822 (abi-64-v2-options): Define.
25823 (abi-64-v2-condition): Likewise.
25824 (abi-64-v2-ld-soname): Likewise.
25825 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25826 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25831 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25832 Alan Modra <amodra@gmail.com>
25834 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25835 New versions for use with the ELFv2 ABI.
25836 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25837 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25839 (struct La_ppc64v2_retval): Likewise.
25840 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25841 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25842 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25843 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25844 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25845 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25846 Do not save or restore CR.
25847 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25848 (_dl_profile_resolve): Do no save or restore CR. Support extended
25849 return values for ELFv2 ABI. Fix location of FPR return registers.
25850 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25851 updated values for _CALL_ELF == 2.
25852 (La_regs, La_retval, int_retval): Likewise.
25854 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25856 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25857 (FRAME_MIN_SIZE_PARM): Likewise.
25858 (FRAME_BACKCHAIN): Likewise.
25859 (FRAME_CR_SAVE): Likewise.
25860 (FRAME_LR_SAVE): Likewise.
25861 (FRAME_TOC_SAVE): Likewise.
25862 (FRAME_PARM_SAVE): Likewise.
25863 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25864 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25865 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25866 (call_mcount_parm_offset): New macro.
25867 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25868 (PROF): Use symbolic stack frame offsets.
25869 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25870 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25871 Redefine in terms of FRAME_MIN_SIZE.
25872 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25873 (_dl_profile_resolve): Likewise. Update comment.
25874 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25875 symbols stack frame offsets.
25876 (__sigsetjmp): Likewise.
25877 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25878 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25879 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25880 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25883 (FRAME_BACKCHAIN): Remove.
25884 (FRAME_CR_SAVE): Likewise.
25885 (FRAME_LR_SAVE): Likewise.
25886 (FRAME_COMPILER_DW): Likewise.
25887 (FRAME_LINKER_DW): Likewise.
25888 (FRAME_TOC_SAVE): Likewise.
25889 (FRAME_PARM_SAVE): Likewise.
25890 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25891 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25892 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25894 (CHECK_SP): Use symbolic stack frame offsets.
25895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25896 zone" instead of caller's parameter save area for temp storage.
25897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25898 Likewise. Also, use symbolic stack frame offsets.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25900 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25901 our own stack frame instead of the caller's.
25902 (__socket): Use symbolic stack frame offsets.
25904 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25905 Alan Modra <amodra@gmail.com>
25907 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25909 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25910 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25911 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25913 (elf_machine_fixup_plt): Call it.
25914 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25916 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25917 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25918 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25919 r2 before calling target.
25921 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25922 Alan Modra <amodra@gmail.com>
25924 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25925 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25926 versions of macros to support ELFv2 ABI.
25927 (LOCALENTRY): New macro.
25928 (ENTRY, EALIGN): Use it.
25929 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25930 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25931 fall through into ENTRY entry point.
25932 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25933 Only define if _CALL_ELF != 2.
25935 (elf_machine_matches_host): Verify ABI version matches.
25936 (RTLD_START): Use LOCALENTRY.
25937 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25938 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25939 (PLT_ENTRY_WORDS): New macro.
25940 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25941 (elf_machine_runtime_setup): Support ELFv2 ABI.
25942 (elf_machine_fixup_plt): Likewise.
25943 (elf_machine_plt_conflict): Likewise.
25944 (resolve_ifunc): Likewise.
25945 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25949 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25951 (makecontext): Support ELFv2 ABI.
25952 * elf/elf.h (EF_PPC64_ABI): Define.
25954 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25956 * sysdeps/powerpc/powerpc64/sysdep.h
25957 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25958 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25959 (ENTRY) [ASSEMBLER]: ... but instead here ...
25960 (EALIGN) [ASSEMBLER]: ... and here.
25961 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25962 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25963 (ENTRY_2) [!ASSEMBLER]: Use it.
25964 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25965 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25966 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25967 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25968 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25970 Use PPC64_LOAD_FUNCPTR.
25972 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25974 2013-12-04 Alan Modra <amodra@gmail.com>
25976 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25977 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25978 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25979 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25982 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25983 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25984 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25985 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25986 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25988 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25991 (__makecontext): Fix incorrect CFI when backtracing out of
25992 context created via makecontext.
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25994 (__setcontext): Fix incorrect CFI during switch to new context.
25995 (__novec_setcontext): Likewise.
25997 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26000 * time/strptime_l.c (__strptime_internal): Allow modifiers
26002 * time/tst-strptime.c (day_tests): Add testcase.
26004 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26006 * scripts/bench.pl: Skip over blank lines.
26008 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26011 * manual/time.texi (Calendar Time): Clarify what timezone functions
26014 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26018 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26020 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26022 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26023 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26024 * debug/memset_chk.c (__memset_chk): Likewise.
26025 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26026 * debug/strncpy_chk.c: Likewise.
26028 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26032 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26033 (__ieee754_exp): For possibly underflowing results, check size of
26034 result and force underflow exception if required.
26035 * math/auto-libm-test-in: Add more tests of exp.
26036 * math/auto-libm-test-out: Regenerated.
26037 * sysdeps/i386/fpu/libm-test-ulps: Update.
26038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26041 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26042 * math/w_exp2f.c (__exp2f): Likewise.
26043 * math/w_exp2l.c (__exp2l): Likewise.
26044 * math/auto-libm-test-in: Do not allow missing errno on exp2
26046 * math/auto-libm-test-out: Regenerated.
26048 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26051 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26052 handle filename validation.
26053 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26056 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26059 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26060 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26061 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26063 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26064 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26065 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26067 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26068 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26069 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26070 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26071 Add more erfc tests.
26072 * math/auto-libm-test-out: Regenerated.
26073 * sysdeps/i386/fpu/libm-test-ulps: Update.
26074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26076 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26077 exp2, expm1, j0 and j1.
26078 * math/auto-libm-test-out: Regenerated.
26079 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26080 (erfc_test_data): Likewise.
26081 (exp_test_data): Likewise.
26082 (exp_tonearest_test_data): Likewise.
26083 (exp_towardzero_test_data): Likewise.
26084 (exp_downward_test_data): Likewise.
26085 (exp_upward_test_data): Likewise.
26086 (exp10_test_data): Likewise.
26087 (exp2_test_data): Likewise.
26088 (expm1_test_data): Likewise.
26089 (j0_test_data): Likewise.
26090 (j1_test_data): Likewise.
26091 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26092 (input_flag_type): Add flag_xfail_rounding.
26093 (input_flags): Add xfail-rounding.
26094 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26095 (output_for_one_input_case): Handle flag_xfail_rounding.
26096 * sysdeps/i386/fpu/libm-test-ulps: Update.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26099 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26102 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26105 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26108 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26109 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26110 (STAP_PROBE0): New macro.
26111 (STAP_PROBE1): Likewise.
26112 (STAP_PROBE2): Likewise.
26113 (STAP_PROBE3): Likewise.
26114 (STAP_PROBE4): Likewise.
26116 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26118 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26120 2013-12-02 Steve Ellcey <sellcey@mips.com>
26122 * benchtests/Makefile (bench): Add sqrt.
26123 (LDLIBS-bench-sqrt): New.
26124 * benchtests/sqrt-input: New.
26126 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26128 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26129 (GAIH_EAI): Likewise.
26130 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26131 (gaih_inet): Likewise.
26132 (getaddrinfo): Don't use GAIH_EAI.
26134 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26135 (struct gaih): Remove definition.
26137 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26139 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26140 Use HERRNOP directly.
26142 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26146 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26148 * math/gen-auto-libm-tests.c (test_functions): Add more
26149 single-argument functions.
26150 (special_fill_pi_2): New function.
26151 (special_fill_minus_pi_2): Likewise.
26152 (special_fill_pi_6): Likewise.
26153 (special_fill_minus_pi_6): Likewise.
26154 (special_fill_pi_3): Likewise.
26155 (special_fill_2pi_3): Likewise.
26156 (special_fill_e): Likewise.
26157 (special_fill_1_e): Likewise.
26158 (special_fill_e_minus_1): Likewise.
26159 (special_real_inputs): Add more special inputs.
26160 (output_for_one_input_case): Do not require ERANGE on underflow to
26161 zero if round-to-nearest result does not underflow to zero, unless
26162 exact results required.
26163 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26164 atan, atanh, cbrt, cos and cosh.
26165 * math/auto-libm-test-out: Regenerated.
26166 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26167 (acos_tonearest_test_data): Likewise.
26168 (acos_towardzero_test_data): Likewise.
26169 (acos_downward_test_data): Likewise.
26170 (acos_upward_test_data): Likewise.
26171 (acosh_test_data): Likewise.
26172 (asin_test_data): Likewise.
26173 (asin_tonearest_test_data): Likewise.
26174 (asin_towardzero_test_data): Likewise.
26175 (asin_upward_test_data): Likewise.
26176 (asinh_test_data): Likewise.
26177 (atan_test_data): Likewise.
26178 (atanh_test_data): Likewise.
26179 (cbrt_test_data): Likewise.
26180 (cos_test_data): Likewise.
26181 (cos_tonearest_test_data): Likewise.
26182 (cos_towardzero_test_data): Likewise.
26183 (cos_downward_test_data): Likewise.
26184 (cos_upward_test_data): Likewise.
26185 (cosh_test_data): Likewise.
26186 (cosh_tonearest_test_data): Likewise.
26187 (cosh_towardzero_test_data): Likewise.
26188 (cosh_downward_test_data): Likewise.
26189 (cosh_upward_test_data): Likewise.
26190 * sysdeps/i386/fpu/libm-test-ulps: Update.
26191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26193 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26196 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26197 * math/w_exp10f.c (__exp10f): Likewise.
26198 * math/w_exp10l.c (__exp10l): Likewise.
26199 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26200 errno settings in existing tests.
26203 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26204 precision control set to double precision.
26205 * sysdeps/i386/fpu/w_sqrt.c: New file.
26206 * math/auto-libm-test-in: Add more tests.
26207 * math/auto-libm-test-out: Update.
26209 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26210 (sqrt_test_tonearest): New function.
26211 (sqrt_towardzero_test_data): New variable.
26212 (sqrt_test_towardzero): New function.
26213 (sqrt_downward_test_data): New variable.
26214 (sqrt_test_downward): New function.
26215 (sqrt_upward_test_data): New variable.
26216 (sqrt_test_upward): New function.
26217 (main): Call the new functions.
26219 * math/gen-auto-libm-tests.c: New file.
26220 * math/auto-libm-test-in: Likewise.
26221 * math/auto-libm-test-out: New generated file.
26222 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26224 (%beautify): Add generated representations of zero.
26225 (top level): Set $auto_input and call parse_auto_input.
26226 (beautify): Remove trailing "f" from hex float constants.
26227 (parse_args): Handle XFAIL_TEST.
26228 (convert_condition): New function.
26229 (or_value): Likewise.
26230 (or_cond_value): Likewise.
26231 (generate_testfile): Handle AUTO_TESTS_* lines.
26232 (parse_auto_input): New function.
26233 * math/libm-test.inc (XFAIL_TEST): New macro.
26234 (ERRNO_UNCHANGED): Update value.
26235 (ERRNO_EDOM): Likewise.
26236 (ERRNO_ERANGE): Likewise.
26237 (IGNORE_RESULT): Likewise.
26238 (TEST_COND_flt_32): New macro.
26239 (TEST_COND_dbl_64): Likewise.
26240 (TEST_COND_ldbl_96_intel): Likewise.
26241 (TEST_COND_ldbl_96_m68k): Likewise.
26242 (TEST_COND_ldbl_128): Likewise.
26243 (TEST_COND_ldbl_128ibm): Likewise.
26244 (TEST_COND_long32): Likewise.
26245 (TEST_COND_long64): Likewise.
26246 (TEST_COND_before_rounding): Likewise.
26247 (TEST_COND_after_rounding): Likewise.
26248 (enable_test): Handle XFAIL_TEST flag.
26249 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26250 with finite results.
26251 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26252 auto-libm-test-out.
26254 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26255 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26258 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26259 __tls_get_addr_internal instead of __tls_get_offset in order to
26260 avoid GOT pointer dependency. Make rtld export
26261 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26262 __tls_get_addr since we are a __tls_get_offset platform.
26263 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26264 GOT pointer being set up before.
26265 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26267 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26269 * manual/math.texi (Errors in Math Functions): Document accuracy
26273 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26274 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26277 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26279 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26290 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26291 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26292 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26293 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26294 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26296 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26298 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26300 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26301 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26302 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26303 atomic-feupdateenv and flt-rounds.
26304 * sysdeps/powerpc/nofpu/Versions (libc): Add
26305 __atomic_feholdexcept, __atomic_feclearexcept,
26306 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26307 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26308 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26309 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26310 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26315 * manual/arith.texi (FP Exceptions): Document that exceptions may
26316 not be raised when matherr is used.
26317 (Math Error Reporting): Document overflow in directed rounding
26318 modes. Document that errno may not be set when finite values are
26319 returned on overflow. Document intent to set errno on underflow
26320 only for underflow to zero.
26323 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26324 round-to-nearest then adjust result for other rounding modes.
26325 * include/fenv.h (fegetround): Use libm_hidden_proto.
26326 * math/fegetround.c (fegetround): Use libm_hidden_def.
26327 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26328 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26329 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26330 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26332 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26334 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26335 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26337 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * nss/Versions (libnss_files): Add
26341 _nss_files_gethostbyname3_r.
26342 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26344 (HOST_DB_LOOKUP): Remove macro.
26345 (_nss_files_gethostbyname_r): Implement function without the
26346 HOST_DB_LOOKUP macro.
26347 (_nss_files_gethostbyname2_r): Likewise.
26349 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26351 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26353 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26355 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26356 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26359 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26361 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26362 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26363 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26364 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26366 __fe_nomask_env_priv and attribute_hidden.
26367 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26368 (libc_feupdateenv_test_ppc): Likewise.
26369 (libc_feresetround_ppc): Likewise.
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26371 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26372 compat_symbol macro.
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26374 (__fe_nomask_env): Likewise.
26375 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26377 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26379 * string/Makefile: Remove ifunc tests.
26380 * string/test-string.h: Define TEST_IFUNC.
26381 * string/test-bcopy-ifunc.c: Remove.
26382 * string/test-bzero-ifunc.c: Likewise.
26383 * string/test-memccpy-ifunc.c: Likewise.
26384 * string/test-memchr-ifunc.c: Likewise.
26385 * string/test-memcmp-ifunc.c: Likewise.
26386 * string/test-memcpy-ifunc.c: Likewise.
26387 * string/test-memmem-ifunc.c: Likewise.
26388 * string/test-memmove-ifunc.c: Likewise.
26389 * string/test-mempcpy-ifunc.c: Likewise.
26390 * string/test-memrchr-ifunc.c: Likewise.
26391 * string/test-memset-ifunc.c: Likewise.
26392 * string/test-rawmemchr-ifunc.c: Likewise.
26393 * string/test-stpcpy-ifunc.c: Likewise.
26394 * string/test-stpncpy-ifunc.c: Likewise.
26395 * string/test-strcasecmp-ifunc.c: Likewise.
26396 * string/test-strcasestr-ifunc.c: Likewise.
26397 * string/test-strcat-ifunc.c: Likewise.
26398 * string/test-strchr-ifunc.c: Likewise.
26399 * string/test-strchrnul-ifunc.c: Likewise.
26400 * string/test-strcmp-ifunc.c: Likewise.
26401 * string/test-strcpy-ifunc.c: Likewise.
26402 * string/test-strcspn-ifunc.c: Likewise.
26403 * string/test-strlen-ifunc.c: Likewise.
26404 * string/test-strncasecmp-ifunc.c: Likewise.
26405 * string/test-strncat-ifunc.c: Likewise.
26406 * string/test-strncmp-ifunc.c: Likewise.
26407 * string/test-strncpy-ifunc.c: Likewise.
26408 * string/test-strnlen-ifunc.c: Likewise.
26409 * string/test-strpbrk-ifunc.c: Likewise.
26410 * string/test-strrchr-ifunc.c: Likewise.
26411 * string/test-strspn-ifunc.c: Likewise.
26412 * string/test-strstr-ifunc.c: Likewise.
26414 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26416 * benchtests/Makefile: Remove ifunc tests.
26417 * benchtests/bench-string.h: Define TEST_IFUNC.
26418 * benchtests/bench-bcopy-ifunc.c: Remove.
26419 * benchtests/bench-bzero-ifunc.c: Likewise.
26420 * benchtests/bench-memccpy-ifunc.c: Likewise.
26421 * benchtests/bench-memchr-ifunc.c: Likewise.
26422 * benchtests/bench-memcmp-ifunc.c: Likewise.
26423 * benchtests/bench-memcpy-ifunc.c: Likewise.
26424 * benchtests/bench-memmem-ifunc.c: Likewise.
26425 * benchtests/bench-memmove-ifunc.c: Likewise.
26426 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26427 * benchtests/bench-memrchr-ifunc.c: Likewise.
26428 * benchtests/bench-memset-ifunc.c: Likewise.
26429 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26430 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26431 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26432 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26433 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26434 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26435 * benchtests/bench-strcat-ifunc.c: Likewise.
26436 * benchtests/bench-strchr-ifunc.c: Likewise.
26437 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26438 * benchtests/bench-strcmp-ifunc.c: Likewise.
26439 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26440 * benchtests/bench-strcpy-ifunc.c: Likewise.
26441 * benchtests/bench-strcspn-ifunc.c: Likewise.
26442 * benchtests/bench-strlen-ifunc.c: Likewise.
26443 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26444 * benchtests/bench-strncat-ifunc.c: Likewise.
26445 * benchtests/bench-strncmp-ifunc.c: Likewise.
26446 * benchtests/bench-strncpy-ifunc.c: Likewise.
26447 * benchtests/bench-strnlen-ifunc.c: Likewise.
26448 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26449 * benchtests/bench-strrchr-ifunc.c: Likewise.
26450 * benchtests/bench-strsep-ifunc.c: Likewise.
26451 * benchtests/bench-strspn-ifunc.c: Likewise.
26452 * benchtests/bench-strstr-ifunc.c: Likewise.
26454 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26456 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26458 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26460 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26461 * rt/aio.h: Likewise.
26462 * sysdeps/gnu/bits/utmp.h: Likewise.
26463 * sysdeps/gnu/bits/utmpx.h: Likewise.
26464 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26465 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26466 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26467 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26468 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26469 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26470 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26471 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26472 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26473 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26474 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26475 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26476 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26478 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26479 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26480 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26481 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26482 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26483 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26484 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26485 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26486 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26487 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26488 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26490 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26491 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26492 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26493 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26494 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26495 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26496 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26497 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26498 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26499 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26500 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26501 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26502 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26503 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26504 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26505 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26507 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26510 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26511 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26513 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26515 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26516 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26519 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26521 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26522 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26523 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26524 (__fesetround): Remove define.
26525 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26526 rounding and exceptions handling.
26527 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26528 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26529 (__fe_nomask_env): Likewise.
26530 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26531 __fegetround instead of fegetround.
26532 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26533 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26535 2013-11-21 Roland McGrath <roland@hack.frob.com>
26537 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26540 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26542 2013-11-21 Meador Inge <meadori@codesourcery.com>
26545 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26546 (encrypt_r): Likewise.
26547 * malloc/obstack.h (obstack_free): Likewise.
26548 * posix/unistd.h (encrypt): Likewise.
26550 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26552 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26553 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26554 DL_CALL_DT_FINI() that call the functions directly.
26555 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26556 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26557 * elf/dl-fini.c: Likewise.
26559 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26561 * malloc/hooks.c (memalign_check): Add alignment rounding.
26562 * malloc/malloc.c (_mid_memalign): New function.
26563 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26564 Implement by calling _mid_memalign.
26565 * manual/probes.texi (Memory Allocation Probes): Remove
26566 memory_valloc_retry and memory_pvalloc_retry.
26568 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26570 * locale/programs/locarchive.c (open_archive): Add const
26571 qualifier to ARCHIVEFNAME and copy default fname to
26575 * libio/tst-widetext.input: Rename Oriya to Odia.
26576 * locale/iso-639.def: Likewise.
26578 * manual/probes.texi (Mathematical Function Probes): Add
26579 documentation for sin, cos, asin and acos probes.
26580 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26581 (__sin32): Add slowasin probe.
26582 (__cos32): Add slowacos probe.
26583 (__mpsin): Add slowsin probe.
26584 (__mpcos): Add slowcos probe.
26586 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26589 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26590 thread-local __sim_exceptions_thread and global
26591 __sim_exceptions_global.
26592 (__sim_disabled_exceptions): Change to thread-local
26593 __sim_disabled_exceptions_thread and global
26594 __sim_disabled_exceptions_global.
26595 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26596 and global __sim_round_mode_global.
26597 (__simulate_exceptions): Use thread-local floating-point state and
26598 set global state from it as needed.
26599 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26600 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26601 __sim_round_mode_thread.
26602 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26603 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26604 and global __sim_exceptions_global.
26605 (__sim_disabled_exceptions): Change to thread-local
26606 __sim_disabled_exceptions_thread and global
26607 __sim_disabled_exceptions_global.
26608 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26609 and global __sim_round_mode_global.
26610 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26611 (SIM_SET_GLOBAL): Likewise.
26612 * sysdeps/powerpc/soft-fp/sfp-machine.h
26613 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26614 __sim_round_mode_thread.
26615 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26616 __sim_disabled_exceptions_thread.
26617 (__sim_exceptions): Change to __sim_exceptions_thread.
26618 (__sim_disabled_exceptions): Change to
26619 __sim_disabled_exceptions_thread.
26620 (__sim_round_mode): Change to __sim_round_mode_thread.
26621 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26622 thread-local floating-point state and set global state from it as
26624 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26625 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26626 (__sim_disabled_exceptions): Remove extern declaration.
26627 (feenableexcept): Use thread-local floating-point state and set
26628 global state from it as needed.
26629 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26630 extern declaration.
26631 (__sim_disabled_exceptions): Likewise.
26632 (__sim_round_mode): Likewise.
26633 (__fegetenv): Use thread-local floating-point state.
26634 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26635 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26636 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26637 floating-point state and set global state from it as needed.
26638 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26639 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26640 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26642 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26643 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26645 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26646 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26647 Use __sim_round_mode_thread.
26648 * math/test-fenv-tls.c: New file.
26649 * math/Makefile (tests): Add test-fenv-tls.
26650 ($(objpfx)test-fenv-tls): Depend on
26651 $(common-objpfx)nptl/libpthread.so.
26653 2013-11-19 Andreas Schwab <schwab@suse.de>
26655 * locale/programs/locale.c (show_info): Decode wordarray elements.
26656 * locale/categories.def (LC_MONETARY): Add element for
26657 _NL_MONETARY_CRNCYSTR.
26658 * locale/C-monetary.c (conversion_rate): New variable.
26659 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26662 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26664 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26665 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26667 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26669 * elf/Makefile (tst-auxv): New test.
26670 * elf/tst-auxv.c: New
26671 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26673 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26675 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26676 (hidden_proto): Caller changed.
26677 (hidden_tls_proto): New macro.
26678 (libc_hidden_tls_proto): Likewise.
26679 (rtld_hidden_tls_proto): Likewise.
26680 (libm_hidden_tls_proto): Likewise.
26681 (libresolv_hidden_tls_proto): Likewise.
26682 (librt_hidden_tls_proto): Likewise.
26683 (libdl_hidden_tls_proto): Likewise.
26684 (libnss_files_hidden_tls_proto): Likewise.
26685 (libnsl_hidden_tls_proto): Likewise.
26686 (libnss_nisplus_hidden_tls_proto): Likewise.
26687 (libutil_hidden_tls_proto): Likewise.
26689 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26692 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26693 (decompose_rpath): Defer expansion to fillin_rpath.
26694 (_dl_init_paths): Pass linkmap to fillin_rpath.
26696 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26698 * benchtests/Makefile: Add strsep.
26699 * benchtests/bench-strsep.c: New file: strsep benchtest.
26700 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26702 2013-11-18 Andreas Schwab <schwab@suse.de>
26704 * locale/programs/locale.c (show_info) [case byte]: Check for
26705 '\377' instead of '\177'.
26706 * locale/C-monetary.c (not_available): Always use "\377".
26707 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26708 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26709 detect unavailable sign_posn locale elements.
26710 * locale/localeconv.c (__localeconv): For grouping and
26711 mon_grouping handle "\177" and "\377" like no grouping.
26712 (INT_ELEM): New macro. Use it to set all numeric members.
26713 * locale/programs/ld-monetary.c (monetary_read)
26714 <tok_mon_grouping>: Normalize single -1 to the empty string.
26715 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26718 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26721 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26722 when we match (nil).
26723 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26725 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26727 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26728 (NO_TEST_INLINE): Update value.
26729 (ERRNO_UNCHANGED): Likewise.
26730 (ERRNO_EDOM): Likewise.
26731 (ERRNO_ERANGE): Likewise.
26732 (IGNORE_RESULT): Likewise.
26733 (check_float_internal): Check signs of NaN results if
26734 TEST_NAN_SIGN used.
26735 (check_complex): Pass TEST_NAN_SIGN flag through to second
26736 check_float_internal call.
26737 (copysign_test_data): Add tests with quiet NaNs as second
26738 argument. Use TEST_NAN_SIGN.
26739 (fabs_test_data): Add test of negative quiet NaN argument. Use
26741 (signbit_test_data): Add tests of quiet NaN argument.
26742 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26744 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26746 (parse_args): Handle function results specified as IGNORE.
26747 * math/libm-test.inc (IGNORE_RESULT): New macro.
26748 (check_float_internal): Do not check numerical result if flag
26750 (check_complex): Pass through IGNORE_RESULT to second
26751 check_float_internal call.
26752 (check_int): Do not check numerical result if flag IGNORE_RESULT
26754 (check_long): Likewise.
26755 (check_bool): Likewise.
26756 (check_longlong): Likewise.
26757 (lrint_test_data): Add tests of infinite and NaN arguments.
26758 (lrint_tonearest_test_data): Likewise.
26759 (lrint_towardzero_test_data): Likewise.
26760 (lrint_downward_test_data): Likewise.
26761 (lrint_upward_test_data): Likewise.
26762 (llrint_test_data): Likewise.
26763 (llrint_tonearest_test_data): Likewise.
26764 (llrint_towardzero_test_data): Likewise.
26765 (llrint_downward_test_data): Likewise.
26766 (llrint_upward_test_data): Likewise.
26767 (lround_test_data): Likewise.
26768 (llround_test_data): Likewise.
26770 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26771 (ERRNO_UNCHANGED): Update value.
26772 (ERRNO_EDOM): Likewise.
26773 (ERRNO_ERANGE): Likewise.
26774 (NO_TEST_INLINE_FLOAT): New macro.
26775 (NO_TEST_INLINE_DOUBLE): Likewise.
26776 (enable_test): New function.
26777 (RUN_TEST_f_f): Check enable_test before running test.
26778 (RUN_TEST_2_f): Likewise.
26779 (RUN_TEST_fff_f): Likewise.
26780 (RUN_TEST_c_f): Likewise.
26781 (RUN_TEST_f_f1): Likewise.
26782 (RUN_TEST_fF_f1): Likewise.
26783 (RUN_TEST_fI_f1): Likewise.
26784 (RUN_TEST_ffI_f1): Likewise.
26785 (RUN_TEST_c_c): Likewise.
26786 (RUN_TEST_cc_c): Likewise.
26787 (RUN_TEST_f_i): Likewise.
26788 (RUN_TEST_f_i_tg): Likewise.
26789 (RUN_TEST_ff_i_tg): Likewise.
26790 (RUN_TEST_f_b): Likewise.
26791 (RUN_TEST_f_b_tg): Likewise.
26792 (RUN_TEST_f_l): Likewise.
26793 (RUN_TEST_f_L): Likewise.
26794 (RUN_TEST_fFF_11): Likewise.
26795 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26797 (cosh_test_data): Likewise.
26798 (exp_test_data): Likewise.
26799 (expm1_test_data): Likewise.
26800 (hypot_test_data): Likewise.
26801 (pow_test_data): Likewise.
26802 (sinh_test_data): Likewise.
26803 (tanh_test_data): Likewise.
26804 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26807 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26808 tests with quiet NaN input and output.
26809 (acosh_test_data): Likewise.
26810 (asin_test_data): Likewise.
26811 (asinh_test_data): Likewise.
26812 (atan_test_data): Likewise.
26813 (atanh_test_data): Likewise.
26814 (atan2_test_data): Likewise.
26815 (cbrt_test_data): Likewise.
26816 (cos_test_data): Likewise.
26817 (cosh_test_data): Likewise.
26818 (erf_test_data): Likewise.
26819 (erfc_test_data): Likewise.
26820 (exp_test_data): Likewise.
26821 (exp10_test_data): Likewise.
26822 (exp2_test_data): Likewise.
26823 (expm1_test_data): Likewise.
26824 (hypot_test_data): Likewise.
26825 (j0_test_data): Likewise.
26826 (j1_test_data): Likewise.
26827 (jn_test_data): Likewise.
26828 (lgamma_test_data): Likewise.
26829 (log_test_data): Likewise.
26830 (log10_test_data): Likewise.
26831 (log1p_test_data): Likewise.
26832 (log2_test_data): Likewise.
26833 (pow_test_data): Likewise.
26834 (scalb_test_data): Likewise.
26835 (sin_test_data): Likewise.
26836 (sincos_test_data): Likewise.
26837 (sinh_test_data): Likewise.
26838 (tan_test_data): Likewise.
26839 (tanh_test_data): Likewise.
26840 (tgamma_test_data): Likewise.
26841 (y0_test_data): Likewise.
26842 (y1_test_data): Likewise.
26843 (yn_test_data): Likewise.
26846 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26847 argument being NaN and avoid computations with second argument in
26849 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26850 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26851 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26853 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26855 * locale/iso-639.def: Add Chitwani Tharu (the).
26857 2013-11-14 Andreas Schwab <schwab@suse.de>
26859 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26860 word instead of empty string.
26862 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26865 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26867 (__fe_nomask_env): Likewise.
26869 2013-11-13 Steve Ellcey <sellcey@mips.com>
26871 * benchtests/bench-timing.h: Include time.h.
26873 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26876 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26878 * sysdeps/unix/sysv/linux/configure: Regenerated.
26880 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26883 * stdlib/strtod_l.c (round_and_return): Do not consider
26884 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26885 exponent one less than half the least subnormal exponent.
26886 * stdlib/test-strtod-round-data: Add more tests.
26887 * stdlib/tst-strtod-round.c (tests): Regenerated.
26889 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26892 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26893 (__fe_mask_env): Likewise.
26894 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26895 libm_hidden_proto and add function prototype.
26896 (__fe_mask_env): Add function prototype.
26897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26898 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26900 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26902 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26904 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26906 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26907 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26909 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26911 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26912 of htab_find_slot().
26914 2013-11-11 David S. Miller <davem@davemloft.net>
26917 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26918 symbol in the non-vis3 case in static builds.
26919 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26920 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26921 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26922 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26924 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26927 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26930 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26932 * benchtests/Makefile: Add bench-strtod.
26933 * benchtests/bench-strtod.c: New file: strtod benchtest
26935 2013-11-11 Andreas Schwab <schwab@suse.de>
26938 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26939 terminating NUL in key length.
26941 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26943 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26944 Add artificial ODP entry for vDSO symbol for PPC64.
26945 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26946 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26948 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26951 * nss/getent.c (services_keys): Recognize services starting with digit.
26953 2013-11-06 David S. Miller <davem@davemloft.net>
26956 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26957 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26959 2013-11-06 Will Newton <will.newton@linaro.org>
26961 * manual/memory.texi (Malloc Examples): Remove register
26962 keyword from examples.
26964 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26966 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26968 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26971 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26972 depending on [__GCC_IEC_559 > 0].
26973 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26974 depending on [__GCC_IEC_559_COMPLEX > 0].
26976 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26978 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26981 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26983 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26985 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26988 * malloc/malloc (malloc_info): Do not handle first bin as
26991 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26993 * locale/iso-639.def: Add Central Nahuatl (nhn).
26995 2013-11-01 Bruno Haible <bruno@clisp.org>
26998 * manual/math.texi (BSD Random): Specify range upper bound as
27001 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27003 * locale/iso-639.def: Add Meadow Mari (mhr).
27005 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27007 [BZ #14752], [BZ #15763]
27008 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27010 * rt/tst_shm.c: Add test for escaping directory.
27012 2013-10-31 Andreas Schwab <schwab@suse.de>
27015 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27016 followed by 'x' as part of digit sequence.
27017 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27019 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27022 * configure.ac: allow GNU Make 4.0 and greater.
27023 * configure: Regenerated.
27025 2013-10-30 Will Newton <will.newton@linaro.org>
27028 * malloc/hooks.c (memalign_check): Limit alignment to the
27029 maximum representable power of two.
27030 * malloc/malloc.c (__libc_memalign): Likewise.
27031 * malloc/tst-memalign.c (do_test): Add test for very
27032 large alignment values.
27033 * malloc/tst-posix_memalign.c (do_test): Likewise.
27035 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27038 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27039 (munmap_chunk): Likewise.
27040 (mremap_chunk): Likewise.
27042 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27045 * stdlib/div.c (div): Remove obsolete code.
27046 * stdlib/ldiv.c (ldiv): Likewise.
27047 * stdlib/lldiv.c (lldiv): Likewise.
27049 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27052 * nss/nss_files/files-XXX.c (get_contents_ret): New
27054 (get_contents): New function.
27055 (internal_getent): Use it. Expand size of LINEBUFLEN.
27057 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27059 * configure.in: Moved to ...
27060 * configure.ac: ... here. Change reference to configure.in
27062 * sysdeps/arm/preconfigure.ac: ... here.
27063 configure.in to configure.ac.
27064 * sysdeps/gnu/configure.in: Moved to ...
27065 * sysdeps/gnu/configure.ac: ... here.
27066 * sysdeps/i386/configure.in: Moved to ...
27067 * sysdeps/i386/configure.ac: ... here.
27068 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27069 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27070 * sysdeps/mach/configure.in: Moved to ...
27071 * sysdeps/mach/configure.ac: ... here.
27072 * sysdeps/mach/hurd/configure.in: Moved to ...
27073 * sysdeps/mach/hurd/configure.ac: ... here.
27074 * sysdeps/powerpc/configure.in: Moved to ...
27075 * sysdeps/powerpc/configure.ac: ... here.
27076 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27077 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27078 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27079 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27080 * sysdeps/s390/s390-32/configure.in: Moved to ...
27081 * sysdeps/s390/s390-32/configure.ac: ... here.
27082 * sysdeps/s390/s390-64/configure.in: Moved to ...
27083 * sysdeps/s390/s390-64/configure.ac: ... here.
27084 * sysdeps/sh/configure.in: Moved to ...
27085 * sysdeps/sh/configure.ac: ... here.
27086 * sysdeps/sparc/configure.in: Moved to ...
27087 * sysdeps/sparc/configure.ac: ... here.
27088 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27089 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27090 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27091 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27092 * sysdeps/x86_64/configure.in: Moved to ...
27093 * sysdeps/x86_64/configure.ac: ... here.
27094 * sysdeps/x86_64/preconfigure.in: Moved to ...
27095 * sysdeps/x86_64/preconfigure.ac: ... here.
27096 * aclocal.m4: Change reference to configure.in to configure.ac.
27097 * config.h.in: Likewise.
27098 * manual/install.texi: Likewise.
27099 * manual/maint.texi: Likewise.
27100 * Makefile: Likewise.
27101 * malloc/Makefile: Likewise.
27102 * nscd/Makefile: Likewise.
27103 * Makeconfig: Change reference to configure.in and
27104 preconfigure.in to configure.ac and preconfigure.ac
27106 * INSTALL: Regenerated.
27107 * configure: Likewise.
27108 * sysdeps/gnu/configure: Likewise.
27109 * sysdeps/i386/configure: Likewise.
27110 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27111 * sysdeps/mach/configure: Likewise.
27112 * sysdeps/mach/hurd/configure: Likewise.
27113 * sysdeps/powerpc/configure: Likewise.
27114 * sysdeps/powerpc/powerpc32/configure: Likewise.
27115 * sysdeps/powerpc/powerpc64/configure: Likewise.
27116 * sysdeps/s390/s390-32/configure: Likewise.
27117 * sysdeps/s390/s390-64/configure: Likewise.
27118 * sysdeps/sh/configure: Likewise.
27119 * sysdeps/sparc/configure: Likewise.
27120 * sysdeps/unix/sysv/linux/configure: Likewise.
27121 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27122 * sysdeps/x86_64/configure: Likewise.
27123 * sysdeps/x86_64/preconfigure: Likewise.
27125 2013-10-29 Andreas Schwab <schwab@suse.de>
27127 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27129 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27131 * benchtests/pow-inputs: Add new inputs.
27133 * benchtests/exp-inputs: Add new inputs.
27135 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27136 conditional check for return value.
27137 (__cos32): Likewise.
27139 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27141 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27142 to provide a boost for large inputs with word alignment.
27143 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27144 implementation based on optimized PPC64 strcpy.
27145 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27146 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27147 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27148 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27150 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27153 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27155 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27158 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27159 * time/tst-strptime.c (day_tests): Add testcase.
27161 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27164 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27166 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27169 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27170 MAP_FAILED on error.
27172 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27175 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27176 heap for large requests.
27178 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27181 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27182 result if the result has no associated interface.
27183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27184 interface for all 127.X.Y.Z addresses.
27186 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27188 * locale/iso-639.def: Add Ligurian (lij)
27190 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27193 * sunrpc/rpc_main.c: Document rpcgen -5.
27195 2013-10-19 Michael Stahl <mstahl@redhat.com>
27197 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27199 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27202 * posix/glob.c: Match only directories when trailing slash is present.
27203 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27204 (main): Add testcase.
27206 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27209 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27211 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27213 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27214 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27215 AUTH_DES and cindex for FIPS 140-2.
27216 (DES Encryption): Add cindex FIPS 46-3.
27218 * locale/locarchive.h (struct locarhandle): Add fname.
27219 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27220 if an optional argument was specified to --list-archive,
27222 * locale/programs/locarchive.c (show_archive_content): Take new
27223 argument fname and pass it via ah.fname to open_archive.
27224 * locale/programs/localedef.h: Update decl.
27225 (open_archive): If AH->fname is non-null, open that file
27226 rather than the default file name, and don't ignore ENOENT.
27227 (create_archive): Set AH.fname to NULL.
27228 (delete_locales_from_archive): Likewise.
27229 (add_locales_to_archive): Likewise.
27230 * locale/programs/locfile.c (write_all_categories): Likewise.
27232 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27233 Aldy Hernandez <aldyh@redhat.com>
27235 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27236 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27237 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27238 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27239 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27240 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27241 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27242 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27243 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27244 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27245 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27246 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27247 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27248 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27249 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27251 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27253 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27255 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27257 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27258 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27260 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27261 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27262 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27263 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27265 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27266 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27267 * sysdeps/powerpc/preconfigure: Likewise.
27268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27270 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27271 Replace contents of file by #include of <fenv_libc.h>.
27272 * sysdeps/powerpc/soft-fp/sfp-machine.h
27273 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27275 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27276 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27277 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27278 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27279 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27280 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27282 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27283 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27284 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27285 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27288 Allow copysignl PLT reference to be missing.
27290 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27291 Joseph Myers <joseph@codesourcery.com
27294 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27296 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27298 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27300 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27301 * elf/tst-tls1.c: Likewise.
27302 * elf/tst-tls10.h: Likewise.
27303 * elf/tst-tls14.c: Likewise.
27304 * elf/tst-tls2.c: Likewise.
27305 * elf/tst-tls3.c: Likewise.
27306 * elf/tst-tls4.c: Likewise.
27307 * elf/tst-tls5.c: Likewise.
27308 * elf/tst-tls6.c: Likewise.
27309 * elf/tst-tls7.c: Likewise.
27310 * elf/tst-tls8.c: Likewise.
27311 * elf/tst-tls9.c: Likewise.
27312 * elf/tst-tlsmod1.c: Likewise.
27313 * elf/tst-tlsmod13.c: Likewise.
27314 * elf/tst-tlsmod13a.c: Likewise.
27315 * elf/tst-tlsmod14a.c: Likewise.
27316 * elf/tst-tlsmod16a.c: Likewise.
27317 * elf/tst-tlsmod16b.c: Likewise.
27318 * elf/tst-tlsmod2.c: Likewise.
27319 * elf/tst-tlsmod3.c: Likewise.
27320 * elf/tst-tlsmod4.c: Likewise.
27321 * elf/tst-tlsmod5.c: Likewise.
27322 * elf/tst-tlsmod6.c: Likewise.
27324 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27327 * malloc/malloc.c: remove checks for statistics.
27329 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27332 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27333 * inet/tst-network.c: Add testcase.
27335 2013-10-17 Andreas Schwab <schwab@suse.de>
27338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27339 to determine canonical name.
27341 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27343 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27344 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27354 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27367 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27368 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27369 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27370 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27371 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27372 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27373 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27374 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27375 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27376 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27377 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27378 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27392 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27393 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27394 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27400 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27402 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27405 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27406 make result into a quiet NaN.
27408 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27410 * soft-fp/adddf3.c: Fix horizontal whitespace.
27411 * soft-fp/addsf3.c: Likewise.
27412 * soft-fp/addtf3.c: Likewise.
27413 * soft-fp/divdf3.c: Likewise.
27414 * soft-fp/divsf3.c: Likewise.
27415 * soft-fp/divtf3.c: Likewise.
27416 * soft-fp/double.h: Likewise.
27417 * soft-fp/eqdf2.c: Likewise.
27418 * soft-fp/eqsf2.c: Likewise.
27419 * soft-fp/eqtf2.c: Likewise.
27420 * soft-fp/extenddftf2.c: Likewise.
27421 * soft-fp/extended.h: Likewise.
27422 * soft-fp/extendsfdf2.c: Likewise.
27423 * soft-fp/extendsftf2.c: Likewise.
27424 * soft-fp/extendxftf2.c: Likewise.
27425 * soft-fp/fixdfdi.c: Likewise.
27426 * soft-fp/fixdfsi.c: Likewise.
27427 * soft-fp/fixdfti.c: Likewise.
27428 * soft-fp/fixsfdi.c: Likewise.
27429 * soft-fp/fixsfsi.c: Likewise.
27430 * soft-fp/fixsfti.c: Likewise.
27431 * soft-fp/fixtfdi.c: Likewise.
27432 * soft-fp/fixtfsi.c: Likewise.
27433 * soft-fp/fixtfti.c: Likewise.
27434 * soft-fp/fixunsdfdi.c: Likewise.
27435 * soft-fp/fixunsdfsi.c: Likewise.
27436 * soft-fp/fixunsdfti.c: Likewise.
27437 * soft-fp/fixunssfdi.c: Likewise.
27438 * soft-fp/fixunssfsi.c: Likewise.
27439 * soft-fp/fixunssfti.c: Likewise.
27440 * soft-fp/fixunstfdi.c: Likewise.
27441 * soft-fp/fixunstfsi.c: Likewise.
27442 * soft-fp/fixunstfti.c: Likewise.
27443 * soft-fp/floatdidf.c: Likewise.
27444 * soft-fp/floatdisf.c: Likewise.
27445 * soft-fp/floatditf.c: Likewise.
27446 * soft-fp/floatsidf.c: Likewise.
27447 * soft-fp/floatsisf.c: Likewise.
27448 * soft-fp/floatsitf.c: Likewise.
27449 * soft-fp/floattidf.c: Likewise.
27450 * soft-fp/floattisf.c: Likewise.
27451 * soft-fp/floattitf.c: Likewise.
27452 * soft-fp/floatundidf.c: Likewise.
27453 * soft-fp/floatundisf.c: Likewise.
27454 * soft-fp/floatunditf.c: Likewise.
27455 * soft-fp/floatunsidf.c: Likewise.
27456 * soft-fp/floatunsisf.c: Likewise.
27457 * soft-fp/floatunsitf.c: Likewise.
27458 * soft-fp/floatuntidf.c: Likewise.
27459 * soft-fp/floatuntisf.c: Likewise.
27460 * soft-fp/floatuntitf.c: Likewise.
27461 * soft-fp/fmadf4.c: Likewise.
27462 * soft-fp/fmasf4.c: Likewise.
27463 * soft-fp/fmatf4.c: Likewise.
27464 * soft-fp/gedf2.c: Likewise.
27465 * soft-fp/gesf2.c: Likewise.
27466 * soft-fp/getf2.c: Likewise.
27467 * soft-fp/ledf2.c: Likewise.
27468 * soft-fp/lesf2.c: Likewise.
27469 * soft-fp/letf2.c: Likewise.
27470 * soft-fp/muldf3.c: Likewise.
27471 * soft-fp/mulsf3.c: Likewise.
27472 * soft-fp/multf3.c: Likewise.
27473 * soft-fp/negdf2.c: Likewise.
27474 * soft-fp/negsf2.c: Likewise.
27475 * soft-fp/negtf2.c: Likewise.
27476 * soft-fp/op-1.h: Likewise.
27477 * soft-fp/op-2.h: Likewise.
27478 * soft-fp/op-4.h: Likewise.
27479 * soft-fp/op-8.h: Likewise.
27480 * soft-fp/op-common.h: Likewise.
27481 * soft-fp/quad.h: Likewise.
27482 * soft-fp/single.h: Likewise.
27483 * soft-fp/soft-fp.h: Likewise.
27484 * soft-fp/sqrtdf2.c: Likewise.
27485 * soft-fp/sqrtsf2.c: Likewise.
27486 * soft-fp/sqrttf2.c: Likewise.
27487 * soft-fp/subdf3.c: Likewise.
27488 * soft-fp/subsf3.c: Likewise.
27489 * soft-fp/subtf3.c: Likewise.
27490 * soft-fp/truncdfsf2.c: Likewise.
27491 * soft-fp/trunctfdf2.c: Likewise.
27492 * soft-fp/trunctfsf2.c: Likewise.
27493 * soft-fp/trunctfxf2.c: Likewise.
27494 * soft-fp/unorddf2.c: Likewise.
27495 * soft-fp/unordsf2.c: Likewise.
27496 * soft-fp/unordtf2.c: Likewise.
27498 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27500 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27501 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27503 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27505 * elf/dl-libc.c: Clear initfini list after freeing.
27507 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27509 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27510 * soft-fp/addsf3.c: Likewise.
27511 * soft-fp/addtf3.c: Likewise.
27512 * soft-fp/divdf3.c: Likewise.
27513 * soft-fp/divsf3.c: Likewise.
27514 * soft-fp/divtf3.c: Likewise.
27515 * soft-fp/double.h: Likewise.
27516 * soft-fp/eqdf2.c: Likewise.
27517 * soft-fp/eqsf2.c: Likewise.
27518 * soft-fp/eqtf2.c: Likewise.
27519 * soft-fp/extenddftf2.c: Likewise.
27520 * soft-fp/extended.h: Likewise.
27521 * soft-fp/extendsfdf2.c: Likewise.
27522 * soft-fp/extendsftf2.c: Likewise.
27523 * soft-fp/extendxftf2.c: Likewise.
27524 * soft-fp/fixdfdi.c: Likewise.
27525 * soft-fp/fixdfsi.c: Likewise.
27526 * soft-fp/fixdfti.c: Likewise.
27527 * soft-fp/fixsfdi.c: Likewise.
27528 * soft-fp/fixsfsi.c: Likewise.
27529 * soft-fp/fixsfti.c: Likewise.
27530 * soft-fp/fixtfdi.c: Likewise.
27531 * soft-fp/fixtfsi.c: Likewise.
27532 * soft-fp/fixtfti.c: Likewise.
27533 * soft-fp/fixunsdfdi.c: Likewise.
27534 * soft-fp/fixunsdfsi.c: Likewise.
27535 * soft-fp/fixunsdfti.c: Likewise.
27536 * soft-fp/fixunssfdi.c: Likewise.
27537 * soft-fp/fixunssfsi.c: Likewise.
27538 * soft-fp/fixunssfti.c: Likewise.
27539 * soft-fp/fixunstfdi.c: Likewise.
27540 * soft-fp/fixunstfsi.c: Likewise.
27541 * soft-fp/fixunstfti.c: Likewise.
27542 * soft-fp/floatdidf.c: Likewise.
27543 * soft-fp/floatdisf.c: Likewise.
27544 * soft-fp/floatditf.c: Likewise.
27545 * soft-fp/floatsidf.c: Likewise.
27546 * soft-fp/floatsisf.c: Likewise.
27547 * soft-fp/floatsitf.c: Likewise.
27548 * soft-fp/floattidf.c: Likewise.
27549 * soft-fp/floattisf.c: Likewise.
27550 * soft-fp/floattitf.c: Likewise.
27551 * soft-fp/floatundidf.c: Likewise.
27552 * soft-fp/floatundisf.c: Likewise.
27553 * soft-fp/floatunsidf.c: Likewise.
27554 * soft-fp/floatunsisf.c: Likewise.
27555 * soft-fp/floatuntidf.c: Likewise.
27556 * soft-fp/floatuntisf.c: Likewise.
27557 * soft-fp/floatuntitf.c: Likewise.
27558 * soft-fp/fmadf4.c: Likewise.
27559 * soft-fp/fmasf4.c: Likewise.
27560 * soft-fp/fmatf4.c: Likewise.
27561 * soft-fp/gedf2.c: Likewise.
27562 * soft-fp/gesf2.c: Likewise.
27563 * soft-fp/getf2.c: Likewise.
27564 * soft-fp/ledf2.c: Likewise.
27565 * soft-fp/lesf2.c: Likewise.
27566 * soft-fp/letf2.c: Likewise.
27567 * soft-fp/muldf3.c: Likewise.
27568 * soft-fp/mulsf3.c: Likewise.
27569 * soft-fp/multf3.c: Likewise.
27570 * soft-fp/negdf2.c: Likewise.
27571 * soft-fp/negsf2.c: Likewise.
27572 * soft-fp/negtf2.c: Likewise.
27573 * soft-fp/op-1.h: Likewise.
27574 * soft-fp/op-2.h: Likewise.
27575 * soft-fp/op-4.h: Likewise.
27576 * soft-fp/op-8.h: Likewise.
27577 * soft-fp/op-common.h: Likewise.
27578 * soft-fp/quad.h: Likewise.
27579 * soft-fp/single.h: Likewise.
27580 * soft-fp/soft-fp.h: Likewise.
27581 * soft-fp/sqrtdf2.c: Likewise.
27582 * soft-fp/sqrtsf2.c: Likewise.
27583 * soft-fp/sqrttf2.c: Likewise.
27584 * soft-fp/subdf3.c: Likewise.
27585 * soft-fp/subsf3.c: Likewise.
27586 * soft-fp/subtf3.c: Likewise.
27587 * soft-fp/truncdfsf2.c: Likewise.
27588 * soft-fp/trunctfdf2.c: Likewise.
27589 * soft-fp/trunctfsf2.c: Likewise.
27590 * soft-fp/trunctfxf2.c: Likewise.
27591 * soft-fp/unorddf2.c: Likewise.
27592 * soft-fp/unordsf2.c: Likewise.
27593 * soft-fp/unordtf2.c: Likewise.
27595 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27598 * misc/error.c (error_tail): Fix possible buffer overflow.
27600 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27603 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27606 2013-10-14 P. J. McDermott <pj@pehjota.net>
27609 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27610 testing pipefail option.
27612 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27614 * soft-fp/double.h: Indent preprocessor directives inside #if.
27615 * soft-fp/extended.h: Likewise.
27616 * soft-fp/op-2.h: Likewise.
27617 * soft-fp/op-4.h: Likewise.
27618 * soft-fp/op-common.h: Likewise.
27619 * soft-fp/quad.h: Likewise.
27620 * soft-fp/single.h: Likewise.
27621 * soft-fp/soft-fp.h: Likewise.
27623 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27625 * iconv/iconv_prog.c: Fix typos.
27626 * stdio-common/psiginfo-data.h: Likewise.
27628 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27631 * locale/setlocale.c: Fix typo.
27633 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27636 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27637 signaling NaN arguments.
27638 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27639 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27642 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27643 unordered operands.
27644 * soft-fp/gesf2.c (__gesf2): Likewise.
27645 * soft-fp/getf2.c (__getf2): Likewise.
27646 * soft-fp/ledf2.c (__ledf2): Likewise.
27647 * soft-fp/lesf2.c (__lesf2): Likewise.
27648 * soft-fp/letf2.c (__letf2): Likewise.
27650 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27651 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27652 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27653 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27654 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27655 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27656 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27657 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27658 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27659 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27660 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27661 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27662 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27663 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27664 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27665 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27666 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27667 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27668 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27669 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27670 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27671 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27672 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27673 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27674 * soft-fp/floattidf.c (__floattidf): Likewise.
27675 * soft-fp/floattisf.c (__floattisf): Likewise.
27676 * soft-fp/floattitf.c (__floattitf): Likewise.
27677 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27678 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27679 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27680 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27681 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27682 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27683 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27684 * soft-fp/gesf2.c (__gesf2): Likewise.
27685 * soft-fp/getf2.c (__getf2): Likewise.
27686 * soft-fp/ledf2.c (__ledf2): Likewise.
27687 * soft-fp/lesf2.c (__lesf2): Likewise.
27688 * soft-fp/letf2.c (__letf2): Likewise.
27690 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27691 Undefine and redefine.
27692 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27693 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27694 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27695 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27696 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27697 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27698 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27699 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27700 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27701 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27702 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27703 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27704 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27705 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27706 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27709 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27710 without decrementing exponent if mantissa >= that for the
27711 denominator, not >.
27712 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27713 denominator, not >. Decrement exponent in < case instead of
27714 incrementing in >= case.
27715 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27716 without decrementing exponent if mantissa >= that for the
27717 denominator, not >.
27719 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27720 computing saturated result for unsigned overflow.
27722 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27723 Jeff Law <law@redhat.com>
27725 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27726 (atan2Mp): Add systemtap probe marker.
27727 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27728 (__ieee754_log): Add systemtap probe marker.
27729 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27730 (atanMp): Add systemtap probe marker.
27731 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27732 (tanMp): Add systemtap probe marker.
27733 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27734 (__slowexp): Add systemtap probe marker.
27735 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27736 (__slowpow): Add systemtap probe marker.
27737 * manual/probes.texi: Document probes.
27739 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27742 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27744 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27746 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27747 written to buffer but not flushed.
27748 * libio/iofwrite_u.c: Likewise.
27749 * libio/iopadn.c: Return bytes returned even if EOF was
27751 * libio/iowpadn.c: Likewise.
27752 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27753 if _IO_padn does not write the whole buffer.
27754 [!COMPILE_WPRINTF] (PAD): Likewise.
27756 2013-10-10 David S. Miller <davem@davemloft.net>
27758 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27761 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27763 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27764 instead of FSF address.
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 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27780 * soft-fp/fixdfti.c: Likewise.
27781 * soft-fp/fixsfti.c: Likewise.
27782 * soft-fp/fixtfti.c: Likewise.
27783 * soft-fp/fixunsdfti.c: Likewise.
27784 * soft-fp/fixunssfti.c: Likewise.
27785 * soft-fp/fixunstfti.c: Likewise.
27786 * soft-fp/floattidf.c: Likewise.
27787 * soft-fp/floattisf.c: Likewise.
27788 * soft-fp/floattitf.c: Likewise.
27789 * soft-fp/floatuntidf.c: Likewise.
27790 * soft-fp/floatuntisf.c: Likewise.
27791 * soft-fp/floatuntitf.c: Likewise.
27792 * soft-fp/trunctfxf2.c: Likewise.
27794 2013-10-10 David S. Miller <davem@davemloft.net>
27796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27798 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27800 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27801 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27802 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27803 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27804 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27805 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27806 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27809 for NaNs before doing comparisons on argument.
27810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27813 2013-10-10 Will Newton <will.newton@linaro.org>
27815 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27816 passed to _int_memalign does not overflow.
27818 2013-10-10 Torvald Riegel <triegel@redhat.com>
27820 * scripts/bench.pl: Add include-sources directive.
27821 * benchtests/README: Update documentation.
27823 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27825 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27826 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27827 instead of FP_INIT_ROUNDMODE.
27828 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27829 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27832 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27833 copy class of input value.
27834 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27835 not handle exceptions.
27836 * soft-fp/negsf2.c (__negsf2): Likewise.
27837 * soft-fp/negtf2.c (__negtf2): Likewise.
27838 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27840 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27842 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27843 semicolon. From Linux kernel.
27845 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27847 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27849 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27852 * manual/socket.texi: Added statement about buffer
27853 for gethostbyname2_r.
27855 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27857 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27858 Use .p2align directive instead, throughout.
27859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27860 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27861 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27864 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27865 * sysdeps/x86_64/strchr.S: Likewise.
27866 * sysdeps/x86_64/strrchr.S: Likewise.
27868 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27870 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27872 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27874 * sysdeps/generic/math_private.h (__mpsin1): Remove
27876 (__mpcos1): Likewise.
27877 (__mpsin): New argument __range_reduce.
27878 (__mpcos): Likewise.
27879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27880 (slow): Use __mpsin and __mpcos.
27884 (sloww1): Likewise.
27885 (sloww2): Likewise.
27886 (bsloww): Likewise.
27887 (bsloww1): Likewise.
27888 (bsloww2): Likewise.
27889 (cslow2): Likewise.
27890 (csloww): Likewise.
27891 (csloww1): Likewise.
27892 (csloww2): Likewise.
27893 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27894 range_reduce. Merge in __mpsin1.
27895 (__mpcos): Likewise.
27896 (__mpsin1): Remove.
27897 (__mpcos1): Likewise.
27899 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27901 * locale/loadlocale.c (_nl_intern_locale_data): Use
27903 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27904 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27905 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27906 obstack data is appropriately aligned.
27907 (obstack_int32_grow_fast): Likewise.
27908 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27909 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27910 (add_locale_uint32_array): Likewise.
27912 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27914 * benchtests/Makefile: Remove ARGLIST and RET variables.
27915 ($(objpfx)bench-%.c): Pass only function name to the script.
27916 * benchtests/README: Update documentation.
27917 * benchtests/acos-inputs: Add new directives.
27918 * benchtests/acosh-inputs: Likewise.
27919 * benchtests/asin-inputs: Likewise.
27920 * benchtests/asinh-inputs: Likewise.
27921 * benchtests/atan-inputs: Likewise.
27922 * benchtests/atanh-inputs: Likewise.
27923 * benchtests/cos-inputs: Likewise.
27924 * benchtests/cosh-inputs: Likewise.
27925 * benchtests/exp-inputs: Likewise.
27926 * benchtests/log-inputs: Likewise.
27927 * benchtests/pow-inputs: Likewise.
27928 * benchtests/rint-inputs: Likewise.
27929 * benchtests/sin-inputs: Likewise.
27930 * benchtests/sinh-inputs: Likewise.
27931 * benchtests/tan-inputs: Likewise.
27932 * benchtests/tanh-inputs: Likewise.
27933 * scripts/bench.pl: Add support for new directives.
27935 2013-10-07 Alan Modra <amodra@gmail.com>
27937 * README: Fix careless merge.
27939 2013-10-05 Alan Modra <amodra@gmail.com>
27941 * NEWS: Mention powerpc64le support and bugs fixed.
27942 * README: Both big-endian and little-endian powerpc64 supported.
27944 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27946 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27947 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27948 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27949 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27951 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27953 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27956 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27958 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27959 Move -mhard-float appending from
27960 ports/sysdeps/powerpc/powerpc32/Makefile.
27961 [$(with-fp) = yes] (ASFLAGS): Likewise.
27962 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27963 * sysdeps/powerpc/nofpu: Move directory from
27964 ports/sysdeps/powerpc/nofpu.
27965 * sysdeps/powerpc/soft-fp: Move directory from
27966 ports/sysdeps/powerpc/soft-fp.
27967 * sysdeps/powerpc/powerpc32/405: Move directory from
27968 ports/sysdeps/powerpc/powerpc32/405.
27969 * sysdeps/powerpc/powerpc32/440: Move directory from
27970 ports/sysdeps/powerpc/powerpc32/440.
27971 * sysdeps/powerpc/powerpc32/464: Move directory from
27972 ports/sysdeps/powerpc/powerpc32/464.
27973 * sysdeps/powerpc/powerpc32/476: Move directory from
27974 ports/sysdeps/powerpc/powerpc32/476.
27975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27976 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27978 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27980 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27982 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27984 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27985 * README: Update for powerpc-*-linux-gnu software floating point
27988 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27989 case to powerpc/powerpc32*.
27990 * sysdeps/unix/sysv/linux/configure: Regenerated.
27992 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27993 (_FPU_MASK_OM): Define as 0x04.
27994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27999 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28002 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28005 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28008 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28009 and setcontext_e500.
28011 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28013 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28015 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28017 * manual/threads.texi (Default Thread Attributes): Fix typo.
28019 2013-10-04 Will Newton <will.newton@linaro.org>
28021 * malloc/Makefile: Add tst-memalign.
28022 * malloc/tst-memalign.c: New file.
28024 * malloc/tst-posix_memalign.c: Add comments.
28025 (do_test): Add comments and call free on all potentially
28026 allocated pointers. Add space after cast.
28028 * malloc/tst-pvalloc.c: Add comments.
28029 (do_test): Add comments and call free on all potentially
28030 allocated pointers. Remove duplicate check for NULL pointer.
28031 Add space after cast.
28033 * malloc/tst-valloc.c: Add comments.
28034 (do_test): Add comments and call free on all potentially
28035 allocated pointers. Remove duplicate check for NULL pointer.
28036 Add space after cast.
28038 2013-10-04 Alan Modra <amodra@gmail.com>
28040 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28041 Use stdint types in rather than __attribute__((mode())).
28042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28044 2013-10-04 Alan Modra <amodra@gmail.com>
28046 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28047 Correct handling of unaligned relocs for little-endian.
28048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28050 2013-10-04 Alan Modra <amodra@gmail.com>
28052 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28053 * configure: Regenerate.
28054 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28055 * shlib-versions: Likewise.
28057 2013-10-04 Alan Modra <amodra@gmail.com>
28059 * string/tester.c (test_memrchr): Increment reported test cycle.
28061 2013-10-04 Alan Modra <amodra@gmail.com>
28063 * string/test-memcpy.c (do_one_test): When reporting errors, print
28064 string address and don't overrun end of string.
28066 2013-10-04 Alan Modra <amodra@gmail.com>
28068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28069 insrdi. Make better use of reg selection to speed exit slightly.
28070 Schedule entry path a little better. Remove useless "are we done"
28071 checks on entry to main loop. Handle wrapping around zero address.
28072 Correct main loop count. Handle single left-over word from main
28073 loop inline rather than by using loop_small. Remove extra word
28074 case in loop_small caused by wrong loop count. Add little-endian
28076 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28077 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28079 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28081 support. Avoid rlwimi.
28082 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28084 2013-10-04 Alan Modra <amodra@gmail.com>
28086 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28087 insrdi. Formatting.
28088 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28089 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28090 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28091 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28092 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28093 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28095 2013-10-04 Alan Modra <amodra@gmail.com>
28097 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28098 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28100 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28101 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28102 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28103 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28104 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28105 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28106 use of regs. Use power7 mtocrf. Tidy function tails.
28108 2013-10-04 Alan Modra <amodra@gmail.com>
28110 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28111 Formatting. Consistently use rXXX register defines or rN defines.
28112 Use early exit labels that avoid restoring unused non-volatile regs.
28113 Make cr field use more consistent with rWORDn compares. Rename
28114 regs used as shift registers for unaligned loop, using rN defines
28115 for short lifetime/multiple use regs.
28116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28117 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28118 addi 1,1,64 to pop stack frame. Simplify return value code.
28119 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28121 2013-10-04 Alan Modra <amodra@gmail.com>
28123 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28124 support. Correct typos, formatting. Optimize tail. Use insrdi
28125 rather than rlwimi.
28126 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28127 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28128 little-endian support. Correct typos.
28129 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28130 rather than rlwimi.
28131 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28132 in loop and entry code to keep "and." results.
28133 (strchr): Add little-endian support. Comment. Move cntlzd
28135 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28137 2013-10-04 Alan Modra <amodra@gmail.com>
28139 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28140 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28141 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28142 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28144 2013-10-04 Alan Modra <amodra@gmail.com>
28146 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28147 (rTMP): Define as r11.
28148 (strcmp): Add little-endian support. Optimise tail.
28149 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28150 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28151 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28152 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28153 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28155 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28157 2013-10-04 Alan Modra <amodra@gmail.com>
28159 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28160 little-endian support. Remove unnecessary "are we done" tests.
28161 Handle "s" wrapping around zero and extremely large "size".
28162 Correct main loop count. Handle single left-over word from main
28163 loop inline rather than by using small_loop. Correct comments.
28164 Delete "zero" tail, use "end_max" instead.
28165 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28167 2013-10-04 Alan Modra <amodra@gmail.com>
28169 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28170 support. Don't branch over align.
28171 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28172 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28173 support. Rearrange tmp reg use to suit. Comment.
28174 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28176 2013-10-04 Alan Modra <amodra@gmail.com>
28178 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28180 2013-10-04 Alan Modra <amodra@gmail.com>
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28183 conditional form of branch and link when obtaining pc.
28184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28186 2013-10-04 Alan Modra <amodra@gmail.com>
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28193 2013-10-04 Alan Modra <amodra@gmail.com>
28195 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28196 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28197 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28198 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28199 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28200 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28201 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28202 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28203 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28204 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28206 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28207 Alistair Popple <alistair@ozlabs.au.ibm.com>
28208 Alan Modra <amodra@gmail.com>
28211 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28212 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28213 _dl_hwcap access for little-endian.
28214 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28215 destroy vmx regs when saving unaligned.
28216 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28217 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28218 destroy vmx regs when saving unaligned.
28220 2013-10-04 Alan Modra <amodra@gmail.com>
28222 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28223 Don't use a union to pack hi/low value.
28225 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28227 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28229 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28231 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28232 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28233 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28235 2013-10-04 Alan Modra <amodra@gmail.com>
28237 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28238 constants to usual value for .cst8 section, and remove redundant
28240 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28241 constant for 0x1p52. Load little-endian words of double from
28242 correct stack offsets.
28244 2013-10-04 Alan Modra <amodra@gmail.com>
28246 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28247 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28248 words of double from correct stack offsets.
28249 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28250 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28251 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28256 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28257 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28261 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28262 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28263 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28264 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28265 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28267 2013-10-04 Alan Modra <amodra@gmail.com>
28269 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28270 64-bit int/double union.
28271 (_FPU_SETCW): Likewise.
28272 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28273 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28275 2013-10-04 Alan Modra <amodra@gmail.com>
28277 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28278 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28280 2013-10-04 Alan Modra <amodra@gmail.com>
28282 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28283 use vector int constants.
28284 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28286 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28288 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28289 array with long long.
28290 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28291 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28292 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28293 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28294 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28295 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28296 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28297 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28298 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28299 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28300 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28301 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28302 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28304 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28306 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28307 (__signbit): Likewise. Correct for little-endian.
28308 (__signbitl): Call __signbit.
28309 (lrint): Correct for little-endian.
28310 (lrintf): Call lrint.
28312 2013-10-04 Alan Modra <amodra@gmail.com>
28314 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28315 union 32-bit int array member with 64-bit int array.
28316 (t515, tm256): Double rather than long double.
28317 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28319 2013-10-04 Alan Modra <amodra@gmail.com>
28321 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28323 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28325 version of math_ldbl.h.
28327 2013-10-04 Alan Modra <amodra@gmail.com>
28329 [BZ #15734], [BZ #15735]
28330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28331 all uses of ieee875 long double macros and unions. Simplify test
28332 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28333 ldbl_extract_mantissa value for ix,iy exponents. Properly
28334 normalize after ldbl_extract_mantissa, and don't add hidden bit
28335 already handled. Don't treat low word of ieee854 mantissa like
28336 low word of IBM long double and mask off bit when testing for
28338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28339 all uses of ieee875 long double macros and unions. Simplify tests
28340 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28341 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28342 two1022, instead use their values. Recognise that tests for large
28343 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28344 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28345 Rewrite all uses of ieee875 long double macros and unions. Simplify
28346 test for 0.0L and nan. Correct negation.
28347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28348 ieee875 long double macros and unions. Correct output for large
28349 magnitude x. Correct absolute value calculation.
28350 (__erfcl): Likewise.
28351 * math/libm-test.inc: Add tests for errors discovered in IBM long
28352 double versions of fmodl, remainderl, erfl and erfcl.
28354 2013-10-04 Alan Modra <amodra@gmail.com>
28356 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28357 all uses of ieee854 long double macros and unions. Simplify tests
28358 for long doubles that are fully specified by the high double.
28359 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28361 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28362 Remove dead code too.
28363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28364 (__ieee754_ynl): Likewise.
28365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28366 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28368 Remove dead code too.
28369 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28370 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28371 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28374 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28376 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28377 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28379 Comment on variable precision.
28380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28383 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28384 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28385 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28386 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28387 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28389 2013-10-04 Alan Modra <amodra@gmail.com>
28391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28392 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28393 all uses of ieee854 long double macros and unions.
28394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28396 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28397 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28398 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28406 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28407 Simplify sign and nan test too.
28408 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28409 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28410 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28411 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28413 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28414 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28417 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28418 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28420 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28423 2013-10-04 Alan Modra <amodra@gmail.com>
28425 * stdio-common/printf_size.c (__printf_size): Don't use
28426 union ieee854_long_double in fpnum union.
28427 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28428 signbit macro to retrieve sign from long double.
28429 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28430 retrieve sign from long double.
28431 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28432 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28433 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28434 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28435 * math/test-misc.c (main): Don't use union ieee854_long_double.
28437 2013-10-04 Alan Modra <amodra@gmail.com>
28440 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28441 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28442 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28443 calculation. Remove unnecessary test for denormal exponent.
28444 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28445 Correct handling of denormals. Avoid undefined shift behaviour.
28446 Correct normalisation of low mantissa when low double is denormal.
28447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28448 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28449 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28450 Correct normalisation of low mantissa. Test for overflow of high
28451 mantissa and normalise.
28452 (ldbl_nearbyint): Use more readable constant for two52.
28453 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28454 (__mpn_construct_long_double): Fix test for overflow of high
28455 mantissa and correct normalisation. Avoid undefined shift.
28457 2013-10-04 Alan Modra <amodra@gmail.com>
28459 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28460 (union ibm_extended_long_double): Define as an array of ieee754_double.
28461 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28462 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28463 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28464 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28468 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28470 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28471 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28473 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28475 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28476 page size instead of calling getpagesize.
28478 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28479 (LOCFILE_ALIGN_MASK): Likewise.
28480 (LOCFILE_ALIGN_UP): Likewise.
28481 (LOCFILE_ALIGNED_P): Likewise.
28482 * locale/programs/ld-collate.c (collate_output): Use the new
28483 macros instead of __alignof__ (int32_t).
28484 * locale/weight.h (findidx): Likewise.
28486 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28489 * manual/string.texi: Fix strncat and wcsncat.
28491 2013-10-03 Brooks Moses <bmoses@google.com>
28494 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28495 * Makerules: ...here, and adjust associated comments.
28497 2013-10-02 Will Newton <will.newton@linaro.org>
28499 * malloc/Makefile: Add tst-pvalloc.
28500 * malloc/tst-pvalloc.c: New file.
28502 2013-10-02 Will Newton <will.newton@linaro.org>
28504 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28505 improve test coverage.
28507 2013-10-02 Will Newton <will.newton@linaro.org>
28509 * malloc/Makefile: Add tst-posix_memalign.
28510 * malloc/tst-posix_memalign.c: New file.
28512 2013-10-01 Eric Blake <eblake@redhat.com>
28514 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28515 Use __THROWNL rather than __THROW on static functions.
28517 2013-09-30 Petr Machata <pmachata@redhat.com>
28519 * elf/elf.h (R_AARCH64_ABS16): New macro.
28520 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28521 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28522 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28523 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28524 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28525 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28526 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28527 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28528 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28529 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28530 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28531 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28532 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28533 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28534 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28535 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28536 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28537 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28538 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28539 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28540 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28541 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28542 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28543 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28544 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28545 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28546 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28547 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28548 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28549 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28550 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28551 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28552 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28553 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28554 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28555 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28556 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28557 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28558 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28559 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28560 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28561 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28562 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28563 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28564 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28565 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28566 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28567 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28568 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28569 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28570 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28571 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28572 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28573 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28574 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28575 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28576 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28577 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28578 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28579 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28580 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28581 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28582 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28583 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28584 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28585 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28586 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28587 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28588 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28589 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28590 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28591 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28592 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28593 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28594 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28595 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28596 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28597 (R_AARCH64_TLSDESC_LDR): Likewise.
28598 (R_AARCH64_TLSDESC_ADD): Likewise.
28599 (R_AARCH64_TLSDESC_CALL): Likewise.
28601 2013-09-30 Andreas Schwab <schwab@suse.de>
28604 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28605 the nss database lookup.
28606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28609 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28611 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28613 2013-09-28 P. J. McDermott <pj@pehjota.net>
28615 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28616 ${Bash-specific parameter/pattern/string} parameter expansion.
28617 * sysdeps/unix/make-syscalls.sh: Likewise.
28619 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28621 * sysdeps/sh/stackguard-macros.h: New file.
28623 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28627 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28628 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28629 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28630 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28632 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28634 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28635 Fix thread ID register.
28637 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28639 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28640 [POSIX || UNIX98]: Require rather than permitting all symbols from
28642 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28643 element of struct sched_param.
28644 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28645 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28646 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28647 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28650 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28652 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28653 argument calculation.
28655 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28657 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28659 [POSIX] (pthread_attr_t): Do not require type.
28660 [POSIX] (pthread_cond_t): Likewise.
28661 [POSIX] (pthread_condattr_t): Likewise.
28662 [POSIX] (pthread_key_t): Likewise.
28663 [POSIX] (pthread_mutex_t): Likewise.
28664 [POSIX] (pthread_mutexattr_t): Likewise.
28665 [POSIX] (pthread_once_t): Likewise.
28666 [POSIX] (pthread_t): Likewise.
28667 [POSIX-based standards] (pthread_atfork): Expect function.
28669 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28670 Richard Sandiford <richard@codesourcery.com>
28672 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28673 (swap_endianness_p): New extern variable.
28674 (set_big_endian): New inline function.
28675 (maybe_swap_uint32): Likewise.
28676 (maybe_swap_uint32_array): Likewise.
28677 (maybe_swap_uint32_obstack): Likewise.
28678 * locale/programs/locfile.c: Include <stdbool.h>.
28679 (swap_endianness_p): New variable.
28680 (add_locale_uint32): Call maybe_swap_uint32.
28681 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28682 (write_locale_data): Call maybe_swap_uint32_array.
28683 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28685 (obstack_int32_grow_fast): Likewise.
28686 (output_weightwc): Call maybe_swap_uint32_obstack.
28687 (collate_output): Likewise.
28688 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28689 (OPT_LITTLE_ENDIAN): Likewise.
28690 (options): Add --little-endian and --big-endian options.
28691 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28692 * locale/programs/locarchive.c: Include "locfile.h".
28696 (create_archive): Use the new macros to access fields of
28697 structures directly mapped from or written to locale archives.
28698 (oldlocrecentcmp): Likewise.
28699 (enlarge_archive): Likewise.
28700 (insert_name): Likewise.
28701 (add_alias): Likewise.
28702 (add_locale): Likewise.
28703 (delete_locales_from_archive): Likewise.
28704 (show_archive_content): Likewise.
28705 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28708 2013-09-24 Roland McGrath <roland@hack.frob.com>
28710 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28711 http://www.gnu.org/doc/freemanuals.texi.
28712 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28714 2013-09-24 Will Newton <will.newton@linaro.org>
28716 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28719 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28721 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28724 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28726 * manual/threads.texi (POSIX Threads): Fix a typo.
28728 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28731 * string/tst-strcoll-overflow.c: New test case.
28732 * string/Makefile (xtests): Add tst-strcoll-overflow.
28733 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28734 cache if string sizes may cause integer overflow.
28737 * string/strcoll_l.c (coll_seq): New members rule, idx,
28738 save_idx and back_us.
28739 (get_next_seq_nocache): New function.
28740 (do_compare_nocache): New function.
28741 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28744 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28747 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28748 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28749 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28752 * elf/Makefile (tests): Add tst-ptrguard1.
28753 (tests-static): Add tst-ptrguard1-static.
28754 (tst-ptrguard1-ARGS): Define.
28755 (tst-ptrguard1-static-ARGS): Define.
28756 * elf/tst-ptrguard1.c: New file.
28757 * elf/tst-ptrguard1-static.c: New file.
28758 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28759 * sysdeps/i386/stackguard-macros.h: Likewise.
28760 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28761 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28762 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28763 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28764 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28765 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28767 2013-09-23 Hector Marco <hecmargi@upv.es>
28768 Ismael Ripoll <iripoll@disca.upv.es>
28769 Carlos O'Donell <carlos@redhat.com>
28772 * sysdeps/generic/stackguard-macros.h: Define
28773 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28774 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28775 Define __pointer_chk_guard_local.
28776 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28777 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28779 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28782 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28784 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28786 * include/string.h (__ffs): Declare as hidden.
28787 * string/ffs.c (__ffs): Define as hidden.
28788 * sysdeps/i386/ffs.c (__ffs): Likewise.
28789 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28790 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28791 * sysdeps/s390/ffs.c (__ffs): Likewise.
28792 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28794 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28796 * NEWS: Mention malloc probes.
28798 * malloc/arena.c (new_heap): New memory_heap_new probe.
28799 (grow_heap): New memory_heap_more probe.
28800 (shrink_heap): New memory_heap_less probe.
28801 (heap_trim): New memory_heap_free probe.
28802 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28803 (systrim): New memory_sbrk_less probe.
28804 * manual/probes.texi: Document them.
28806 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28807 * manual/probes.texi: Document it.
28809 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28810 (__libc_realloc): Add memory_realloc_retry probe.
28811 (__libc_memalign): Add memory_memalign_retry probe.
28812 (__libc_valloc): Add memory_valloc_retry probe.
28813 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28814 (__libc_calloc): Add memory_calloc_retry probe.
28815 * manual/probes.texi: Document them.
28817 * malloc/arena.c (get_free_list): Add probe
28818 memory_arena_reuse_free_list.
28819 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28820 and memory_arena_reuse.
28821 (arena_get2) [!PER_THREAD]: Likewise.
28822 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28823 memory_arena_reuse_realloc.
28824 * manual/probes.texi: Document them.
28826 * malloc/malloc.c (__libc_free): Add
28827 memory_mallopt_free_dyn_thresholds probe.
28828 (__libc_mallopt): Add multiple memory_mallopt probes.
28829 * manual/probes.texi: Document them.
28831 * malloc/malloc.c: Include stap-probe.h.
28832 (__libc_mallopt): Add memory_mallopt probe.
28833 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28834 * manual/probes.texi: New.
28835 * manual/Makefile (chapters): Add probes.
28836 * manual/threads.texi: Set next node.
28838 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28840 [BZ #15963, #13985]
28841 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28842 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28843 Add `Chinese' to `nan' entry name.
28845 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28847 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28848 (POLYNOMIAL): Likewise.
28849 (TAYLOR_SINCOS): Likewise.
28850 (TAYLOR_SLOW): Likewise.
28851 (__sin): Use TAYLOR_SINCOS.
28853 (slow): Use TAYLOR_SLOW.
28855 (bsloww): Likewise.
28856 (csloww): Likewise.
28858 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28860 * stdlib/strtod_l.c: Fix buffer overrun.
28862 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28864 * benchtests/Makefile (bench): Add sincos.
28865 * benchtests/bench-sincos.c: New file.
28867 * math/libm-test.inc (cos_test_data): New test inputs.
28868 (sin_test_data): Likewise.
28870 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28876 (sloww1): Likewise.
28877 (sloww2): Likewise.
28878 (bsloww1): Likewise.
28879 (bsloww2): Likewise.
28880 (cslow2): Likewise.
28881 (csloww1): Likewise.
28882 (csloww2): Likewise.
28884 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28893 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28895 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28896 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28897 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28898 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28899 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28900 * elf/cache.c (print_entry): Handle the new cache flags.
28902 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28903 Aldy Hernandez <aldyh@redhat.com>
28905 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28906 Change condition to [_SOFT_FLOAT].
28907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28919 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28922 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28925 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28927 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28928 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28929 (__longjmp): Use LOAD_GP to load saved GPRs.
28930 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28931 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28932 (__sigsetjmp): Use SAVE_GP to save GPRs.
28934 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28935 Do not append -msoft-float.
28936 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28938 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28940 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28942 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28945 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28946 (_FPU_GETCW): Use initial "__" on variable and field names but not
28947 on macro parameter name.
28948 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28949 parentheses around reference to macro parameter.
28951 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28953 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28955 (ctype_startup): Use uint32_t in cast and sizeof for
28958 2013-09-11 Jia Liu <proljc@gmail.com>
28960 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28962 [__FreeBSD__]: Likewise.
28964 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28967 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28968 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28969 (strchr): Remove __strchr_sse42 ifunc selection.
28970 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28971 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28973 2013-09-11 Will Newton <will.newton@linaro.org>
28975 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28976 parameter to RES. Remove hardcoded 1000 value.
28977 * benchtests/bench-skeleton.c (main): Pass RES parameter
28978 to TIMING_INIT and multiply result by 1000.
28980 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28984 2013-09-11 Andreas Schwab <schwab@suse.de>
28986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28988 (O_TMPFILE) [__USE_GNU]: Define.
28989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28992 2013-09-11 Will Newton <will.newton@linaro.org>
28995 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28998 2013-09-11 Will Newton <will.newton@linaro.org>
29001 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29004 2013-09-11 Will Newton <will.newton@linaro.org>
29007 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29010 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29012 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29013 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29018 2013-09-10 Allan McRae <allan@archlinux.org>
29021 * manual/arith.texi (Parsing of Floats): Clarify
29025 * manual/install.texi (Running make install): Mention
29027 * INSTALL: Regenerated.
29029 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29031 * csu/init-first.c (_init): Remove the !SHARED condition around
29032 FPU control word initialization.
29033 * elf/dl-support.c (_dl_fpu_control): New variable.
29034 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29035 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29036 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29037 * math/test-fpucw-static.c: New file.
29038 * math/test-fpucw-ieee.c: New file.
29039 * math/test-fpucw-ieee-static.c: New file.
29040 * math/Makefile (tests): Add `test-fpucw-ieee' and
29042 (tests-static): New variable.
29043 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29045 [($(build-shared),yes)]
29046 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29048 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29051 2013-09-09 Allan McRae <allan@archlinux.org>
29054 * manual/string.texi (Collation Functions): Fix typo in
29056 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29059 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29062 * libio/memstream.c (open_memstream): Fix memory leak.
29063 * libio/wmemstream.c (open_wmemstream): Likewise.
29066 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29068 2013-09-09 Will Newton <will.newton@linaro.org>
29070 * malloc/Makefile: Add tst-realloc to tests.
29071 * malloc/tst-realloc.c: New file.
29073 2013-09-09 Allan McRae <allan@archlinux.org>
29076 * COPYING: Update from GNU website to fix FSF address.
29077 * COPYING.LIB: Likewise.
29079 2013-09-06 David S. Miller <davem@davemloft.net>
29081 * po/zh_TW.po: Update Chinese (traditional) translation from
29082 translation project.
29084 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29085 Joseph Myers <joseph@codesourcery.com>
29087 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29089 (obstack_chunk_alloc): New macro.
29090 (obstack_chunk_free): Likewise.
29091 (record_offset): New function.
29092 (init_locale_data): Likewise.
29093 (align_locale_data): Likewise.
29094 (add_locale_empty): Likewise.
29095 (add_locale_raw_data): Likewise.
29096 (add_locale_raw_obstack): Likewise.
29097 (add_locale_string): Likewise.
29098 (add_locale_wstring): Likewise.
29099 (add_locale_uint32): Likewise.
29100 (add_locale_uint32_array): Likewise.
29101 (add_locale_char): Likewise.
29102 (start_locale_structure): Likewise.
29103 (end_locale_structure): Likewise.
29104 (start_locale_prelude): Likewise.
29105 (end_locale_prelude): Likewise.
29106 (write_locale_data): Take locale_file structure rather than an
29108 * locale/programs/locfile.h: Include "obstack.h".
29109 (struct locale_file): Change to store locale file contents instead
29111 (init_locale_data): New prototype.
29112 (align_locale_data): Likewise.
29113 (add_locale_empty): Likewise.
29114 (add_locale_raw_data): Likewise.
29115 (add_locale_raw_obstack): Likewise.
29116 (add_locale_string): Likewise.
29117 (add_locale_wstring): Likewise.
29118 (add_locale_uint32): Likewise.
29119 (add_locale_uint32_array): Likewise.
29120 (add_locale_char): Likewise.
29121 (start_locale_structure): Likewise.
29122 (end_locale_structure): Likewise.
29123 (start_locale_prelude): Likewise.
29124 (end_locale_prelude): Likewise.
29125 (write_locale_data): Update prototype.
29126 * locale/programs/3level.h (struct TABLE): Remove result field.
29127 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29128 Use new locale_file interface.
29129 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29130 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29131 * locale/programs/ld-address.c (address_output): Use new
29132 locale_file interface.
29133 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29135 (collate_finish): Don't call collseq_table_finalize.
29136 (collate_output): Use new locale_file interface.
29137 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29139 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29140 (TABLE): Move defines earlier in file.
29141 (ELEMENT): Likewise.
29142 (DEFAULT): Likewise.
29143 (wctrans_table_add): Move macro and inline function earlier in
29145 (struct wctype_table): Move type earlier in file.
29146 (add_locale_wctype_table): New static prototype.
29147 (struct locale_ctype_t): Use logical types instead of struct iovec
29148 pointers for members.
29149 (ctype_output): Use new locale_file interface.
29150 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29151 new locale_file interface.
29152 (allocate_arrays): Update for use of new locale_file interface.
29153 * locale/programs/ld-identification.c (identification_output): Use
29154 new locale_file interface.
29155 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29156 * locale/programs/ld-messages.c (messages_output): Likewise.
29157 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29158 * locale/programs/ld-name.c (name_output): Likewise.
29159 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29160 * locale/programs/ld-paper.c (paper_output): Likewise.
29161 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29162 * locale/programs/ld-time.c (time_output): Likewise.
29164 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29166 * benchtests/Makefile: Add memrchr benchmark.
29167 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29168 benchmark as memrchr.
29169 * benchtests/bench-memrchr-ifunc.c: New file.
29170 * benchtests/bench-memrchr.c: New file.
29172 2013-09-06 Will Newton <will.newton@linaro.org>
29174 * benchtests/Makefile (string-bench): Add memcpy.
29176 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29177 Cong Wang <amwang@redhat.com>
29180 * sysdeps/unix/sysv/linux/bits/in.h
29181 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29182 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29183 before __USE_KERNEL_IPV6_DEFS uses.
29184 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29186 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29187 sockaddr_in6, or ipv6_mreq.
29189 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29191 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29192 memory access for final bytes in some large inputs.
29193 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29195 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29197 * string/test-memrchr.c: New file.
29198 * string/test-memrchr-ifunc.c: New file.
29199 * string/Makefile: Add new memrchr testcase.
29201 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29203 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29204 fanotify_init returns EPERM.
29206 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29208 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29210 (top level): Treat second token from macro or constant entries for
29211 allowed headers as allowed.
29212 * include/complex.h: Condition internal declarations on
29214 * include/fenv.h: Condition include of <stdbool.h> and internal
29215 declarations on [!_ISOMAC].
29217 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29220 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29222 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29224 * configure.in (--enable-versioning): Remove configure option.
29225 (libc_cv_asm_symver_directive): Remove configure test.
29226 (libc_cv_ld_version_script_option): Likewise.
29227 (VERSIONING): Remove variable and AC_SUBST.
29228 (DO_VERSIONING): Remove AC_DEFINE.
29229 * configure: Regenerated.
29230 * config.h.in (DO_VERSIONING): Remove macro.
29231 * Makerules [$(versioning) = yes]: Change conditionals to
29232 [$(build-shared) = yes].
29233 * config.make.in (versioning): Remove variable.
29234 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29235 [$(build-shared) = yes].
29236 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29237 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29238 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29239 [$(build-shared) = yes].
29240 * extra-lib.mk [$(versioning) = yes]: Likewise.
29241 * hurd/Makefile [$(versioning) = yes]: Likewise.
29242 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29244 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29246 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29247 [SHARED && !NO_HIDDEN].
29248 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29250 [SHARED && DO_VERSIONING]: Likewise..
29251 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29252 [$(build-shared) = yes].
29253 * manual/install.texi (--disable-versioning): Remove
29255 * INSTALL: Regenerated.
29256 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29258 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29259 [$(build-shared) = yes].
29260 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29261 * sysdeps/i386/i686/multiarch/strstr-c.c
29262 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29263 [SHARED && !NO_HIDDEN].
29264 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29265 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29266 * sysdeps/powerpc/powerpc32/dl-machine.c
29267 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29268 * sysdeps/powerpc/powerpc32/sysdep.h
29269 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29270 to [SHARED && PIC && !NO_HIDDEN].
29271 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29272 conditional to [SHARED].
29274 2013-09-04 Will Newton <will.newton@linaro.org>
29276 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29277 * benchtests/bench-string.h: Include bench-timing.h instead
29278 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29279 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29280 call to HP_TIMING_DIFF_INIT.
29281 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29282 instead of hp-timing.h macros.
29283 * benchtests/bench-memchr.c: Likewise.
29284 * benchtests/bench-memcmp.c: Likewise.
29285 * benchtests/bench-memcpy.c: Likewise.
29286 * benchtests/bench-memmem.c: Likewise.
29287 * benchtests/bench-memmove.c: Likewise.
29288 * benchtests/bench-memset.c: Likewise.
29289 * benchtests/bench-rawmemchr.c: Likewise.
29290 * benchtests/bench-strcasecmp.c: Likewise.
29291 * benchtests/bench-strcasestr.c: Likewise.
29292 * benchtests/bench-strcat.c: Likewise.
29293 * benchtests/bench-strchr.c: Likewise.
29294 * benchtests/bench-strcmp.c: Likewise.
29295 * benchtests/bench-strcpy.c: Likewise.
29296 * benchtests/bench-strcpy_chk.c: Likewise.
29297 * benchtests/bench-strlen.c: Likewise.
29298 * benchtests/bench-strncasecmp.c: Likewise.
29299 * benchtests/bench-strncat.c: Likewise.
29300 * benchtests/bench-strncmp.c: Likewise.
29301 * benchtests/bench-strncpy.c: Likewise.
29302 * benchtests/bench-strnlen.c: Likewise.
29303 * benchtests/bench-strpbrk.c: Likewise.
29304 * benchtests/bench-strrchr.c: Likewise.
29305 * benchtests/bench-strspn.c: Likewise.
29306 * benchtests/bench-strstr.c: Likewise.
29308 2013-09-04 Will Newton <will.newton@linaro.org>
29310 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29312 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29316 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29317 * math/libm-test.inc (lgamma_test_data): Add more tests.
29318 * sysdeps/i386/fpu/libm-test-ulps: Update.
29319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29323 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29327 Add strcmp-sse2-unaligned
29328 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29330 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29332 * Versions.def (libc): Add GLIBC_2.19.
29334 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29336 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29337 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29339 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29342 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29343 intermediate calculations in recurrence.
29344 (__ieee754_ynf): Likewise.
29345 * math/libm-test.inc (jn_test_data): Do not allow spurious
29346 underflow exception. Add more tests.
29347 (yn_test_data): Add more tests.
29348 * sysdeps/i386/fpu/libm-test-ulps: Update.
29349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29351 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29355 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29357 * csu/init-first.c: Fix then/than typos.
29358 * locale/programs/ld-collate.c: Likewise.
29359 * locale/programs/linereader.h: Likewise.
29360 * manual/charset.texi: Likewise.
29361 * manual/filesys.texi: Likewise.
29362 * manual/stdio.texi: Likewise.
29363 * manual/string.texi: Likewise.
29364 * stdlib/fmtmsg.c: Likewise.
29365 * sysdeps/i386/stpncpy.S: Likewise.
29366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29367 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29369 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29371 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29373 * elf/dl-open.c: Fix typos.
29374 * iconvdata/gbbig5.c: Likewise.
29375 * iconvdata/iso-2022-jp.c: Likewise.
29376 * iconv/gconv_int.h: Likewise.
29377 * iconv/loop.c: Likewise.
29378 * nis/rpcsvc/nis.h: Likewise.
29379 * resolv/ns_name.c: Likewise.
29380 * stdio-common/vfscanf.c: Likewise.
29381 * streams/stropts.h: Likewise.
29382 * sunrpc/rpc_thread.c: Likewise.
29383 * sysdeps/i386/strpbrk.S: Likewise.
29384 * sysdeps/ieee754/k_standard.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29387 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29388 * sysdeps/mach/hurd/profil.c: Likewise.
29389 * sysdeps/s390/dl-procinfo.h: Likewise.
29390 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29391 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29392 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29393 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29396 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29398 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29401 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29403 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29404 aix specific files.
29405 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29406 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29407 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29408 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29409 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29410 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29411 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29412 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29414 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29415 Roland McGrath <roland@hack.frob.com>
29417 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29418 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29420 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29422 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29423 __executable_start symbol instead of _start.
29425 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29427 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29428 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29430 * sysdeps/gnu/ldsodefs.h: ... this new file.
29432 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29433 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29434 instead of ELFOSABI_LINUX.
29436 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29437 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29438 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29439 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29441 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29442 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29443 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29445 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29446 (ibm_extended_long_double): Add ieee_nan member.
29447 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29448 (do_test): New function.
29450 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29452 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29453 functions, renamed from truncdfsf_test, trunctfsf_test,
29455 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29457 (do_test): Run all these.
29459 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29461 * argp/argp-help.c: Fix typos.
29462 * argp/argp-parse.c: Likewise.
29463 * debug/backtracesyms.c: Likewise.
29464 * elf/elf.h: Likewise.
29465 * malloc/malloc.c: Likewise.
29466 * nis/nis_print.c: Likewise.
29467 * resolv/res_comp.c: Likewise.
29468 * stdlib/stdlib.h: Likewise.
29469 * sunrpc/clnt_tcp.c: Likewise.
29470 * sunrpc/clnt_udp.c: Likewise.
29471 * sunrpc/clnt_unix.c: Likewise.
29472 * sysdeps/unix/bsd/ptsname.c: Likewise.
29473 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29474 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29481 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29483 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29485 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29488 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29491 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29492 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29493 ($(objpfx)bug-dl-leaf): New rule.
29494 ($(objpfx)bug-dl-leaf.so): Likewise.
29495 ($(objpfx)bug-dl-leaf.out): Likewise.
29496 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29497 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29498 * dlfcn/bug-dl-leaf.c: New test.
29499 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29500 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29501 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29502 (dlclose): Likewise.
29503 (dlmopen): Likewise.
29505 2013-08-27 Roland McGrath <roland@hack.frob.com>
29507 * include/netdb.h [!_ISOMAC]:
29508 Don't include <tls.h>.
29509 (h_errno, __libc_h_errno): Move declaration and macros out of
29512 * include/resolv.h [_RESOLV_H_]:
29513 Don't include <tls.h>.
29514 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29515 * resolv/res_libc.c: Don't include <tls.h>.
29516 (_res): Use __attribute__ ((nocommon)) in place of
29517 __attribute__ ((section (".bss"))).
29519 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29520 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29522 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29524 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29525 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29527 * resolv/res_mkquery.c: Include <sys/time.h>.
29529 * inet/ifreq.c: Moved to ...
29530 * sysdeps/unix/ifreq.c: ... here.
29531 * inet/ifreq.c: New file, true stub version.
29533 * socket/sa_len.c: New file.
29534 * socket/Makefile (aux): Add it.
29535 * sysdeps/unix/sysv/linux/Makefile
29536 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29537 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29538 and #include <socket/sa_len.c>.
29539 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29540 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29542 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29543 * bits/socket.h: ... here.
29545 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29546 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29547 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29549 2013-08-27 Andreas Schwab <schwab@suse.de>
29552 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29553 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29554 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29555 * string/test-strcasecmp.c (test_main): Run tests in several
29557 * string/test-strncasecmp.c (test_main): Likewise.
29559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29560 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29561 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29563 (__strncasecmp_ssse3) [PIC]: Likewise.
29565 2013-08-26 Roland McGrath <roland@hack.frob.com>
29567 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29569 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29570 instead of explicitly declaring xdecrypt.
29571 * nis/nss_nis/nis-publickey.c: Likewise.
29573 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29576 * nscd/aicache.c: Include res_hconf.h.
29577 (addhstaiX): Initialize res_hconf.
29579 2013-08-26 Andreas Schwab <schwab@suse.de>
29581 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29582 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29584 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29586 * nscd/aicache.c (addhstaiX): Fix indentation.
29588 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29590 * configure.ac: Quote $build_pt_chown test.
29591 * configure: Regenerated.
29593 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29596 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29597 * math/s_cexpf.c (__cexpf): Likewise.
29598 * math/s_cexpl.c (__cexpl): Likewise.
29599 * math/libm-test.inc (cexp_test_data): Correct expected return
29600 value for NaN + i0. Add another test.
29602 2013-08-22 David S. Miller <davem@davemloft.net>
29604 * po/ca.po: Update Catalan translation from translation project.
29605 * po/uk.po: Add Ukrainian translations from translation project.
29607 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29610 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29611 is infinite, not alongside NaN test.
29612 * math/s_fdimf.c (__fdimf): Likewise.
29613 * math/s_fdiml.c (__fdiml): Likewise.
29614 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29615 errno is unchanged.
29617 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29619 * argp/argp-help.c: Fix typos.
29620 * crypt/speeds.c: Likewise.
29621 * csu/check_fds.c: Likewise.
29622 * elf/dl-load.c: Likewise.
29623 * elf/dl-open.c: Likewise.
29624 * elf/reldep3.c: Likewise.
29625 * elf/reldep.c: Likewise.
29626 * elf/sprof.c: Likewise.
29627 * iconv/iconv_charmap.c: Likewise.
29628 * iconv/skeleton.c: Likewise.
29629 * iconv/strtab.c: Likewise.
29630 * io/lockf64.c: Likewise.
29631 * libio/libioP.h: Likewise.
29632 * resolv/gai_notify.c: Likewise.
29633 * resolv/ns_name.c: Likewise.
29634 * resolv/ns_samedomain.c: Likewise.
29635 * resolv/res_send.c: Likewise.
29636 * stdlib/random.c: Likewise.
29637 * sunrpc/rpc/xdr.h: Likewise.
29638 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29639 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29640 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29641 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29646 * sysdeps/mach/hurd/check_fds.c: Likewise.
29647 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29648 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29649 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29650 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29651 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29652 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29653 * sysdeps/pthread/aio_notify.c: Likewise.
29654 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29655 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29656 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29657 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29658 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29660 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29662 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29663 version if bit_Slow_SSE4_2 is set.
29664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29665 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29667 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29670 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29671 trampoline stack frame information.
29672 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29674 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29675 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29676 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29677 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29678 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29679 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29681 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29682 interrupting a syscall and set with option SA_SIGINFO.
29684 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29687 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29688 argument is infinite.
29689 * math/s_cprojf.c (__cprojf): Likewise.
29690 * math/s_cprojl.c (__cprojl): Likewise.
29691 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29692 * math/libm-test.inc (cproj_test_data): Add more tests.
29694 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29696 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29697 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29698 size. Use __ffs to determine corresponding shift.
29700 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29701 Roland McGrath <roland@hack.frob.com>
29703 * Makefile (INSTALL): Remove trailing blank lines from output of
29706 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29708 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29709 Align 32 bit compat elf_greg to 8 bytes.
29711 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29713 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29715 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29717 * string/strcoll_l.c (coll_seq): New structure.
29718 (get_next_seq_cached): New function.
29719 (get_next_seq): New function.
29720 (do_compare): New function.
29721 (STRCOLL): Use GNU style definition. Simplify implementation
29722 by using get_next_seq, get_next_seq_cached and do_compare.
29724 2013-08-16 Florian Weimer <fweimer@redhat.com>
29728 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29730 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29732 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29733 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29734 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29736 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29737 GETDENTS_64BIT_ALIGNED.
29738 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29739 * manual/filesys.texi (Reading/Closing Directory): Document
29740 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29742 * manual/conf.texi (Limits for Files): Add portability note to
29743 NAME_MAX, PATH_MAX.
29744 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29746 2013-08-13 Andreas Schwab <schwab@suse.de>
29749 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29751 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29752 LDBL_MAX_EXP >= 16384]: Add tests for it.
29754 2013-08-12 David S. Miller <davem@davemloft.net>
29756 * version.h (RELEASE): Set to "development".
29757 (VERSION): Set to "2.18.90".
29758 * NEWS: Add 2.19 section.
29760 2013-08-03 David S. Miller <davem@davemloft.net>
29762 * po/ko.po: Update Korean translation from translation project.
29764 2013-08-01 David S. Miller <davem@davemloft.net>
29766 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29767 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29770 2013-07-30 David S. Miller <davem@davemloft.net>
29772 * po/fr.po: Update French translation from translation project.
29774 2013-07-28 David S. Miller <davem@davemloft.net>
29776 * po/cs.po: Update Czech translation from translation project.
29778 * po/sv.po: Update Swedish translation from translation project.
29780 2013-07-27 David S. Miller <davem@davemloft.net>
29782 * po/eo.po: Update Esperanto translation from translation project.
29784 * po/vi.po: Update Vietnamese translation from translation project.
29786 * po/de.po: Update German translation from translation project.
29788 2013-07-26 David S. Miller <davem@davemloft.net>
29790 * po/bg.po: Update Bulgarian translation from translation project.
29792 * po/nl.po: Update Dutch translation from translation project.
29793 * po/pl.po: Update Polish translation from translation project.
29794 * po/ru.po: Update Russian translation from translation project.
29796 2013-07-24 David S. Miller <davem@davemloft.net>
29798 * po/libc.pot: Update.
29800 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29802 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29803 variable page size.
29804 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29805 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29808 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29810 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29812 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29813 Andreas Schwab <schwab@suse.de>
29814 Roland McGrath <roland@hack.frob.com>
29815 Joseph Myers <joseph@codesourcery.com>
29816 Carlos O'Donell <carlos@redhat.com>
29819 * config.h.in: Define HAVE_PT_CHOWN.
29820 * config.make.in (build-pt-chown): New variable.
29821 * configure.in (--enable-pt_chown): New configure option.
29822 * configure: Regenerate.
29823 * login/Makefile: Include Makeconfig. Build pt_chown only if
29824 build-pt-chown is enabled.
29825 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29826 pt_chown to fix pty ownership.
29827 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29829 * manual/install.texi (Configuring and compiling): Mention
29830 --enable-pt_chown. Add @findex for grantpt.
29831 * INSTALL: Regenerate.
29833 2013-07-20 David S. Miller <davem@davemloft.net>
29835 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29836 difference between 32-bit and 64-bit.
29838 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29841 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29842 Avoid system header dependency with -ffreestanding.
29843 ($(objpfx)bits/syscall%d): Likewise.
29845 2013-07-13 David S. Miller <davem@davemloft.net>
29847 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29848 underflows from atanl/atan2l due to bug 15319.
29849 (casinh_test_data): Likewise.
29851 2013-07-07 David S. Miller <davem@davemloft.net>
29853 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29855 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29857 * sysdeps/i386/fpu/libm-test-ulps: Update.
29858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29860 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29862 * configure.in (--enable-lock-elision): Fix message text.
29863 * INSTALL: Regenerate.
29864 * configure: Regenerate.
29866 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29870 2013-07-03 Andreas Jaeger <aj@suse.de>
29872 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29874 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29875 (ptrace_peeksiginfo_args): Add.
29876 (__ptrace_peeksiginfo_flags): Add.
29877 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29881 2013-07-03 Allan McRae <allan@archlinux.org>
29883 * sysdeps/i386/fpu/libm-test-ulps: Update.
29885 2013-07-02 David S. Miller <davem@davemloft.net>
29887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29889 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29893 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29895 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898 2013-07-02 Andi Kleen <ak@linux.intel.com>
29900 * config.h.in (ENABLE_LOCK_ELISION): Add.
29901 * configure.in (--enable-lock-elision): Add option.
29902 * manual/install.texi: Document --enable lock elision.
29903 * configure: Regenerate
29904 * INSTALL: Regenerate.
29906 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29908 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29909 SSE4.2 strcasecmp for libc.a.
29910 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29912 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29915 * soft-fp/op-common.h (_FP_FMA): New macro.
29916 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29917 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29918 (_FP_MUL_MEAT_1_imm): ... here.
29919 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29920 (_FP_MUL_MEAT_1_wide): ... here.
29921 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29922 (_FP_MUL_MEAT_1_hard): ... here.
29923 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29924 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29925 (_FP_MUL_MEAT_2_wide): ... here.
29926 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29927 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29928 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29929 (_FP_MUL_MEAT_2_gmp): ... here.
29930 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29931 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29932 (_FP_MUL_MEAT_4_wide): ... here.
29933 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29934 (_FP_MUL_MEAT_4_gmp): ... here.
29935 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29936 (_FP_WFRACBITS_DW_S): Likewise.
29937 (_FP_WFRACXBITS_DW_S): Likewise.
29938 (_FP_HIGHBIT_DW_S): Likewise.
29939 (FP_FMA_S): Likewise.
29940 (_FP_FRAC_HIGH_DW_S): Likewise.
29941 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29942 (_FP_WFRACBITS_DW_D): Likewise.
29943 (_FP_WFRACXBITS_DW_D): Likewise.
29944 (_FP_HIGHBIT_DW_D): Likewise.
29945 (FP_FMA_D): Likewise.
29946 (_FP_FRAC_HIGH_DW_D): Likewise.
29947 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29948 (_FP_WFRACBITS_DW_E): Likewise.
29949 (_FP_WFRACXBITS_DW_E): Likewise.
29950 (_FP_HIGHBIT_DW_E): Likewise.
29951 (FP_FMA_E): Likewise.
29952 (_FP_FRAC_HIGH_DW_E): Likewise.
29953 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29954 (_FP_WFRACBITS_DW_Q): Likewise.
29955 (_FP_WFRACXBITS_DW_Q): Likewise.
29956 (_FP_HIGHBIT_DW_Q): Likewise.
29957 (FP_FMA_Q): Likewise.
29958 (_FP_FRAC_HIGH_DW_Q): Likewise.
29959 * soft-fp/fmasf4.c: New file.
29960 * soft-fp/fmadf4.c: Likewise.
29961 * soft-fp/fmatf4.c: Likewise.
29963 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29966 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29970 (index_Slow_SSE4_2): Likewise.
29971 (index_Prefer_PMINUB_for_stringop): Likewise.
29972 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29973 bit_Slow_SSE4_2 is set.
29974 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29975 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29977 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29979 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29980 rtld_global._dl_hwcap2.
29981 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29983 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29984 POWER8 feature descriptions defined in _dl_hwcap2.
29985 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29986 string handling for POWER8 feature bits.
29987 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29988 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29989 _dl_powerpc_cap_flags.
29990 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29991 * sysdeps/powerpc/rtld-global-offsets.sym
29992 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29993 _dl_hwcap2 in the rtld_global_ro structure.
29995 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29997 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29998 hardware capabilities in support of AT_HWCAP2.
29999 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30000 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30002 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30003 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30004 explicitly the unknown a_type display mechanism is used.
30005 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30006 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30008 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30009 to macro prototype for AT_HWCAP2 support.
30010 * sysdeps/i386/dl-procinfo.h: Likewise.
30011 * sysdeps/s390/dl-procinfo.h: Likewise.
30012 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30013 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30014 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30015 return -1 for unknown a_type display fallback.
30016 * sysdeps/sparc/dl-procinfo.h: Likewise.
30017 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30018 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30020 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30022 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30023 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30025 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30028 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30029 mprotect making __stack_prot writable.
30031 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30032 Joseph Myers <joseph@codesourcery.com>
30034 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30035 as being properly aligned.
30037 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30039 * dlfcn/modstatic5.c: New file.
30040 * dlfcn/tststatic5.c: New file.
30041 * dlfcn/Makefile (tests): Add tststatic5.
30042 (tests-static): Likewise.
30043 (modules-names): Add modstatic5.
30044 (tststatic5-ENV): New variable.
30045 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30048 * elf/dl-support.c (_dl_main_map): New variable.
30049 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30050 (_dl_nns, _dl_load_adds): Set to 1.
30051 (_dl_initial_searchlist): Refer to _dl_main_map.
30052 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30053 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30054 call to _dl_get_origin.
30055 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30057 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30058 * dlfcn/modstatic3.c: New file.
30059 * dlfcn/tststatic3.c: New file.
30060 * dlfcn/tststatic4.c: New file.
30061 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30062 (tests-static): Likewise.
30063 (modules-names): Add modstatic3.
30064 (tststatic3-ENV, tststatic4-ENV): New variables.
30065 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30066 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30068 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30070 * configure.in (CC): Require GCC version 4.4 or later.
30071 * configure: Regenerated.
30072 * manual/install.texi (Tools for Compilation): Update GCC version
30074 * INSTALL: Regenerated.
30076 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30079 * string/test-memcmp.c (check2): New.
30080 (main): Call check2.
30082 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30084 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30087 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30089 (dl_open_worker) [!SHARED]: ... here.
30091 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30093 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30095 2013-06-25 Richard Henderson <rth@redhat.com>
30097 * locale/programs/locarchive.c: Include <libc-internal.h>
30099 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30101 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30102 trailing whitespace removed.
30104 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30107 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30108 * locale/programs/locarchive.c: Include libc-mmap.h.
30109 (prepare_address_space): Take two new outputs (the mmap base and len).
30110 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30112 (create_archive): Declare new mmap base and len values for
30113 prepare_address_space, and store the result in ah.
30114 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30115 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30116 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30117 Declare new mmap base and len values for
30118 prepare_address_space, and store the result in new_ah.
30119 (open_archive): Declare new mmap base and len values for
30120 prepare_address_space, and store the result in ah.
30121 (close_archive): If ah->mmap_base is not NULL, use that and
30122 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30123 * sysdeps/generic/libc-mmap.h: New file.
30125 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30127 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30128 (ALIGN_UP): Likewise.
30129 (PTR_ALIGN_DOWN): Likewise.
30130 (PTR_ALIGN_UP): Likewise.
30132 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30134 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30135 entry mapped to PPC_PLATFORM_POWER8.
30136 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30138 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30139 (_dl_string_platform): Add case for exporting platform position for
30141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30142 search path to sysdeps/powerpc/powerpc32/power8 directory.
30143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30144 search path to sysdeps/powerpc/powerpc64/power8 directory.
30145 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30146 power7 directories.
30147 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30148 power7 directories.
30150 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30152 * INSTALL: Regenerate.
30154 * nscd/connections.c (nscd_init): Fix comment.
30156 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30158 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30161 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30162 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30164 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30166 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30168 (DL_DST_REQ_STATIC): Remove macro.
30170 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30173 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30174 with a shift of 0 bits.
30176 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30178 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30181 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30184 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30186 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30188 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30189 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30190 accepts -fno-tree-loop-distribute-patterns.
30191 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30192 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30194 * string/memset.c (memset): Likewise.
30195 * string/test-memmove.c (simple_memmove): Disable loop transformation
30197 * string/test-memset.c (simple_memset): Likewise.
30198 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30199 * benchtests/bench-memset.c (simple_memset): Likewise.
30200 * configure: Regenerated.
30202 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30204 * math/test-misc.c (main): Ignore fesetround failure when failures
30205 of subsequent rounding tests would be ignored.
30208 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30209 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30210 * math/fegetenv.c (__fegetenv): Return 0.
30211 * math/fegetexcept.c (fegetexcept): Return 0.
30212 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30214 * math/feholdexcpt.c (feholdexcept): Return 0.
30215 * math/fesetenv.c (__fesetenv): Return 0.
30216 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30217 argument FE_TONEAREST.
30218 * math/feupdateenv.c (__feupdateenv): Return 0.
30219 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30221 2013-06-18 Roland McGrath <roland@hack.frob.com>
30223 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30224 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30225 ($(objpfx)rtld-%.os rules): Use them.
30227 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30229 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30232 2013-06-17 Roland McGrath <roland@hack.frob.com>
30234 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30235 length of target pattern, then descending length of dependency pattern.
30236 * configure.in (AWK): Require gawk 3.1.2 or newer.
30237 * manual/install.texi (Tools for Compilation): Say that we do.
30238 * configure: Regenerated.
30240 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30241 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30242 * scripts/sysd-rules.awk: ... this new script.
30243 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30244 than a glob-style pattern.
30246 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30248 * math/test-misc.c (main): Do not treat incorrectly rounded
30249 conversions as failure unless ROUNDING_TESTS passes.
30251 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30254 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30255 restore exception state around main square root computation, then
30256 check for inexactness explicitly.
30258 * math/libm-test.inc (fma_test_data): Add another test.
30260 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30262 * manual/threads.texi (Non-POSIX Extensions): New document
30263 node. Document pthread_getattr_default_np and
30264 pthread_setattr_default_np.
30266 * Versions.def (libpthread): Add GLIBC_2.18.
30267 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30276 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30287 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30290 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30292 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30293 H.J. Lu <hjl.tools@gmail.com>
30296 * sysdeps/x86_64/rtld-memset.c: Remove file.
30297 * sysdeps/x86_64/rtld-memset.S: New file.
30299 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30301 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30302 (test_in_one_mode): Take arguments for whether the rounding mode
30303 is supported for each floating-point type.
30304 (do_test): Pass new arguments to test_in_one_mode using
30307 2013-06-13 Roland McGrath <roland@hack.frob.com>
30309 * posix/tst-waitid.c (do_test): Distinguish different instances of
30310 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30311 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30312 before entering the kernel for waitpid.
30314 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30316 * NEWS: Fix note on clock function precision. Text by Roland
30319 2013-06-13 Roland McGrath <roland@hack.frob.com>
30321 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30322 it into place only when and if the sanity check passes.
30324 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30326 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30327 output for whether conversion result is exact. Take argument
30328 indicating whether type is IBM long double.
30329 (round_for_all): Change need_exact field to ibm_ld.
30330 * stdlib/tst-strtod-round.c (struct exactness): New type.
30331 (struct test): Change bool ld_ok field to struct exactness exact.
30332 (TEST): Update all definitions for change to field.
30333 (tests): Regenerate array contents.
30334 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30335 field value. Check for IBM long double here.
30336 (do_test): Update calls to test_in_one_mode.
30338 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30341 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30342 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30344 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30347 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30348 generated by the compiler on loop optimizations.
30349 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30350 general definitions.
30352 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30354 * math/bug-nextafter.c: Include <math-tests.h>.
30355 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30357 * math/bug-nexttoward.c: Include <math-tests.h>.
30358 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30360 * math/test-misc.c: Include <math-tests.h>.
30361 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30364 2013-06-12 Andreas Jaeger <aj@suse.de>
30366 * po/ia.po: Update Interlingua translation from translation
30369 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30371 * include/fenv.h: Include stdbool.h.
30372 (struct rm_ctx): New structure.
30373 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30375 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30376 (SET_RESTORE_ROUNDF): Likewise.
30377 (SET_RESTORE_ROUNDL): Likewise.
30378 (SET_RESTORE_ROUND_NOEX): Likewise.
30379 (SET_RESTORE_ROUND_NOEXF): Likewise.
30380 (SET_RESTORE_ROUND_NOEXL): Likewise.
30381 (SET_RESTORE_ROUND_53BIT): Likewise.
30382 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30383 (libc_feresetround_noexf_ctx): Likewise.
30384 (libc_feresetround_noexl_ctx): Likewise.
30385 (libc_feholdsetround_53bit_ctx): Likewise.
30386 (libc_feresetround_53bit_ctx): Likewise.
30387 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30388 (libc_feholdexcept_setround_sse_ctx): New function.
30389 (libc_fesetenv_sse_ctx): Likewise.
30390 (libc_feupdateenv_sse_ctx): Likewise.
30391 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30392 (libc_feholdexcept_setround_387_ctx): Likewise.
30393 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30394 (libc_feholdsetround_387_prec_ctx): Likewise.
30395 (libc_feholdsetround_387_ctx): Likewise.
30396 (libc_feholdsetround_387_53bit_ctx): Likewise.
30397 (libc_feholdsetround_sse_ctx): Likewise.
30398 (libc_feresetround_sse_ctx): Likewise.
30399 (libc_feresetround_387_ctx): Likewise.
30400 (libc_feupdateenv_387_ctx): Likewise.
30401 (libc_feholdexcept_setroundf_ctx): Define macro.
30402 (libc_fesetenvf_ctx): Likewise.
30403 (libc_feupdateenvf_ctx): Likewise.
30404 (libc_feholdsetroundf_ctx): Likewise.
30405 (libc_feresetroundf_ctx): Likewise.
30406 (libc_feholdexcept_setround_ctx): Likewise.
30407 (libc_fesetenv_ctx): Likewise.
30408 (libc_feupdateenv_ctx): Likewise.
30409 (libc_feholdsetround_ctx): Likewise.
30410 (libc_feresetround_ctx): Likewise.
30411 (libc_feholdexcept_setroundl_ctx): Likewise.
30412 (libc_feupdateenvl_ctx): Likewise.
30413 (libc_feholdsetroundl_ctx): Likewise.
30414 (libc_feresetroundl_ctx): Likewise.
30415 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30416 (libc_feresetround_53bit_ctx): Likewise.
30418 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30420 * locale/iso-639.def: Convert to UTF-8.
30422 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30424 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30425 (EXCEPTION_TESTS_double): Likewise.
30426 (EXCEPTION_TESTS_long_double): Likewise.
30427 (EXCEPTION_TESTS): Likewise.
30428 * math/libm-test.inc (test_exceptions): Only test exceptions if
30429 EXCEPTION_TESTS (FLOAT).
30431 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30433 * benchtests/Makefile (string-bench): Add strcpy_chk and
30435 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30436 * benchtests/bench-stpcpy_chk.c: New file.
30437 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30438 * benchtests/bench-strcpy_chk.c: New file.
30439 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30441 (do_test): Likewise.
30443 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30445 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30446 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30447 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30448 with tabs where appropriate.
30449 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30451 [PPC_PLATFORM_PPC440]: Likewise.
30452 [PPC_PLATFORM_PPC464]: Likewise.
30453 [PPC_PLATFORM_PPC476]: Likewise.
30454 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30455 ppc464, and ppc476 platform strings merging from ports/
30458 2013-06-11 Andreas Schwab <schwab@suse.de>
30461 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30462 (from_ucs4_idx): Regenerate.
30463 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30464 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30465 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30466 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30467 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30468 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30469 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30470 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30471 from FROM_LOOP and TO_LOOP specific macros.
30472 (BODY): Handle combining characters.
30473 * iconvdata/BIG5HKSCS.irreversible: Update.
30474 * iconvdata/BIG5HKSCS.precomposed: New file.
30475 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30477 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30479 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30481 * include/sys/time.h: Fix indentation and add copyright header.
30483 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30484 (do_test): Likewise.
30485 * string/test-memchr.c (do_one_test): Likewise.
30486 (do_test): Likewise.
30487 * string/test-memcmp.c (do_one_test): Likewise.
30488 (do_test): Likewise.
30489 * string/test-memcpy.c (do_one_test): Likewise.
30490 (do_test): Likewise.
30491 * string/test-memmem.c (do_one_test): Likewise.
30492 (do_test): Likewise.
30493 (do_random_tests): Likewise.
30494 * string/test-memmove.c (do_one_test): Likewise.
30495 (do_test): Likewise.
30496 * string/test-memset.c (do_one_test): Likewise.
30497 (do_test): Likewise.
30498 * string/test-rawmemchr.c (do_one_test): Likewise.
30499 (do_test): Likewise.
30500 * string/test-strcasecmp.c (do_one_test): Likewise.
30501 (do_test): Likewise.
30502 * string/test-strcasestr.c (do_one_test): Likewise.
30503 (do_test): Likewise.
30504 * string/test-strcat.c (do_one_test): Likewise.
30505 (do_test): Likewise.
30506 * string/test-strchr.c (do_one_test): Likewise.
30507 (do_test): Likewise.
30508 * string/test-strcmp.c (do_one_test): Likewise.
30509 (do_test): Likewise.
30510 * string/test-strcpy.c (do_one_test): Likewise.
30511 (do_test): Likewise.
30512 * string/test-string.h: Likewise.
30513 (test_init): Likewise.
30514 * string/test-strlen.c (do_one_test): Likewise.
30515 (do_test): Likewise.
30516 * string/test-strncasecmp.c (do_one_test): Likewise.
30517 (do_test): Likewise.
30518 * string/test-strncat.c (do_one_test): Likewise.
30519 (do_test): Likewise.
30520 * string/test-strncmp.c (do_one_test): Likewise.
30521 (do_test_limit): Likewise.
30522 (do_test): Likewise.
30523 * string/test-strncpy.c (do_one_test): Likewise.
30524 (do_test): Likewise.
30525 * string/test-strnlen.c (do_one_test): Likewise.
30526 (do_test): Likewise.
30527 * string/test-strpbrk.c (do_one_test): Likewise.
30528 (do_test): Likewise.
30529 * string/test-strrchr.c (do_one_test): Likewise.
30530 (do_test): Likewise.
30531 * string/test-strspn.c (do_one_test): Likewise.
30532 (do_test): Likewise.
30533 * string/test-strstr.c (do_one_test): Likewise.
30534 (do_test): Likewise.
30536 * benchtests/Makefile (string-bench): Add string benchmarks.
30537 * benchtests/bench-bcopy-ifunc.c: New file.
30538 * benchtests/bench-bcopy.c: New file.
30539 * benchtests/bench-bzero-ifunc.c: New file.
30540 * benchtests/bench-bzero.c: New file.
30541 * benchtests/bench-memccpy-ifunc.c: New file.
30542 * benchtests/bench-memccpy.c: New file.
30543 * benchtests/bench-memchr-ifunc.c: New file.
30544 * benchtests/bench-memchr.c: New file.
30545 * benchtests/bench-memcmp-ifunc.c: New file.
30546 * benchtests/bench-memcmp.c: New file.
30547 * benchtests/bench-memmem-ifunc.c: New file.
30548 * benchtests/bench-memmem.c: New file.
30549 * benchtests/bench-memmove-ifunc.c: New file.
30550 * benchtests/bench-memmove.c: New file.
30551 * benchtests/bench-mempcpy-ifunc.c: New file.
30552 * benchtests/bench-mempcpy.c: New file.
30553 * benchtests/bench-memset-ifunc.c: New file.
30554 * benchtests/bench-memset.c: New file.
30555 * benchtests/bench-rawmemchr-ifunc.c: New file.
30556 * benchtests/bench-rawmemchr.c: New file.
30557 * benchtests/bench-stpcpy-ifunc.c: New file.
30558 * benchtests/bench-stpcpy.c: New file.
30559 * benchtests/bench-stpncpy-ifunc.c: New file.
30560 * benchtests/bench-stpncpy.c: New file.
30561 * benchtests/bench-strcasecmp-ifunc.c: New file.
30562 * benchtests/bench-strcasecmp.c: New file.
30563 * benchtests/bench-strcasestr-ifunc.c: New file.
30564 * benchtests/bench-strcasestr.c: New file.
30565 * benchtests/bench-strcat-ifunc.c: New file.
30566 * benchtests/bench-strcat.c: New file.
30567 * benchtests/bench-strchr-ifunc.c: New file.
30568 * benchtests/bench-strchr.c: New file.
30569 * benchtests/bench-strchrnul-ifunc.c: New file.
30570 * benchtests/bench-strchrnul.c: New file.
30571 * benchtests/bench-strcmp-ifunc.c: New file.
30572 * benchtests/bench-strcmp.c: New file.
30573 * benchtests/bench-strcpy-ifunc.c: New file.
30574 * benchtests/bench-strcpy.c: New file.
30575 * benchtests/bench-strcspn-ifunc.c: New file.
30576 * benchtests/bench-strcspn.c: New file.
30577 * benchtests/bench-strlen-ifunc.c: New file.
30578 * benchtests/bench-strlen.c: New file.
30579 * benchtests/bench-strncasecmp-ifunc.c: New file.
30580 * benchtests/bench-strncasecmp.c: New file.
30581 * benchtests/bench-strncat-ifunc.c: New file.
30582 * benchtests/bench-strncat.c: New file.
30583 * benchtests/bench-strncmp-ifunc.c: New file.
30584 * benchtests/bench-strncmp.c: New file.
30585 * benchtests/bench-strncpy-ifunc.c: New file.
30586 * benchtests/bench-strncpy.c: New file.
30587 * benchtests/bench-strnlen-ifunc.c: New file.
30588 * benchtests/bench-strnlen.c: New file.
30589 * benchtests/bench-strpbrk-ifunc.c: New file.
30590 * benchtests/bench-strpbrk.c: New file.
30591 * benchtests/bench-strrchr-ifunc.c: New file.
30592 * benchtests/bench-strrchr.c: New file.
30593 * benchtests/bench-strspn-ifunc.c: New file.
30594 * benchtests/bench-strspn.c: New file.
30595 * benchtests/bench-strstr-ifunc.c: New file.
30596 * benchtests/bench-strstr.c: New file.
30598 * benchtests/Makefile: Disable parallel execution of targets.
30599 (string-bench): Add memcpy.
30600 (benchset): New variable to store a list of benchmark sets.
30601 (bench-func): Renamed from bench.
30602 (bench-set): New target.
30603 (bench): Depend on bench-func and bench-set.
30604 * benchtests/README: Add section on benchmark sets.
30605 * benchtests/bench-memcpy-ifunc.c: New file.
30606 * benchtests/bench-memcpy.c: New file.
30607 * benchtests/bench-string.h: New file.
30609 2013-06-11 Andreas Schwab <schwab@suse.de>
30612 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30613 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30614 values in the triple.
30615 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30616 terminator in the group key.
30618 2013-06-11 Andreas Jaeger <aj@suse.de>
30620 * po/zh_TW.po: Update Chinese (traditional) translation from
30621 translation project.
30623 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30625 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30626 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30627 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30628 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30629 (clock_getcpuclockid): Likewise.
30630 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30631 Add weak_alias and libc_hidden_def.
30632 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30633 * rt/clock_gettime.c (clock_gettime): Rename to
30634 __clock_gettime. Add weak_alias and libc_hidden_def.
30635 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30636 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30637 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30638 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30639 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30641 * rt/clock_settime.c (clock_settime): Rename to
30642 __clock_settime. Add weak_alias and libc_hidden_def.
30643 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30645 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30647 * mach/err_boot.sub: Remove trailing whitespace.
30648 * mach/err_ipc.sub: Likewise.
30649 * mach/err_mach.sub: Likewise.
30651 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30652 (ROUNDING_TESTS_double): Likewise.
30653 (ROUNDING_TESTS_long_double): Likewise.
30654 (ROUNDING_TESTS): Likewise.
30655 * math/libm-test.inc: Include <math-tests.h>.
30656 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30657 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30658 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30659 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30661 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30663 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30666 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30668 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30669 otherwise empty TRANS lines.
30670 * sysdeps/gnu/errlist.c: Regenerated.
30672 * catgets/gencat.c (error_print): Use (void) in function
30674 * crypt/crypt_util.c (__init_des): Likewise.
30675 * crypt/speeds.c (Stop): Likewise.
30677 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30678 * inet/ruserpass.c (token): Likewise.
30679 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30680 * intl/localealias.c (extend_alias_table): Likewise.
30681 * intl/plural-exp.c (init_germanic_plural): Likewise.
30682 * libio/fcloseall.c (__fcloseall): Likewise.
30683 * libio/genops.c (_IO_flush_all): Likewise.
30684 (_IO_flush_all_linebuffered): Likewise.
30685 (_IO_cleanup): Likewise.
30686 (_IO_iter_begin): Likewise.
30687 (_IO_iter_end): Likewise.
30688 (_IO_list_lock): Likewise.
30689 (_IO_list_unlock): Likewise.
30690 (_IO_list_resetlock): Likewise.
30691 * libio/getchar.c (getchar): Likewise.
30692 * libio/getchar_u.c (getchar_unlocked): Likewise.
30693 * libio/getwchar.c (getwchar): Likewise.
30694 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30695 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30696 * login/getpt.c (__getpt): Likewise.
30697 * login/tst-utmp.c (main): Likewise.
30698 * malloc/hooks.c (__malloc_check_init): Likewise.
30699 * malloc/malloc.c (__malloc_stats): Likewise.
30700 * malloc/mtrace.c (tr_break): Likewise.
30701 (mtrace): Likewise.
30702 (muntrace): Likewise.
30703 * misc/fstab.c (endfsent): Likewise.
30704 * misc/getclktck.c (__getclktck): Likewise.
30705 * misc/getdtsz.c (__getdtablesize): Likewise.
30706 * misc/gethostid.c (gethostid): Likewise.
30707 * misc/getpagesize.c (__getpagesize): Likewise.
30708 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30709 (__get_nprocs): Likewise.
30710 (__get_phys_pages): Likewise.
30711 (__get_avphys_pages): Likewise.
30712 * misc/getttyent.c (getttyent): Likewise.
30713 (setttyent): Likewise.
30714 (endttyent): Likewise.
30715 * misc/getusershell.c (getusershell): Likewise.
30716 (endusershell): Likewise.
30717 (setusershell): Likewise.
30718 (initshells): Likewise.
30719 * misc/hsearch.c (__hdestroy): Likewise.
30720 * misc/sync.c (sync): Likewise.
30721 * misc/syslog.c (closelog_internal): Likewise.
30722 (closelog): Likewise.
30723 * misc/ttyslot.c (ttyslot): Likewise.
30724 * misc/vhangup.c (vhangup): Likewise.
30725 * posix/fork.c (__fork): Likewise.
30726 * posix/getegid.c (__getegid): Likewise.
30727 * posix/geteuid.c (__geteuid): Likewise.
30728 * posix/getgid.c (__getgid): Likewise.
30729 * posix/getpid.c (__getpid): Likewise.
30730 * posix/getppid.c (__getppid): Likewise.
30731 * posix/getuid.c (__getuid): Likewise.
30732 * posix/pause.c (pause): Likewise.
30733 * posix/setpgrp.c (setpgrp): Likewise.
30734 * posix/setsid.c (__setsid): Likewise.
30735 * posix/test-vfork.c (noop): Likewise.
30736 * resolv/gethnamaddr.c (_endhtent): Likewise.
30737 (_gethtent): Likewise.
30738 (ht_endhostent): Likewise.
30739 (gethostent): Likewise.
30740 (dns_service): Likewise.
30741 * stdlib/drand48.c (drand48): Likewise.
30742 * stdlib/lrand48.c (lrand48): Likewise.
30743 * stdlib/mrand48.c (mrand48): Likewise.
30744 * stdlib/rand.c (rand): Likewise.
30745 * stdlib/random.c (__random): Likewise.
30746 * stdlib/setenv.c (clearenv): Likewise.
30747 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30748 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30749 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30750 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30751 (__get_nprocs): Likewise.
30752 (__get_phys_pages): Likewise.
30753 (__get_avphys_pages): Likewise.
30754 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30755 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30756 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30757 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30758 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30759 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30760 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30761 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30762 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30763 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30764 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30765 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30766 * sysdeps/posix/clock.c (clock): Likewise.
30767 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30768 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30769 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30770 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30771 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30773 (__get_nprocs_conf): Likewise.
30774 (__get_phys_pages): Likewise.
30775 (__get_avphys_pages): Likewise.
30776 * time/clock.c (clock): Likewise.
30777 * time/tzset.c (__tzname_max): Likewise.
30779 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30781 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30782 (__bswap_32): Do not use "register".
30783 * crypt/crypt.c (_ufc_doit_r): Likewise.
30784 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30785 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30786 * gmon/gmon.c (__monstartup): Likewise.
30787 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30788 * hurd/hurdmalloc.c (more_memory): Likewise.
30789 (malloc): Likewise.
30791 (realloc): Likewise.
30792 (malloc_fork_prepare): Likewise.
30793 (malloc_fork_parent): Likewise.
30794 (malloc_fork_child): Likewise.
30795 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30796 (_svcauth_des): Likewise.
30797 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30798 * inet/inet_net.c (inet_network): Likewise.
30799 * inet/inet_netof.c (inet_netof): Likewise.
30800 * inet/rcmd.c (__validuser2_sa): Likewise.
30801 * io/fts.c (fts_open): Likewise.
30802 (fts_load): Likewise.
30803 (fts_close): Likewise.
30804 (fts_read): Likewise.
30805 (fts_children): Likewise.
30806 (fts_build): Likewise.
30807 (fts_stat): Likewise.
30808 (fts_sort): Likewise.
30809 (fts_alloc): Likewise.
30810 (fts_lfree): Likewise.
30811 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30812 (_IO_file_xsgetn): Likewise.
30813 (_IO_file_xsgetn_mmap): Likewise.
30814 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30815 (_IO_cookie_write): Likewise.
30816 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30817 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30818 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30819 * malloc/obstack.c (_obstack_begin): Likewise.
30820 (_obstack_begin_1): Likewise.
30821 (_obstack_newchunk): Likewise.
30822 (_obstack_allocated_p): Likewise.
30823 (obstack_free): Likewise.
30824 (_obstack_memory_used): Likewise.
30825 * misc/getttyent.c (getttynam): Likewise.
30826 (getttyent): Likewise.
30829 * misc/getusershell.c (initshells): Likewise.
30830 * misc/syslog.c (__vsyslog_chk): Likewise.
30831 * misc/ttyslot.c (ttyslot): Likewise.
30832 * nis/nis_hash.c (__nis_hash): Likewise.
30833 * posix/fnmatch_loop.c (FCT): Likewise.
30834 * posix/getconf.c (print_all): Likewise.
30836 * posix/getopt.c (exchange): Likewise.
30837 * posix/glob.c (globfree): Likewise.
30838 (prefix_array): Likewise.
30839 (__glob_pattern_type): Likewise.
30840 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30841 (NS_GET32): Likewise.
30842 (NS_PUT16): Likewise.
30843 (NS_PUT32): Likewise.
30844 * resolv/gethnamaddr.c (getanswer): Likewise.
30845 (gethostbyname2): Likewise.
30846 (gethostbyaddr): Likewise.
30847 (_gethtent): Likewise.
30848 (_gethtbyname2): Likewise.
30849 (_gethtbyaddr): Likewise.
30850 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30851 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30852 * resolv/res_init.c (__res_vinit): Likewise.
30853 (net_mask): Likewise.
30854 * resolv/res_mkquery.c (outchar): Likewise.
30856 * stdio-common/printf_fp.c (outchar): Likewise.
30858 * stdio-common/printf_fphex.c (outchar): Likewise.
30860 * stdio-common/printf_size.c (outchar): Likewise.
30862 * stdio-common/test_rdwr.c (main): Likewise.
30863 * stdio-common/tfformat.c (matches): Likewise.
30864 * stdio-common/vfprintf.c (outchar): Likewise.
30865 (printf_unknown): Likewise.
30866 (buffered_vfprintf): Likewise.
30867 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30868 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30869 (ReadFile): Likewise.
30870 * stdlib/qsort.c (SWAP): Likewise.
30871 (_quicksort): Likewise.
30872 * stdlib/setenv.c (__add_to_environ): Likewise.
30873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30874 * stdlib/strtol_l.c (__strtol_l): Likewise.
30875 * stdlib/tst-strtod.c (main): Likewise.
30876 * stdlib/tst-strtol.c (main): Likewise.
30877 * stdlib/tst-strtoll.c (main): Likewise.
30878 * string/bits/string2.h (__strcmp_cc): Likewise.
30879 (__strcmp_cg): Likewise.
30880 (__strcspn_c1): Likewise.
30881 (__strcspn_c2): Likewise.
30882 (__strcspn_c3): Likewise.
30883 (__strspn_c1): Likewise.
30884 (__strspn_c2): Likewise.
30885 (__strspn_c3): Likewise.
30886 (__strsep_1c): Likewise.
30887 (__strsep_2c): Likewise.
30888 (__strsep_3c): Likewise.
30889 * string/memccpy.c (__memccpy): Likewise.
30890 * string/stpcpy.c (__stpcpy): Likewise.
30891 * string/strcmp.c (strcmp): Likewise.
30892 * string/strrchr.c (strrchr): Likewise.
30893 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30895 * sysdeps/mach/hurd/getcwd.c
30896 (_hurd_canonicalize_directory_name_internal): Likewise.
30897 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30898 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30899 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30900 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30901 Likewise, in both definitions.
30902 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30904 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30905 64] (__bswap_64): Likewise.
30906 * time/test_time.c (main): Likewise.
30907 * time/tzfile.c (__tzfile_read): Likewise.
30908 (__tzfile_compute): Likewise.
30909 * time/tzset.c (__tzset_parse_tz): Likewise.
30910 (tzset_internal): Likewise.
30911 (compute_change): Likewise.
30912 * wcsmbs/wcscat.c (__wcscat): Likewise.
30913 * wcsmbs/wcschr.c (wcschr): Likewise.
30914 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30915 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30916 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30917 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30918 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30919 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30920 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30921 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30922 * wcsmbs/wmemset.c (wmemset): Likewise.
30924 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30926 * scripts/config.guess: Update to version 2013-05-16.
30927 * scripts/config.sub: Update to version 2013-04-24.
30928 * scripts/install-sh: Update to version 2011-11-20.07.
30929 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30930 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30932 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30934 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30935 * elf/sln.c: Likewise.
30936 * hurd/hurd/ioctl.h: Likewise.
30937 * hurd/hurdmalloc.c: Likewise.
30938 * hurd/xattr.c: Likewise.
30939 * include/shlib-compat.h: Likewise.
30940 * inet/ruserpass.c: Likewise.
30941 * libio/iofgets_u.c: Likewise.
30942 * libio/iofgetws_u.c: Likewise.
30943 * locale/programs/ld-identification.c: Likewise.
30944 * locale/programs/ld-time.c: Likewise.
30945 * mach/msg-destroy.c: Likewise.
30946 * nss/nss_files/files-netgrp.c: Likewise.
30947 * resolv/res_data.c: Likewise.
30948 * soft-fp/op-1.h: Likewise.
30949 * soft-fp/op-2.h: Likewise.
30950 * soft-fp/op-4.h: Likewise.
30951 * soft-fp/op-common.h: Likewise.
30952 * stdio-common/printf_fphex.c: Likewise.
30953 * stdlib/strtod_l.c: Likewise.
30954 * sunrpc/rpc/clnt.h: Likewise.
30955 * sysdeps/generic/framestate.c: Likewise.
30956 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30957 * sysdeps/i386/bsd-setjmp.S: Likewise.
30958 * sysdeps/i386/__longjmp.S: Likewise.
30959 * sysdeps/i386/setjmp.S: Likewise.
30960 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30961 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30970 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30978 * sysdeps/ieee754/support.c: Likewise.
30979 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30980 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30981 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30982 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30983 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30984 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30985 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30986 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30987 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30988 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30989 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30990 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30991 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30992 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30993 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30994 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30995 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30998 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31000 * posix/transbug.c: Remove executable mode.
31002 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31004 * crypt/speeds.c: Remove trailing whitespace.
31005 * dlfcn/default.c: Likewise.
31006 * elf/ifuncdep2.c: Likewise.
31007 * elf/ifuncmain1.c: Likewise.
31008 * elf/ifuncmain1vis.c: Likewise.
31009 * elf/testobj.h: Likewise.
31010 * elf/tst-stackguard1.c: Likewise.
31011 * gmon/sys/gmon.h: Likewise.
31012 * hurd/hurdmsg.c: Likewise.
31013 * hurd/new-fd.c: Likewise.
31014 * hurd/ports-get.c: Likewise.
31015 * iconvdata/ibm1008_420.c: Likewise.
31016 * inet/tst-getni1.c: Likewise.
31017 * inet/tst-getni2.c: Likewise.
31018 * libio/ioungetc.c: Likewise.
31019 * libio/wfiledoalloc.c: Likewise.
31020 * manual/libm-err-tab.pl: Likewise.
31021 * math/w_dremf.c: Likewise.
31022 * misc/ftruncate.c: Likewise.
31023 * posix/bug-glob2.c: Likewise.
31024 * posix/tst-pcre.c: Likewise.
31025 * posix/wait4.c: Likewise.
31026 * resolv/README: Likewise.
31027 * resolv/res_debug.h: Likewise.
31028 * resolv/tst-inet_ntop.c: Likewise.
31029 * setjmp/bug269-setjmp.c: Likewise.
31030 * soft-fp/extended.h: Likewise.
31031 * soft-fp/op-1.h: Likewise.
31032 * soft-fp/op-2.h: Likewise.
31033 * soft-fp/op-4.h: Likewise.
31034 * soft-fp/op-8.h: Likewise.
31035 * soft-fp/testit.c: Likewise.
31036 * stdio-common/bug16.c: Likewise.
31037 * stdlib/random.c: Likewise.
31038 * sunrpc/rpcsvc/rquota.x: Likewise.
31039 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31040 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31042 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31043 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31045 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31046 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31047 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31048 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31049 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31066 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31068 * sysdeps/ieee754/s_lib_version.c: Likewise.
31069 * sysdeps/mach/hurd/check_fds.c: Likewise.
31070 * sysdeps/mach/hurd/getsockname.c: Likewise.
31071 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31072 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31073 * sysdeps/powerpc/bits/link.h: Likewise.
31074 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31075 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31076 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31077 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31078 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31079 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31080 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31081 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31082 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31083 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31084 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31085 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31086 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31087 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31088 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31089 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31092 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31094 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31095 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31096 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31097 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31098 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31099 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31101 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31102 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31103 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31105 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31106 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31107 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31108 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31109 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31110 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31111 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31112 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31113 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31114 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31115 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31116 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31117 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31118 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31119 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31120 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31121 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31122 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31123 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31124 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31126 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31127 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31128 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31129 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31130 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31131 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31133 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31134 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31135 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31136 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31137 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31138 * sysdeps/powerpc/sysdep.h: Likewise.
31139 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31140 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31141 * sysdeps/sh/dl-trampoline.S: Likewise.
31142 * sysdeps/sh/memset.S: Likewise.
31143 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31144 * sysdeps/sh/strlen.S: Likewise.
31145 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31146 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31147 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31148 * sysdeps/sparc/sparc32/rem.S: Likewise.
31149 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31150 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31151 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31152 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31153 * sysdeps/sparc/sparc32/urem.S: Likewise.
31154 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31155 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31156 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31157 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31158 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31159 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31160 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31161 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31162 * sysdeps/unix/bsd/times.c: Likewise.
31163 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31164 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31168 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31169 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31170 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31171 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31172 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31173 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31174 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31175 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31176 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31177 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31178 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31179 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31180 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31181 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31182 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31183 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31184 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31185 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31186 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31187 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31188 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31189 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31190 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31191 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31192 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31193 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31194 * sysdeps/x86_64/strcspn.S: Likewise.
31196 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31198 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31199 generated file. Regenerate properly from gen-translit.pl.
31200 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31201 locale/C-translit.h.
31203 2013-06-05 Andreas Schwab <schwab@suse.de>
31206 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31207 week as 6 instead of -1.
31208 * time/tst-strptime.c (day_tests): Add test case.
31210 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31212 * sysdeps/generic/math_private.h
31213 (libc_feholdexcept_setround_53bit): Replace with
31214 libc_feholdsetround_53bit.
31215 (libc_feupdateenv_53bit): Replace with
31216 libc_feresetround_53bit.
31217 (SET_RESTORE_ROUND_53BIT): Adjust.
31219 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31221 * string/test-strchrnul.c: Add copyright header.
31223 * posix/tst-getaddrinfo4.c: Increase test timeout.
31225 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31228 * math/libm-test.inc (MAX_EXP): Remove
31230 (ulp): Use MIN_EXP - MANT_DIG.
31231 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31233 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31235 * po/be.po: Revert last change.
31236 * po/zh_CN.po: Likewise.
31237 * po/header.pot: Likewise.
31239 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31241 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31242 link-libc-deps to empty as target-specific variable.
31243 * Makerules (link-libc-args): New variable.
31244 (libc-for-link): Likewise.
31245 (link-libc-deps): Likewise.
31246 (lib%.so): Depend on $(link-libc-deps). Link with
31248 (build-module): Link with $(link-libc-args).
31249 (build-module-asneeded): Likewise.
31250 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31252 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31253 target-specific variable.
31254 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31255 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31256 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31258 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31260 ($(objpfx)libpcprofile.so): Likewise.
31261 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31263 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31264 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31265 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31267 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31268 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31269 * login/Makefile ($(objpfx)libutil.so): Likewise.
31270 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31271 * math/Makefile ($(objpfx)libm.so): Likewise.
31272 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31273 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31274 variable instead of depending directly on libc.
31275 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31276 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31278 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31280 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31281 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31282 ($(objpfx)libanl.so): Likewise.
31283 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31285 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31287 * sysdeps/i386/fpu/Makefile: Remove file.
31288 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31289 ($(objpfx)libm.so): Remove dependency on ld.so.
31291 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31294 * nis/yp_xdr.c (XDRMAXNAME): Define.
31295 (XDRMAXRECORD): Define.
31296 (xdr_domainname): Use XDRMAXNAME.
31297 (xdr_mapname): Likewise.
31298 (xdr_peername): Likewise.
31299 (xdr_keydat): Use XDRMAXRECORD.
31300 (xdr_valdat): Likewise.
31302 2013-05-30 Jeff Law <law@redhat.com>
31305 * manual/errno.texi (ESTALE): Update to account for more than
31306 just NFS file systems.
31307 * sysdeps/gnu/errlist.c: Regenerated.
31309 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31312 * elf/Makefile (tests): Add tst-null-argv.
31313 (modules-names): Add tst-null-argv-lib.
31314 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31315 (tst-null-argv-ENV): Set environment for tst-null-argv.
31316 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31317 (RTLD_PROGNAME): New macro.
31318 * elf/tst-null-argv.c: New test case.
31319 * elf/tst-null-argv-lib.c: Library for test case.
31320 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31321 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31322 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31323 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31324 * elf/dl-init.c (call_init): Likewise.
31325 (_dl_init): Likewise.
31326 * elf/dl-load.c (print_search_path): Likewise.
31327 (_dl_map_object): Likewise.
31328 * elf/dl-lookup.c (do_lookup_x): Likewise.
31329 (add_dependency): Likewise.
31330 (_dl_lookup_symbol_x): Likewise.
31331 (_dl_debug_bindings): Likewise.
31332 * elf/dl-open.c (_dl_show_scope): Likewise.
31333 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31334 * elf/dl-version.c (match_symbol): Likewise.
31335 (_dl_check_map_versions): Likewise.
31336 * elf/rtld.c (dl_main): Likewise.
31337 (print_unresolved): Use RTLD_PROGNAME.
31338 (print_missing_version): Likewise.
31339 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31340 (elf_machine_rela): Likewise.
31341 * sysdeps/powerpc/powerpc32/dl-machine.c
31342 (__process_machine_rela): Likewise.
31343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31347 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31349 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31356 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31358 * po/be.po: Add descriptive title.
31359 * po/zh_CN.po: Likewise.
31360 * po/header.pot: Likewise.
31362 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31364 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31366 (enlarge_archive): Likewise.
31368 2013-05-28 Ben North <ben@redfrontdoor.org>
31370 * manual/arith.texi (frexp): It is the magnitude of the return
31371 value which lies in [0.5, 1), not the return value itself.
31373 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31377 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31379 * stdio-common/bug26.c (main): Correct fscanf template.
31381 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31382 declare _dl_skip_args.
31384 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31387 * manual/platform.texi: Add missing @end deftypefun.
31389 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31392 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31393 bit of mantissa of 2^16382.
31394 * math/libm-test.inc (hypot_test_data): Add more tests.
31396 * math/libm-test.inc: Add drem and pow10 to list of tested
31398 (pow10_test): New function.
31399 (drem_test): Likewise.
31400 (drem_test_tonearest): Likewise.
31401 (drem_test_towardzero): Likewise.
31402 (drem_test_downward): Likewise.
31403 (drem_test_upward): Likewise.
31404 (main): Call the new functions.
31406 * math/libm-test.inc (finite_test_data): Remove.
31407 (finite_test): Run tests from isfinite_test_data.
31408 (gamma_test_data): Remove.
31409 (gamma_test): Run tests from lgamma_test_data.
31410 * sysdeps/i386/fpu/libm-test-ulps: Update.
31411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31413 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31415 * manual/platform.texi: Add PowerPC PPR function set documentation.
31416 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31419 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31421 * math/libm-test.inc (MAX_EXP): Define.
31423 (ulp): New function.
31424 (check_float_internal): Use ULPDIFF.
31425 (cpow_test): Disable failing test.
31426 (check_ulp): Test ulp() implemetnation.
31427 (main): Call check_ulp before starting tests.
31429 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31431 * math/gen-libm-test.pl (generate_testfile): Do not handle
31432 START_DATA and END_DATA.
31433 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31435 (acos_tonearest_test_data): Likewise.
31436 (acos_towardzero_test_data): Likewise.
31437 (acos_downward_test_data): Likewise.
31438 (acos_upward_test_data): Likewise.
31439 (acosh_test_data): Likewise.
31440 (asin_test_data): Likewise.
31441 (asin_tonearest_test_data): Likewise.
31442 (asin_towardzero_test_data): Likewise.
31443 (asin_downward_test_data): Likewise.
31444 (asin_upward_test_data): Likewise.
31445 (asinh_test_data): Likewise.
31446 (atan_test_data): Likewise.
31447 (atanh_test_data): Likewise.
31448 (atan2_test_data): Likewise.
31449 (cabs_test_data): Likewise.
31450 (cacos_test_data): Likewise.
31451 (cacosh_test_data): Likewise.
31452 (carg_test_data): Likewise.
31453 (casin_test_data): Likewise.
31454 (casinh_test_data): Likewise.
31455 (catan_test_data): Likewise.
31456 (catanh_test_data): Likewise.
31457 (cbrt_test_data): Likewise.
31458 (ccos_test_data): Likewise.
31459 (ccosh_test_data): Likewise.
31460 (ceil_test_data): Likewise.
31461 (cexp_test_data): Likewise.
31462 (cimag_test_data): Likewise.
31463 (clog_test_data): Likewise.
31464 (clog10_test_data): Likewise.
31465 (conj_test_data): Likewise.
31466 (copysign_test_data): Likewise.
31467 (cos_test_data): Likewise.
31468 (cos_tonearest_test_data): Likewise.
31469 (cos_towardzero_test_data): Likewise.
31470 (cos_downward_test_data): Likewise.
31471 (cos_upward_test_data): Likewise.
31472 (cosh_test_data): Likewise.
31473 (cosh_tonearest_test_data): Likewise.
31474 (cosh_towardzero_test_data): Likewise.
31475 (cosh_downward_test_data): Likewise.
31476 (cosh_upward_test_data): Likewise.
31477 (cpow_test_data): Likewise.
31478 (cproj_test_data): Likewise.
31479 (creal_test_data): Likewise.
31480 (csin_test_data): Likewise.
31481 (csinh_test_data): Likewise.
31482 (csqrt_test_data): Likewise.
31483 (ctan_test_data): Likewise.
31484 (ctan_tonearest_test_data): Likewise.
31485 (ctan_towardzero_test_data): Likewise.
31486 (ctan_downward_test_data): Likewise.
31487 (ctan_upward_test_data): Likewise.
31488 (ctanh_test_data): Likewise.
31489 (ctanh_tonearest_test_data): Likewise.
31490 (ctanh_towardzero_test_data): Likewise.
31491 (ctanh_downward_test_data): Likewise.
31492 (ctanh_upward_test_data): Likewise.
31493 (erf_test_data): Likewise.
31494 (erfc_test_data): Likewise.
31495 (exp_test_data): Likewise.
31496 (exp_tonearest_test_data): Likewise.
31497 (exp_towardzero_test_data): Likewise.
31498 (exp_downward_test_data): Likewise.
31499 (exp_upward_test_data): Likewise.
31500 (exp10_test_data): Likewise.
31501 (exp2_test_data): Likewise.
31502 (expm1_test_data): Likewise.
31503 (fabs_test_data): Likewise.
31504 (fdim_test_data): Likewise.
31505 (finite_test_data): Likewise.
31506 (floor_test_data): Likewise.
31507 (fma_test_data): Likewise.
31508 (fma_towardzero_test_data): Likewise.
31509 (fma_downward_test_data): Likewise.
31510 (fma_upward_test_data): Likewise.
31511 (fmax_test_data): Likewise.
31512 (fmin_test_data): Likewise.
31513 (fmod_test_data): Likewise.
31514 (fpclassify_test_data): Likewise.
31515 (frexp_test_data): Likewise.
31516 (gamma_test_data): Likewise.
31517 (hypot_test_data): Likewise.
31518 (ilogb_test_data): Likewise.
31519 (isfinite_test_data): Likewise.
31520 (isgreater_test_data): Likewise.
31521 (isgreaterequal_test_data): Likewise.
31522 (isinf_test_data): Likewise.
31523 (isless_test_data): Likewise.
31524 (islessequal_test_data): Likewise.
31525 (islessgreater_test_data): Likewise.
31526 (isnan_test_data): Likewise.
31527 (isnormal_test_data): Likewise.
31528 (issignaling_test_data): Likewise.
31529 (isunordered_test_data): Likewise.
31530 (j0_test_data): Likewise.
31531 (j1_test_data): Likewise.
31532 (jn_test_data): Likewise.
31533 (ldexp_test_data): Likewise.
31534 (lgamma_test_data): Likewise.
31535 (lrint_test_data): Likewise.
31536 (lrint_tonearest_test_data): Likewise.
31537 (lrint_towardzero_test_data): Likewise.
31538 (lrint_downward_test_data): Likewise.
31539 (lrint_upward_test_data): Likewise.
31540 (llrint_test_data): Likewise.
31541 (llrint_tonearest_test_data): Likewise.
31542 (llrint_towardzero_test_data): Likewise.
31543 (llrint_downward_test_data): Likewise.
31544 (llrint_upward_test_data): Likewise.
31545 (log_test_data): Likewise.
31546 (log10_test_data): Likewise.
31547 (log1p_test_data): Likewise.
31548 (log2_test_data): Likewise.
31549 (logb_test_data): Likewise.
31550 (logb_downward_test_data): Likewise.
31551 (lround_test_data): Likewise.
31552 (llround_test_data): Likewise.
31553 (modf_test_data): Likewise.
31554 (nearbyint_test_data): Likewise.
31555 (nextafter_test_data): Likewise.
31556 (nexttoward_test_data): Likewise.
31557 (pow_test_data): Likewise.
31558 (pow_tonearest_test_data): Likewise.
31559 (pow_towardzero_test_data): Likewise.
31560 (pow_downward_test_data): Likewise.
31561 (pow_upward_test_data): Likewise.
31562 (remainder_test_data): Likewise.
31563 (remainder_tonearest_test_data): Likewise.
31564 (remainder_towardzero_test_data): Likewise.
31565 (remainder_downward_test_data): Likewise.
31566 (remainder_upward_test_data): Likewise.
31567 (remquo_test_data): Likewise.
31568 (rint_test_data): Likewise.
31569 (rint_tonearest_test_data): Likewise.
31570 (rint_towardzero_test_data): Likewise.
31571 (rint_downward_test_data): Likewise.
31572 (rint_upward_test_data): Likewise.
31573 (round_test_data): Likewise.
31574 (scalb_test_data): Likewise.
31575 (scalbn_test_data): Likewise.
31576 (scalbln_test_data): Likewise.
31577 (signbit_test_data): Likewise.
31578 (sin_test_data): Likewise.
31579 (sin_tonearest_test_data): Likewise.
31580 (sin_towardzero_test_data): Likewise.
31581 (sin_downward_test_data): Likewise.
31582 (sin_upward_test_data): Likewise.
31583 (sincos_test_data): Likewise.
31584 (sinh_test_data): Likewise.
31585 (sinh_tonearest_test_data): Likewise.
31586 (sinh_towardzero_test_data): Likewise.
31587 (sinh_downward_test_data): Likewise.
31588 (sinh_upward_test_data): Likewise.
31589 (sqrt_test_data): Likewise.
31590 (tan_test_data): Likewise.
31591 (tan_tonearest_test_data): Likewise.
31592 (tan_towardzero_test_data): Likewise.
31593 (tan_downward_test_data): Likewise.
31594 (tan_upward_test_data): Likewise.
31595 (tanh_test_data): Likewise.
31596 (tgamma_test_data): Likewise.
31597 (trunc_test_data): Likewise.
31598 (y0_test_data): Likewise.
31599 (y1_test_data): Likewise.
31600 (yn_test_data): Likewise.
31601 (significand_test_data): Likewise.
31603 * math/gen-libm-test.pl (@functions): Remove variable.
31604 (generate_testfile): Don't handle START and END lines.
31605 * math/libm-test.inc (START): New macro.
31607 (END_COMPLEX): Likewise.
31608 (acos_test): Use END macro without arguments.
31609 (acos_test_tonearest): Likewise.
31610 (acos_test_towardzero): Likewise.
31611 (acos_test_downward): Likewise.
31612 (acos_test_upward): Likewise.
31613 (acosh_test): Likewise.
31614 (asin_test): Likewise.
31615 (asin_test_tonearest): Likewise.
31616 (asin_test_towardzero): Likewise.
31617 (asin_test_downward): Likewise.
31618 (asin_test_upward): Likewise.
31619 (asinh_test): Likewise.
31620 (atan_test): Likewise.
31621 (atanh_test): Likewise.
31622 (atan2_test): Likewise.
31623 (cabs_test): Likewise.
31624 (cacos_test): Use END_COMPLEX macro without arguments.
31625 (cacosh_test): Likewise.
31626 (carg_test): Use END macro without arguments.
31627 (casin_test): Use END_COMPLEX macro without arguments.
31628 (casinh_test): Likewise.
31629 (catan_test): Likewise.
31630 (catanh_test): Likewise.
31631 (cbrt_test): Use END macro without arguments.
31632 (ccos_test): Use END_COMPLEX macro without arguments.
31633 (ccosh_test): Likewise.
31634 (ceil_test): Use END macro without arguments.
31635 (cexp_test): Use END_COMPLEX macro without arguments.
31636 (cimag_test): Use END macro without arguments.
31637 (clog_test): Use END_COMPLEX macro without arguments.
31638 (clog10_test): Likewise.
31639 (conj_test): Likewise.
31640 (copysign_test): Use END macro without arguments.
31641 (cos_test): Likewise.
31642 (cos_test_tonearest): Likewise.
31643 (cos_test_towardzero): Likewise.
31644 (cos_test_downward): Likewise.
31645 (cos_test_upward): Likewise.
31646 (cosh_test): Likewise.
31647 (cosh_test_tonearest): Likewise.
31648 (cosh_test_towardzero): Likewise.
31649 (cosh_test_downward): Likewise.
31650 (cosh_test_upward): Likewise.
31651 (cpow_test): Use END_COMPLEX macro without arguments.
31652 (cproj_test): Likewise.
31653 (creal_test): Use END macro without arguments.
31654 (csin_test): Use END_COMPLEX macro without arguments.
31655 (csinh_test): Likewise.
31656 (csqrt_test): Likewise.
31657 (ctan_test): Likewise.
31658 (ctan_test_tonearest): Likewise.
31659 (ctan_test_towardzero): Likewise.
31660 (ctan_test_downward): Likewise.
31661 (ctan_test_upward): Likewise.
31662 (ctanh_test): Likewise.
31663 (ctanh_test_tonearest): Likewise.
31664 (ctanh_test_towardzero): Likewise.
31665 (ctanh_test_downward): Likewise.
31666 (ctanh_test_upward): Likewise.
31667 (erf_test): Use END macro without arguments.
31668 (erfc_test): Likewise.
31669 (exp_test): Likewise.
31670 (exp_test_tonearest): Likewise.
31671 (exp_test_towardzero): Likewise.
31672 (exp_test_downward): Likewise.
31673 (exp_test_upward): Likewise.
31674 (exp10_test): Likewise.
31675 (exp2_test): Likewise.
31676 (expm1_test): Likewise.
31677 (fabs_test): Likewise.
31678 (fdim_test): Likewise.
31679 (finite_test): Likewise.
31680 (floor_test): Likewise.
31681 (fma_test): Likewise.
31682 (fma_test_towardzero): Likewise.
31683 (fma_test_downward): Likewise.
31684 (fma_test_upward): Likewise.
31685 (fmax_test): Likewise.
31686 (fmin_test): Likewise.
31687 (fmod_test): Likewise.
31688 (fpclassify_test): Likewise.
31689 (frexp_test): Likewise.
31690 (gamma_test): Likewise.
31691 (hypot_test): Likewise.
31692 (ilogb_test): Likewise.
31693 (isfinite_test): Likewise.
31694 (isgreater_test): Likewise.
31695 (isgreaterequal_test): Likewise.
31696 (isinf_test): Likewise.
31697 (isless_test): Likewise.
31698 (islessequal_test): Likewise.
31699 (islessgreater_test): Likewise.
31700 (isnan_test): Likewise.
31701 (isnormal_test): Likewise.
31702 (issignaling_test): Likewise.
31703 (isunordered_test): Likewise.
31704 (j0_test): Likewise.
31705 (j1_test): Likewise.
31706 (jn_test): Likewise.
31707 (ldexp_test): Likewise.
31708 (lgamma_test): Likewise.
31709 (lrint_test): Likewise.
31710 (lrint_test_tonearest): Likewise.
31711 (lrint_test_towardzero): Likewise.
31712 (lrint_test_downward): Likewise.
31713 (lrint_test_upward): Likewise.
31714 (llrint_test): Likewise.
31715 (llrint_test_tonearest): Likewise.
31716 (llrint_test_towardzero): Likewise.
31717 (llrint_test_downward): Likewise.
31718 (llrint_test_upward): Likewise.
31719 (log_test): Likewise.
31720 (log10_test): Likewise.
31721 (log1p_test): Likewise.
31722 (log2_test): Likewise.
31723 (logb_test): Likewise.
31724 (logb_test_downward): Likewise.
31725 (lround_test): Likewise.
31726 (llround_test): Likewise.
31727 (modf_test): Likewise.
31728 (nearbyint_test): Likewise.
31729 (nextafter_test): Likewise.
31730 (nexttoward_test): Likewise.
31731 (pow_test): Likewise.
31732 (pow_test_tonearest): Likewise.
31733 (pow_test_towardzero): Likewise.
31734 (pow_test_downward): Likewise.
31735 (pow_test_upward): Likewise.
31736 (remainder_test): Likewise.
31737 (remainder_test_tonearest): Likewise.
31738 (remainder_test_towardzero): Likewise.
31739 (remainder_test_downward): Likewise.
31740 (remainder_test_upward): Likewise.
31741 (remquo_test): Likewise.
31742 (rint_test): Likewise.
31743 (rint_test_tonearest): Likewise.
31744 (rint_test_towardzero): Likewise.
31745 (rint_test_downward): Likewise.
31746 (rint_test_upward): Likewise.
31747 (round_test): Likewise.
31748 (scalb_test): Likewise.
31749 (scalbn_test): Likewise.
31750 (scalbln_test): Likewise.
31751 (signbit_test): Likewise.
31752 (sin_test): Likewise.
31753 (sin_test_tonearest): Likewise.
31754 (sin_test_towardzero): Likewise.
31755 (sin_test_downward): Likewise.
31756 (sin_test_upward): Likewise.
31757 (sincos_test): Likewise.
31758 (sinh_test): Likewise.
31759 (sinh_test_tonearest): Likewise.
31760 (sinh_test_towardzero): Likewise.
31761 (sinh_test_downward): Likewise.
31762 (sinh_test_upward): Likewise.
31763 (sqrt_test): Likewise.
31764 (tan_test): Likewise.
31765 (tan_test_tonearest): Likewise.
31766 (tan_test_towardzero): Likewise.
31767 (tan_test_downward): Likewise.
31768 (tan_test_upward): Likewise.
31769 (tanh_test): Likewise.
31770 (tgamma_test): Likewise.
31771 (trunc_test): Likewise.
31772 (y0_test): Likewise.
31773 (y1_test): Likewise.
31774 (yn_test): Likewise.
31775 (significand_test): Likewise.
31777 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31780 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31782 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31785 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31786 __ppc_mdoio and __ppc_mdoom.
31787 * manual/platform.texi: Document new functions __ppc_yield,
31788 __ppc_mdoio and __ppc_mdoom.
31790 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31792 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31793 (main): Mention "tls" pseudo-hwcap is legacy.
31794 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31796 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31798 * math/gen-libm-test.pl (parse_args): Output only string of
31799 arguments as text for test name, not full call or descriptions of
31800 tests for extra outputs.
31801 (generate_testfile): Do not pass function name to parse_args.
31802 Generate this_func variable from START.
31803 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31805 (struct test_ff_f_data): Likewise.
31806 (test_ff_f_data_nexttoward): Likewise.
31807 (struct test_fi_f_data): Likewise.
31808 (struct test_fl_f_data): Likewise.
31809 (struct test_if_f_data): Likewise.
31810 (struct test_fff_f_data): Likewise.
31811 (struct test_c_f_data): Likewise.
31812 (struct test_f_f1_data): Likewise. Remove field extra_name.
31813 (struct test_fF_f1_data): Likewise.
31814 (struct test_ffI_f1_data): Likewise.
31815 (struct test_c_c_data): Rename test_name field to arg_str.
31816 (struct test_cc_c_data): Likewise.
31817 (struct test_f_i_data): Likewise.
31818 (struct test_ff_i_data): Likewise.
31819 (struct test_f_l_data): Likewise.
31820 (struct test_f_L_data): Likewise.
31821 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31823 (COMMON_TEST_SETUP): New macro.
31824 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31825 (COMMON_TEST_CLEANUP): Likewise.
31826 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31827 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31829 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31830 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31832 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31833 (RUN_TEST_fff_f): Take argument string. Call new setup and
31835 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31836 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31838 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31839 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31841 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31842 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31844 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31845 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31847 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31848 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31850 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31851 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31853 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31854 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31856 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31857 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31859 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31860 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31862 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31863 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31865 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31866 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31868 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31869 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31871 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31872 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31874 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31875 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31877 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31878 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31880 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31882 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31884 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31885 to _sifields.sigfault.
31886 (si_addr_lsb): Define new macro.
31887 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31888 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31889 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31891 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31894 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31896 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31898 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31899 loading the domain.
31901 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31903 * math/gen-libm-test.pl (parse_args): Do not include expected
31904 result in test name.
31905 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31906 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31907 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31908 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31909 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31912 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31914 * benchtests/Makefile: Sort function entries.
31916 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31917 tanh, asinh, acosh, atanh.
31918 * benchtests/acos-inputs: New file.
31919 * benchtests/acosh-inputs: New file.
31920 * benchtests/asin-inputs: New file.
31921 * benchtests/asinh-inputs: New file.
31922 * benchtests/atanh-inputs: New file.
31923 * benchtests/cosh-inputs: New file.
31924 * benchtests/log-inputs: New file.
31925 * benchtests/sinh-inputs: New file.
31926 * benchtests/tanh-inputs: New file.
31928 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31931 * posix/tst-getaddrinfo4.c: New test.
31932 * posix/Makefile (tests): Add it.
31934 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31937 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31938 when no services were used.
31939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31940 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31942 2013-05-21 Andreas Schwab <schwab@suse.de>
31945 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31946 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31948 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31949 redundant variable declarations and reallocation of buffer when
31950 parsing as IPv6 address. Always set NSS status when called from
31951 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31952 buffer too small. Correct computation of needed size.
31953 * nss/Makefile (tests): Add test-digits-dots.
31954 * nss/test-digits-dots.c: New test.
31956 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31958 * benchtests/Makefile: Remove instructions for adding
31960 * benchtests/README: New file to explain how to execute and
31961 enhance the benchmark tests.
31963 2013-05-21 Andreas Schwab <schwab@suse.de>
31966 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31967 * setjmp/tst-sigsetjmp.c: New test.
31969 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31971 * sysdeps/x86_64/memset.S (memset): New implementation.
31972 (__bzero): Likewise.
31973 (__memset_tail): New function.
31975 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31977 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31978 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31979 __memcpy_sse2_unaligned ifunc selection.
31980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31981 Add memcpy-sse2-unaligned.S.
31982 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31983 Add: __memcpy_sse2_unaligned.
31985 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31988 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31989 math_force_eval before restoring floating-point envrionment.
31990 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31993 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31995 (__nearbyintl): Use math_force_eval before restoring
31996 floating-point environment.
31997 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31999 * math/gen-libm-test.pl (special_functions): Remove.
32000 (parse_args): Don't handle TEST_extra. Handle functions with no
32002 * math/libm-test.inc (struct test_sincos_data): Replace with
32003 struct test_fFF_11_data.
32004 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32005 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32006 (sincos_test_data): Change element type to struct
32007 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32008 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32009 RUN_TEST_LOOP_sincos.
32010 * math/README.libm-test: Don't mention special handling of
32011 individual functions.
32012 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32014 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32015 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32016 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32019 * math/gen-libm-test.pl (get_variable): Remove function.
32020 (parse_args): Don't show pointer parameters to call in test
32021 names. Use "extra output N" in test names for extra outputs
32022 rather than naming variables.
32024 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32027 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32028 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32029 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32031 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32033 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32036 * math/gen-libm-test.pl (@tests): Remove variable.
32037 ($count): Likewise.
32038 (new_test): Remove function.
32039 (show_exceptions): New function.
32040 (special_functions): Use show_exceptions instead of new_test.
32041 (parse_args): Likewise.
32042 (generate_testfile): Pass only function name in generated call to
32043 print_max_error or print_complex_max_error.
32044 (get_ulps): Do not handle complex tests specially.
32045 (output_test): Rename to ...
32046 (get_all_ulps_for_test): ... this. Return a string rather than
32047 printing to a file. Require ulps to be present.
32048 (output_ulps): Generate arrays rather than #defines.
32049 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32050 (struct ulp_data): New type.
32051 (BUILD_COMPLEX_ULP): Remove macro.
32052 (compare_ulp_data): New function.
32053 (find_ulps): Likewise.
32054 (find_test_ulps): Likewise.
32055 (find_function_ulps): Likewise.
32056 (find_complex_function_ulps): Likewise.
32057 (print_max_error): Determine allowed ulps using
32058 find_function_ulps.
32059 (print_complex_max_error): Determine allowed ulps using
32060 find_complex_function_ulps.
32061 (check_float_internal): Determine max ulps using find_test_ulps.
32062 (check_float): Do not take max_ulp parameter. Update call to
32063 check_float_internal.
32064 (check_complex): Likewise.
32065 (check_int): Do not take max_ulp parameter.
32066 (check_long): Likewise.
32067 (check_bool): Likewise.
32068 (check_longlong): Likewise.
32069 (struct test_f_f_data): Remove max_ulp field.
32070 (struct test_ff_f_data): Likewise.
32071 (struct test_ff_f_data_nexttoward): Likewise.
32072 (struct test_fi_f_data): Likewise.
32073 (struct test_fl_f_data): Likewise.
32074 (struct test_if_f_data): Likewise.
32075 (struct test_fff_f_data): Likewise.
32076 (struct test_c_f_data): Likewise.
32077 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32078 (struct test_fF_f1_data): Likewise.
32079 (struct test_ffI_f1_data): Likewise.
32080 (struct test_c_c_data): Remove max_ulp field.
32081 (struct test_cc_c_data): Likewise.
32082 (struct test_f_i_data): Likewise.
32083 (struct test_ff_i_data): Likewise.
32084 (struct test_f_l_data): Likewise.
32085 (struct test_f_L_data): Likewise.
32086 (struct test_sincos_data): Likewise.
32087 (RUN_TEST_f_f): Do not handle ulps.
32088 (RUN_TEST_LOOP_f_f): Likewise.
32089 (RUN_TEST_2_f): Likewise.
32090 (RUN_TEST_LOOP_2_f): Likewise.
32091 (RUN_TEST_fff_f): Likewise.
32092 (RUN_TEST_LOOP_fff_f): Likewise.
32093 (RUN_TEST_c_f): Likewise.
32094 (RUN_TEST_LOOP_c_f): Likewise.
32095 (RUN_TEST_f_f1): Likewise.
32096 (RUN_TEST_LOOP_f_f1): Likewise.
32097 (RUN_TEST_fF_f1): Likewise.
32098 (RUN_TEST_LOOP_fF_f1): Likewise.
32099 (RUN_TEST_fI_f1): Likewise.
32100 (RUN_TEST_LOOP_fI_f1): Likewise.
32101 (RUN_TEST_ffI_f1): Likewise.
32102 (RUN_TEST_LOOP_ffI_f1): Likewise.
32103 (RUN_TEST_c_c): Likewise.
32104 (RUN_TEST_LOOP_c_c): Likewise.
32105 (RUN_TEST_cc_c): Likewise.
32106 (RUN_TEST_LOOP_cc_c): Likewise.
32107 (RUN_TEST_f_i): Likewise.
32108 (RUN_TEST_LOOP_f_i): Likewise.
32109 (RUN_TEST_f_i_tg): Likewise.
32110 (RUN_TEST_LOOP_f_i_tg): Likewise.
32111 (RUN_TEST_ff_i_tg): Likewise.
32112 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32113 (RUN_TEST_f_b): Likewise.
32114 (RUN_TEST_LOOP_f_b): Likewise.
32115 (RUN_TEST_f_b_tg): Likewise.
32116 (RUN_TEST_LOOP_f_b_tg): Likewise.
32117 (RUN_TEST_f_l): Likewise.
32118 (RUN_TEST_LOOP_f_l): Likewise.
32119 (RUN_TEST_f_L): Likewise.
32120 (RUN_TEST_LOOP_f_L): Likewise.
32121 (RUN_TEST_sincos): Likewise.
32122 (RUN_TEST_LOOP_sincos): Likewise.
32124 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32128 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32129 main case of finite arguments, set rounding mode to FE_TONEAREST
32130 and discard exceptions.
32131 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32133 (remainder_tonearest_test_data): New variable.
32134 (remainder_test_tonearest): New function.
32135 (remainder_towardzero_test_data): New variable.
32136 (remainder_test_towardzero): New function.
32137 (remainder_downward_test_data): New variable.
32138 (remainder_test_downward): New function.
32139 (remainder_upward_test_data): New variable.
32140 (remainder_test_upward): New function.
32141 (main): Call the new test functions.
32143 * math/libm-test.inc (struct test_f_f1_data): Remove field
32145 (struct test_fF_f1_data): Likewise.
32146 (struct test_ffI_f1_data): Likewise.
32147 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32148 based on value of EXTRA_EXPECTED.
32149 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32150 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32151 EXTRA_VAR based on value of EXTRA_EXPECTED.
32152 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32153 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32154 EXTRA_VAR based on value of EXTRA_EXPECTED.
32155 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32156 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32157 EXTRA_VAR based on value of EXTRA_EXPECTED.
32158 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32159 * math/gen-libm-test.pl (parse_args): Don't output initializers
32160 for extra output values.
32162 * math/libm-test.inc (check_int): Expect result to be exactly
32163 equal to expected value and do not handle ulps.
32164 (check_long): Likewise.
32165 (check_longlong): Likewise.
32167 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32169 (cimag_test_data): Likewise.
32170 (conj_test_data): Likewise.
32171 (copysign_test_data): Likewise.
32172 (cproj_test_data): Likewise.
32173 (creal_test_data): Likewise.
32174 (fabs_test_data): Likewise.
32175 (fdim_test_data): Likewise.
32176 (finite_test_data): Likewise.
32177 (floor_test_data): Likewise.
32178 (fmax_test_data): Likewise.
32179 (fmin_test_data): Likewise.
32180 (fmod_test_data): Likewise.
32181 (fpclassify_test_data): Likewise.
32182 (frexp_test_data): Likewise.
32183 (ilogb_test_data): Likewise.
32184 (isfinite_test_data): Likewise.
32185 (isgreater_test_data): Likewise.
32186 (isgreaterequal_test_data): Likewise.
32187 (isinf_test_data): Likewise.
32188 (isless_test_data): Likewise.
32189 (islessequal_test_data): Likewise.
32190 (islessgreater_test_data): Likewise.
32191 (isnan_test_data): Likewise.
32192 (isnormal_test_data): Likewise.
32193 (issignaling_test_data): Likewise.
32194 (isunordered_test_data): Likewise.
32195 (ldexp_test_data): Likewise.
32196 (lrint_test_data): Likewise.
32197 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32198 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32199 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32200 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32201 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32202 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32204 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32205 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32206 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32207 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32209 (lrint_downward_test_data): Test for "inexact" exceptions.
32210 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32211 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32212 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32214 (lrint_upward_test_data): Test for "inexact" exceptions.
32215 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32217 (llrint_test_data): Test for "inexact" exceptions.
32218 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32219 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32220 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32221 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32222 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32223 (llrint_downward_test_data): Test for "inexact" exceptions.
32224 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32225 (llrint_upward_test_data): Test for "inexact" exceptions.
32226 (logb_test_data): Likewise.
32227 (logb_downward_test_data): Likewise.
32228 (nextafter_test_data): Likewise.
32229 (nexttoward_test_data): Likewise.
32230 (remainder_test_data): Likewise.
32231 (remquo_test_data): Likewise.
32232 (scalbn_test_data): Likewise.
32233 (scalbln_test_data): Likewise.
32234 (signbit_test_data): Likewise.
32235 (sqrt_test_data): Likewise.
32236 (significand_test_data): Likewise.
32238 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32241 * benchtests/bench-modf.c (struct args): Mark arg0 as
32243 * scripts/bench.pl: Mark members of struct args as volatile.
32245 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32248 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32249 negative infinity on POWER6 or lower.
32250 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32252 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32255 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32256 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32257 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32258 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32259 (_FP_SETQNAN): New macro.
32260 (_FP_SETQNAN_SEMIRAW): Likewise.
32261 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32262 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32263 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32264 (FP_EXTEND): Use _FP_FRAC_SNANP.
32265 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32266 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32268 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32270 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32273 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32275 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32276 with DIVIDE_BY_ZERO_EXCEPTION.
32277 (gamma_test_data): Likewise.
32278 (lgamma_test_data): Likewise.
32279 (log_test_data): Likewise.
32280 (log10_test_data): Likewise.
32281 (log2_test_data): Likewise.
32282 (tgamma_test_data): Likewise.
32284 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32285 (acos_test_tonearest): Likewise.
32286 (acos_test_towardzero): Likewise.
32287 (acos_test_downward): Likewise.
32288 (acos_test_upward): Likewise.
32289 (acosh_test): Likewise.
32290 (asin_test): Likewise.
32291 (asin_test_tonearest): Likewise.
32292 (asin_test_towardzero): Likewise.
32293 (asin_test_downward): Likewise.
32294 (asin_test_upward): Likewise.
32295 (asinh_test): Likewise.
32296 (atan_test): Likewise.
32297 (atanh_test): Likewise.
32298 (atan2_test): Likewise.
32299 (cabs_test): Likewise.
32300 (cacos_test): Likewise.
32301 (cacosh_test): Likewise.
32302 (casin_test): Likewise.
32303 (casinh_test): Likewise.
32304 (catan_test): Likewise.
32305 (catanh_test): Likewise.
32306 (cbrt_test): Likewise.
32307 (ccos_test): Likewise.
32308 (ccosh_test): Likewise.
32309 (cexp_test): Likewise.
32310 (clog_test): Likewise.
32311 (clog10_test): Likewise.
32312 (cos_test): Likewise.
32313 (cos_test_tonearest): Likewise.
32314 (cos_test_towardzero): Likewise.
32315 (cos_test_downward): Likewise.
32316 (cos_test_upward): Likewise.
32317 (cosh_test): Likewise.
32318 (cosh_test_tonearest): Likewise.
32319 (cosh_test_towardzero): Likewise.
32320 (cosh_test_downward): Likewise.
32321 (cosh_test_upward): Likewise.
32322 (cpow_test): Likewise.
32323 (csin_test): Likewise.
32324 (csinh_test): Likewise.
32325 (csqrt_test): Likewise.
32326 (ctan_test): Likewise.
32327 (ctan_test_tonearest): Likewise.
32328 (ctan_test_towardzero): Likewise.
32329 (ctan_test_downward): Likewise.
32330 (ctan_test_upward): Likewise.
32331 (ctanh_test): Likewise.
32332 (ctanh_test_tonearest): Likewise.
32333 (ctanh_test_towardzero): Likewise.
32334 (ctanh_test_downward): Likewise.
32335 (ctanh_test_upward): Likewise.
32336 (erf_test): Likewise.
32337 (erfc_test): Likewise.
32338 (exp_test): Likewise.
32339 (exp_test_tonearest): Likewise.
32340 (exp_test_towardzero): Likewise.
32341 (exp_test_downward): Likewise.
32342 (exp_test_upward): Likewise.
32343 (exp10_test): Likewise.
32344 (exp2_test): Likewise.
32345 (expm1_test): Likewise.
32346 (fmod_test): Likewise.
32347 (gamma_test): Likewise.
32348 (hypot_test): Likewise.
32349 (j0_test): Likewise.
32350 (j1_test): Likewise.
32351 (jn_test): Likewise.
32352 (lgamma_test): Likewise.
32353 (log_test): Likewise.
32354 (log10_test): Likewise.
32355 (log1p_test): Likewise.
32356 (log2_test): Likewise.
32357 (logb_test_downward): Likewise.
32358 (pow_test): Likewise.
32359 (pow_test_tonearest): Likewise.
32360 (pow_test_towardzero): Likewise.
32361 (pow_test_downward): Likewise.
32362 (pow_test_upward): Likewise.
32363 (remainder_test): Likewise.
32364 (remquo_test): Likewise.
32365 (sin_test): Likewise.
32366 (sin_test_tonearest): Likewise.
32367 (sin_test_towardzero): Likewise.
32368 (sin_test_downward): Likewise.
32369 (sin_test_upward): Likewise.
32370 (sincos_test): Likewise.
32371 (sinh_test): Likewise.
32372 (sinh_test_tonearest): Likewise.
32373 (sinh_test_towardzero): Likewise.
32374 (sinh_test_downward): Likewise.
32375 (sinh_test_upward): Likewise.
32376 (sqrt_test): Likewise.
32377 (tan_test): Likewise.
32378 (tan_test_tonearest): Likewise.
32379 (tan_test_towardzero): Likewise.
32380 (tan_test_downward): Likewise.
32381 (tan_test_upward): Likewise.
32382 (tanh_test): Likewise.
32383 (tgamma_test): Likewise.
32384 (y0_test): Likewise.
32385 (y1_test): Likewise.
32386 (yn_test): Likewise.
32388 * math/gen-libm-test.pl (adjust_arg): Remove function.
32389 (special_function): Remove argument $in_func. Only handle
32390 generating output for tables of tests, not inside functions.
32391 (parse_args): Likewise.
32392 (generate_testfile): Remove variable $in_func. Update call to
32394 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32395 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32396 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32397 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32398 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32399 (MAX_VALUE_INIT): Rename macro to max_value.
32400 (MIN_VALUE_INIT): Rename macro to min_value.
32401 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32402 (plus_zero): Remove variable.
32403 (minus_zero): Likewise.
32404 (plus_infty): Likewise.
32405 (minus_infty): Likewise.
32406 (qnan_value): Likewise.
32407 (max_value): Likewise.
32408 (min_value): Likewise.
32409 (min_subnorm_value): Likewise.
32411 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32413 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32414 uint64_t or uint32_t usage.
32415 * crypt/sha256-block.c: Likewise.
32416 * crypt/sha256-crypt.c: Likewise.
32417 * crypt/sha256.c: Likewise.
32418 * crypt/sha512-block.c: Likewise.
32419 * crypt/sha512-crypt.c: Likewise.
32420 * crypt/sha512.c: Likewise.
32421 * debug/backtrace-tst.c: Likewise.
32422 * debug/pcprofiledump.c: Likewise.
32423 * elf/cache.c: Likewise.
32424 * elf/dl-cache.c: Likewise.
32425 * elf/dl-misc.c: Likewise.
32426 * elf/dl-profile.c: Likewise.
32427 * elf/dl-support.c: Likewise.
32428 * elf/ldconfig.c: Likewise.
32429 * elf/sprof.c: Likewise.
32430 * iconv/dummy-repertoire.c: Likewise.
32431 * iconv/iconv_charmap.c: Likewise.
32432 * iconv/skeleton.c: Likewise.
32433 * iconvdata/8bit-generic.c: Likewise.
32434 * iconvdata/cp737.h: Likewise.
32435 * iconvdata/cp775.h: Likewise.
32436 * iconvdata/ibm1008.h: Likewise.
32437 * iconvdata/ibm1025.h: Likewise.
32438 * iconvdata/ibm1046.h: Likewise.
32439 * iconvdata/ibm1097.h: Likewise.
32440 * iconvdata/ibm1112.h: Likewise.
32441 * iconvdata/ibm1122.h: Likewise.
32442 * iconvdata/ibm1123.h: Likewise.
32443 * iconvdata/ibm1124.h: Likewise.
32444 * iconvdata/ibm1129.h: Likewise.
32445 * iconvdata/ibm1130.h: Likewise.
32446 * iconvdata/ibm1132.h: Likewise.
32447 * iconvdata/ibm1133.h: Likewise.
32448 * iconvdata/ibm1137.h: Likewise.
32449 * iconvdata/ibm1140.h: Likewise.
32450 * iconvdata/ibm1141.h: Likewise.
32451 * iconvdata/ibm1142.h: Likewise.
32452 * iconvdata/ibm1143.h: Likewise.
32453 * iconvdata/ibm1144.h: Likewise.
32454 * iconvdata/ibm1145.h: Likewise.
32455 * iconvdata/ibm1146.h: Likewise.
32456 * iconvdata/ibm1147.h: Likewise.
32457 * iconvdata/ibm1148.h: Likewise.
32458 * iconvdata/ibm1149.h: Likewise.
32459 * iconvdata/ibm1153.h: Likewise.
32460 * iconvdata/ibm1154.h: Likewise.
32461 * iconvdata/ibm1155.h: Likewise.
32462 * iconvdata/ibm1156.h: Likewise.
32463 * iconvdata/ibm1157.h: Likewise.
32464 * iconvdata/ibm1158.h: Likewise.
32465 * iconvdata/ibm1160.h: Likewise.
32466 * iconvdata/ibm1161.h: Likewise.
32467 * iconvdata/ibm1162.h: Likewise.
32468 * iconvdata/ibm1163.h: Likewise.
32469 * iconvdata/ibm1164.h: Likewise.
32470 * iconvdata/ibm1166.h: Likewise.
32471 * iconvdata/ibm1167.h: Likewise.
32472 * iconvdata/ibm12712.h: Likewise.
32473 * iconvdata/ibm1390.h: Likewise.
32474 * iconvdata/ibm1399.h: Likewise.
32475 * iconvdata/ibm16804.h: Likewise.
32476 * iconvdata/ibm4517.h: Likewise.
32477 * iconvdata/ibm4899.h: Likewise.
32478 * iconvdata/ibm4909.h: Likewise.
32479 * iconvdata/ibm4971.h: Likewise.
32480 * iconvdata/ibm5347.h: Likewise.
32481 * iconvdata/ibm803.h: Likewise.
32482 * iconvdata/ibm856.h: Likewise.
32483 * iconvdata/ibm901.h: Likewise.
32484 * iconvdata/ibm902.h: Likewise.
32485 * iconvdata/ibm9030.h: Likewise.
32486 * iconvdata/ibm9066.h: Likewise.
32487 * iconvdata/ibm921.h: Likewise.
32488 * iconvdata/ibm922.h: Likewise.
32489 * iconvdata/ibm9448.h: Likewise.
32490 * iconvdata/isiri-3342.h: Likewise.
32491 * iconvdata/jis0201.h: Likewise.
32492 * include/link.h: Likewise.
32493 * include/netdb.h: Likewise.
32494 * inet/check_native.c: Likewise.
32495 * inet/check_pf.c: Likewise.
32496 * inet/getipv4sourcefilter.c: Likewise.
32497 * inet/getnameinfo.c: Likewise.
32498 * inet/getsourcefilter.c: Likewise.
32499 * inet/htonl.c: Likewise.
32500 * inet/setipv4sourcefilter.c: Likewise.
32501 * inet/setsourcefilter.c: Likewise.
32502 * inet/test-inet6_opt.c: Likewise.
32503 * inet/tst-network.c: Likewise.
32504 * locale/C-collate.c: Likewise.
32505 * locale/C-ctype.c: Likewise.
32506 * locale/C-time.c: Likewise.
32507 * locale/C-translit.h: Likewise.
32508 * locale/loadarchive.c: Likewise.
32509 * locale/programs/3level.h: Likewise.
32510 * locale/programs/charmap.c: Likewise.
32511 * locale/programs/charmap.h: Likewise.
32512 * locale/programs/ld-address.c: Likewise.
32513 * locale/programs/ld-collate.c: Likewise.
32514 * locale/programs/ld-ctype.c: Likewise.
32515 * locale/programs/ld-identification.c: Likewise.
32516 * locale/programs/ld-measurement.c: Likewise.
32517 * locale/programs/ld-messages.c: Likewise.
32518 * locale/programs/ld-monetary.c: Likewise.
32519 * locale/programs/ld-name.c: Likewise.
32520 * locale/programs/ld-numeric.c: Likewise.
32521 * locale/programs/ld-paper.c: Likewise.
32522 * locale/programs/ld-telephone.c: Likewise.
32523 * locale/programs/ld-time.c: Likewise.
32524 * locale/programs/linereader.c: Likewise.
32525 * locale/programs/locale.c: Likewise.
32526 * locale/programs/locarchive.c: Likewise.
32527 * locale/programs/locfile.h: Likewise.
32528 * locale/programs/repertoire.c: Likewise.
32529 * locale/programs/simple-hash.c: Likewise.
32530 * locale/programs/simple-hash.h: Likewise.
32531 * malloc/memusage.c: Likewise.
32532 * malloc/memusagestat.c: Likewise.
32533 * nis/nis_defaults.c: Likewise.
32534 * nis/nis_hash.c: Likewise.
32535 * nis/nis_print.c: Likewise.
32536 * nis/nis_xdr.c: Likewise.
32537 * nscd/connections.c: Likewise.
32538 * nscd/hstcache.c: Likewise.
32539 * nscd/nscd_gethst_r.c: Likewise.
32540 * nscd/nscd_getserv_r.c: Likewise.
32541 * nscd/nscd_helper.c: Likewise.
32542 * nscd/servicescache.c: Likewise.
32543 * nss/makedb.c: Likewise.
32544 * nss/nss_db/db-XXX.c: Likewise.
32545 * nss/nss_db/db-initgroups.c: Likewise.
32546 * nss/nss_db/db-netgrp.c: Likewise.
32547 * nss/nss_files/files-network.c: Likewise.
32548 * nss/nss_files/files-parse.c: Likewise.
32549 * posix/bug-regex5.c: Likewise.
32550 * posix/fnmatch_loop.c: Likewise.
32551 * posix/regcomp.c: Likewise.
32552 * posix/regexec.c: Likewise.
32553 * posix/tst-rfc3484-2.c: Likewise.
32554 * posix/tst-rfc3484-3.c: Likewise.
32555 * posix/tst-rfc3484.c: Likewise.
32556 * resolv/nss_dns/dns-canon.c: Likewise.
32557 * resolv/nss_dns/dns-network.c: Likewise.
32558 * resolv/res_init.c: Likewise.
32559 * resolv/res_mkquery.c: Likewise.
32560 * resolv/tst-aton.c: Likewise.
32561 * stdlib/cxa_atexit.c: Likewise.
32562 * stdlib/cxa_finalize.c: Likewise.
32563 * stdlib/gen-fpioconst.c: Likewise.
32564 * stdlib/strtol_l.c: Likewise.
32565 * string/tst-endian.c: Likewise.
32566 * sunrpc/auth_des.c: Likewise.
32567 * sunrpc/clnt_udp.c: Likewise.
32568 * sunrpc/rtime.c: Likewise.
32569 * sunrpc/svcauth_des.c: Likewise.
32570 * sunrpc/xdr.c: Likewise.
32571 * sunrpc/xdr_intXX_t.c: Likewise.
32572 * sunrpc/xdr_rec.c: Likewise.
32573 * sysdeps/generic/ldconfig.h: Likewise.
32574 * sysdeps/generic/ldsodefs.h: Likewise.
32575 * sysdeps/generic/memusage.h: Likewise.
32576 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32577 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32578 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32579 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32580 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32582 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32585 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32586 * sysdeps/posix/getaddrinfo.c: Likewise.
32587 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32588 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32589 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32590 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32591 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32592 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32593 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32594 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32595 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32596 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32597 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32598 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32599 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32600 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32601 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32602 * sysdeps/x86_64/dl-tls.h: Likewise.
32603 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32604 * time/alt_digit.c: Likewise.
32605 * time/era.c: Likewise.
32606 * wcsmbs/tst-c16c32-1.c: Likewise.
32608 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32610 * math/libm-test.inc (struct test_sincos_data): New type.
32611 (RUN_TEST_LOOP_sincos): New macro.
32612 (sincos_test_data): New variable.
32613 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32615 2013-05-16 Richard Henderson <rth@redhat.com>
32617 * math/atest-exp2.c (LIMB64): New macro.
32618 (CONSTSZ): New macro.
32619 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32621 (print_mpn_fp): ... to function scope.
32622 (read_mpn_hex): Remove.
32623 (get_log2): Remove.
32624 (exp2_mpn): Use mp_log2.
32625 (main): Use mp_exp1.
32627 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32629 * math/libm-test.inc: Remove comment about not testing "inexact"
32631 (INEXACT_EXCEPTION): New macro.
32632 (NO_INEXACT_EXCEPTION): Likewise.
32633 (INVALID_EXCEPTION_OK): Update value.
32634 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32635 (OVERFLOW_EXCEPTION_OK): Likewise.
32636 (UNDERFLOW_EXCEPTION_OK): Likewise.
32637 (IGNORE_ZERO_INF_SIGN): Likewise.
32638 (ERRNO_UNCHANGED): Likewise.
32639 (ERRNO_EDOM): Likewise.
32640 (ERRNO_ERANGE): Likewise.
32641 (test_exceptions): Handle testing "inexact" exceptions.
32642 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32643 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32644 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32645 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32647 (rint_towardzero_test_data): Likewise.
32648 (rint_downward_test_data): Likewise.
32649 (rint_upward_test_data): Likewise.
32651 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32652 with OVERFLOW_EXCEPTION.
32653 (exp10_test_data): Likewise.
32654 (exp2_test_data): Likewise.
32655 (expm1_test_data): Likewise.
32656 (lgamma_test_data): Likewise.
32657 (pow_test_data): Likewise.
32658 (tgamma_test_data): Likewise.
32659 (yn_test_data): Remove duplicate test of overflow.
32661 * math/libm-test.inc (struct test_cc_c_data): New type.
32662 (RUN_TEST_LOOP_cc_c): New macro.
32663 (cpow_test_data): New variable.
32664 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32666 * math/libm-test.inc (struct test_f_L_data): New type.
32667 (RUN_TEST_LOOP_f_L): New macro.
32668 (llrint_test_data): New variable.
32669 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32670 (llrint_tonearest_test_data): New variable.
32671 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32672 (llrint_towardzero_test_data): New variable.
32673 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32674 (llrint_downward_test_data): New variable.
32675 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32676 (llrint_upward_test_data): New variable.
32677 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32678 (llround_test_data): New variable.
32679 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32681 2013-05-13 Peter Collingbourne <pcc@google.com>
32683 * math/atest-exp2.c (get_log2): Remove const attribute.
32685 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32687 * math/libm-test.inc (struct test_f_l_data): New type.
32688 (RUN_TEST_LOOP_f_l): New macro.
32689 (lrint_test_data): New variable.
32690 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32691 (lrint_tonearest_test_data): New variable.
32692 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32693 (lrint_towardzero_test_data): New variable.
32694 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32695 (lrint_downward_test_data): New variable.
32696 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32697 (lrint_upward_test_data): New variable.
32698 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32699 (lround_test_data): New variable.
32700 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32702 2013-05-15 Peter Collingbourne <pcc@google.com>
32704 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32705 (EXTRACT_WORDS64) Use where appropriate.
32706 (INSERT_WORDS64) Likewise.
32708 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32709 constraints with x constraints.
32710 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32712 * malloc/obstack.c (_obstack_compat): Add initializer.
32714 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32717 si_trapno and add si_addr_lsb to _sifields.sigfault.
32718 (si_trapno): Remove macro.
32719 (si_addr_lsb): Define new macro.
32720 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32722 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32724 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32725 instead of TEST_f_l.
32726 (llrint_test_tonearest): Likewise.
32727 (llrint_test_towardzero): Likewise.
32728 (llrint_test_downward): Likewise.
32729 (llrint_test_upward): Likewise.
32730 (llround_test): Likewise.
32732 * math/libm-test.inc (struct test_f_i_data): Add comment.
32733 (RUN_TEST_LOOP_f_b): New macro.
32734 (RUN_TEST_LOOP_f_b_tg): Likewise.
32735 (finite_test_data): New variable.
32736 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32737 (isfinite_test_data): New variable.
32738 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32739 (isinf_test_data): New variable.
32740 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32741 (isnan_test_data): New variable.
32742 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32743 (isnormal_test_data): New variable.
32744 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32745 (issignaling_test_data): New variable.
32746 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32747 (signbit_test_data): New variable.
32748 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32750 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32751 with INVALID_EXCEPTION.
32752 (acosh_test_data): Likewise.
32753 (asin_test_data): Likewise.
32754 (atanh_test_data): Likewise.
32755 (fmod_test_data): Likewise.
32756 (log_test_data): Likewise.
32757 (log10_test_data): Likewise.
32758 (log2_test_data): Likewise.
32759 (pow_test_data): Likewise.
32760 (sqrt_test_data): Likewise.
32761 (y0_test_data): Likewise.
32762 (y1_test_data): Likewise.
32763 (yn_test_data): Likewise.
32765 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32768 * math/libm-test.inc (struct test_ff_i_data): New type.
32769 (RUN_TEST_LOOP_ff_i_tg): New macro.
32770 (isgreater_test_data): New variable.
32771 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32772 (isgreaterequal_test_data): New variable.
32773 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32774 (isless_test_data): New variable.
32775 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32776 (islessequal_test_data): New variable.
32777 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32778 (islessgreater_test_data): New variable.
32779 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32780 (isunordered_test_data): New variable.
32781 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32783 2013-05-14 David S. Miller <davem@davemloft.net>
32785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32787 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32789 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32791 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32793 (struct test_f_i_data): Change type of max_ulp to int.
32795 * math/libm-test.inc (test_ffI_f1_data): New type.
32796 (RUN_TEST_LOOP_ffI_f1): New macro.
32797 (remquo_test_data): New variable.
32798 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32800 * setjmp/tst-setjmp-fp.c: New file.
32801 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32802 (link-libm): New variable.
32803 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32805 * math/libm-test.inc (struct test_f_i_data): New type.
32806 (RUN_TEST_LOOP_f_i): New macro.
32807 (RUN_TEST_LOOP_f_i_tg): Likewise.
32808 (fpclassify_test_data): New variable.
32809 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32810 (ilogb_test_data): New variable.
32811 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32813 * math/libm-test.inc (scalbln_test): Correct function name in END
32816 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32817 (RUN_TEST_LOOP_fI_f1): New macro.
32818 (frexp_test_data): New variable.
32819 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32821 * math/libm-test.inc (struct test_fF_f1_data): New type.
32822 (RUN_TEST_LOOP_fF_f1): New macro.
32823 (modf_test_data): New variable.
32824 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32826 * math/libm-test.inc (struct test_f_f1_data): New type.
32827 (RUN_TEST_LOOP_f_f1): New macro.
32828 (gamma_test_data): New variable.
32829 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32830 (lgamma_test_data): New variable.
32831 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32833 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32835 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32836 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32837 (main): Comment "tls" pseudo-hwcap.
32839 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32841 * math/libm-test.inc (struct test_fl_f_data): New type.
32842 (RUN_TEST_LOOP_fl_f): New variable.
32843 (scalbln_test_data): New variable.
32844 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32846 * math/libm-test.inc (struct test_fi_f_data): New type.
32847 (RUN_TEST_LOOP_fi_f): New macro.
32848 (ldexp_test_data): New variable.
32849 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32850 (scalbn_test_data): New variable.
32851 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32853 * math/libm-test.inc (struct test_c_f_data): New type.
32854 (RUN_TEST_LOOP_c_f): New macro.
32855 (cabs_test_data): New variable.
32856 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32857 (carg_test_data): New variable.
32858 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32859 (cimag_test_data): New variable.
32860 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32861 (creal_test_data): New variable.
32862 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32864 * math/libm-test.inc (struct test_if_f_data): New type.
32865 (RUN_TEST_LOOP_if_f): New macro.
32866 (jn_test_data): New variable.
32867 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32868 (yn_test_data): New variable.
32869 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32871 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32873 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32875 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32876 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32878 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32880 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32881 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32882 (bench-deps): Add bench-timing.h.
32883 * benchtests-bench-skeleton.c: Include bench-timing.h.
32884 (main): Use TIMING_* macros instead of clock_gettime.
32885 * benchtests/bench-timing.h: New file.
32888 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32889 Renamed from _LIB_VERSION.
32890 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32892 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32894 * math/libm-test.inc (struct test_fff_f_data): New type.
32895 (RUN_TEST_LOOP_fff_f): New macro.
32896 (fma_test_data): New variable.
32897 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32898 (fma_towardzero_test_data): New variable.
32899 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32900 (fma_downward_test_data): New variable.
32901 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32902 (fma_upward_test_data): New variable.
32903 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32905 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32906 (struct test_c_c_data): New type.
32907 (RUN_TEST_LOOP_c_c): New macro.
32908 (cacos_test_data): New variable.
32909 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32910 (cacosh_test_data): New variable.
32911 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32912 (casin_test_data): New variable.
32913 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32914 (casinh_test_data): New variable.
32915 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32916 (catan_test_data): New variable.
32917 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32918 (catanh_test_data): New variable.
32919 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32920 (ccos_test_data): New variable.
32921 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32922 (ccosh_test_data): New variable.
32923 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32924 (cexp_test_data): New variable.
32925 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32926 (clog_test_data): New variable.
32927 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32928 (clog10_test_data): New variable.
32929 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32930 (conj_test_data): New variable.
32931 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32932 (cproj_test_data): New variable.
32933 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32934 (csin_test_data): New variable.
32935 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32936 (csinh_test_data): New variable.
32937 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32938 (csqrt_test_data): New variable.
32939 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32940 (ctan_test_data): New variable.
32941 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32942 (ctan_tonearest_test_data): New variable.
32943 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32944 (ctan_towardzero_test_data): New variable.
32945 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32946 (ctan_downward_test_data): New variable.
32947 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32948 (ctan_upward_test_data): New variable.
32949 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32950 (ctanh_test_data): New variable.
32951 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32952 (ctanh_tonearest_test_data): New variable.
32953 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32954 (ctanh_towardzero_test_data): New variable.
32955 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32956 (ctanh_downward_test_data): New variable.
32957 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32958 (ctanh_upward_test_data): New variable.
32959 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32960 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32963 * math/libm-test.inc (struct test_ff_f_data): New type.
32964 (struct test_ff_f_data_nexttoward): Likewise.
32965 (RUN_TEST_LOOP_2_f): New macro.
32966 (RUN_TEST_LOOP_ff_f): Likewise.
32967 (atan2_test_data): New variable.
32968 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32969 (copysign_test_data): New variable.
32970 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32971 (fdim_test_data): New variable.
32972 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32973 (fmax_test_data): New variable.
32974 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32975 (fmin_test_data): New variable.
32976 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32977 (fmod_test_data): New variable.
32978 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32979 (hypot_test_data): New variable.
32980 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32981 (nextafter_test_data): New variable.
32982 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32983 (nexttoward_test_data): New variable.
32984 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32985 (pow_test_data): New variable.
32986 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32987 (pow_tonearest_test_data): New variable.
32988 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32989 (pow_towardzero_test_data): New variable.
32990 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32991 (pow_downward_test_data): New variable.
32992 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32993 (pow_upward_test_data): New variable.
32994 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32995 (remainder_test_data): New variable.
32996 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32997 (scalb_test_data): New variable.
32998 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32999 * sysdeps/i386/fpu/libm-test-ulps: Update.
33001 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33003 * math/libm-test.inc (fma_test): Use max_value instead of local
33005 (nextafter_test): Likewise.
33007 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33008 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33009 (acos_downward_test_data): New variable.
33010 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33011 (acos_upward_test_data): New variable.
33012 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33013 (acosh_test_data): New variable.
33014 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33015 (asin_test_data): New variable.
33016 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33017 (asin_tonearest_test_data): New variable.
33018 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33019 (asin_towardzero_test_data): New variable.
33020 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33021 (asin_downward_test_data): New variable.
33022 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33023 (asin_upward_test_data): New variable.
33024 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33025 (asinh_test_data): New variable.
33026 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33027 (atan_test_data): New variable.
33028 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33029 (atanh_test_data): New variable.
33030 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33031 (cbrt_test_data): New variable.
33032 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33033 (ceil_test_data): New variable.
33034 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33035 (cos_test_data): New variable.
33036 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33037 (cos_tonearest_test_data): New variable.
33038 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33039 (cos_towardzero_test_data): New variable.
33040 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33041 (cos_downward_test_data): New variable.
33042 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33043 (cos_upward_test_data): New variable.
33044 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33045 (cosh_test_data): New variable.
33046 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33047 (cosh_tonearest_test_data): New variable.
33048 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33049 (cosh_towardzero_test_data): New variable.
33050 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33051 (cosh_downward_test_data): New variable.
33052 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33053 (cosh_upward_test_data): New variable.
33054 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33055 (erf_test_data): New variable.
33056 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33057 (erfc_test_data): New variable.
33058 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33059 (exp_test_data): New variable.
33060 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33061 (exp_tonearest_test_data): New variable.
33062 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33063 (exp_towardzero_test_data): New variable.
33064 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33065 (exp_downward_test_data): New variable.
33066 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33067 (exp_upward_test_data): New variable.
33068 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33069 (exp10_test_data): New variable.
33070 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33071 (exp2_test_data): New variable.
33072 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33073 (expm1_test_data): New variable.
33074 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33075 (fabs_test_data): New variable.
33076 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33077 (floor_test_data): New variable.
33078 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33079 (j0_test_data): New variable.
33080 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33081 (j1_test_data): New variable.
33082 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33083 (log_test_data): New variable.
33084 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33085 (log10_test_data): New variable.
33086 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33087 (log1p_test_data): New variable.
33088 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33089 (log2_test_data): New variable.
33090 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33091 (logb_test_data): New variable.
33092 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33093 (logb_downward_test_data): New variable.
33094 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33095 (nearbyint_test_data): New variable.
33096 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33097 (rint_test_data): New variable.
33098 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33099 (rint_tonearest_test_data): New variable.
33100 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33101 (rint_towardzero_test_data): New variable.
33102 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33103 (rint_downward_test_data): New variable.
33104 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33105 (rint_upward_test_data): New variable.
33106 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33107 (round_test_data): New variable.
33108 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33109 (sin_test_data): New variable.
33110 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33111 (sin_tonearest_test_data): New variable.
33112 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33113 (sin_towardzero_test_data): New variable.
33114 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33115 (sin_downward_test_data): New variable.
33116 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33117 (sin_upward_test_data): New variable.
33118 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33119 (sinh_test_data): New variable.
33120 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33121 (sinh_tonearest_test_data): New variable.
33122 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33123 (sinh_towardzero_test_data): New variable.
33124 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33125 (sinh_downward_test_data): New variable.
33126 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33127 (sinh_upward_test_data): New variable.
33128 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33129 (sqrt_test_data): New variable.
33130 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33131 (tan_test_data): New variable.
33132 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33133 (tan_tonearest_test_data): New variable.
33134 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33135 (tan_towardzero_test_data): New variable.
33136 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33137 (tan_downward_test_data): New variable.
33138 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33139 (tan_upward_test_data): New variable.
33140 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33141 (tanh_test_data): New variable.
33142 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33143 (tgamma_test_data): New variable.
33144 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33145 (trunc_test_data): New variable.
33146 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33147 (y0_test_data): New variable.
33148 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33149 (y1_test_data): New variable.
33150 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33151 (significand_test_data): New variable.
33152 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33154 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33157 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33159 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33161 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33163 2013-05-10 Andreas Jaeger <aj@suse.de>
33166 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33167 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33169 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33171 * math/gen-libm-test.pl (adjust_arg): New function.
33172 (special_functions): Handle generating output in both functions
33174 (parse_args): Likewise.
33175 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33176 $in_func argument to parse_args.
33177 * math/libm-test.inc (struct test_f_f_data): New type.
33178 (IF_ROUND_INIT_): New macro.
33179 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33180 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33181 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33182 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33183 (ROUND_RESTORE_): Likewise.
33184 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33185 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33186 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33187 (ROUND_RESTORE_FE_UPWARD): Likewise.
33188 (RUN_TEST_LOOP_f_f): New macro.
33189 (acos_test_data): New variable.
33190 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33191 (acos_tonearest_test_data): New variable.
33192 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33194 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33196 * benchtests/bench-skeleton.c (startup): Fix coding style.
33198 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33201 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33202 negative infinity argument.
33203 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33204 negative infinity argument.
33205 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33206 negative infinity argument.
33207 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33210 2013-05-10 Florian Weimer <fweimer@redhat.com>
33212 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33213 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33214 * iconv/iconv_prog.c (main): Likewise.
33215 * locale/programs/charmap-dir.c (charmap_readdir)
33216 (fopen_uncompressed): Likewise.
33217 * locale/programs/locfile.c (siblings_uncached)
33218 (write_locale_data): Use lstat64 instead of lstat.
33219 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33222 2013-05-10 Andreas Jaeger <aj@suse.de>
33225 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33227 Include <locale.h>.
33229 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33231 * elf/dl-close.c (_dl_close_worker): Add comments.
33233 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33238 (__ieee754_rem_pio2l): Update comments.
33241 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33243 (__ieee754_rem_pio2l): Update comments.
33245 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33246 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33248 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33251 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33252 (M_PI_34_LOG10El): Likewise.
33253 (M_PI2_LOG10El): Likewise.
33254 (M_PI4_LOG10El): Likewise.
33255 (M_PI_LOG10El): Likewise.
33257 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33261 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33263 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33264 (MINUS_ZERO_INIT): Likewise.
33265 (PLUS_INFTY_INIT): Likewise.
33266 (MINUS_INFTY_INIT): Likewise.
33267 (QNAN_VALUE_INIT): Likewise.
33268 (MAX_VALUE_INIT): Likewise.
33269 (MIN_VALUE_INIT): Likewise.
33270 (MIN_SUBNORM_VALUE_INIT): Likewise.
33271 (plus_zero): Initialize with PLUS_ZERO_INIT.
33272 (minus_zero): Initialize with MINUS_ZERO_INIT.
33273 (plus_infty): Initialize with PLUS_INFTY_INIT.
33274 (minus_infty): Initialize with MINUS_INFTY_INIT.
33275 (qnan_value): Initialize with QNAN_VALUE_INIT.
33276 (max_value): Initialize with MAX_VALUE_INIT.
33277 (min_value): Initialize with MIN_VALUE_INIT.
33278 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33280 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33281 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33282 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33283 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33285 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33286 (RUN_TEST_2_f): Likewise.
33287 (RUN_TEST_ff_f): Likewise.
33288 (RUN_TEST_fi_f): Likewise.
33289 (RUN_TEST_fl_f): Likewise.
33290 (RUN_TEST_fff_f): Likewise.
33291 (RUN_TEST_c_f): Likewise.
33292 (RUN_TEST_f_f1): Likewise.
33293 (RUN_TEST_fF_f1): Likewise.
33294 (RUN_TEST_fI_f1): Likewise.
33295 (RUN_TEST_ffI_f1): Likewise.
33296 (RUN_TEST_c_c): Likewise.
33297 (RUN_TEST_cc_c): Likewise.
33298 (RUN_TEST_f_i): Likewise.
33299 (RUN_TEST_f_i_tg): Likewise.
33300 (RUN_TEST_ff_i_tg): Likewise.
33301 (RUN_TEST_f_b): Likewise.
33302 (RUN_TEST_f_b_tg): Likewise.
33303 (RUN_TEST_f_l): Likewise.
33304 (RUN_TEST_f_L): Likewise.
33305 (RUN_TEST_sincos): Likewise.
33306 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33307 whether to show exceptions. Do not include ");\n" in return
33309 (special_functions): Output call to RUN_TEST_sincos instead of
33310 check_float calls. Update calls to new_test.
33311 (parse_args): Output call to single RUN_TEST_* macro instead of
33312 check_* calls and other assignments. Update calls to new_test.
33318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33319 input to result for tgamma overflow.
33320 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33321 (gamma_coeff): New variable.
33322 (NCOEFF): New macro.
33323 (gamma_positive): New function.
33324 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33325 underflow here. Use gamma_positive instead of exp (lgamma) for
33327 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33328 (gamma_coeff): New variable.
33329 (NCOEFF): New macro.
33330 (gammaf_positive): New function.
33331 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33332 underflow here. Use gamma_positive instead of exp (lgamma) for
33334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33335 (gamma_coeff): New variable.
33336 (NCOEFF): New macro.
33337 (gammal_positive): New function.
33338 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33339 underflow here. Use gamma_positive instead of exp (lgamma) for
33341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33342 (gamma_coeff): New variable.
33343 (NCOEFF): New macro.
33344 (gammal_positive): New function.
33345 (__ieee754_gammal_r): Handle positive infinity, overflow and
33346 underflow here. Handle NaN the same as positive infinity. Remove
33347 check x < 0xffffffff for negative integers. Use gamma_positive
33348 instead of exp (lgamma) for other arguments.
33349 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33350 (gamma_coeff): New variable.
33351 (NCOEFF): New macro.
33352 (gammal_positive): New function.
33353 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33354 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33355 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33358 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33359 * sysdeps/generic/math_private.h (__gamma_productf): New
33361 (__gamma_product): Likewise.
33362 (__gamma_productl): Likewise.
33363 * math/Makefile (libm-calls): Add gamma_product.
33364 * math/libm-test.inc (tgamma_test): Add more tests.
33365 * sysdeps/i386/fpu/libm-test-ulps: Update.
33366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33368 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33370 * benchtests/bench-skeleton.c (main): Preheat CPU.
33372 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33374 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33376 2013-05-07 Roland McGrath <roland@hack.frob.com>
33378 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33379 and _dl_skip_args_internal.
33381 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33383 * manual/message.texi (Message Translation): Talk about users.
33384 Message to key mapping impacts design.
33386 2013-05-06 Roland McGrath <roland@hack.frob.com>
33388 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33390 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33392 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33393 * sysdeps/wordsize-64/glob64.c: ... here.
33395 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33396 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33399 * debug/getlogin_r_chk.c: Moved to ...
33400 * login/getlogin_r_chk.c: ... here.
33401 * debug/Makefile (routines): Move getlogin_r_chk to ...
33402 * login/Makefile (routines): ... here.
33403 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33404 * login/Versions (libc: GLIBC_2.4): ... here.
33406 * io/poll.c (__poll): Renamed from poll.
33407 Add libc_hidden_def.
33408 (poll): Define as weak alias.
33410 * debug/ptsname_r_chk.c: Moved to ...
33411 * login/ptsname_r_chk.c: ... here.
33412 * debug/Makefile (routines): Move ptsname_r_chk to ...
33413 * login/Makefile (routines): ... here.
33414 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33415 * login/Versions (libc: GLIBC_2.4): ... here.
33417 * posix/getlogin.c: Moved to ...
33418 * login/getlogin.c: ... here.
33419 * posix/getlogin_r.c: Moved to ...
33420 * login/getlogin_r.c: ... here.
33421 * posix/getlogin_r.c: Moved to ...
33422 * login/getlogin_r.c: ... here.
33423 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33424 * login/Makefile (routines): ... here.
33425 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33426 * login/Versions (libc: GLIBC_2.0): ... here.
33428 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33429 (setrlimit): Define as weak alias.
33431 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33432 Call __ names for open, ftruncate, and close.
33433 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33434 (truncate): Define as weak alias.
33436 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33438 * math/gen-libm-test.pl (parse_args): Initialize x before each
33439 test of frexp, modf and remquo.
33441 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33442 test signgam value.
33444 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33448 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33452 2013-05-06 Roland McGrath <roland@hack.frob.com>
33454 * elf/dl-writev.h: New file.
33455 * elf/dl-misc.c: Include it.
33456 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33457 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33459 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33461 * math/libm-test.inc (noXFails): Remove variable.
33462 (noXPasses): Likewise.
33463 (BUILD_COMPLEX_INT): Remove macro.
33464 (print_screen): Remove xfail argument.
33465 (print_screen_max_error): Likewise.
33466 (update_stats): Likewise.
33467 (print_max_error): Likewise. Update calls to other affected
33469 (print_complex_max_error): Likewise.
33470 (test_single_exception): Update calls to print_screen.
33471 (test_single_errno): Likewise.
33472 (check_float_internal): Remove xfail argument. Update calls to
33473 other affected functions.
33474 (check_float): Likewise.
33475 (check_complex): Likewise.
33476 (check_int): Likewise.
33477 (check_long): Likewise.
33478 (check_bool): Likewise.
33479 (check_longlong): Likewise.
33480 (main): Don't print noXFails and noXPasses.
33481 * math/gen-libm-test.pl (top level): Don't mention expected
33482 failure handling in comment.
33483 (new_test): Don't handle expected failures.
33484 (parse_args): Don't mention expected failure handling in comment.
33485 (generate_testfile): Don't handle expected failures.
33486 (parse_ulps): Likewise.
33487 (print_ulps_file): Likewise.
33488 (get_failure): Remove function.
33489 (output_test): Don't handle expected failures.
33490 * make/README.libm-test: Don't mention expected failure handling.
33492 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33493 (minus_zero): Likewise.
33494 (plus_infty): Likewise.
33495 (minus_infty): Likewise.
33496 (qnan_value): Likewise.
33497 (max_value): Likewise.
33498 (min_value): Likewise.
33499 (min_subnorm_value): Likewise.
33500 (initialize): Do not initialize those variables dynamically.
33502 2013-05-03 Roland McGrath <roland@hack.frob.com>
33504 * io/open.c (__open_2): Moved to ...
33505 * io/open_2.c: ... this new file.
33506 * io/open64.c (__open64_2): Moved to ...
33507 * io/open64_2.c: ... this new file.
33508 * io/openat.c (__openat_2): Moved to ...
33509 * io/openat_2.c: ... this new file.
33510 * io/openat64.c (__openat64_2): Moved to ...
33511 * io/openat64_2.c: ... this new file.
33512 * io/Makefile (routines): Add them.
33513 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33514 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33515 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33516 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33517 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33518 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33519 (__openat64): Add hidden_ver.
33520 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33521 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33523 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33524 Separately conditionalize setting of GLRO(dl_sysinfo) so
33525 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33526 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33528 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33530 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33533 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33534 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33535 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33536 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33537 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33539 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33541 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33542 test signgam value.
33544 * math/libm-test.inc (hypot_test): Do not use
33545 IGNORE_ZERO_INF_SIGN.
33547 2013-05-03 Andreas Jaeger <aj@suse.de>
33549 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33551 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33552 (PF_MAX): Adjust for VSOCK change.
33554 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33558 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33561 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33562 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33563 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33565 2013-05-02 David S. Miller <davem@davemloft.net>
33567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33569 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33571 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33573 2013-05-01 Roland McGrath <roland@hack.frob.com>
33575 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33577 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33580 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33581 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33582 Use __attribute__ ((__gnu_inline__)).
33583 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33584 Don't use __attribute__ ((__gnu_inline__)).
33586 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33589 * math/s_catan.c (__catan): Handle small real or imaginary part of
33590 input specially to avoid spurious underflow.
33591 * math/s_catanf.c (__catanf): Likewise.
33592 * math/s_catanh.c (__catanh): Likewise.
33593 * math/s_catanhf.c (__catanhf): Likewise.
33594 * math/s_catanhl.c (__catanhl): Likewise.
33595 * math/s_catanl.c (__catanl): Likewise.
33596 * math/libm-test.inc (catan_test): Add more tests.
33597 (catanh_test): Likewise.
33598 * sysdeps/i386/fpu/libm-test-ulps: Update.
33599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33601 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33605 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33608 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33609 accurately for denominator in atan2.
33610 * math/s_catanf.c (__catanf): Likewise.
33611 * math/s_catanh.c (__catanh): Likewise.
33612 * math/s_catanhf.c (__catanhf): Likewise.
33613 * math/s_catanhl.c (__catanhl): Likewise.
33614 * math/s_catanl.c (__catanl): Likewise.
33615 * math/libm-test.inc (catan_test): Add more tests.
33616 (catanh_test): Likewise.
33617 * sysdeps/i386/fpu/libm-test-ulps: Update.
33618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33620 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33622 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33624 * benchtests/Makefile (bench): Remove slow benchmarks.
33625 * benchtests/atan-inputs: Add slow benchmark inputs.
33626 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33627 (BENCH_FUNC): Accept variant offset.
33629 * benchtests/bench-skeleton.c (main): Run benchmark for each
33631 * benchtests/cos-inputs: Add slow benchmark inputs.
33632 * benchtests/exp-inputs: Likewise.
33633 * benchtests/pow-inputs: Likewise.
33634 * benchtests/sin-inputs: Likewise.
33635 * benchtests/slowatan-inputs: Remove.
33636 * benchtests/slowatan.c: Remove.
33637 * benchtests/slowcos-inputs: Remove.
33638 * benchtests/slowcos.c: Remove.
33639 * benchtests/slowexp-inputs: Remove.
33640 * benchtests/slowexp.c: Remove.
33641 * benchtests/slowpow-inputs: Remove.
33642 * benchtests/slowpow.c: Remove.
33643 * benchtests/slowsin-inputs: Remove.
33644 * benchtests/slowsin.c: Remove.
33645 * benchtests/slowtan-inputs: Remove.
33646 * benchtests/slowtan.c: Remove.
33647 * benchtests/tan-inputs: Add slow benchmark inputs.
33648 * scripts/bench.pl: Parse comments and directives.
33650 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33652 ($(objpfx)bench-%.c): Remove *-ITER.
33653 * benchtests/bench-modf.c: Remove definition of ITER.
33654 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33655 (main): Loop for DURATION seconds instead of fixed number of
33657 * scripts/bench.pl: Don't expect iterations in parameters.
33659 2013-04-29 Roland McGrath <roland@hack.frob.com>
33661 * io/fchdir.c (__fchdir): Renamed from fchdir.
33662 (fchdir): Define as weak alias.
33664 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33666 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33667 (ERRNO_EDOM): Likewise.
33668 (ERRNO_ERANGE): Likewise.
33669 (noErrnoTests): New variable.
33670 (init_max_error): Set errno to 0.
33671 (test_single_errno): New function.
33672 (test_errno): Likewise.
33673 (check_float_internal): Call test_errno. Set errno to 0.
33674 (check_complex): Refer to errno tests in comment.
33675 (check_int): Call test_errno. Set errno to 0.
33676 (check_long): Likewise.
33677 (check_bool): Likewise.
33678 (check_longlong): Likewise.
33679 (cos_test): Use ERRNO_* flags for errno tests instead of
33681 (expm1_test): Likewise.
33682 (fmod_test): Likewise.
33683 (ilogb_test): Likewise.
33684 (lgamma_test): Likewise.
33685 (pow_test): Likewise.
33686 (remainder_test): Likewise.
33687 (sin_test): Likewise.
33688 (tan_test): Likewise.
33689 (yn_test): Likewise.
33690 (initialize): Set errno to 0.
33691 (main): Print number of errno tests.
33692 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33694 2013-04-29 Andreas Jaeger <aj@suse.de>
33697 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33701 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33702 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33706 * stdlib/random.c (__initstate): Return NULL if
33710 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33711 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33714 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33718 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33720 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33721 of individual tests.
33722 (casin_test): Likewise.
33723 (casinh_test): Likewise.
33725 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33728 * math/s_catan.c (__catan): Handle arguments with large real or
33729 imaginary part separately without squaring.
33730 * math/s_catanf.c (__catanf): Likewise.
33731 * math/s_catanh.c (__catanh): Likewise.
33732 * math/s_catanhf.c (__catanhf): Likewise.
33733 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33735 (__catanhl): Handle arguments with large real or imaginary part
33736 separately without squaring.
33737 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33739 (__catanl): Handle arguments with large real or imaginary part
33740 separately without squaring.
33741 * math/libm-test.inc (catan_test): Add more tests.
33742 (catanh_test): Likewise.
33743 * sysdeps/i386/fpu/libm-test-ulps: Update.
33744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33746 2013-04-27 Andreas Jaeger <aj@suse.de>
33749 * stdlib/stdlib.h: Update guards for qecvt.
33750 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33753 2013-04-27 Allan McRae <allan@archlinux.org>
33755 * sysdeps/i386/fpu/libm-test-ulps: Update.
33757 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33760 * math/s_catan.c: Include <float.h>.
33761 (__catan): Ensure underflow exception occurs for underflowed
33763 * math/s_catanf.c: Include <float.h>.
33764 (__catanf): Ensure underflow exception occurs for underflowed
33766 * math/s_catanh.c: Include <float.h>.
33767 (__catanh): Ensure underflow exception occurs for underflowed
33769 * math/s_catanhf.c: Include <float.h>.
33770 (__catanhf): Ensure underflow exception occurs for underflowed
33772 * math/s_catanhl.c: Include <float.h>.
33773 (__catanhl): Ensure underflow exception occurs for underflowed
33775 * math/s_catanl.c: Include <float.h>.
33776 (__catanl): Ensure underflow exception occurs for underflowed
33778 * math/libm-test.inc (catan_test): Add more tests.
33779 (catanh_test): Likewise.
33782 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33783 underflowed result.
33784 * math/s_ccoshf.c (__ccoshf): Likewise.
33785 * math/s_ccoshl.c (__ccoshl): Likewise.
33786 * math/s_csin.c (__csin): Likewise.
33787 * math/s_csinf.c (__csinf): Likewise.
33788 * math/s_csinh.c (__csinh): Likewise.
33789 * math/s_csinhf.c (__csinhf): Likewise.
33790 * math/s_csinhl.c (__csinhl): Likewise.
33791 * math/s_csinl.c (__csinl): Likewise.
33792 * math/libm-test.inc (ccos_test): Add more tests.
33793 (ccosh_test): Likewise.
33794 (csin_test): Likewise.
33795 (csinh_test): Likewise.
33797 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33799 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33800 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33801 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33802 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33803 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33804 powerpc/power5+/fpu folders.
33805 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33808 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33812 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33814 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33815 additions to variable.
33816 [$(config-machine) = x86_64] (modules-names): Likewise.
33817 ($(objpfx)tst-audit3): Remove dependency.
33818 ($(objpfx)tst-audit3.out): Likewise.
33819 ($(objpfx)tst-audit4): Likewise.
33820 ($(objpfx)tst-audit4.out): Likewise.
33821 ($(objpfx)tst-audit5): Likewise.
33822 ($(objpfx)tst-audit5.out): Likewise.
33823 ($(objpfx)tst-audit6): Likewise.
33824 ($(objpfx)tst-audit6.out): Likewise.
33825 ($(objpfx)tst-audit7): Likewise.
33826 ($(objpfx)tst-audit7.out): Likewise.
33827 (tst-audit3-ENV): Remove variable.
33828 (tst-audit4-ENV): Likewise.
33829 (tst-audit5-ENV): Likewise.
33830 (tst-audit6-ENV): Likewise.
33831 (tst-audit7-ENV): Likewise.
33832 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33833 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33834 addition to variable.
33835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33836 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33837 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33840 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33841 tst-audit3, tst-audit4 and tst-audit5.
33842 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33843 tst-audit6 and tst-audit7.
33844 [$(subdir) = elf] (modules-names): Add audit modules for those
33846 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33847 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33848 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33849 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33850 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33851 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33852 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33853 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33854 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33855 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33856 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33857 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33858 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33859 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33860 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33861 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33863 [$(subdir) = elf && $(config-cflags-avx) = yes]
33864 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33865 [$(subdir) = elf && $(config-cflags-avx) = yes]
33866 (CFLAGS-tst-auditmod4a.c): Likewise.
33867 [$(subdir) = elf && $(config-cflags-avx) = yes]
33868 (CFLAGS-tst-auditmod4b.c): Likewise.
33869 [$(subdir) = elf && $(config-cflags-avx) = yes]
33870 (CFLAGS-tst-auditmod6b.c): Likewise.
33871 [$(subdir) = elf && $(config-cflags-avx) = yes]
33872 (CFLAGS-tst-auditmod6c.c): Likewise.
33873 [$(subdir) = elf && $(config-cflags-avx) = yes]
33874 (CFLAGS-tst-auditmod7b.c): Likewise.
33875 * elf/tst-audit3.c: Move to ...
33876 * sysdeps/x86_64/tst-audit3.c: ... here.
33877 * elf/tst-audit4.c: Move to ...
33878 * sysdeps/x86_64/tst-audit4.c: ... here.
33879 * elf/tst-audit5.c: Move to ...
33880 * sysdeps/x86_64/tst-audit5.c: ... here.
33881 * elf/tst-audit6.c: Move to ...
33882 * sysdeps/x86_64/tst-audit6.c: ... here.
33883 * elf/tst-audit7.c: Move to ...
33884 * sysdeps/x86_64/tst-audit7.c: ... here.
33885 * elf/tst-auditmod3a.c: Move to ...
33886 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33887 * elf/tst-auditmod3b.c: Move to ...
33888 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33889 * elf/tst-auditmod4a.c: Move to ...
33890 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33891 * elf/tst-auditmod4b.c: Move to ...
33892 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33893 * elf/tst-auditmod5a.c: Move to ...
33894 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33895 * elf/tst-auditmod5b.c: Move to ...
33896 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33897 * elf/tst-auditmod6a.c: Move to ...
33898 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33899 * elf/tst-auditmod6b.c: Move to ...
33900 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33901 * elf/tst-auditmod6c.c: Move to ...
33902 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33903 * elf/tst-auditmod7a.c: Move to ...
33904 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33905 * elf/tst-auditmod7b.c: Move to ...
33906 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33908 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33911 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33912 define unconditionally.
33913 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33914 define unconditionally.
33915 (INT8_C, INT16_C, etc.): Likewise.
33917 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33919 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33920 __ehdr_start with hidden visibility.
33922 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33924 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33926 * math/libm-test.inc (cos_test): Use accurate hex constants.
33927 (sincost_test): Likewise.
33929 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33931 * math/libm-test.inc (catan_test): Add more tests.
33932 (catanh_test): Likewise.
33934 * math/s_catanf.c (__catanf): Use suffixed floating-point
33936 * math/s_catanhf.c (__catanhf): Likewise.
33937 * math/s_catanhl.c (__catanhl): Likewise.
33938 * math/s_catanl.c (__catanl): Likewise.
33941 * math/s_catan.c (__catan): Calculate imaginary part of result
33942 with log1p not log unless computing log of number close to 0.
33943 * math/s_catanf.c (__catanf): Likewise.
33944 * math/s_catanl.c (__catanl): Likewise.
33945 * math/s_catanh.c (__catanh): Calculate real part of result with
33946 log1p not log unless computing log of number close to 0.
33947 * math/s_catanhf.c (__catanhf): Likewise.
33948 * math/s_catanhl.c (__catanhl): Likewise.
33949 * math/libm-test.inc (catan_test): Add more tests.
33950 (catanh_test): Likewise.
33951 * sysdeps/i386/fpu/libm-test-ulps: Update.
33952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33954 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33956 * benchtests/Makefile: Mention files in which fast and slow
33957 paths of math functions are implemented.
33959 2013-04-23 Roland McGrath <roland@hack.frob.com>
33961 * sysdeps/posix/timespec_get.c: New file.
33963 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33965 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33967 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33969 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33970 powerpc/power5/fpu folders.
33971 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33972 * benchtests/Makefile: Add modf testcase.
33973 * benchtests/bench-modf.c: New file: Benchmark test for mo
33975 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33978 * time/Makefile (tests): Add tst-strptime-whitespace.
33979 * time/strptime_l.c (get_number): Use ISSPACE.
33980 (__strptime_internal): Likewise.
33981 * time/tst-strptime-whitespace.c: New test case.
33983 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33985 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33987 (_nss_files_init): Set it here.
33989 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33991 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33992 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33995 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33997 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33999 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34004 2013-04-21 David S. Miller <davem@davemloft.net>
34006 * po/ru.po: Update Russion translation from translation project.
34008 2013-04-17 Adam Conrad <adconrad@0c3.net>
34010 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34013 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34015 * configure.in: Remove i386 configure warning. Remove i386 case.
34016 * configure: Regenerate.
34017 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34018 Add example to error message.
34019 * sysdeps/i386/configure: Regenerate.
34021 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34023 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34025 * benchtests/cos-inputs: New file.
34026 * benchtests/slowcos-inputs: New file.
34027 * benchtests/slowcos.c: New file.
34028 * benchtests/slowtan-inputs: New file.
34029 * benchtests/slowtan.c: New file.
34030 * benchtests/tan-inputs: New file.
34032 2013-04-16 Roland McGrath <roland@hack.frob.com>
34034 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34037 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34039 * benchtests/Makefile: Include cppflags-iterator.mk to add
34040 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34042 * Makefile.in (bench-clean): New target.
34043 * benchtests/Makefile (bench-clean): Likewise.
34045 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34047 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34049 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34051 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34053 2013-04-15 Andreas Schwab <schwab@suse.de>
34055 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34057 * nscd/pwdcache.c (cache_addpw): Likewise.
34058 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34061 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34063 * benchtests/Makefile (bench): Write all output to
34064 bench-out.tmp together.
34066 2013-04-15 Andreas Schwab <schwab@suse.de>
34068 * nscd/nscd.c (main): Don't fork again after closing files.
34070 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34072 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34074 * benchtests/Rules (bench-deps): Collect dependencies into a
34075 single variable. Add Makefile to dependencies.
34076 ($(objpfx)bench-%.c): Depend on bench-deps.
34078 2013-04-12 Roland McGrath <roland@hack.frob.com>
34079 Xavier Roche <roche+kml2@exalead.com>
34082 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34083 just that it's a file descriptor.
34084 * manual/llio.texi (Synchronizing AIO Operations): Update description
34085 for EBADF error from aio_fsync.
34087 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34089 * Rules (bench): Move target definition...
34090 * benchtests/Makefile: ... here.
34092 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34094 * math/libm-test.inc (cos_test): Fix PI/2 test.
34095 (sincos_test): Likewise.
34096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34097 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34099 2013-04-11 Andreas Schwab <schwab@suse.de>
34102 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34103 accept exponent character only when digits were seen.
34104 * stdio-common/Makefile (tests): Add bug26.
34105 * stdio-common/bug26.c: New file.
34108 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34111 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34113 * Makeconfig (rtld-prefix): Define built linker prefix.
34114 * Rules (run-bench): Use it.
34115 * math/Makefile (run-regen-ulps): Likewise.
34117 * Rules (bench): Remove eval.
34119 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34120 Roland McGrath <roland@hack.frob.com>
34121 Ondrej Bilka <neleai@seznam.cz>
34124 * time/getdate.c: Include ctype.h and alloca.h.
34125 (__getdate_r): Trim leading and trailing spaces of input.
34126 * time/tst-getdate.c (tests): Add tests with leading and
34129 2013-04-08 Roland McGrath <roland@hack.frob.com>
34132 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34133 when computing value.
34135 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34137 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34138 Use testrun.sh to run libm tests.
34141 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34143 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34146 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34148 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34150 * Makefile.in (regen-ulps): New target.
34151 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34152 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34153 [ifneq (no,$(PERL)] (regen-ulps): New target.
34154 [ifeq (no,$(PERL)] (regen-ulps): New target.
34155 * math/libm-test.inc (ulps_file_name): Define.
34156 (output_dir): New variable.
34157 (options): Add "output-dir" option.
34158 (parse_opt): Handle 'o' case.
34159 (main): If output_dir is non-NULL use it as a prefix
34161 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34163 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34165 [BZ #10060, #10062]
34166 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34167 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34168 fail configure if __sync_val_compare_and_swap is not inlined.
34169 * sysdeps/i386/configure: Regenerate.
34170 * configure.in: Build for i686 when configured for i386.
34171 * configure: Regenerate.
34172 * README: Remove i386 reference.
34174 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34176 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34179 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34181 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34182 (lmsnanval): New variables.
34183 (F): Add conversion tests.
34184 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34185 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34187 * stdio-common/tstdiomisc.c (F): Properly collect individual
34190 [BZ #14686, #15336]
34191 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34192 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34193 Instead, use input NaN values or generate a qNaN by arithmetic
34194 operation. Also fix bugs to comply with the standard.
34195 * math/libm-test.inc (remainder_test): Add more tests.
34197 [BZ #15335, #15342]
34198 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34200 input NaN values or generate a qNaN by arithmetic operation.
34202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34205 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34208 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34211 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34212 underflowed result.
34213 * math/s_cexpf.c (__cexpf): Likewise.
34214 * math/s_cexpl.c (__cexpl): Likewise.
34215 * math/libm-test.inc (cexp_test): Add more tests.
34217 2013-04-03 Andreas Schwab <schwab@suse.de>
34220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34221 order arrays from heap if bigger than alloca cutoff.
34223 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34225 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34226 (SNAN_TESTS_double): Refer to GCC PR56831.
34227 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34230 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34232 * Rules (bench): Move bench.out after the run is complete.
34234 * Rules (bench): Echo currently running benchmark.
34236 * benchtests/Makefile (bench): Add atan and slowatan.
34237 * benchtests/atan-inputs: New file.
34238 * benchtests/slowatan-inputs: New file.
34239 * benchtests/slowatan.c: New file.
34241 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34246 * sysdeps/unix/sysv/linux/kernel-features.h
34247 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34248 __ASSUME_XFS_RESTRICTED_CHOWN.
34249 * sysdeps/unix/sysv/linux/pathconf.c
34250 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34251 Save and restore errno.
34253 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34256 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34257 arguments using __kernel_casinh.
34258 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34259 arguments using __kernel_casinhf.
34260 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34261 arguments using __kernel_casinhl.
34262 * math/libm-test.inc (cacosh_test): Add more tests.
34263 * sysdeps/i386/fpu/libm-test-ulps: Update.
34264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34266 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34268 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34271 * bench/Makefile (bench): Add sin and slowsin.
34272 * benchtests/sin-inputs: New file.
34273 * benchtests/slowsin-inputs: New file.
34274 * benchtests/slowsin.c: New file.
34276 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34277 (bench): Add slowexp and slowpow.
34278 (exp-ITER): Increase iterations.
34279 (pow-ITER): Likewise.
34280 * benchtests/exp-inputs: Change input.
34281 * benchtests/pow-inputs: Likewise.
34282 * benchtests/slowexp-inputs: New file.
34283 * benchtests/slowexp.c: New file.
34284 * benchtests/slowpow-inputs: New file.
34285 * benchtests/slowpow.c: New file.
34287 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34289 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34291 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34292 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34293 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34294 * benchtests/Makefile: Add rint benchtest.
34295 * benchtests/rint-inputs: Input for rint benchtest.
34297 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34299 * Versions.def (libm): Add GLIBC_2.18.
34300 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34301 hidden libm prototypes.
34302 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34303 * math/Makefile (libm-calls): Add s_issignaling.
34304 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34305 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34306 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34308 * math/math.h [__USE_GNU] (issignaling): New macro.
34309 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34310 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34312 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34315 * manual/arith.texi (issignaling): New section.
34316 * manual/libm-err-tab.pl (@all_functions): Update comment.
34317 * math/gen-libm-test.pl (parse_args): Apply special handling for
34319 * math/libm-test.inc (print_float, issignaling_test): New
34321 (check_float_internal): Add issignaling checks.
34322 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34323 default definition.
34324 * sysdeps/powerpc/math-tests.h: New file.
34325 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34327 * math/test-snan.c (TEST_FUNC): Likewise.
34329 2013-03-30 David S. Miller <davem@davemloft.net>
34331 * po/de.po: Update from translation team.
34333 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34336 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34337 imaginary part less than 1.0 and real part less than 0.5
34339 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34340 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34341 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34342 (cacos_test): Add more tests.
34343 (casin_test): Likewise.
34344 (casinh_test): Likewise.
34345 * sysdeps/i386/fpu/libm-test-ulps: Update.
34346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34348 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34350 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34351 ONE with its value.
34353 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34354 (__pow_mp): Replace ONE and MONE with their values.
34355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34357 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34358 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34359 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34360 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34362 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34364 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34365 (__pow_mp): Replace ZERO and MZERO with their values.
34366 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34370 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34371 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34374 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34376 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34378 2013-03-28 Roland McGrath <roland@hack.frob.com>
34380 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34381 Declare with __attribute__ ((weak)).
34382 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34383 Call __call_tls_dtors only if it's not NULL.
34385 2013-03-28 Roland McGrath <roland@hack.frob.com>
34387 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34388 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34389 magic __ehdr_start linker symbol if it's defined.
34390 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34391 them up here if it was already done.
34393 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34394 (_dl_aux_init): Use const in cast when setting it.
34395 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34396 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34397 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34399 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34401 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34402 * csu/libc-tls.c: Nor here.
34403 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34405 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34406 (__libc_message): Never call vsyslog.
34408 2013-03-28 Alan Modra <amodra@gmail.com>
34410 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34412 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34415 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34418 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34422 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34425 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34426 Don't add gid passed as argument.
34428 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34430 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34433 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34434 imaginary part between 1.0 and 1.5 and real part less than 0.5
34436 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34437 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34438 * math/libm-test.inc (cacos_test): Add more tests.
34439 (casin_test): Likewise.
34440 (casinh_test): Likewise.
34441 * sysdeps/i386/fpu/libm-test-ulps: Update.
34442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34444 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34446 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34449 (denorm): Likewise.
34450 (__dbl_mp): Likewise.
34451 (add_magnitudes): Likewise.
34452 (sub_magnitudes): Likewise.
34460 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34462 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34463 (__dubcos): Likewise.
34464 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34465 (__ieee754_acos): Likewise.
34466 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34468 (__exp1): Likewise.
34469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34472 (my_log2): Likewise.
34473 (checkint): Likewise.
34474 * sysdeps/ieee754/dbl-64/e_remainder.c
34475 (__ieee754_remainder): Likewise.
34476 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34478 (bsloww): Likewise.
34479 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34481 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34482 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34483 MANTISSA_STORE_T to store computations on mantissa. Use
34484 macros for rounding and division.
34485 (denorm): Likewise.
34486 (__dbl_mp): Likewise.
34487 (add_magnitudes): Likewise.
34488 (sub_magnitudes): Likewise.
34491 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34492 powers of two in terms of TWOPOW macro.
34493 (mp_no): Make type of mantissa as MANTISSA_T.
34494 [!RADIXI]: Define RADIXI.
34495 [!TWO52]: Define TWO52.
34496 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34498 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34500 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34501 llroundl symbol when building for PPC32.
34503 2013-03-24 Mark H Weaver <mhw@netris.org>
34505 * manual/arith.texi (Normalization Functions): Fix prototypes for
34506 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34508 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34512 high value to check if expl overflow.
34513 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34514 to check for underflow and overflow.
34515 * math/libm-test.inc: Add exp test.
34517 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34520 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34523 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34525 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34528 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34530 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34531 wrap blocks consisting of several statements.
34533 * sysdeps/generic/math-tests.h: New file.
34534 * sysdeps/i386/fpu/math-tests.h: Likewise.
34535 * math/test-snan.c: Include it.
34536 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34538 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34541 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34542 (__ieee754_j0l): Do not improve calculations using cos of twice
34543 input for inputs above LDBL_MAX / 2.0L.
34544 (__ieee754_y0l): Likewise.
34545 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34546 (__ieee754_j1l): Do not improve calculations using cos of twice
34547 input for inputs above LDBL_MAX / 2.0L.
34548 (__ieee754_y1l): Likewise.
34549 * math/libm-test.inc (j0_test): Add another test.
34550 (j1_test): Likewise.
34551 (y0_test): Likewise.
34552 (y1_test): Likewise.
34553 * sysdeps/i386/fpu/libm-test-ulps: Update.
34555 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34557 * Rules ($(objpfx)bench-%.c): Include code from a C source
34560 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34563 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34564 imaginary part 1.0 and real part less than 0.5 specially.
34565 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34566 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34567 * math/libm-test.inc (cacos_test): Add more tests.
34568 (casin_test): Likewise.
34569 (casinh_test): Likewise.
34570 * sysdeps/i386/fpu/libm-test-ulps: Update.
34571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34573 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34576 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34578 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34580 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34581 * config.make.in (config-cflags-sse4): Remove variable.
34582 (config-cflags-avx): Likewise.
34583 (config-cflags-sse2avx): Likewise.
34584 (config-cflags-novzeroupper): Likewise.
34585 (config-asflags-i686): Likewise.
34586 (have-mfma4): Likewise.
34587 (have-as-vis3): Likewise.
34589 * configure.in (MIG): Do not AC_SUBST.
34590 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34591 (libc_cv_cc_sse4): Do not AC_SUBST.
34592 (libc_cv_cc_avx): Likewise.
34593 (libc_cv_cc_sse2avx): Likewise.
34594 (libc_cv_cc_novzeroupper): Likewise.
34595 (libc_cv_cc_fma4): Likewise.
34596 (libc_cv_as_i686): Likewise.
34597 (libc_cv_sparc_as_vis3): Likewise.
34598 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34600 (config-asflags-i686): Likewise.
34601 (config-cflags-avx): Likewise.
34602 (config-cflags-sse2avx): Likewise.
34603 (have-mfma4): Likewise.
34604 (config-cflags-novzeroupper): Likewise.
34605 * sysdeps/mach/configure.in (MIG): Likewise.
34606 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34607 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34609 (config-cflags-avx): Likewise.
34610 (config-cflags-sse2avx): Likewise.
34611 (have-mfma4): Likewise.
34612 (config-cflags-novzeroupper): Likewise.
34613 * configure: Regenerated.
34614 * sysdeps/i386/configure: Likewise.
34615 * sysdeps/mach/configure: Likewise.
34616 * sysdeps/sparc/configure: Likewise.
34617 * sysdeps/x86_64/configure: Likewise.
34619 2013-03-20 Roland McGrath <roland@hack.frob.com>
34622 * locale/programs/localedef.c (options): Put N_ translation marker
34623 on argument names, not just descriptions.
34625 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34627 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34629 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34632 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34634 2013-03-19 Roland McGrath <roland@hack.frob.com>
34636 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34637 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34638 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34639 [!BEFORE_ABORT] (before_abort): New function.
34640 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34641 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34642 (writev_for_fatal): New function.
34643 (WRITEV_FOR_FATAL): New macro; call that.
34644 (backtrace_and_maps): New function.
34645 (BEFORE_ABORT): New macro; call that.
34646 (struct str_list): Type removed.
34647 (__libc_message, __libc_fatal): Functions removed.
34648 Include <sysdeps/posix/libc_fatal.c> instead.
34650 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34652 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34654 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34657 2013-03-19 Andreas Schwab <schwab@suse.de>
34659 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34660 * sysdeps/gnu/configure: Regenerate.
34662 * configure.in: Substitute libc_cv_rtlddir.
34663 * configure: Regenerate.
34664 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34665 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34666 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34667 * elf/Makefile (install-others, CFLAGS-interp.c)
34668 (ldso_install, common-ldd-rewrite): Likewise.
34669 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34670 $(inst_slibdir)/$(rtld-installed-name).
34671 * scripts/rellns-sh: Add -p option.
34672 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34675 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34677 * manual/nptl.texi: Renamed to ...
34678 * manual/threads.texi: ... this.
34679 * manual/Makefile (chapters): Update.
34681 2013-03-18 Roland McGrath <roland@hack.frob.com>
34684 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34685 on argument names, not just descriptions.
34686 * malloc/memusagestat.c (options): Likewise.
34687 * nss/getent.c (options): Likewise.
34689 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34692 * iconv/iconv_prog.c (options): Put N_ translation marker
34693 on argument names, not just descriptions.
34694 * iconv/iconvconfig.c (options): Likewise.
34696 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34698 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34699 implementation which is faster on all x86_64 architectures.
34700 Tested on AMD, Intel Nehalem, SNB, IVB.
34701 * sysdeps/x86_64/strnlen.S: Likewise.
34703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34704 Remove all multiarch strlen and strnlen versions.
34705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34706 Remove strlen and strnlen related parts.
34708 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34709 Inline strlen part.
34710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34712 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34713 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34715 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34716 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34717 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34719 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34721 * manual/memory.texi (Malloc Tunable Parameters):
34722 Sort parameters alphabetically. Add comments for missing entries.
34724 2013-03-17 David S. Miller <davem@davemloft.net>
34726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34728 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34731 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34732 for arguments at most half maximum finite value.
34733 * math/libm-test.inc (j0_test): Add more tests.
34734 (j1_test): Likewise.
34735 (y0_test): Likewise.
34736 (y1_test): Likewise.
34737 * sysdeps/i386/fpu/libm-test-ulps: Update.
34738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34741 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34742 1 / x and functions P and Q for arguments above 0x1p256L.
34743 (__ieee754_y0l): Likewise.
34744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34745 (__ieee754_y1l): Likewise.
34746 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34747 (j1_test): Likewise.
34748 (y0_test): Likewise.
34749 (y1_test): Likewise.
34751 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34753 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34756 2013-03-15 Roland McGrath <roland@hack.frob.com>
34758 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34759 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34760 zero since it's initialized to EXEC_PAGESIZE.
34762 * sysdeps/unix/sysv/linux/ldsodefs.h
34763 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34764 * sysdeps/generic/ldsodefs.h: ... here.
34766 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34768 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34770 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34772 * math/test-snan.c: Renamed from
34773 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34774 * math/Makefile (tests): Add test-snan.
34775 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34778 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34779 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34781 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34782 __builtin_nan family of functions.
34783 * math/libm-test.inc (initialize): Initialize qnan_value with
34784 __builtin_nan family of functions.
34785 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34787 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34789 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34790 storage class. Initialize qNaN_var and sNaN_var with
34791 __builtin_nan and __builtin_nans families of functions,
34794 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34795 (sqrt_test): Remove duplicate test with qNaN input.
34796 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34797 (round_test, signbit_test, significand_test): Note missing +/-Inf
34798 as well as qNaN tests.
34800 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34801 qNaN_var. Fix a few strings, too.
34802 * math/libm-test.inc (nan_value): Rename to qnan_value.
34803 * math/gen-libm-test.pl (%beautify): Adjust to that.
34804 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34805 * math/test-misc.c (main): Likewise.
34806 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34807 to __qnan_bytes, and __qnan_union, respectively.
34808 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34810 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34811 and lqnanval, respectively.
34812 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34813 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34814 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34815 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34817 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34818 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34821 * math/test-misc.c (main): Fix copy'n'pastos.
34822 * misc/tst-efgcvt.c (special): Likewise.
34824 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34825 Remove declarations.
34827 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34829 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34830 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34831 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34832 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34834 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34836 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34837 macro to return vdso values correctly in IFUNC implementations.
34838 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34839 Optimization by using IFUNC.
34841 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34842 Richard Henderson <rth@redhat.com>
34843 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34845 * Makefile.in (bench): New target.
34846 * NEWS: Mention the benchmark framework.
34847 * Rules (bench): Likewise.
34848 (binaries-bench): Generate binaries for functions to
34850 * benchtests/Makefile: New makefile for benchmark tests.
34851 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34853 * benchtests/exp-inputs: New input file for EXP function.
34854 * benchtests/pow-inputs: New input file for POW function.
34855 * scripts/bench.pl: New script to generate source files for
34856 benchmark programs.
34858 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34860 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34861 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34862 computations on mantissa. Use macros for rounding and
34864 (denorm): Likewise.
34865 (__dbl_mp): Likewise.
34866 (add_magnitudes): Likewise.
34867 (sub_magnitudes): Likewise.
34870 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34871 powers of two in terms of TWOPOW macro.
34872 (mp_no): Make type of mantissa as MANTISSA_T.
34873 [!RADIXI]: Define RADIXI.
34874 [!TWO52]: Define TWO52.
34875 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34877 * manual/nptl.texi (cindex): Modify threads to pthreads.
34879 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34881 * sysdeps/x86_64/preconfigure: Regenerated.
34883 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34886 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34888 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34889 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34891 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34892 * math/libm-test.inc (j0_test): Do not allow one spurious
34893 underflow exception.
34894 (y1_test): Likewise.
34896 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34898 * manual/Makefile (chapters): Add nptl.
34899 * manual/debug.texi (Debugging Support): Add link to Threads
34901 * manual/nptl.texi: New file.
34903 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34905 2013-03-14 Petr Baudis <pasky@ucw.cz>
34907 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34908 for non-NULL pointer before the memory validity test. Pointed
34909 out by Holger Brunck <holger.brunck@keymile.com>.
34911 2013-03-13 Andreas Schwab <schwab@suse.de>
34913 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34916 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34918 * timezone/zic.c: Update from tzcode 2013b.
34920 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34922 * manual/install.texi (Configuring and compiling):
34923 Mention i686 and i586.
34924 * INSTALL: Regenerate.
34926 2013-03-12 Roland McGrath <roland@hack.frob.com>
34928 * sysdeps/init_array/elf-init.c: New file.
34930 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34931 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34933 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34934 __gmon_start__ as global, but as static with a .preinit_array pointer.
34935 * sysdeps/init_array/gmon-start.c: New file. Use that.
34936 * sysdeps/init_array/crti.S: New file, empty except for comments.
34937 * sysdeps/init_array/crtn.S: Likewise.
34939 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34941 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34944 Remove Prefer_SSE_for_memop.
34945 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34946 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34947 HAS_PREFER_SSE_FOR_MEMOP.
34948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34951 Remove bzero, memset ifunc support.
34952 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34953 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34957 2013-03-11 Andreas Schwab <schwab@suse.de>
34960 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34963 (GLIBC_2.16): Remove pthread_atfork.
34965 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34967 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34968 (ptestcases.h): Likewise.
34970 2013-03-08 Roland McGrath <roland@hack.frob.com>
34972 * Makeconfig ($(common-objpfx)config.status): Depend on
34973 sysdeps/*/preconfigure{,.in} too.
34975 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34977 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34978 (__free_hook): Use void * instead of __malloc_ptr_t.
34979 (__malloc_hook): Likewise.
34980 (__realloc_hook): Likewise.
34981 (__memalign_hook): Likewise.
34982 (__after_morecore_hook): Likewise.
34983 * malloc/arena.c (save_malloc_hook): Likewise.
34984 (save_free_hook): Likewise.
34985 * malloc/hooks.c (malloc_hook_ini): Likewise.
34986 (realloc_hook_ini): Likewise.
34987 (memalign_hook_ini): Likewise.
34988 * malloc/malloc.c (malloc_hook_ini): Likewise.
34989 (realloc_hook_ini): Likewise.
34990 (memalign_hook_ini): Likewise.
34991 (__free_hook): Likewise.
34992 (__malloc_hook): Likewise.
34993 (__realloc_hook): Likewise.
34994 (__memalign_hook): Likewise.
34995 (__libc_malloc): Likewise.
34996 (__libc_free): Likewise.
34997 (__libc_realloc): Likewise.
34998 (__libc_memalign): Likewise.
34999 (__libc_valloc): Likewise.
35000 (__libc_pvalloc): Likewise.
35001 (__libc_calloc): Likewise.
35002 (__posix_memalign): Likewise.
35003 * malloc/morecore.c (__sbrk): Likewise.
35004 (__default_morecore): Likewise.
35006 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35008 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35009 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35010 __malloc_ptrdiff_t.
35012 * malloc/malloc.h (__malloc_size_t): Remove macro.
35013 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35015 (old_memalign_hook): Likewise.
35016 (old_realloc_hook): Likewise.
35017 (struct hdr): Likewise.
35019 (mallochook): Likewise.
35020 (memalignhook): Likewise.
35021 (reallochook): Likewise.
35022 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35023 (tr_old_realloc_hook): Likewise.
35024 (tr_old_memalign_hook): Likewise.
35025 (tr_mallochook): Likewise.
35026 (tr_reallochook): Likewise.
35027 (tr_memalignhook): Likewise.
35029 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35032 default_ldbl_pack and using as default implementation.
35033 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35035 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35036 redundant definition.
35037 (ldbl_insert_mantissa): Likewise.
35038 (ldbl_canonicalize): Likewise.
35039 (ldbl_nearbyint): Likewise.
35040 (ldbl_pack): Rename to ldbl_pack_ppc.
35041 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35042 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35043 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35045 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35048 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35049 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35050 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35053 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35054 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35056 2013-03-07 Andreas Jaeger <aj@suse.de>
35058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35061 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35063 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35064 Include mpa.h and declare __MPEXP.
35065 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35066 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35067 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35068 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35070 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35073 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35074 (__slowpow): Use long double EXPL and LOGL functions to
35076 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35077 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35078 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35079 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35080 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35084 intermediate variable to calculate exponent.
35086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35090 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35091 [!NO__SQR]: Define __sqr.
35092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35093 and NO__SQR. Remove all code except __mul and __sqr. Include
35094 sysdeps/ieee754/dbl-64/mpa.c.
35095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35098 * posix/Makefile (tests): Add tst-pathconf.
35099 * posix/tst-pathconf.c: New test case.
35100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35102 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35104 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35106 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35108 2013-03-06 Andreas Jaeger <aj@suse.de>
35110 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35111 definition via __MAP_ANONYMOUS.
35113 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35114 it's not part of Linux headers.
35116 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35117 (MAP_HUGE_MASK): Define.
35119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35125 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35132 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35133 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35134 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35135 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35136 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35137 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35139 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35142 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35143 Handle f2fs and efivarfs.
35145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35148 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35149 (EFIVARFS_MAGIC): Add.
35150 (F2FS_LINK_MAX): Add.
35152 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35154 * stdio-common/vfprintf.c: Replace __builtin_expect with
35157 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35160 * sysdeps/generic/bp-sym.h: Remove file.
35161 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35162 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35163 <bp-sym.h> and <bp-asm.h>.
35164 (__longjmp): Don't use BP_SYM.
35165 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35167 (memcpy): Don't use BP_SYM.
35168 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35169 <bp-sym.h> and <bp-asm.h>.
35170 (memcpy): Don't use BP_SYM.
35171 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35173 (memcpy): Don't use BP_SYM.
35174 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
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/memcmp.S: Don't include
35183 <bp-sym.h> and <bp-asm.h>.
35184 (memcmp): Don't use BP_SYM. Remove comment about bounded
35186 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35187 <bp-sym.h> and <bp-asm.h>.
35188 (memcpy): Don't use BP_SYM.
35189 * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
35198 <bp-sym.h> and <bp-asm.h>.
35199 (strncmp): Don't use BP_SYM. Remove comment about bounded
35201 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35202 <bp-sym.h> and <bp-asm.h>.
35203 (memcpy): Don't use BP_SYM.
35204 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35205 <bp-sym.h> and <bp-asm.h>.
35206 (memset): Don't use BP_SYM.
35207 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35208 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35209 (__bzero): Don't use BP_SYM.
35210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35213 <bp-sym.h> and <bp-asm.h>.
35214 (__memchr): Don't use BP_SYM.
35215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35216 <bp-sym.h> and <bp-asm.h>.
35217 (memcmp): Don't use BP_SYM. Remove comment about bounded
35219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35220 <bp-sym.h> and <bp-asm.h>.
35221 (memcpy): Don't use BP_SYM.
35222 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35223 <bp-sym.h> and <bp-asm.h>.
35224 (__mempcpy): Don't use BP_SYM.
35225 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35226 <bp-sym.h> and <bp-asm.h>.
35227 (__memrchr): Don't use BP_SYM.
35228 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35229 <bp-sym.h> and <bp-asm.h>.
35230 (memset): Don't use BP_SYM.
35231 (__bzero): Likewise.
35232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35233 <bp-sym.h> and <bp-asm.h>.
35234 (__rawmemchr): Don't use BP_SYM.
35235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35236 <bp-sym.h> and <bp-asm.h>.
35237 (__STRCMP): Don't use BP_SYM.
35238 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35239 <bp-sym.h> and <bp-asm.h>.
35240 (strchr): Don't use BP_SYM.
35241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35242 <bp-sym.h> and <bp-asm.h>.
35243 (__strchrnul): Don't use BP_SYM.
35244 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35245 <bp-sym.h> and <bp-asm.h>.
35246 (strlen): Don't use BP_SYM.
35247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35248 <bp-sym.h> and <bp-asm.h>.
35249 (strncmp): Don't use BP_SYM. Remove comment about bounded
35251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35252 <bp-sym.h> and <bp-asm.h>.
35253 (__strnlen): Don't use BP_SYM.
35254 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35255 <bp-sym.h> and <bp-asm.h>.
35256 (__GI__setjmp): Don't use BP_SYM.
35257 (_setjmp): Likewise.
35258 (__sigsetjmp): Likewise.
35259 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35260 (L(start_addresses)): Don't use BP_SYM.
35261 (_start): Likewise.
35262 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35264 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35265 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35266 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35267 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35268 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35270 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35271 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35272 about bounded pointers.
35273 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35274 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35275 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35277 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35278 about bounded pointers. Remove GKM FIXME comments.
35279 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35280 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35282 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35283 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35284 Remove GKM FIXME comments.
35285 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35286 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35287 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35289 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35290 about bounded pointers. Remove GKM FIXME comment.
35291 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35293 (strncmp): Don't use BP_SYM. Remove comment about bounded
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35296 <bp-sym.h> and <bp-asm.h>.
35297 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35299 <bp-sym.h> and <bp-asm.h>.
35300 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35303 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35305 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35308 2013-03-05 David S. Miller <davem@davemloft.net>
35310 * po/es.po: Update from translation team.
35312 2013-03-05 Andreas Jaeger <aj@suse.de>
35314 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35315 <bits/mman-linux.h>.
35316 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35319 <bits/mman-linux.h> to end of file.
35320 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35322 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35323 <bits/mman-linux.h> to end of file.
35324 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35327 <bits/mman-linux.h> to end of file.
35329 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35330 (MCL_CURRENT, MCL_FUTURE): Define here.
35332 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35337 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35339 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35342 fourth parameter needed for rt_sigprocmask syscall.
35343 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35344 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35345 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35346 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35347 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35348 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35350 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35353 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35354 comment about bounded pointers.
35355 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35356 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35358 2013-03-04 Andreas Jaeger <aj@suse.de>
35360 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35361 common definitions.
35363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35364 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35365 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35370 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35374 __ieee754_sqrl instead of __sqrl.
35376 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35378 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35379 * sysdeps/powerpc/fpu_control.h: ... here.
35380 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35381 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35382 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35383 * sysdeps/powerpc/bits/mathinline.h: ... here.
35385 2013-03-01 Roland McGrath <roland@hack.frob.com>
35387 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35388 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35389 to just [NEED_DL_SYSINFO_DSO].
35390 * elf/dl-support.c: Likewise.
35391 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35392 * elf/rtld.c (dl_main): Likewise.
35393 * elf/setup-vdso.h (setup_vdso): Likewise.
35394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35395 * sysdeps/unix/sysv/linux/dl-sysdep.c
35396 (_dl_discover_osversion): Likewise.
35398 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35400 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35401 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35403 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35405 * NEWS: Mention libm performance improvements and non-x86 PI
35408 * csu/libc-start.c (__pthread_initialize_minimal): Change
35409 function arguments.
35410 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35412 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35415 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35417 <bp-sym.h> and <bp-asm.h>.
35418 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35419 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35421 (memcpy): Don't use BP_SYM.
35422 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35424 (__mpn_add_n): Don't use BP_SYM.
35425 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35426 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35428 (__mpn_addmul_1): Don't use BP_SYM.
35429 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35430 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35432 (_setjmp): Don't use BP_SYM.
35433 (__novmx_setjmp): Likewise.
35434 (__GI__setjmp): Likewise.
35435 (__vmx_setjmp): Likewise.
35436 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35438 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35439 (__bzero): Don't use BP_SYM.
35440 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35441 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35442 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35443 <bp-sym.h> and <bp-asm.h>.
35444 (memcpy): Don't use BP_SYM.
35445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35446 <bp-sym.h> and <bp-asm.h>.
35447 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35448 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35449 <bp-sym.h> and <bp-asm.h>.
35450 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35451 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35453 (__mpn_lshift): Don't use BP_SYM.
35454 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35455 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35457 (memset): Don't use BP_SYM.
35458 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35459 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35460 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35462 (__mpn_mul_1): Don't use BP_SYM.
35463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35464 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35465 <bp-sym.h> and <bp-asm.h>.
35466 (memcmp): Don't use BP_SYM.
35467 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35468 <bp-sym.h> and <bp-asm.h>.
35469 (memcpy): Don't use BP_SYM.
35470 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35471 <bp-sym.h> and <bp-asm.h>.
35472 (memset): Don't use BP_SYM.
35473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35474 <bp-sym.h> and <bp-asm.h>.
35475 (strncmp): Don't use BP_SYM.
35476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35477 <bp-sym.h> and <bp-asm.h>.
35478 (memcpy): Don't use BP_SYM.
35479 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35480 <bp-sym.h> and <bp-asm.h>.
35481 (memset): Don't use BP_SYM.
35482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35483 <bp-sym.h> and <bp-asm.h>.
35484 (__memchr): Don't use BP_SYM.
35485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35486 <bp-sym.h> and <bp-asm.h>.
35487 (memcmp): Don't use BP_SYM.
35488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35489 <bp-sym.h> and <bp-asm.h>.
35490 (memcpy): Don't use BP_SYM.
35491 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35492 <bp-sym.h> and <bp-asm.h>.
35493 (__mempcpy): Don't use BP_SYM.
35494 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35495 <bp-sym.h> and <bp-asm.h>.
35496 (__memrchr): Don't use BP_SYM.
35497 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35498 <bp-sym.h> and <bp-asm.h>.
35499 (memset): Don't use BP_SYM.
35500 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35501 <bp-sym.h> and <bp-asm.h>.
35502 (__rawmemchr): Don't use BP_SYM.
35503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35504 <bp-sym.h> and <bp-asm.h>.
35505 (__STRCMP): Don't use BP_SYM.
35506 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35507 <bp-sym.h> and <bp-asm.h>.
35508 (strchr): Don't use BP_SYM.
35509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35510 <bp-sym.h> and <bp-asm.h>.
35511 (__strchrnul): Don't use BP_SYM.
35512 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35513 <bp-sym.h> and <bp-asm.h>.
35514 (strlen): Don't use BP_SYM.
35515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35516 <bp-sym.h> and <bp-asm.h>.
35517 (strncmp): Don't use BP_SYM.
35518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35519 <bp-sym.h> and <bp-asm.h>.
35520 (__strnlen): Don't use BP_SYM.
35521 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35523 (__mpn_rshift): Don't use BP_SYM.
35524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35525 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35526 <bp-sym.h> and <bp-asm.h>.
35527 (__sigsetjmp): Don't use BP_SYM.
35528 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35529 (L(start_addresses)): Don't use BP_SYM.
35530 (_start): Likewise.
35531 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35533 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35534 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35535 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35536 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35538 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35539 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35540 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35541 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35543 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35546 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35548 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35552 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35556 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35558 (strncmp): Don't use BP_SYM,
35559 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35561 (__mpn_sub_n): Don't use BP_SYM.
35562 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35563 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35565 (__mpn_submul_1): Don't use BP_SYM.
35566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35568 <bp-sym.h> and <bp-asm.h>.
35569 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35571 <bp-sym.h> and <bp-asm.h>.
35572 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35575 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35578 Use ZK to minimize writes to Z.
35579 (sub_magnitudes): Simplify code a bit.
35580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35581 Use ZK to minimize writes to Z.
35582 (sub_magnitudes): Simplify code a bit.
35584 2013-02-27 Roland McGrath <roland@hack.frob.com>
35586 * csu/gmon-start.c: Add special exception to license text.
35588 2013-02-27 Richard Henderson <rth@redhat.com>
35590 * scripts/config.guess: Update from config.git.
35591 * scripts/config.sub: Likewise.
35593 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35595 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35597 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35599 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35601 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35603 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35605 2013-02-26 Roland McGrath <roland@hack.frob.com>
35607 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35608 [$(build-shared = yes].
35610 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35612 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35613 (__mul): Reduce iterations for calculating mantissa.
35615 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35617 (__mpranred): Likewise.
35620 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35621 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35623 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35625 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35626 Define __attribute__.
35628 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35630 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35632 * posix/regex_internal.h (__attribute): Remove.
35633 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35634 (re_string_context_at): Likewise.
35635 (bitset_not): Use __attribute__ and mark function as possibly
35637 (bitset_merge): Likewise.
35638 (bitset_mask): Likewise.
35639 (re_string_char_size_at): Likewise.
35640 (re_string_wchar_at): Likewise.
35641 (re_string_elem_size_at): Likewise.
35643 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35645 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35653 (denorm): Likewise.
35654 (__dbl_mp): Likewise.
35655 (add_magnitudes): Likewise.
35656 (sub_magnitudes): Likewise.
35660 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35663 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35666 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35670 up changes with default code.
35671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35674 2013-02-24 Allan McRae <allan@archlinux.org>
35676 * manual/socket.texi (The Internet Namespace): Order menu items
35677 to match that in the file.
35679 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35680 node listing of the info page menu.
35682 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35685 * sysdeps/i386/bp-asm.h: Remove file.
35686 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35687 (PARMS): Do not use macros from bp-asm.h.
35691 (__mpn_add_n): Do not use BP_SYM
35692 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35694 (PARMS): Do not use macros from bp-asm.h.
35697 (__mpn_addmul_1): Do not use BP_SYM
35698 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35700 (PARMS): Do not use macros from bp-asm.h.
35701 (SIGMSK): Likewise.
35702 (_setjmp): Likewise. Do not use BP_SYM.
35703 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35705 (PARMS): Do not use macros from bp-asm.h.
35706 (SIGMSK): Likewise.
35707 (setjmp): Likewise. Do not use BP_SYM.
35708 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35710 (PARMS): Do not use macros from bp-asm.h.
35711 (__frexp): Do not use BP_SYM.
35713 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35715 (PARMS): Do not use macros from bp-asm.h.
35716 (__frexpf): Do not use BP_SYM.
35717 (frexpf): Likewise.
35718 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35720 (PARMS): Do not use macros from bp-asm.h.
35721 (__frexpl): Do not use BP_SYM.
35722 (frexpl): Likewise.
35723 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35725 (PARMS): Do not use macros from bp-asm.h.
35726 (__remquo): Do not use BP_SYM.
35727 (remquo): Likewise.
35728 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35730 (PARMS): Do not use macros from bp-asm.h.
35731 (__remquof): Do not use BP_SYM.
35732 (remquof): Likewise.
35733 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35735 (PARMS): Do not use macros from bp-asm.h.
35736 (__remquol): Do not use BP_SYM.
35737 (remquol): Likewise.
35738 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35740 (PARMS): Do not use macros from bp-asm.h.
35743 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35744 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35746 (PARMS): Do not use macros from bp-asm.h.
35747 (strlen): Do not use BP_SYM.
35748 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35750 (PARMS): Do not use macros from bp-asm.h.
35754 (__mpn_add_n): Do not use BP_SYM.
35755 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35757 (PARMS): Do not use macros from bp-asm.h.
35760 (__mpn_addmul_1): Do not use BP_SYM.
35761 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35764 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35766 (PARMS): Do not use macros from bp-asm.h.
35769 (__mpn_lshift): Do not use BP_SYM.
35770 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35772 (PARMS): Do not use macros from bp-asm.h.
35776 (memcpy): Likewise. Do not use BP_SYM.
35777 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35778 libc_hidden_def and weak_alias.
35779 (mempcpy): Do not use BP_SYM in weak_alias.
35780 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35782 (PARMS): Do not use macros from bp-asm.h.
35785 [!BZERO_P] (CHR): Likewise.
35786 (memset): Likewise. Do not use BP_SYM.
35787 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35789 (PARMS): Do not use macros from bp-asm.h.
35792 (__mpn_mul_1): Do not use BP_SYM.
35793 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35795 (PARMS): Do not use macros from bp-asm.h.
35798 (__mpn_rshift): Do not use BP_SYM.
35799 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35801 (PARMS): Do not use macros from bp-asm.h.
35804 (strchr): Likewise. Do not use BP_SYM.
35805 (index): Do not use BP_SYM in weak_alias.
35806 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35808 (PARMS): Do not use macros from bp-asm.h.
35811 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35812 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35814 (PARMS): Do not use macros from bp-asm.h.
35815 (strlen): Do not use BP_SYM.
35816 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35818 (PARMS): Do not use macros from bp-asm.h.
35822 (__mpn_sub_n): Do not use BP_SYM.
35823 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35825 (PARMS): Do not use macros from bp-asm.h.
35828 (__mpn_submul_1): Do not use BP_SYM.
35829 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35831 (PARMS): Do not use macros from bp-asm.h.
35835 (__mpn_add_n): Do not use BP_SYM.
35836 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35839 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35841 (PARMS): Do not use macros from bp-asm.h.
35844 (memcmp): Do not use BP_SYM.
35845 (bcmp): Do not use BP_SYM in weak_alias.
35846 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35848 (PARMS): Do not use macros from bp-asm.h.
35852 (memcpy): Likewise. Do not use BP_SYM.
35853 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35855 (PARMS): Do not use macros from bp-asm.h.
35859 (memmove): Likewise. Do not use BP_SYM.
35860 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35862 (PARMS): Do not use macros from bp-asm.h.
35866 (__mempcpy): Likewise. Do not use BP_SYM.
35867 (mempcpy): Do not use BP_SYM in weak_alias.
35868 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35870 (PARMS): Do not use macros from bp-asm.h.
35873 [!BZERO_P] (CHR): Likewise.
35874 (memset): Likewise. Do not use BP_SYM.
35875 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35877 (PARMS): Do not use macros from bp-asm.h.
35879 (strcmp): Do not use BP_SYM.
35880 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35882 (PARMS): Do not use macros from bp-asm.h.
35885 [USE_AS_STRTOK_R] (SAVE): Likewise.
35886 (FUNCTION): Likewise. Do not use BP_SYM.
35887 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35889 (strtok_r): Likewise.
35890 (__GI___strtok_r): Likewise.
35891 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35892 (PARMS): Do not use macros from bp-asm.h.
35895 (__mpn_lshift): Do not use BP_SYM.
35896 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35897 (PARMS): Do not use macros from bp-asm.h.
35900 (__memchr): Do not use BP_SYM.
35901 (memchr): Do not use BP_SYM in weak_alias.
35902 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35903 (PARMS): Do not use macros from bp-asm.h.
35906 (memcmp): Do not use BP_SYM.
35907 (bcmp): Do not use BP_SYM in weak_alias.
35908 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35909 (PARMS): Do not use macros from bp-asm.h.
35912 (__mpn_mul_1): Do not use BP_SYM.
35913 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35915 (PARMS): Do not use macros from bp-asm.h.
35918 (__rawmemchr): Do not use BP_SYM.
35919 (rawmemchr): Do not use BP_SYM in weak_alias.
35920 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35921 (PARMS): Do not use macros from bp-asm.h.
35924 (__mpn_rshift): Do not use BP_SYM.
35925 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35926 (PARMS): Do not use macros from bp-asm.h.
35927 (SIGMSK): Likewise.
35928 (__sigsetjmp): Likewise. Do not use BP_SYM.
35929 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35930 (_start): Do not use BP_SYM.
35931 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35932 (PARMS): Do not use macros from bp-asm.h.
35935 (__stpcpy): Likewise. Do not use BP_SYM.
35936 (stpcpy): Do not use BP_SYM in weak_alias.
35937 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35939 (PARMS): Do not use macros from bp-asm.h.
35943 (__stpncpy): Likewise. Do not use BP_SYM.
35944 (stpncpy): Do not use BP_SYM in weak_alias.
35945 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35946 (PARMS): Do not use macros from bp-asm.h.
35949 (strchr): Likewise. Do not use BP_SYM.
35950 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35952 (PARMS): Do not use macros from bp-asm.h.
35955 (__strchrnul): Likewise. Do not use BP_SYM.
35956 (strchrnul): Do not use BP_SYM in weak_alias.
35957 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35959 (PARMS): Do not use macros from bp-asm.h.
35961 (strcspn): Do not use BP_SYM.
35962 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35964 (PARMS): Do not use macros from bp-asm.h.
35967 (strpbrk): Likewise. Do not use BP_SYM.
35968 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35970 (PARMS): Do not use macros from bp-asm.h.
35973 (strrchr): Likewise. Do not use BP_SYM.
35974 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35975 (PARMS): Do not use macros from bp-asm.h.
35977 (strspn): Do not use BP_SYM.
35978 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35979 (PARMS): Do not use macros from bp-asm.h.
35983 (FUNCTION): Likewise. Do not use BP_SYM.
35984 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35986 (strtok_r): Likewise.
35987 (__GI___strtok_r): Likewise.
35988 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35989 (PARMS): Do not use macros from bp-asm.h.
35993 (__mpn_sub_n): Do not use BP_SYM.
35994 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35996 (PARMS): Do not use macros from bp-asm.h.
35999 (__mpn_submul_1): Do not use BP_SYM.
36000 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36002 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36004 (PARMS): Do not use macros from bp-asm.h.
36009 (__clone): Do not use BP_SYM.
36010 (clone): Do not use BP_SYM in weak_alias.
36011 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36013 (PARMS): Do not use macros from bp-asm.h.
36015 (__mmap64): Do not use BP_SYM.
36016 (mmap64): Do not use BP_SYM in weak_alias.
36017 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36018 <bp-sym.h> and <bp-asm.h>.
36019 (PARMS): Do not use macros from bp-asm.h.
36020 (__posix_fadvise64_l64): Do not use BP_SYM.
36021 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36022 (PARMS): Do not use macros from bp-asm.h.
36024 (semtimedop): Do not use BP_SYM.
36025 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36028 2013-02-21 Allan McRae <allan@archlinux.org>
36030 * manual/message.texi (Charset conversion in gettext):
36031 Move @end statement to beginning of line.
36033 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36041 (denorm): Likewise.
36042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36045 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36047 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36048 tail-call to the resolved function if pltexit isn't needed.
36050 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36053 or Y being zero as being unlikely.
36054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36057 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36059 * manual/nss.texi (System Databases and Name Service Switch):
36060 Remove frobnicate @pxref.
36062 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36064 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36065 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36067 2013-02-20 Petr Machata <pmachata@redhat.com>
36069 * elf/elf.h (R_ARM_TARGET1): New macro.
36070 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36071 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36072 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36073 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36074 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36075 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36076 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36077 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36078 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36079 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36080 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36081 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36082 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36083 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36084 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36085 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36086 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36087 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36088 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36089 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36090 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36091 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36092 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36093 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36094 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36095 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36096 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36097 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36098 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36099 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36100 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36101 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36102 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36103 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36104 (R_ARM_THM_GOT_BREL12): Likewise.
36105 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36106 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36107 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36108 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36109 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36110 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36111 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36112 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36113 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36115 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36117 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36118 __attribute_used__ to __attribute__ ((unused)).
36120 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36122 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36125 comment formatting.
36126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36128 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36131 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36133 (ENTER): Remove both macro definitions.
36135 (CHECK_BOUNDS_LOW): Likewise.
36136 (CHECK_BOUNDS_HIGH): Likewise.
36137 (CHECK_BOUNDS_BOTH): Likewise.
36138 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36139 (RETURN_BOUNDED_POINTER): Likewise.
36140 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36141 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36142 (POP_ERRNO_LOCATION_RETURN): Likewise.
36143 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36144 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36145 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36147 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36148 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36149 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36150 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36151 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36152 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36153 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36154 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36155 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36156 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36157 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36158 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36159 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36160 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36162 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36163 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36166 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36167 * sysdeps/i386/i586/memset.S (memset): Likewise.
36168 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36169 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36170 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36172 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36173 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36174 Change uses of L(2) to L(out).
36175 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36176 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36177 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36179 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36181 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36182 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36184 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36185 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36186 (RETURN): Do not use macro LEAVE.
36187 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36188 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36189 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36190 * sysdeps/i386/i686/memset.S (memset): Likewise.
36191 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36192 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36193 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36194 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36196 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36197 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36198 L(1_2) and L(1_3) into L(1).
36199 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36200 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36201 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36202 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36203 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36204 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36205 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36206 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36207 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36209 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36210 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36211 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36212 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36213 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36214 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36215 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36216 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36217 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36218 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36219 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36220 * sysdeps/i386/strspn.S (strspn): Likewise.
36221 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36223 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36224 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36225 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36226 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36227 L(1_3) into L(1_1).
36228 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36229 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36230 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36232 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36234 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36236 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36239 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36241 * math/atest-exp.c (exp_mpn): Remove ROUND.
36242 * math/atest-exp2.c (exp_mpn): Likewise.
36243 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36245 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36246 * stdlib/tst-tls-atexit-lib.c: Likewise.
36247 * stdlib/tst-tls-atexit.c: Likewise.
36249 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36251 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36252 and __attribute_alloc_size__.
36254 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36256 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36257 __attribute_alloc_size__.
36258 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36259 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36261 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36263 * include/programs/xmalloc.h: New file.
36264 * catgets/gencat.c: Include it.
36265 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36266 * elf/pldd.c: Likewise.
36267 * iconv/iconv_charmap.c: Likewise.
36268 * iconv/iconvconfig.c: Likewise.
36269 * iconv/strtab.c: Likewise.
36270 * locale/programs/locale.c: Likewise.
36271 * locale/programs/localedef.h: Likewise.
36272 * locale/programs/simple-hash.c: Likewise.
36273 * nscd/nscd.h: Likewise.
36274 * nss/makedb.c: Likewise.
36275 * sysdeps/generic/ldconfig.h: Likewise.
36277 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36279 * Versions.def: Add GLIBC_2.18.
36280 * include/link.h (struct link_map): New member l_tls_dtor_count.
36281 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36282 (__call_tls_dtors): Likewise.
36283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36284 __cxa_thread_atexit_impl.
36285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36301 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36302 (tests): Add test case tst-tls-atexit.
36303 (modules-names): Add shared library for tst-tls-atexit.
36304 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36305 (GLIBC_PRIVATE): Add __call_tls_dtors.
36306 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36308 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36309 * stdlib/tst-tls-atexit.c: New test case.
36310 * stdlib/tst-tls-atexit-lib.c: New test case.
36312 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36314 * elf/Versions (ld): Add _dl_find_dso_for_object.
36315 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36316 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36317 (dl_open_worker): Use _dl_find_dso_for_object.
36318 * elf/dl-sym.c (do_sym): Likewise.
36319 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36321 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36323 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36324 Syntactic changes only.
36325 (_dl_runtime_profile): Do a tail-call to the resolved function.
36327 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36330 * sysdeps/x86_64/bp-asm.h: Remove file.
36331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36332 <bp-sym.h> and <bp-asm.h>.
36333 (__clone): Do not use BP_SYM.
36334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36335 <bp-sym.h> and <bp-asm.h>.
36336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36337 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36339 (_setjmp): Do not use BP_SYM.
36340 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36342 (setjmp): Do not use BP_SYM.
36343 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36345 (mempcpy): Do not use BP_SYM in weak_alias.
36346 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36348 (strchr): Do not use BP_SYM.
36349 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36351 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36352 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36353 (_start): Do not use BP_SYM.
36354 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36356 (strcat): Do not use BP_SYM.
36357 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36359 (STRCMP): Do not use BP_SYM.
36360 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36362 (STRCPY): Do not use BP_SYM.
36363 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36365 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36367 (FUNCTION): Do not use BP_SYM.
36368 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36370 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36372 2013-02-17 Andreas Jaeger <aj@suse.de>
36374 * time/Versions: Sort entries.
36375 * string/Versions: Likewise.
36376 * resolv/Versions: Likewise.
36377 * posix/Versions: Likewise.
36378 * iconv/Versions: Likewise.
36379 * elf/Versions: Likewise.
36380 * wcsmbs/Versions: Likewise.
36382 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36385 loop termination condition.
36387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36388 variable to calculate EZ.
36391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36392 the lower precision input.
36394 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36397 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36398 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36399 (run-via-rtld-prefix): Do not handle %-bp tests.
36400 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36401 (all-object-suffixes): Remove .ob.
36402 (bppfx): Remove variable.
36403 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36404 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36405 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36406 [$(build-bounded) = yes] (libtype.ob): Likewise.
36407 * Makerules (elide-routines.ob): Remove variable.
36408 (do-tests-clean): Do not handle *-bp.out.
36409 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36410 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36411 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36412 (tests): Do not include $(tests-bp.out).
36413 (xtests): Do not include $(xtests-bp.out).
36414 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36415 [$(build-bounded) = yes] ($(addprefix
36416 $(objpfx),$(binaries-bounded))): Remove rule.
36417 ($(objpfx)%-bp.out): Remove rule.
36418 * config.make.in (build-bounded): Remove variable.
36419 * crypt/Makefile [$(build-bounded) = yes]
36420 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36421 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36422 append to variable.
36423 [$(build-bounded) = yes] (install-lib): Likewise.
36424 [$(build-bounded) = yes] (generated): Likewise.
36425 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36427 * intl/Makefile [$(build-bounded) = yes]
36428 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36429 * math/Makefile [$(build-bounded) = yes]
36430 ($(tests:%=$(objpfx)%-bp): Likewise.
36431 * misc/Makefile [$(build-bounded) = yes]
36432 ($(objpfx)tst-tsearch-bp): Likewise.
36433 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36434 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36436 * string/Makefile (o-objects.ob): Remove variable.
36437 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36438 (CFLAGS-.ob): Remove variable.
36439 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36440 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36441 both definitions of variable.
36442 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36443 (ASFLAGS-.ob): Remove variable.
36445 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36448 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36449 Remove __BOUNDED_POINTERS__ from condition.
36450 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36451 * string/bits/string2.h [!__NO_STRING_INLINES &&
36452 !__BOUNDED_POINTERS__]: Likewise.
36453 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36455 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36456 Remove conditional code.
36457 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36458 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36459 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36463 * csu/libc-start.c: Do not include <bp-sym.h>.
36464 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36465 * elf/dl-open.c: Do not include <bp-sym.h>.
36466 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36467 * math/fegetenv.c: Do not include <bp-sym.h>.
36468 (fegetenv): Do not use BP_SYM in versioned symbols.
36469 * nptl/sysdeps/pthread/bits/libc-lockP.h
36470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36473 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36475 (__pthread_mutex_destroy): Likewise.
36476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36477 (__pthread_mutex_lock): Likewise.
36478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36479 (__pthread_mutex_trylock): Likewise.
36480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36481 (__pthread_mutex_unlock): Likewise.
36482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36483 (__pthread_mutexattr_init): Likewise.
36484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36485 (__pthread_mutexattr_destroy): Likewise.
36486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36487 (__pthread_mutexattr_settype): Likewise.
36488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36489 (__pthread_rwlock_init): Likewise.
36490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36491 (__pthread_rwlock_destroy): Likewise.
36492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36493 (__pthread_rwlock_rdlock): Likewise.
36494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36495 (__pthread_rwlock_tryrdlock): Likewise.
36496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36497 (__pthread_rwlock_wrlock): Likewise.
36498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36499 (__pthread_rwlock_trywrlock): Likewise.
36500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36501 (__pthread_rwlock_unlock): Likewise.
36502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36503 (__pthread_key_create): Likewise.
36504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36505 (__pthread_setspecific): Likewise.
36506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36507 (__pthread_getspecific): Likewise.
36508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36511 (_pthread_cleanup_push_defer): Likewise.
36512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36513 (_pthread_cleanup_pop_restore): Likewise.
36514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36515 (pthread_setcancelstate): Likewise.
36516 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36518 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36519 (memchr): Do not use BP_SYM in weak_alias.
36520 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36521 (fegetenv): Do not use BP_SYM in versioned symbols.
36522 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36523 (fesetenv): Do not use BP_SYM in versioned symbols.
36524 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36525 (feupdateenv): Do not use BP_SYM in versioned symbols.
36526 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36527 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36528 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36529 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36530 (open64): Do not use BP_SYM in weak_alias.
36531 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36532 (fegetenv): Do not use BP_SYM in versioned symbols.
36533 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36534 (fesetenv): Do not use BP_SYM in versioned symbols.
36535 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36536 (feupdateenv): Do not use BP_SYM in versioned symbols.
36537 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36538 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36539 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36540 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36541 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36542 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36543 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36545 (__libc_start_main): Do not use BP_SYM.
36547 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36550 redundant return line.
36552 (denorm): Likewise.
36553 (dbl_mp): Likewise.
36554 (sub_magnitudes): Likewise.
36560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36562 (denorm): Likewise.
36563 (dbl_mp): Likewise.
36564 (sub_magnitudes): Likewise.
36571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36574 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36578 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36580 of __mul for squares.
36581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36585 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36586 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36588 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36591 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36593 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36594 prototype or function definition. Rename ubp_* variables and
36595 parameters. Remove argv definitions conditional on
36596 [__BOUNDED_POINTERS__].
36597 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36598 * elf/dl-runtime.c (_dl_fixup): Likewise.
36599 * include/set-hooks.h (RUN_HOOK): Likewise.
36600 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36602 * string/strcpy.c (strcpy): Do not use __unbounded.
36603 * sysdeps/generic/frame.h (struct layout): Likewise.
36604 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36605 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36606 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36607 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36608 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36609 (__backtrace): Likewise.
36610 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36612 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36613 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36614 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36616 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36617 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36618 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36619 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36620 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36621 Do not use __unbounded.
36622 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36623 Rename __unboundedrlimits parameter to rlimits in prototype.
36624 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36625 Do not use __unbounded.
36626 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36627 not use __ptrvalue.
36628 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36629 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36630 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36631 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36632 __ptrvalue or __unbounded.
36633 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36634 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36636 (__new_msgctl): Do not use __ptrvalue.
36637 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36639 (__libc_msgrcv): Do not use __ptrvalue.
36640 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36641 startup_info): Do not use __unbounded.
36642 (__libc_start_main): Likewise. Rename ubp_* variables and
36643 parameters. Remove argv definitions conditional on
36644 [__BOUNDED_POINTERS__].
36645 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36647 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36651 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36653 (__new_shmctl): Do not use __ptrvalue.
36654 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36655 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36657 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36659 (__libc_sigaction): Likewise.
36660 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36661 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36663 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36665 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36667 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36669 * string/mempcpy.c: Implement by calling memcpy.
36671 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36679 values in the mantissa.
36681 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36682 minimize writes to Z.
36683 (sub_magnitudes): Simplify code a bit.
36685 2013-02-12 Roland McGrath <roland@hack.frob.com>
36687 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36688 from the message. The linker prefixes all warnings with that already.
36690 2013-02-12 Andreas Schwab <schwab@suse.de>
36693 * posix/regexec.c (extend_buffers): Add parameter min_len.
36694 (check_matching): Pass minimum needed length.
36695 (clean_state_log_if_needed): Likewise.
36696 (get_subexp): Likewise.
36697 * posix/Makefile (tests): Add bug-regex34.
36698 (bug-regex34-ENV): Define.
36699 * posix/bug-regex34.c: New file.
36702 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36703 elements compare against the byte sequence of it, not its name.
36704 * posix/Makefile (tests): Add bug-regex35.
36705 (bug-regex35-ENV): Define.
36706 * posix/bug-regex35.c: New file.
36708 2013-02-11 Tom de Vries <tom@codesourcery.com>
36710 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36712 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36713 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36714 (CHECK_EOL): Add undef.
36716 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36718 * bits/stdlib-bsearch.h: New file.
36719 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36720 * stdlib/stdlib.h: Likewise.
36722 2013-02-11 Roland McGrath <roland@hack.frob.com>
36724 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36725 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36727 * manual/search.texi (Array Search Function): Add missing const in
36729 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36730 declaration to use rlim_t.
36731 (Basic Scheduling Functions): Remove erroneous const from
36732 sched_getparam prototype. Remove erroneous * from
36733 sched_get_priority_max and sched_get_priority_min prototypes.
36734 (Resource Usage): Fix summary @comment on vtimes to refer to
36735 sys/vtimes.h rather than vtimes.h.
36736 Add missing *s in vtimes prototype.
36737 (Limits on Resources): Fix ulimit prototype to return long int.
36738 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36739 prototypes to use long int rather than double.
36740 (BSD Random): Fix initstate and setstate to use char *, not void *.
36741 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36742 prototype to make second argument 'struct aiocb64 *const[]'.
36743 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36744 (Status of AIO Operations): Remove erroneous const in aio_return and
36745 aio_return64 prototypes.
36746 (Synchronizing I/O): Fix sync prototype to return void.
36747 * manual/startup.texi (Suboptions): Remove an erroneous const in
36748 getsubopt prototype.
36749 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36750 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36751 use size_t rather than int.
36752 (Scanning All Users): Likewise for getpwent_r.
36753 (Setting Groups): Add missing const to setgroups prototype.
36754 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36755 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36756 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36757 'const void *' rather than 'const char *'.
36758 (Host Address Functions): Likewise for inet_ntop.
36759 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36760 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36761 ssize_t for return value.
36762 (Sending Data): Likewise for send, sendto, sendmsg.
36763 (Socket Option Functions): Add a missing const in setsockopt prototype.
36764 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36765 use wchar_t for the argument.
36766 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36767 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36769 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36770 double/float/long double for second argument.
36771 Fix return types of significand, significandf, significandl.
36772 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36773 argument in fchmod prototype.
36774 (File Owner): Use uid_t and gid_t in fchown prototype.
36775 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36776 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36777 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36778 use 'const struct dirent **' as argument types to CMP function pointer
36780 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36781 (File Times): Fix summary magic @comment for struct utimbuf and utime
36782 to refer to utime.h, not time.h.
36783 * manual/string.texi (Argz Functions): Add missing const in
36784 argz_extract and argz_next prototypes.
36785 (Finding Tokens in a String): Likewise for basename.
36786 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36787 (Copying and Concatenation): Fix typo in wmemmove prototype.
36788 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36789 (Signal Stack): Remove erroneous const in sigstack prototype.
36790 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36792 (Simple Calendar Time): Likewise for stime.
36793 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36795 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36796 say sys/sysctl.h instead.
36797 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36798 and vsyslog prototypes.
36800 2013-02-11 Tom de Vries <tom@codesourcery.com>
36802 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36805 2013-02-11 Roland McGrath <roland@hack.frob.com>
36807 * misc/sys/mman.h: Fix typo in mremap comment.
36809 2013-02-08 Roland McGrath <roland@hack.frob.com>
36811 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36812 the '\0' terminator.
36814 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36817 * debug/segfault.c: Don't include <bp-checks.h>.
36818 * sysdeps/generic/bp-checks.h: Remove file.
36819 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36820 (__GETDENTS): Don't use CHECK_N.
36821 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36822 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36823 (__getgroups): Don't use CHECK_N.
36824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36825 (setgroups): Don't use CHECK_N.
36826 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36827 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36828 (__libc_msgrcv): Don't use CHECK_N.
36829 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36830 (__libc_msgsnd): Don't use CHECK_N.
36831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36833 (__libc_pread): Don't use CHECK_N.
36834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36835 include <bp-checks.h>.
36836 (__libc_pread64): Don't use CHECK_N.
36837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36838 include <bp-checks.h>.
36839 (__libc_pwrite): Don't use CHECK_N.
36840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36841 include <bp-checks.h>.
36842 (__libc_pwrite64): Don't use CHECK_N.
36843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36845 (__libc_pread): Don't use CHECK_N.
36846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36847 include <bp-checks.h>.
36848 (__libc_pread64): Don't use CHECK_N.
36849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36850 include <bp-checks.h>.
36851 (__libc_pwrite): Don't use CHECK_N.
36852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36853 include <bp-checks.h>.
36854 (__libc_pwrite64): Don't use CHECK_N.
36855 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36856 (do_pread): Don't use CHECK_N.
36857 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36858 (do_pread64): Don't use CHECK_N.
36859 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36860 (do_pwrite): Don't use CHECK_N.
36861 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36862 (do_pwrite64): Don't use CHECK_N.
36863 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36864 (__libc_readv): Don't use CHECK_N.
36865 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36866 (semop): Don't use CHECK_N.
36867 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36869 (semtimedop): Don't use CHECK_N.
36870 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36871 (__libc_pread): Don't use CHECK_N.
36872 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36874 (__libc_pread64): Don't use CHECK_N.
36875 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36877 (__libc_pwrite): Don't use CHECK_N.
36878 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36880 (__libc_pwrite64): Don't use CHECK_N.
36881 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36883 (__libc_msgrcv): Don't use CHECK_N.
36884 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36885 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36886 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36887 (__libc_writev): Don't use CHECK_N.
36889 2013-02-08 Roland McGrath <roland@hack.frob.com>
36891 * string/strcpy.c: Removed unused variable.
36893 * Makeconfig (+sysdep-includes): Define with := rather than =.
36894 Use an existing include/ subdir of each sysdeps dir before it.
36896 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36898 * nscd/connection.c (register_traced_file): Comment function.
36899 [HAVE_INOTIFY] (union __inev): Define.
36900 [HAVE_INOTIFY] (inotify_check_files): New function.
36901 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36902 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36904 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36906 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36908 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36909 loaded if not already and that a failure is permanent.
36911 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36914 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36915 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36917 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36920 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36921 (CHECK_1_NULL_OK): Likewise.
36922 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36923 (__fxstat): Do not use CHECK_1.
36924 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36926 (___fxstat64): Do not use CHECK_1.
36927 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36929 (__fxstatat): Do not use CHECK_1.
36930 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36932 (__fxstatat64): Do not use CHECK_1.
36933 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36935 (__fxstat): Do not use CHECK_1.
36936 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36938 (__fxstatat): Do not use CHECK_1.
36939 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36941 (__getresgid): Do not use CHECK_1.
36942 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36944 (__getresuid): Do not use CHECK_1.
36945 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36947 (__lxstat): Do not use CHECK_1.
36948 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36950 (__old_msgctl): Do not use CHECK_1.
36951 (__new_msgctl): Likewise.
36952 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36954 (__new_setrlimit): Do not use CHECK_1.
36955 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36957 (__old_shmctl): Do not use CHECK_1.
36958 (__new_shmctl): Likewise.
36959 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36961 (__xstat): Do not use CHECK_1.
36962 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36963 (__lxstat): Do not use CHECK_1.
36964 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36966 (___lxstat64): Do not use CHECK_1.
36967 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36968 (__old_msgctl): Do not use CHECK_1.
36969 (__new_msgctl): Likewise.
36970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36972 (__gettimeofday): Do not use CHECK_1.
36973 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36974 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36975 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36977 (__gettimeofday): Do not use CHECK_1.
36978 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36979 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36980 (__new_shmctl): Do not use CHECK_1.
36981 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36983 (do_sigtimedwait): Do not use CHECK_1.
36984 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36986 (do_sigwaitinfo): Do not use CHECK_1.
36987 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36989 (msgctl): Do not use CHECK_1.
36990 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36992 (shmctl): Do not use CHECK_1.
36993 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36994 (ustat): Do not use CHECK_1.
36995 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36997 (__fxstat): Do not use CHECK_1.
36998 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37000 (__fxstatat): Do not use CHECK_1.
37001 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37003 (__lxstat): Do not use CHECK_1.
37004 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37006 (__xstat): Do not use CHECK_1.
37007 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37008 (__xstat): Do not use CHECK_1.
37009 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37010 (___xstat64): Do not use CHECK_1.
37013 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37015 (CHECK_BOUNDS_HIGH): Likewise.
37016 * string/strcpy.c: Do not include <bp-checks.h>.
37017 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37019 2013-02-07 Roland McGrath <roland@hack.frob.com>
37021 * nscd/nscd-client.h (__nscd_drop_map_ref):
37022 Add __attribute__ ((unused)).
37023 * nis/nss-nisplus.h (niserr2nss): Likewise.
37025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37026 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37028 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37029 Remove inline keyword.
37030 * include/rounding-mode.h (round_away): Likewise.
37031 * libio/wfileops.c (adjust_wide_data): Likewise.
37032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37033 (__m128i_strloadu_tolower): Likewise.
37034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37035 (__m128i_strloadu_tolower): Likewise.
37036 * time/mktime.c (ydhms_diff): Likewise.
37037 * locale/elem-hash.h (elem_hash): Likewise.
37038 * locale/setlocale.c (setdata): Likewise.
37039 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37040 (re_string_wchar_at): Likewise.
37041 (bitset_not, bitset_merge, bitset_mask): Likewise.
37042 [!(__GNUC__ > 3)] (inline): Remove macro.
37043 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37044 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37045 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37046 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37047 * string/memcmp.c (memcmp_bytes): Likewise.
37048 * locale/programs/locarchive.c (compute_hashval): Likewise.
37049 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37050 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37051 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37052 * nss/getent.c (print_rpc, print_protocols): Likewise.
37053 (print_passwd, print_group, print_aliases): Likewise.
37054 * nis/nss-nisplus.h (niserr2nss): Likewise.
37055 * nscd/connections.c (restart_p): Likewise.
37056 Change return type to bool.
37058 2013-02-05 Roland McGrath <roland@hack.frob.com>
37060 * Makeconfig (all-Depend-files): Add existing
37061 $(sorted-subdirs:=/Depend) files.
37062 (all-subdirs): Remove nss.
37063 * sysdeps/unix/inet/Subdirs: Add it here instead.
37064 * hesiod/Depend: New file.
37066 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37067 instead of calling alloca.
37069 * io/lseek.c (__lseek): Rename to __libc_lseek.
37070 Define __lseek as an alias.
37072 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37074 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37076 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37077 else clause and remove check for non-standard endianness.
37079 2013-02-04 David S. Miller <davem@davemloft.net>
37081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37083 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37086 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37087 (__ubp_memchr): Remove prototype.
37088 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37089 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37090 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37091 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37092 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37094 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37095 (__ubp_memchr): Likewise.
37096 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37097 (__ubp_memchr): Likewise.
37098 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37099 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37100 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37101 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37103 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37104 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37105 (__getcwd): Do not use CHECK_STRING.
37106 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37108 (__real_chown): Do not use CHECK_STRING.
37109 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37111 (fchownat): Do not use CHECK_STRING.
37112 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37114 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37116 (__lchown): Do not use CHECK_STRING.
37117 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37118 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37119 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37120 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37122 include <bp-checks.h>.
37123 (truncate64): Do not use CHECK_STRING.
37124 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37126 (__real_chown): Do not use CHECK_STRING.
37127 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37129 (__lchown): Do not use CHECK_STRING.
37130 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37132 (__chown): Do not use CHECK_STRING.
37133 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37135 (truncate64): Do not use CHECK_STRING.
37136 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37138 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37139 (__xmknod): Do not use CHECK_STRING.
37140 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37142 (__xmknodat): Do not use CHECK_STRING.
37143 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37144 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37146 2013-02-04 Andreas Schwab <schwab@suse.de>
37149 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37150 * include/netdb.h: Likewise for h_errno.
37151 * elf/tst-stackguard1.c: Include <tls.h>.
37153 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37155 * elf/link.h (struct link_map): Extend the l_addr comment.
37156 * include/link.h (struct link_map): Likewise.
37158 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37161 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37162 (BOUNDED_1): Remove macro.
37163 * debug/backtrace.c: Don't include <bp-checks.h>.
37164 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37165 (__backtrace): Likewise.
37166 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37168 (__backtrace): Don't use BOUNDED_1.
37169 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37171 (__backtrace): Don't use BOUNDED_1.
37172 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37173 (__backtrace): Don't use BOUNDED_1.
37174 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37175 (shmat): Don't use BOUNDED_N.
37177 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37180 * sysdeps/generic/bp-start.h: Remove file.
37181 * csu/libc-start.c: Don't include <bp-start.h>.
37182 (LIBC_START_MAIN): Set up __environ directly instead of using
37183 INIT_ARGV_and_ENVIRON.
37184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37188 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37190 (CHECK_FCNTL): Likewise.
37191 (CHECK_N_PAGES): Likewise.
37194 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37196 (CHECK_SIGSET_NULL_OK): Likewise.
37197 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37199 (sigpending): Don't use CHECK_SIGSET.
37200 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37202 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37203 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37205 (do_sigsuspend): Don't use CHECK_SIGSET.
37206 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37208 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37209 (do_sigwait): Don't use CHECK_SIGSET.
37210 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37213 include <bp-checks.h>.
37214 (sigpending): Don't use CHECK_SIGSET.
37215 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37216 include <bp-checks.h>.
37217 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37218 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37220 (sigpending): Don't use CHECK_SIGSET.
37221 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37223 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37226 * sysdeps/generic/bp-semctl.h: Remove file.
37227 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37228 <bp-checks.h> and <bp-semctl.h>.
37229 (__old_semctl): Don't use CHECK_SEMCTL.
37230 (__new_semctl): Likewise.
37231 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37233 (__old_semctl): Don't use CHECK_SEMCTL.
37234 (__new_semctl): Likewise.
37235 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37236 <bp-checks.h> and <bp-semctl.h>.
37237 (__old_semctl): Don't use CHECK_SEMCTL.
37238 (__new_semctl): Likewise.
37239 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37240 <bp-checks.h> and <bp-semctl.h>.
37241 (semctl): Don't use CHECK_SEMCTL.
37244 * Makerules (elide-bp-thunks): Remove variable.
37245 (elide-routines.oS): Don't use $(elide-bp-thunks).
37246 (elide-routines.os): Likewise.
37247 (elide-routines.o): Likewise.
37248 (elide-routines.op): Likewise.
37249 (elide-routines.og): Likewise.
37250 (objects): Don't use $(bp-thunks).
37251 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37253 (common-generated): Do not add s-proto-bp.d.
37254 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37257 Do not generate makefile rules for bounded-pointer thunks.
37258 * sysdeps/generic/bp-thunks.h: Remove file.
37259 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37260 * sysdeps/unix/s-proto-bp.S: Likewise.
37263 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37264 parts of result separately when argument is not close to line from
37265 -i to i and one part of argument is small.
37266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37268 * math/libm-test.inc (cacos_test): Add more tests.
37269 (casin_test): Likewise.
37270 (casinh_test): Likewise.
37271 * sysdeps/i386/fpu/libm-test-ulps: Update.
37272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37274 2013-01-31 David S. Miller <davem@davemloft.net>
37276 * po/de.po: Update from translation team.
37278 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37280 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37282 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37284 * configure.in (_AC_PROG_CC_C89): New definition.
37285 * configure: Regenerate.
37287 * configure.in (AC_PROG_CPP): New definition.
37288 * configure: Regenerate.
37290 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37292 * debug/tst-backtrace.h: New file.
37293 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37294 (ret): Remove variable.
37296 (FAIL): Remove macro.
37297 (NO_INLINE): Likewise.
37298 (fn1): Use match function instead of strstr.
37299 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37300 (ret): Remove variable.
37302 (FAIL): Remove macro.
37303 (NO_INLINE): Likewise.
37304 (fn): Use match function instead of strstr.
37305 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37306 (ret): Remove variable.
37308 (FAIL): Remove macro.
37309 (NO_INLINE): Likewise.
37310 (handle_signal): Use match function instead of strstr.
37311 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37312 (ret): Remove variable.
37314 (FAIL): Remove macro.
37315 (NO_INLINE): Likewise.
37316 (handle_signal): Use match function instead of strstr.
37318 2013-01-23 Roland McGrath <roland@hack.frob.com>
37320 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37322 2013-01-23 David S. Miller <davem@davemloft.net>
37324 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37325 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37326 argument of CAS if possible.
37327 * sysdeps/sparc/sparc64/bits/atomic.h
37328 (__arch_compare_and_exchange_val_32_acq): Likewise.
37329 (__arch_compare_and_exchange_val_64_acq): Likewise.
37331 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37333 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37334 * sysdeps/posix/ulimit.c: ... this.
37335 Include <limits.h>.
37336 * sysdeps/unix/bsd/ulimit.c: Remove file.
37338 2013-01-23 Adam Conrad <adconrad@0c3.net>
37340 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37341 (LDFLAGS-tst-array5): Likewise.
37343 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37346 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37347 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37348 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37349 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37351 2013-01-21 David S. Miller <davem@davemloft.net>
37353 * sysdeps/sparc/backtrace.c: New file.
37354 * sysdeps/sparc/sparc32/backtrace.h: New file.
37355 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37356 * sysdeps/sparc/sparc64/backtrace.h: New file.
37357 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37358 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37361 2013-01-21 Andreas Schwab <schwab@suse.de>
37364 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37367 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37373 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37374 Mark Mitchell <mark@codesourcery.com>
37375 Tom de Vries <tom@codesourcery.com>
37376 Paul Pluzhnikov <ppluzhnikov@google.com>
37378 * debug/tst-backtrace2.c: New file.
37379 * debug/tst-backtrace3.c: Likewise.
37380 * debug/tst-backtrace4.c: Likewise.
37381 * debug/tst-backtrace5.c: Likewise.
37382 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37383 (CFLAGS-tst-backtrace3.c): Likewise.
37384 (CFLAGS-tst-backtrace4.c): Likewise.
37385 (CFLAGS-tst-backtrace5.c): Likewise.
37386 (LDFLAGS-tst-backtrace2): Likewise.
37387 (LDFLAGS-tst-backtrace3): Likewise.
37388 (LDFLAGS-tst-backtrace4): Likewise.
37389 (LDFLAGS-tst-backtrace5): Likewise.
37390 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37391 tst-backtrace4 and tst-backtrace5.
37393 2013-01-18 Anton Blanchard <anton@samba.org>
37394 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37397 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37398 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37399 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37401 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37402 "+r" and remove output regs list as redundant. Add explicit inline
37403 asm to specify register of return val to work around compiler codegen
37404 bug. Remove (int) cast on return value. Add return type parameter to
37405 use in macro so that this macro does not truncate return value for
37407 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37408 pass to INTERNAL_VSYSCALL_NCS.
37409 (INLINE_VSYSCALL): Add 'long int' as return type to
37410 INTERNAL_VSYSCALL_NCS macro invocation.
37411 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37412 INTERNAL_VSYSCALL_NCS macro invocation.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37415 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37418 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37419 Fix application of SIMD FP exception mask.
37421 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37422 mp_no from a power of two.
37423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37424 __mpexp_twomm1. Use __pow_mp.
37426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37429 2013-01-17 David S. Miller <davem@davemloft.net>
37431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37433 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37436 * include/complex.h: Condition contents on [!_COMPLEX_H].
37437 (__kernel_casinhf): New prototype.
37438 (__kernel_casinh): Likewise.
37439 (__kernel_casinhl): Likewise.
37440 * math/Makefile (libm_calls): Add k_casinh.
37441 * math/k_casinh.c: New file.
37442 * math/k_casinhf.c: Likewise.
37443 * math/k_casinhl.c: Likewise.
37444 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37445 finite nonzero arguments.
37446 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37447 finite nonzero arguments.
37448 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37449 finite nonzero arguments.
37450 * math/s_casinh.c: Do not include <float.h>.
37451 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37452 * math/s_casinhf.c: Do not include <float.h>.
37453 (__casinhf): Move code for finite nonzero arguments to
37455 * math/s_casinhl.c: Do not include <float.h>.
37456 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37458 (__casinhl): Move code for finite nonzero arguments to
37460 * math/libm-test.inc (cacos_test): Add more tests.
37461 * sysdeps/i386/fpu/libm-test-ulps: Update.
37462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37464 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37466 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37467 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37468 [!HAVE_MREMAP]: Remove [defined linux] case.
37469 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37471 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37473 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37475 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37477 * elf/elf.h (R_386_SIZE32): New relocation.
37478 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37480 (elf_machine_rela): Likewise.
37481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37482 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37484 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37486 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37487 (FP_FAST_FMA): Do not define.
37488 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37489 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37490 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37491 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37492 !_SOFT_FLOAT]: Likewise.
37493 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37497 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37498 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37499 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37500 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37501 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37504 2013-01-16 Andreas Schwab <schwab@suse.de>
37507 * include/stdlib.h (__mktemp): Add declaration.
37508 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37509 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37511 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37513 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37515 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37516 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37517 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37519 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37520 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37524 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37525 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37526 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37528 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37529 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37531 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37533 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37535 2013-01-15 David S. Miller <davem@davemloft.net>
37537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37538 trunc{,f} to libm-sysdep_routes.
37539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37549 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37550 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37551 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37552 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37553 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37554 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37557 nearbyint{,f} to libm-sysdep_routes.
37558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37575 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37576 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37578 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37579 libc_feholdexcept and libc_fesetenv.
37581 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37583 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37585 2013-01-14 David S. Miller <davem@davemloft.net>
37587 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37588 (SPARC_ASM_VIS2_IFUNC): Likewise.
37589 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37591 use of 'siam' instruction.
37592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37625 routines to libm-sysdep_routines.
37626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37629 fdim/fdimf to libm-sysdep_routines.
37630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37638 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37639 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37640 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37641 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37643 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37646 to optimize copies.
37648 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37653 local variable MPTWO.
37654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37657 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37659 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37662 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37664 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37666 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37668 * manual/pattern.texi (glob_t): Document gl_flags.
37669 (glob64_t): Likewise.
37671 2013-01-11 David S. Miller <davem@davemloft.net>
37673 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37674 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37675 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37676 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37677 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37678 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37679 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37680 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37681 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37682 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37683 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37684 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37685 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37687 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37688 sparc V9 rather than using V8 code.
37689 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37690 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37692 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37697 2013-01-11 Roland McGrath <roland@hack.frob.com>
37699 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37700 not in the main loop.
37701 * configure: Regenerated.
37703 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37705 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37706 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37708 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37709 [!__GLIBC_HAVE_LONG_LONG] case.
37710 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37711 condition to just #else.
37712 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37713 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37714 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37715 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37717 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37718 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37719 #elif condition to just #else.
37720 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37721 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37722 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37723 #elif condition to just #else.
37725 2013-01-11 Steve Ellcey <sellcey@mips.com>
37727 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37728 (EF_MIPS_ARCH_64): Fix value.
37729 (EF_MIPS_ARCH_32R2): New.
37730 (EF_MIPS_ARCH_64R2): New.
37732 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37734 * Makeconfig (+link-pie-before-libc): New.
37735 (+link-pie-after-libc): Likewise.
37736 (+link-pie-tests): Likewise.
37737 (+link-pie): Rewritten.
37738 (link-before-libc): Remove $(config-LDFLAGS).
37739 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37740 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37741 (config-LDFLAGS): Renamed to ...
37742 (rtld-LDFLAGS): This.
37743 (rtld-tests-LDFLAGS): New macro.
37744 (link-libc-rpath-link): Likewise.
37745 (link-libc-tests-rpath-link): Likewise.
37746 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37747 (link-libc): Prepand $(link-libc-rpath-link).
37748 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37749 (test-program-prefix): New macro.
37750 (test-via-rtld-prefix): Likewise.
37751 (test-program-cmd): Likewise.
37752 (host-test-program-cmd): Likewise.
37753 * Makefile ($(common-objpfx)testrun.sh): Replace
37754 $(run-program-prefix) with $(test-program-prefix).
37755 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37757 ($(common-objpfx)shlib.lds): Likewise.
37758 (build-module-helper): Likewise.
37759 ($(common-objpfx)format.lds): Likewise.
37760 * Rules (binaries-pie-tests): New.
37761 (binaries-pie-notests): Likewise.
37762 (binaries-pie): Rewritten.
37763 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37764 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37765 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37766 (make-test-out): Replace $(host-built-program-cmd) with
37767 $(host-test-program-cmd).
37768 * config.make.in (build-hardcoded-path-in-tests): New variable.
37769 * configure.in (--enable-hardcoded-path-in-tests): New configure
37771 (hardcoded_path_in_tests): New AC_SUBST.
37772 * configure: Regenerated.
37773 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37774 $(built-program-cmd) with $(test-program-cmd).
37775 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37776 (test_program_cmd): This.
37777 * elf/Makefile ($(objpfx)order.out): Run test with
37778 $(test-program-prefix).
37779 ($(objpfx)order2.out): Likewise.
37780 ($(objpfx)tst-initorder.out): Likewise.
37781 ($(objpfx)tst-initorder2.out): Likewise.
37782 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37783 $(test-program-cmd).
37784 ($(objpfx)tst-array1-static.out): Likewise.
37785 ($(objpfx)tst-array2.out): Likewise.
37786 ($(objpfx)tst-array3.out): Likewise.
37787 ($(objpfx)tst-array4.out): Likewise.
37788 ($(objpfx)tst-array5.out): Likewise.
37789 ($(objpfx)tst-array5-static.out): Likewise.
37790 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37791 $(test-program-cmd).
37792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37793 $(run-program-prefix) with $(test-program-prefix).
37794 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37795 (test_program_prefix): This.
37796 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37797 $(run-program-prefix) with $(test-program-prefix).
37798 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37799 (test_program_prefix): This.
37800 * iconvdata/tst-tables.sh: Likewise.
37801 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37802 $(run-program-prefix) with $(test-program-prefix).
37803 ($(objpfx)tst-translit.out): Likewise.
37804 ($(objpfx)tst-gettext2.out): Likewise.
37805 ($(objpfx)tst-gettext4.out): Likewise.
37806 ($(objpfx)tst-gettext6.out): Likewise.
37807 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37808 (test_program_prefix): This.
37809 * intl/tst-gettext2.sh: Likewise.
37810 * intl/tst-gettext4.sh Likewise.
37811 * intl/tst-gettext6.sh: Likewise.
37812 * intl/tst-translit.sh: Likewise.
37813 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37814 with $(test-program-cmd).
37815 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37816 $(run-program-prefix) with $(test-program-prefix).
37817 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37818 (test_program_prefix): This.
37819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37820 $(run-program-prefix) with $(test-program-prefix).
37821 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37822 (test_program_prefix): This.
37823 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37824 * posix/Makefile ($(objpfx)globtest.out): Replace
37825 $(run-via-rtld-prefix) and $(test-wrapper) with
37826 $(test-program-prefix) and $(test-via-rtld-prefix).
37827 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37828 $(test-program-prefix).
37829 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37830 $(host-test-program-cmd).
37831 (tst-spawn-ARGS): Likewise.
37832 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37833 $(test-program-prefix).
37834 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37835 (test_via_rtld_prefix): This.
37836 (test_wrapper): Renamed to ...
37837 (test_program_prefix): This.
37838 (run_program_prefix): Replaced by test_program_prefix.
37839 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37840 (test_program_prefix): This.
37841 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37842 with $(host-test-program-cmd).
37843 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37844 $(run-program-prefix) with $(test-program-prefix).
37845 ($(objpfx)tst-printf.out): Likewise.
37846 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37847 $(test-program-cmd).
37848 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37849 (test_program_prefix): This.
37850 * stdio-common/tst-unbputc.sh: Likewise.
37851 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37852 $(run-program-prefix) with $(test-program-prefix).
37853 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37854 (test_program_prefix): This.
37855 * string/Makefile ($(objpfx)tst-svc.out): Replace
37856 $(built-program-cmd) with $(test-program-cmd).
37858 2013-01-11 Andreas Jaeger <aj@suse.de>
37861 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37862 value. Sync with Linux 3.7.
37864 2013-01-10 David S. Miller <davem@davemloft.net>
37866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37867 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37868 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37870 2013-01-10 Roland McGrath <roland@hack.frob.com>
37872 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37874 * configure: Regenerated.
37876 2013-01-10 David S. Miller <davem@davemloft.net>
37878 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37879 sparc V9 rather than using V8 code.
37880 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37881 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37883 2013-01-10 Roland McGrath <roland@hack.frob.com>
37885 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37886 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37887 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37888 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37889 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37890 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37891 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37892 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37893 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37894 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37895 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37896 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37897 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37898 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37899 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37900 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37901 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37902 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37903 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37904 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37905 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37906 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37907 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37908 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37909 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37910 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37911 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37913 2013-01-10 David S. Miller <davem@davemloft.net>
37915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37917 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37919 * posix/Makefile (tests-static): New variable.
37920 (tests): Add $(tests-static).
37921 (tst-exec-static-ARGS): New variable.
37922 (tst-spawn-static-ARGS): Likewise.
37923 * posix/tst-exec-static.c: New file.
37924 * posix/tst-spawn-static.c: Likewise.
37925 * posix/tst-exec.c: Support run directly.
37926 * posix/tst-spawn.c: Likewise.
37928 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37930 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37932 * math/bits/mathcalls.h (llrint): Likewise.
37933 (llround): Likewise.
37934 * stdlib/stdlib.h (struct drand48_data): Likewise.
37935 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37936 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37937 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37939 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37941 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37942 (elf_greg_t): Likewise.
37943 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37944 (__jmp_buf): Likewise.
37945 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37947 (llrint): Likewise, for all definitions.
37948 (llrintl): Likewise.
37950 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37951 Remove [__GNUC__] condition.
37952 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37953 condition to just [__USE_ISOC99].
37954 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37956 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37959 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37960 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37962 (_POSIX_V6_ILP32_OFF32): Likewise.
37963 (_XBS5_ILP32_OFF32): Likewise.
37964 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37965 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37967 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37969 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37972 doubles __mpexp_twomm1. Adjust usage.
37973 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37976 2013-01-10 Andreas Schwab <schwab@suse.de>
37979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37980 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37982 2013-01-09 David S. Miller <davem@davemloft.net>
37985 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37986 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37987 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37988 (TCP_FASTOPEN): Define.
37989 (tcp_repair_opt): New structure.
37990 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37992 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37993 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37994 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37995 (tcp_cookie_transactions): New structure.
37997 2013-01-09 Anton Blanchard <anton@samba.org>
37999 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38000 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38004 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38006 * include/features.h (__USE_ANSI): Remove.
38008 2013-01-09 Roland McGrath <roland@hack.frob.com>
38010 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38012 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38014 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38016 * sysdeps/s390/fpu/libm-test-ulps: Update.
38018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38020 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38024 (denorm): Likewise.
38025 (__mp_dbl): Likewise.
38026 (__dbl_mp): Likewise.
38027 (add_magnitudes): Likewise.
38028 (sub_magnitudes): Likewise.
38034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38038 (denorm): Likewise.
38039 (__mp_dbl): Likewise.
38040 (__dbl_mp): Likewise.
38041 (add_magnitudes): Likewise.
38042 (sub_magnitudes): Likewise.
38048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38052 (denorm): Likewise.
38053 (__mp_dbl): Likewise.
38054 (__dbl_mp): Likewise.
38055 (add_magnitudes): Likewise.
38056 (sub_magnitudes): Likewise.
38063 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38065 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38066 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38067 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38068 2 && __USE_EXTERN_INLINES]: Likewise.
38070 2013-01-08 Andreas Jaeger <aj@suse.de>
38073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38075 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38076 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38078 2013-01-07 Anton Blanchard <anton@samba.org>
38080 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38081 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38082 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38083 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38084 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38085 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38086 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38087 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38089 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38090 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38091 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38092 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38095 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38096 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38097 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38100 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38103 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38104 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38107 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38109 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38110 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38113 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38114 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38115 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38118 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38120 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38124 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38126 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38127 (__MALLOC_PMT): Likewise.
38128 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38129 [__GNUC__], only on [_LIBC].
38130 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38131 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38132 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38133 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38134 forward declaration.
38135 (realloc_hook_ini): Likewise.
38136 (memalign_hook_ini): Likewise.
38137 (__libc_memalign): Do not use __MALLOC_PMT in variable
38139 (__libc_valloc): Likewise.
38140 (__libc_pvalloc): Likewise.
38141 (__libc_calloc): Likewise.
38142 (__posix_memalign): Likewise.
38145 * math/s_casinh.c: Include <float.h>.
38146 (__casinh): Do not do computation with squaring and square root
38147 for large arguments.
38148 * math/s_casinhf.c: Include <float.h>.
38149 (__casinhf): Do not do computation with squaring and square root
38150 for large arguments.
38151 * math/s_casinhl.c: Include <float.h>.
38152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38153 (__casinhl): Do not do computation with squaring and square root
38154 for large arguments.
38155 * math/libm-test.inc (casin_test): Add more tests.
38156 (casinh_test): Likewise.
38157 * sysdeps/i386/fpu/libm-test-ulps: Update.
38158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38160 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38162 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38163 (__x86_64_raw_data_cache_size): Likewise.
38164 (__x86_64_data_cache_size_half): Likewise.
38165 (__x86_64_raw_data_cache_size_half): Likewise.
38166 (__x86_64_shared_cache_size): Likewise.
38167 (__x86_64_raw_shared_cache_size): Likewise.
38168 (__x86_64_shared_cache_size_half): Likewise.
38169 (__x86_64_raw_shared_cache_size_half): Likewise.
38170 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38172 (__x86_data_cache_size): This.
38173 (__x86_64_raw_data_cache_size): Renamed to ...
38174 (__x86_raw_data_cache_size): This.
38175 (__x86_64_data_cache_size_half): Renamed to ...
38176 (__x86_data_cache_size_half): This.
38177 (__x86_64_raw_data_cache_size_half): Renamed to ...
38178 (__x86_raw_data_cache_size_half): This.
38179 (__x86_64_shared_cache_size): Renamed to ...
38180 (__x86_shared_cache_size): This.
38181 (__x86_64_raw_shared_cache_size): Renamed to ...
38182 (__x86_raw_shared_cache_size): This.
38183 (__x86_64_shared_cache_size_half): Renamed to ...
38184 (__x86_shared_cache_size_half): This.
38185 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38186 (__x86_raw_shared_cache_size_half): This.
38187 * sysdeps/x86_64/memcpy.S: Updated.
38188 * sysdeps/x86_64/memset.S: Likewise.
38189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38193 2013-01-04 David S. Miller <davem@davemloft.net>
38195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38197 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38199 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38200 1 to avoid redefinition warning.
38201 (__USE_GNU): Don't define.
38202 (init_signaling_nan): Protoize.
38204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38206 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38208 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38210 (__cpymn): Likewise.
38211 (norm): Remove commented code.
38212 (denorm): Likewise.
38213 (__mp_dbl): Likewise.
38215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38216 (__cpymn): Likewise.
38217 (norm): Remove commented code.
38218 (denorm): Likewise.
38219 (__mp_dbl): Likewise.
38222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38223 mp_no value for 1.0 and 2.0.
38224 (norm): Use RADIXI instead of radixi.d.
38225 (denorm): Likewise.
38226 (__mul): Use 0.0 instead of zero.d.
38227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38228 mp_no value for 1.0 and 2.0.
38229 (norm): Use RADIXI instead of radixi.d.
38230 (denorm): Likewise.
38231 (__mul): Use 0.0 instead of zero.d.
38233 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38236 * math/s_casinh.c (__casinh): Reduce finite argument to first
38237 quadrant then set signs of results at the end.
38238 * math/s_casinhf.c (__casinhf): Likewise.
38239 * math/s_casinhl.c (__casinhl): Likewise.
38240 * math/libm-test.inc (casin_test): Add more tests.
38241 (casinh_test): Likewise.
38242 * sysdeps/i386/fpu/libm-test-ulps: Update.
38243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38245 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38247 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38249 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38251 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38253 (denorm): Likewise.
38254 (__mp_dbl): Likewise.
38257 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38258 and adjust the header comment.
38260 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38261 variable name from declaration.
38263 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38266 Initialize COMMON_CPUID_INDEX_7 element.
38267 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38268 (CPUID_RTM): Likewise.
38269 (HAS_RTM): Likewise.
38270 (COMMON_CPUID_INDEX_7): New enum.
38272 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38275 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38276 size is zero, record memory as freed.
38278 2013-01-03 Andreas Jaeger <aj@suse.de>
38280 * po/ia.po: Add new Interlingua translation.
38282 2012-01-03 Allan McRae <allan@archlinux.org>
38284 * locale/programs/localedef.c: Fix description of '--posix' flag.
38286 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38288 * NEWS: Update dates in second copyright notice.
38289 * README: Update copyright dates in example.
38290 * manual/libc.texinfo: Update copyright dates.
38291 * scripts/test-installation.pl: Update copyright date in --version
38294 * hurd/ctty-input.c: Fix copyright notice formatting.
38295 * hurd/ctty-output.c: Likewise.
38296 * hurd/dtable.c: Likewise.
38297 * hurd/hurd-raise.c: Likewise.
38298 * hurd/hurdprio.c: Likewise.
38299 * hurd/msgportdemux.c: Likewise.
38300 * misc/sys/file.h: Likewise.
38301 * misc/sys/ioctl.h: Likewise.
38302 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38303 * sysdeps/mach/hurd/chdir.c: Likewise.
38304 * sysdeps/mach/hurd/fchdir.c: Likewise.
38305 * sysdeps/mach/hurd/rename.c: Likewise.
38306 * sysdeps/mach/hurd/rmdir.c: Likewise.
38307 * sysdeps/mach/hurd/seekdir.c: Likewise.
38308 * sysdeps/mach/hurd/setsid.c: Likewise.
38309 * sysdeps/posix/wait3.c: Likewise.
38311 * All files with FSF copyright notices: Update copyright dates
38312 using scripts/update-copyrights.
38313 * intl/plural.c: Regenerated.
38314 * locale/programs/charmap-kw.h: Likewise.
38315 * locale/programs/locfile-kw.h: Likewise.
38317 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38319 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38323 calculation loop and add branch prediction.
38325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38326 check access beyond bounds of m1np.
38328 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38330 (__inv): Remove local variable MPTWO to use the global
38332 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38336 MP3HALFS static const.
38338 2013-01-01 David S. Miller <davem@davemloft.net>
38340 * po/ca.po: Update from translation team.
38342 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38344 * scripts/update-copyrights: New file.
38345 * Makeconfig: Reformat copyright notice.
38346 * ctype/ctype.h: Likewise.
38347 * debug/swprintf_chk.c: Likewise.
38348 * elf/dl-cache.c: Likewise.
38349 * elf/dl-debug.c: Likewise.
38350 * elf/dl-object.c: Likewise.
38351 * grp/initgroups.c: Likewise.
38352 * hurd/Makefile: Likewise.
38353 * hurd/hurd/signal.h: Likewise.
38354 * hurd/hurdfault.c: Likewise.
38355 * hurd/hurdioctl.c: Likewise.
38356 * hurd/hurdlookup.c: Likewise.
38357 * hurd/intr-msg.c: Likewise.
38358 * iconv/gconv_open.c: Likewise.
38359 * libio/swprintf.c: Likewise.
38360 * locale/lc-ctype.c: Likewise.
38361 * locale/nl_langinfo.c: Likewise.
38362 * mach/Machrules: Likewise.
38363 * mach/Makefile: Likewise.
38364 * malloc/obstack.h: Likewise.
38365 * manual/Makefile: Likewise.
38366 * manual/tsort.awk: Likewise.
38367 * misc/bits/stab.def: Likewise.
38368 * nis/nis_print_group_entry.c: Likewise.
38369 * nis/nis_table.c: Likewise.
38370 * nis/nss_compat/compat-pwd.c: Likewise.
38371 * nis/nss_compat/compat-spwd.c: Likewise.
38372 * po/Makefile: Likewise.
38373 * posix/fnmatch.c: Likewise.
38374 * posix/regex.h: Likewise.
38375 * resolv/Makefile: Likewise.
38376 * resolv/nss_dns/dns-network.c: Likewise.
38377 * resolv/res_hconf.c: Likewise.
38378 * scripts/gen-sorted.awk: Likewise.
38379 * soft-fp/soft-fp.h: Likewise.
38380 * stdio-common/printf.h: Likewise.
38381 * stdlib/monetary.h: Likewise.
38382 * stdlib/random.c: Likewise.
38383 * stdlib/random_r.c: Likewise.
38384 * sysdeps/generic/Makefile: Likewise.
38385 * sysdeps/gnu/Makefile: Likewise.
38386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38409 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38410 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38412 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38414 * sysdeps/mach/hurd/errnos.awk: Likewise.
38415 * sysdeps/mach/hurd/fork.c: Likewise.
38416 * sysdeps/mach/hurd/getcwd.c: Likewise.
38417 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38418 * sysdeps/mach/hurd/mmap.c: Likewise.
38419 * sysdeps/mach/hurd/utimes.c: Likewise.
38420 * sysdeps/mach/hurd/xmknod.c: Likewise.
38421 * sysdeps/posix/profil.c: Likewise.
38422 * sysdeps/posix/readdir_r.c: Likewise.
38423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38424 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38425 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38426 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38430 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38432 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38433 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38434 * sysdeps/pthread/lio_listio.c: Likewise.
38435 * sysdeps/sparc/dl-procinfo.h: Likewise.
38436 * sysdeps/unix/i386/sysdep.S: Likewise.
38437 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38438 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38439 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38440 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38442 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38443 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38444 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38445 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38446 * sysdeps/wordsize-32/divdi3.c: Likewise.
38447 * time/sys/time.h: Likewise.
38448 * wcsmbs/Makefile: Likewise.
38450 2013-01-01 David S. Miller <davem@davemloft.net>
38452 * po/fr.po: Update from translation team.
38454 * catgets/gencat.c: Update copyright year.
38455 * csu/version.c: Likewise.
38456 * debug/catchsegv.sh: Likewise.
38457 * debug/pcprofiledump.c: Likewise.
38458 * debug/xtrace.sh: Likewise.
38459 * elf/ldconfig.c: Likewise.
38460 * elf/ldd.bash.in: Likewise.
38461 * elf/pldd.c: Likewise.
38462 * elf/sotruss.ksh: Likewise.
38463 * elf/sprof.c: Likewise.
38464 * iconv/iconv_prog.c: Likewise.
38465 * iconv/iconvconfig.c: Likewise.
38466 * locale/programs/locale.c: Likewise.
38467 * locale/programs/localedef.c: Likewise.
38468 * login/programs/pt_chown.c: Likewise.
38469 * malloc/memusage.sh: Likewise.
38470 * malloc/memusagestat.c: Likewise.
38471 * malloc/mtrace.pl: Likewise.
38472 * nscd/nscd.c: Likewise.
38473 * nss/getent.c: Likewise.
38474 * nss/makedb.c: Likewise.
38475 * posix/getconf.c: Likewise.
38477 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38479 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38482 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38484 * math/bits/mathcalls.h (modf): Use __nonnull.
38486 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38488 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38489 (split): Use macro CN instead of the bare value.
38490 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38493 instead of the bare value.
38494 (power1): Likewise.
38496 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38500 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38502 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38504 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38506 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38507 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38509 2012-12-28 Andreas Jaeger <aj@suse.de>
38511 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38512 values are from Linux 3.7.
38514 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38515 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38517 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38519 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38522 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38524 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38525 variables with preprocessor constants.
38526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38527 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38530 2012-12-27 Bruno Haible <bruno@clisp.org>
38533 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38536 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38539 and use variable directly.
38540 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38542 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38544 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38547 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38549 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38550 include directive. Remove local variable MPONE.
38551 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38552 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38553 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38555 2012-12-25 David S. Miller <davem@davemloft.net>
38557 * version.h (RELEASE): Set to "development".
38558 (VERSION): Set to "2.17.90".
38559 * NEWS: Add 2.18 section.
38561 2012-12-21 David S. Miller <davem@davemloft.net>
38563 * po/hr.po: Update from translation team.
38565 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38567 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38569 2012-12-19 Steve Ellcey <sellcey@mips.com>
38571 * NEWS: Mention new memcpy for MIPS.
38573 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38575 * manual/contrib.texi (Contributors): Spelling correction.
38577 2012-12-15 David S. Miller <davem@davemloft.net>
38579 * po/ru.po: Update from translation team.
38581 2012-12-13 David S. Miller <davem@davemloft.net>
38583 * NEWS: Mention IFUNC testsuite enhancements.
38585 * po/pl.po: Update from translation team.
38586 * po/bg.po: Likewise.
38588 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38589 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38591 2012-12-11 David S. Miller <davem@davemloft.net>
38593 * po/sv.po: Update from translation team.
38595 * po/vi.po: Update from translation team.
38597 * po/cs.po: Update from translation team.
38599 * po/de.po: Update from translation team.
38600 * po/eo.po: Likewise.
38601 * po/nl.po: Likewise.
38603 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38606 * manual/argp.texi (Argp Helper Functions): Move node to follow
38607 Argp Parsing State.
38610 * manual/conf.texi (Limits on File System Capacity): Mention if
38611 terminating null is included in the max size.
38613 2012-12-10 Andreas Jaeger <aj@suse.de>
38615 * po/cs.po: Update from translation team.
38617 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38619 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38620 void pointer and cast to uintptr_t.
38621 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38623 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38624 * sysdeps/s390/s390-64/memset.S: Likewise.
38626 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38629 * menual/message.texi (Message Translation): Fix typos.
38630 (Helper programs for gettext): Likewise.
38632 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38635 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38638 2012-12-07 David S. Miller <davem@davemloft.net>
38640 * po/libc.pot: Update.
38642 2012-12-07 Richard Henderson <rth@redhat.com>
38645 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38646 normal/normal case to before the switch.
38647 (_FP_DIV): Likewise.
38649 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38650 Mike Frysinger <vapier@gentoo.org>
38652 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38653 check for __NR_fadvise64_64.
38655 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38657 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38658 0, not just to plain "0" as a statement.
38659 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38662 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38664 * NEWS: Use sourceware.org in Bugzilla URL.
38666 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38669 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38671 * stdio-common/tst-put-error.c (do_test): Add newline to the
38672 padded test to ensure flush.
38674 2012-12-05 Jeff Law <law@redhat.com>
38676 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38678 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38680 * README: Don't refer to ports add-on as distributed separately.
38681 Mention AArch64 in list of systems supported in the ports add-on.
38683 * LICENSES: Add more non-FSF copyright and license notices.
38685 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38688 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38690 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38691 10000 as width of padded output.
38693 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38695 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38698 variable LX with __attribute__ ((unused)).
38699 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38701 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38704 with __attribute__ ((unused)).
38706 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38708 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38710 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38712 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38713 (CFLAGS-nldbl-acos.c): New variable.
38714 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38715 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38716 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38717 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38718 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38719 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38720 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38721 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38722 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38723 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38724 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38725 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38726 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38727 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38728 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38729 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38730 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38731 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38732 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38733 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38734 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38735 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38736 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38737 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38738 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38739 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38740 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38741 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38742 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38743 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38744 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38745 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38746 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38747 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38748 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38749 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38750 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38751 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38752 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38753 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38754 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38755 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38756 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38757 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38758 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38759 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38760 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38761 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38762 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38763 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38764 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38765 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38766 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38767 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38768 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38769 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38770 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38771 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38772 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38773 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38774 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38775 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38776 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38777 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38778 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38779 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38780 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38781 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38782 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38783 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38784 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38785 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38786 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38787 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38788 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38789 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38790 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38791 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38792 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38793 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38794 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38795 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38796 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38797 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38798 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38799 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38800 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38801 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38802 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38803 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38804 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38805 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38806 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38807 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38808 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38809 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38810 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38813 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38817 whole low double instead of just low 47 bits when splitting values
38820 2012-12-03 Allan McRae <allan@archlinux.org>
38822 * manual/stdio.texi (Predefined Printf Handlers): Remove
38823 @hsep and @vsep usage.
38825 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38827 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38828 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38830 2012-12-03 Jeff Law <law@redhat.com>
38832 * time/sys/time.h (settimeofday): Do not mark TV argument
38835 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38837 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38838 when currently writing and seek to current position when not.
38839 * libio/Makefile (tests): Remove bug-fclose1.
38840 * libio/bug-fclose1.c: Delete.
38842 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38844 * manual/arith.texi (feenableexcept): Fix typo.
38845 (fedisableexcept): Likewise.
38847 2012-11-30 Roland McGrath <roland@hack.frob.com>
38849 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38850 second, differently-typed declaration, rather than a cast.
38852 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38854 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38855 * include/rpc/svc.h: ... here.
38857 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38860 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38861 depending n and resplen2 to catch cases where answer
38864 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38866 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38867 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38869 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38871 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38873 2012-11-29 Roland McGrath <roland@hack.frob.com>
38875 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38877 2012-11-28 Jeff Law <law@redhat.com>
38880 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38881 dataset_temporary. Track alloca usage into alloca_used.
38882 If dataset is large allocate and release it via malloc/free.
38884 2012-06-04 Florian Weimer <fweimer@redhat.com>
38887 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38889 2012-11-28 David S. Miller <davem@davemloft.net>
38891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38893 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38896 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38897 of pi/2 rounded to nearest to 64 bits.
38898 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38899 nearest to 64 bits.
38900 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38903 2012-11-28 Jeff Law <law@redhat.com>
38904 Martin Osvald <mosvald@redhat.com>
38907 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38908 * sunrpc/svc.c: Include time.h.
38909 (__svc_accept_failed): New function.
38910 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38911 any reason other than EINTR, call __svc_accept_failed.
38912 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38913 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38915 2012-11-28 Andreas Schwab <schwab@suse.de>
38917 * scripts/abilist.awk: Also handle indirect functions in .opd
38920 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38923 * sysdeps/x86/fpu/powl_helper.c: New file.
38924 * sysdeps/x86/fpu/Makefile: Likewise.
38925 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38927 (__ieee754_powl): Use __powl_helper for finite arguments except
38928 integer exponents below 8.
38929 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38931 (__ieee754_powl): Use __powl_helper for finite arguments except
38932 integer exponents below 8.
38933 * math/libm-test.inc (pow_test): Add more tests and enable some
38934 previously disabled tests.
38935 * sysdeps/i386/fpu/libm-test-ulps: Update.
38936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38938 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38939 Carlos O'Donell <carlos_odonell@mentor.com>
38941 * nss/makedb.c (is_prime): Assert that input is odd and greater
38942 than 4. Note that fact in a comment too.
38943 (next_prime): Add 4 to input.
38945 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38948 * libio/Makefile (tests): Add test case tst-fwrite-error.
38949 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38950 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38951 * libio/tst-fwrite-error.c: New test case.
38953 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38955 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38956 before casting to void *.
38957 * include/libc-internal.h (__pointer_type): New macro.
38958 (__integer_if_pointer_type_sub): Likewise.
38959 (__integer_if_pointer_type): Likewise.
38960 (cast_to_integer): Likewise.
38961 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38962 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38963 before casting to atomic64_t.
38964 (atomic_exchange_acq): Likewise.
38965 (__arch_exchange_and_add_body): Likewise.
38966 (__arch_add_body): Likewise.
38967 (atomic_add_negative): Likewise.
38968 (atomic_add_zero): Likewise.
38970 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38972 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38973 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38974 (add_fdes): Likewise.
38975 (linear_search_fdes): Likewise.
38976 (binary_search_unencoded_fdes): Likewise.
38978 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38980 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38982 2012-11-24 Adam Conrad <adconrad@0c3.net>
38984 * configure.in: Autodetect C++ header directories.
38985 * configure: Regenerated.
38987 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38989 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38991 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38995 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38997 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38998 LDBL_MANT_DIG == 106]: Disable some tests.
38999 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39001 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39006 input for small inputs. Return +/- pi/2 for large inputs.
39007 * math/libm-test.inc (atan_test): Add more tests.
39009 * sysdeps/generic/unwind-dw2-fde-glibc.c
39010 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39011 __attribute__ ((unused)).
39014 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39015 x * y if x and y are nonzero and z is zero.
39018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39019 nonzero exponents with absolute value below 0x1p-117 to +/-
39023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39024 up arguments below 2**-450, not just those below 2**-500.
39025 * math/libm-test.inc (hypot_test): Add another test.
39028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39029 Return a+b for ratio over 2**120, not 2**60.
39030 * math/libm-test.inc (hypot_test): Add another test.
39032 * math/libm-test.inc (clog_test): Use
39033 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39034 (clog10_test): Likewise.
39037 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39039 2012-11-22 Andreas Schwab <schwab@suse.de>
39041 * sysdeps/i386/fpu/libm-test-ulps: Update.
39043 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39045 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39046 printf output with newline.
39048 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39051 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39052 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39053 -z nodlopen, -z initfirst and -z execstack support.
39054 * configure: Regenerated.
39056 * elf/elf.h (DF_1_NODIRECT): New macro.
39057 (DF_1_IGNMULDEF): Likewise.
39058 (DF_1_NOKSYMS): Likewise.
39059 (DF_1_NOHDR): Likewise.
39060 (DF_1_EDITED): Likewise.
39061 (DF_1_NORELOC): Likewise.
39062 (DF_1_SYMINTPOSE): Likewise.
39063 (DF_1_GLOBAUDIT): Likewise.
39064 (DF_1_SINGLETON): Likewise.
39065 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39066 DT_1_SUPPORTED_MASK bits.
39067 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39069 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39071 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39073 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39075 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39078 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39079 (sendmmsg): Move declarations...
39080 * socket/sys/socket.h: ... here.
39081 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39082 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39084 * socket/recvmmsg.c: ... this new file.
39085 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39086 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39087 definition of __sendmmsg hidden.
39088 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39089 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39090 Move ENOSYS stub into and include it from...
39091 * socket/sendmmsg.c: ... this new file.
39092 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39093 (sysdep_routines): Move recvmmsg and sendmmsg...
39094 * socket/Makefile (routines): ... here.
39095 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39096 (GLIBC_PRIVATE): Add __sendmmsg.
39097 * include/sys/socket.h (__sendmmsg): Add declarations.
39098 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39101 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39104 variable I1 with __attribute__ ((unused)).
39105 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39107 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39109 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39110 DUMMY variables with __attribute__ ((unused)).
39112 * bits/byteswap.h: Include <bits/types.h>.
39113 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39115 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39117 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39118 string_t. Do not manually set errno.
39119 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39120 length with __strnlen. Make sure to both set errno and return it on
39123 2012-11-19 David S. Miller <davem@davemloft.net>
39125 With help from Joseph Myers.
39126 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39127 very large arguments properly.
39128 * math/libm-test.inc (atan_test): New tests.
39129 (atan2_test): New tests.
39130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39133 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39136 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39139 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39140 [POSIX] (EADDRNOTAVAIL): Likewise.
39141 [POSIX] (EAFNOSUPPORT): Likewise.
39142 [POSIX] (EALREADY): Likewise.
39143 [POSIX] (ECONNABORTED): Likewise.
39144 [POSIX] (ECONNREFUSED): Likewise.
39145 [POSIX] (ECONNRESET): Likewise.
39146 [POSIX] (EDESTADDRREQ): Likewise.
39147 [POSIX] (EDQUOT): Likewise.
39148 [POSIX] (EHOSTUNREACH): Likewise.
39149 [POSIX] (EIDRM): Likewise.
39150 [POSIX] (EISCONN): Likewise.
39151 [POSIX] (ELOOP): Likewise.
39152 [POSIX] (EMULTIHOP): Likewise.
39153 [POSIX] (ENETDOWN): Likewise.
39154 [POSIX] (ENETUNREACH): Likewise.
39155 [POSIX] (ENOBUFS): Likewise.
39156 [POSIX] (ENODATA): Likewise.
39157 [POSIX] (ENOLINK): Likewise.
39158 [POSIX] (ENOMSG): Likewise.
39159 [POSIX] (ENOPROTOOPT): Likewise.
39160 [POSIX] (ENOSR): Likewise.
39161 [POSIX] (ENOSTR): Likewise.
39162 [POSIX] (ENOTCONN): Likewise.
39163 [POSIX] (ENOTSOCK): Likewise.
39164 [POSIX] (EOPNOTSUPP): Likewise.
39165 [POSIX] (EOVERFLOW): Likewise.
39166 [POSIX] (EPROTO): Likewise.
39167 [POSIX] (EPROTONOSUPPORT): Likewise.
39168 [POSIX] (EPROTOTYPE): Likewise.
39169 [POSIX] (ESTALE): Likewise.
39170 [POSIX] (ETIME): Likewise.
39171 [POSIX] (ETXTBSY): Likewise.
39172 [POSIX] (EWOULDBLOCK): Likewise.
39173 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39174 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39175 [POSIX] (SEEK_CUR): Likewise.
39176 [POSIX] (SEEK_END): Likewise.
39177 [POSIX || UNIX98] (mode_t): Do not require.
39178 [POSIX] (off_t): Likewise.
39179 [POSIX] (pid_t): Likewise.
39180 [POSIX] (sys/stat.h): Do not allow header.
39181 [POSIX] (unistd.h): Likewise.
39182 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39183 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39184 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39185 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39187 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39188 sigevent): Specify elements.
39189 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39191 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39192 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39194 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39195 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39196 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39197 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39198 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39199 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39200 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39201 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39203 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39204 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39206 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39215 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39216 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39217 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39218 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39220 Specify lower bound on value.
39221 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39223 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39224 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39225 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39226 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39227 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39228 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39230 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39232 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39233 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39234 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39235 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39236 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39237 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39238 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39239 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39240 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39241 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39242 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39243 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39244 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39245 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39246 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39247 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39249 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39251 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39252 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39253 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39254 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39255 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39256 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39258 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39259 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39260 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39261 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39262 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39263 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39267 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39268 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39269 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39270 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39271 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39272 specify as optional.
39273 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39274 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39275 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39276 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39277 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39278 [XPG3] (NL_LANGMAX): Likewise.
39279 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39280 [POSIX || XPG3] (NL_NMAX): Likewise.
39281 [POSIX || XPG3] (NL_SETMAX): Likewise.
39282 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39283 [XPG3] (NZERO): Likewise.
39284 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39285 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39286 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39287 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39288 (REG_ERANGE): Expect.
39289 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39291 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39292 Use (void) in prototype.
39293 [POSIX] (*_t): Allow.
39294 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39295 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39296 (WRDE_BADVAL): Expect.
39298 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39300 [XPG3 || XPG4] (O_RSYNC): Likewise.
39301 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39303 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39304 [XPG3 || XPG4] (sigqueue): Likewise.
39305 [XPG3 || XPG4] (sigtimedwait): Likewise.
39306 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39307 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39308 [XPG3 || XPG4] (vsnprintf): Likewise.
39309 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39311 [XPG3 || XPG4] (blksize_t): Likewise.
39312 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39314 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39315 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39316 [XPG3 || XPG4] (struct itimerspec): Likewise.
39317 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39318 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39319 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39320 [XPG3 || XPG4] (clockid_t): Likewise.
39321 [XPG3 || XPG4] (timer_t): Likewise.
39322 [XPG3 || XPG4] (clock_getres): Likewise.
39323 [XPG3 || XPG4] (clock_gettime): Likewise.
39324 [XPG3 || XPG4] (clock_settime): Likewise.
39325 [XPG3 || XPG4] (nanosleep): Likewise.
39326 [XPG3 || XPG4] (timer_create): Likewise.
39327 [XPG3 || XPG4] (timer_delete): Likewise.
39328 [XPG3 || XPG4] (timer_gettime): Likewise.
39329 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39330 [XPG3 || XPG4] (timer_settime): Likewise.
39331 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39332 [XPG3 || XPG4] (getlogin_r): Likewise.
39333 [XPG3 || XPG4] (pread): Likewise.
39334 [XPG3 || XPG4] (pthread_atfork): Likewise.
39335 [XPG3 || XPG4] (pwrite): Likewise.
39338 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39341 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39343 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39344 finalizing MALLSTREAM.
39346 * sysdeps/mach/hurd/syncfs.c: New file.
39348 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39351 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39352 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39353 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39354 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39355 (_nss_dns_gethostbyname4_r): Likewise.
39356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39357 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39359 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39362 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39364 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39366 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39367 * elf/cache.c (print_entry): Print ",AArch64" for
39370 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39371 * elf/cache.c (print_entry): Print ",hard-float" for
39374 2012-11-18 David S. Miller <davem@davemloft.net>
39376 With help from Joseph Myers.
39377 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39379 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39381 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39382 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39384 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39385 * math/libm-test.inc (y0_test): New tests.
39386 (y1_test): New tests.
39387 * sysdeps/i386/fpu/libm-test-ulps: Update.
39388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39391 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39393 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39395 * configure: Regenerated.
39397 2012-11-17 David S. Miller <davem@davemloft.net>
39400 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39401 nonzero exponents with absolute value below 0x1p-128 to +/-
39404 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39406 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39408 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39410 * posix/getconf-speclist.c: New file.
39411 * posix/posix-envs.def: Likewise.
39412 * posix/confstr.c (START_ENV_GROUP): New macro.
39413 (END_ENV_GROUP): Likewise.
39414 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39415 (KNOWN_PRESENT_ENV_STRING): Likewise.
39416 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39417 (UNKNOWN_ENVIRONMENT): Likewise.
39418 (confstr): Include posix-envs.def instead of handling
39419 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39420 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39421 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39422 (END_ENV_GROUP): Likewise.
39423 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39424 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39425 (UNKNOWN_ENVIRONMENT): Likewise.
39426 (__sysconf): Include posix-envs.def instead of handling associated
39427 cases directly here.
39428 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39429 preprocessing getconf-speclist.c rather than running getconf or
39430 generating empty file.
39432 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39434 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39436 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39439 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39441 2012-11-16 David S. Miller <davem@davemloft.net>
39443 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39444 smaller than LDBL_EPSILON/2.0L, just return xm1.
39446 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39448 * elf/tst-array1.c (init): Set constructor priority to 1000.
39449 (fini): Set destructor priority to 1000.
39450 * elf/tst-array2dep.c: Likewise.
39452 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39455 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39456 (_IO_new_file_xsputn): Also return EOF if none of the input
39457 data was written when overflow failed.
39458 * libio/iopadn.c (_IO_padn): Likewise.
39459 * libio/iowpadn.c (_IO_wpadn): Likewise.
39460 * stdio-common/tst-put-error.c: Add copyright notice.
39461 (do_test): Add case for printing padded string.
39462 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39463 _IO_padn returned error.
39464 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39465 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39468 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39470 * libio/libioP.h: Add comment note that the references to C++
39471 bits are now obsolete.
39473 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39475 * math/libm-test.inc (check_complex): Use asprintf.
39477 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39479 * debug/pcprofiledump.c (print_version): Update copyright year.
39480 * malloc/memusagestat.c (print_version): Likewise.
39482 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39485 * elf/Makefile (tests): Add tst-audit8.
39486 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39487 ($(objpfx)tst-audit8.out): New target.
39488 (tst-audit8-ENV): New variable.
39489 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39490 audit if l_reloc_result is NULL.
39491 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39492 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39493 * elf/tst-audit8.c: New file.
39495 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39497 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39498 * misc/Makefile (CFLAGS-select.c): Define.
39499 * posix/Makefile (CFLAGS-pause.c): Define.
39501 2012-11-13 David S. Miller <davem@davemloft.net>
39503 * crypt/Makefile: Move test targets after toplevel Rules
39504 inclusion. Grab any necessary sysdep routines when linking.
39505 * crypt/md5.c (md5_process_block): Remove define, we will always
39506 name it __md5_process_block.
39507 (md5_finish_ctx): Update md5_process_block call.
39508 (md5_stream): Likewise.
39509 (md5_process_bytes): Likewise.
39510 (md5_process_block): Rename to __md5_process_block and move to ...
39511 * crypt/md5-block.c: ... here.
39512 * crypt/sha256.c (sha256_process_block): Move to ...
39513 * crypt/sha256-block.c: ... here.
39514 * crypt/sha512.c (sha512_process_block): Move to ...
39515 * crypt/sha512-block.c: ... here.
39516 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39518 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39519 * sysdeps/sparc/sparc64/multiarch/Makefile
39520 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39522 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39525 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39526 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39527 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39528 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39529 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39530 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39531 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39532 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39533 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39536 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39540 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39542 * timezone/tzselect.ksh: Update from tzcode git revision
39543 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39544 * timezone/zdump.c: Likewise.
39545 * timezone/zic.c: Likewise.
39546 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39547 in TZVERSION setting, not $(PKGVERSION).
39548 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39549 REPORT_BUGS_TO settings.
39552 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39555 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39557 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39558 detection to immediately after _FP_ROUND().
39559 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39562 2012-11-11 David S. Miller <davem@davemloft.net>
39564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39566 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39567 __close rather than their public counterparts.
39569 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39571 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39573 [UNIX98] (sem_timedwait): Do not expect.
39574 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39575 [XPG4 || UNIX98] (sockatmark): Do not expect.
39576 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39577 (clock_getcpuclockid): Do not expect.
39578 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39579 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39581 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39582 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39583 [UNIX98] (vwscanf): Likewise.
39584 [UNIX98] (vswscanf): Likewise.
39586 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39588 * timezone/version.h: Remove file.
39589 * timezone/README: Do not refer to version.h.
39590 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39591 $(objpfx)version.h.
39592 ($(objpfx)zdump.o): Likewise.
39593 ($(objpfx)version.h): New target.
39595 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39597 * timezone/README: Don't mention modification to tzselect.ksh.
39598 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39599 work on unmodified tzselect.ksh. Substitute version numbers in
39602 * Makefile (format-me): Remove.
39603 (INSTALL): Adjust indentation. Use commands directly instead of
39604 using $(format-me).
39606 * aclocal.m4 (ACX_PKGVERSION): New macro.
39607 (ACX_BUGURL): Likewise.
39608 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39609 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39610 (REPORT_BUGS_TO): Likewise.
39611 * configure: Regenerated.
39612 * config.h.in (PKGVERSION): New macro.
39613 (REPORT_BUGS_TO): Likewise.
39614 * config.make.in (PKGVERSION): New variable.
39615 (PKGVERSION_TEXI): Likewise.
39616 (REPORT_BUGS_TO): Likewise.
39617 (REPORT_BUGS_TEXI): Likewise.
39618 * Makefile (format-me): Use -I$(common-objpfx)manual.
39619 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39620 ($(common-objpfx)manual/%): New target.
39621 (manual/%): Remove target.
39622 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39623 (print_version): Use PKGVERSION.
39624 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39625 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39626 and REPORT_BUGS_TO.
39627 ($(objpfx)xtrace): Likewise.
39628 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39629 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39630 (print_version): Use PKGVERSION.
39631 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39632 (do_version): Use PKGVERSION.
39633 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39635 (common-ldd-rewrite): Likewise.
39636 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39637 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39638 (print_version): Use PKGVERSION.
39639 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39640 * elf/pldd.c (argp_program_bug_address): Remove variable.
39641 (more_help): New function.
39642 (argp): Use more_help.
39643 (print_version): Use PKGVERSION.
39644 * elf/sln.c (main): Use PKGVERSION.
39645 (usage): Use REPORT_BUGS_TO.
39646 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39647 (top level): Use PKGVERSION.
39648 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39649 (print_version): Use PKGVERSION.
39650 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39651 (print_version): Use PKGVERSION.
39652 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39653 (print_version): Use PKGVERSION.
39654 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39655 (print_version): Use PKGVERSION.
39656 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39657 (print_version): Use PKGVERSION.
39658 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39659 (print_version): Use PKGVERSION.
39660 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39662 ($(objpfx)memusage): Likewise.
39663 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39664 (do_version): Use PKGVERSION.
39665 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39666 (print_version): Use PKGVERSION.
39667 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39668 ($PKGVERSION): New variable.
39669 ($REPORT_BUGS_TO): Likewise.
39670 (usage): Use $REPORT_BUGS_TO.
39671 (top level): Use $PKGVERSION.
39672 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39673 ($(objpfx)pkgvers.texi): New rule.
39674 ($(objpfx)stamp-pkgvers): Likewise.
39675 * manual/install.texi: Include pkgvers.texi.
39676 (--with-pkgversion): Document new configure option.
39677 (--with-bugurl): Likewise.
39678 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39679 than necessarily for this particular distribution. Use
39680 REPORT_BUGS_TO for where to report bugs.
39681 * INSTALL: Regenerated.
39682 * manual/libc.texinfo: Include pkgvers.texi.
39683 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39684 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39685 (print_version): Use PKGVERSION.
39686 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39687 (print_version): Use PKGVERSION.
39688 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39689 (print_version): Use PKGVERSION.
39690 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39691 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39693 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39694 (print_version): Use PKGVERSION.
39695 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39696 (print_version): Use PKGVERSION.
39697 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39700 * timezone/checktab.awk: Update from tzcode 2012i.
39701 * timezone/ialloc.c: Likewise.
39702 * timezone/private.h: Likewise.
39703 * timezone/scheck.c: Likewise.
39704 * timezone/tzfile.h: Likewise.
39705 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39706 (TZVERSION): Hardcode tzcode version number.
39707 * timezone/zdump.c: Update from tzcode 2012i.
39708 * timezone/zic.c: Likewise.
39709 * timezone/version.h: New file.
39710 * timezone/README: Describe version.h. Update upstream location.
39713 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39714 (mktemp): Enable declaration.
39715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39732 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39733 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39734 for copies of such integer values.
39735 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39736 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39738 2012-11-09 Andreas Jaeger <aj@suse.de>
39740 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39741 definitions and declarations that are provided by
39742 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39744 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39746 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39747 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39748 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39751 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39753 * elf/elf.h: Update comment before AArch64 relocations.
39755 2012-11-07 David S. Miller <davem@davemloft.net>
39757 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39758 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39759 (__start_context): Declare.
39760 (__makecontext_ret): Delete.
39761 (__makecontext): Hook up __start_context instead of
39763 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39764 (sysdep_routines): Add __start_context when in stdlib.
39766 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39768 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39769 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39770 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39772 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39773 (READELF): New variable. Use it instead of hardcoded "readelf".
39775 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39777 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39778 * sysdeps/x86/Makefile: Here.
39779 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39780 * sysdeps/x86/tst-xmmymm.sh: This.
39782 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39784 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39786 [UNIX98] (pthread_barrier_t): Do not expect.
39787 [UNIX98] (pthread_barrierattr_t): Likewise.
39788 [UNIX98] (pthread_spinlock_t): Likewise.
39789 [UNIX98] (pthread_barrier_destroy): Likewise.
39790 [UNIX98] (pthread_barrier_init): Likewise.
39791 [UNIX98] (pthread_barrier_wait): Likewise.
39792 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39793 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39794 [UNIX98] (pthread_barrierattr_init): Likewise.
39795 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39796 [UNIX98] (pthread_getcpuclockid): Likewise.
39797 [UNIX98] (pthread_mutex_timedlock): Likewise.
39798 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39799 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39800 [UNIX98] (pthread_sigmask): Likewise.
39801 [UNIX98] (pthread_spin_destroy): Likewise.
39802 [UNIX98] (pthread_spin_init): Likewise.
39803 [UNIX98] (pthread_spin_lock): Likewise.
39804 [UNIX98] (pthread_spin_trylock): Likewise.
39805 [UNIX98] (pthread_spin_unlock): Likewise.
39806 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39808 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39809 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39810 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39811 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39812 [XPG3 || XPG4] (pthread_key_t): Likewise.
39813 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39814 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39815 [XPG3 || XPG4] (pthread_once_t): Likewise.
39816 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39817 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39818 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39819 [XPG3 || XPG4] (pthread_t): Likewise.
39821 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39823 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39825 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39826 Change function return type to int.
39828 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39829 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39830 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39831 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39832 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39833 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39834 [!POSIX] (posix_madvise): Likewise.
39835 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39837 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39838 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39839 (mode_t): Likewise.
39840 (posix_mem_offset): Likewise.
39841 (posix_typed_mem_get_info): Likewise.
39842 (posix_typed_mem_open): Likewise.
39844 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39845 Change condition to [XOPEN2K8].
39847 * conform/conformtest.pl: Preprocess allow-header data with -x c
39848 instead of from stdin.
39849 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39850 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39851 [C99-based standards] (cerfc): Likewise.
39852 [C99-based standards] (cexp2): Likewise.
39853 [C99-based standards] (cexpm1): Likewise.
39854 [C99-based standards] (clog10): Likewise.
39855 [C99-based standards] (clog1p): Likewise.
39856 [C99-based standards] (clog2): Likewise.
39857 [C99-based standards] (clgamma): Likewise.
39858 [C99-based standards] (ctgamma): Likewise.
39859 [C99-based standards] (cerff): Likewise.
39860 [C99-based standards] (cerfcf): Likewise.
39861 [C99-based standards] (cexp2f): Likewise.
39862 [C99-based standards] (cexpm1f): Likewise.
39863 [C99-based standards] (clog10f): Likewise.
39864 [C99-based standards] (clog1pf): Likewise.
39865 [C99-based standards] (clog2f): Likewise.
39866 [C99-based standards] (clgammaf): Likewise.
39867 [C99-based standards] (ctgammaf): Likewise.
39868 [C99-based standards] (cerfl): Likewise.
39869 [C99-based standards] (cerfcl): Likewise.
39870 [C99-based standards] (cexp2l): Likewise.
39871 [C99-based standards] (cexpm1l): Likewise.
39872 [C99-based standards] (clog10l): Likewise.
39873 [C99-based standards] (clog1pl): Likewise.
39874 [C99-based standards] (clog2l): Likewise.
39875 [C99-based standards] (clgammal): Likewise.
39876 [C99-based standards] (ctgammal): Likewise.
39877 * conform/data/inttypes.h-data [C99-based standards]: Include
39878 stdint.h-data. Remove all expectations for stdint.h contents.
39879 [C99-based standards] (PRI*): Do not allow.
39880 [C99-based standards] (SCN*): Likewise.
39881 [C99-based standards] (*_t): Likewise.
39882 [C99-based-standards] (PRId8): Expect macro.
39883 [C99-based-standards] (PRIi8): Likewise.
39884 [C99-based-standards] (PRIo8): Likewise.
39885 [C99-based-standards] (PRIu8): Likewise.
39886 [C99-based-standards] (PRIx8): Likewise.
39887 [C99-based-standards] (PRIX8): Likewise.
39888 [C99-based-standards] (SCNd8): Likewise.
39889 [C99-based-standards] (SCNi8): Likewise.
39890 [C99-based-standards] (SCNo8): Likewise.
39891 [C99-based-standards] (SCNu8): Likewise.
39892 [C99-based-standards] (SCNx8): Likewise.
39893 [C99-based-standards] (PRIdLEAST8): Likewise.
39894 [C99-based-standards] (PRIiLEAST8): Likewise.
39895 [C99-based-standards] (PRIoLEAST8): Likewise.
39896 [C99-based-standards] (PRIuLEAST8): Likewise.
39897 [C99-based-standards] (PRIxLEAST8): Likewise.
39898 [C99-based-standards] (PRIXLEAST8): Likewise.
39899 [C99-based-standards] (SCNdLEAST8): Likewise.
39900 [C99-based-standards] (SCNiLEAST8): Likewise.
39901 [C99-based-standards] (SCNoLEAST8): Likewise.
39902 [C99-based-standards] (SCNuLEAST8): Likewise.
39903 [C99-based-standards] (SCNxLEAST8): Likewise.
39904 [C99-based-standards] (PRIdFAST8): Likewise.
39905 [C99-based-standards] (PRIiFAST8): Likewise.
39906 [C99-based-standards] (PRIoFAST8): Likewise.
39907 [C99-based-standards] (PRIuFAST8): Likewise.
39908 [C99-based-standards] (PRIxFAST8): Likewise.
39909 [C99-based-standards] (PRIXFAST8): Likewise.
39910 [C99-based-standards] (SCNdFAST8): Likewise.
39911 [C99-based-standards] (SCNiFAST8): Likewise.
39912 [C99-based-standards] (SCNoFAST8): Likewise.
39913 [C99-based-standards] (SCNuFAST8): Likewise.
39914 [C99-based-standards] (SCNxFAST8): Likewise.
39915 [C99-based-standards] (PRId16): Likewise.
39916 [C99-based-standards] (PRIi16): Likewise.
39917 [C99-based-standards] (PRIo16): Likewise.
39918 [C99-based-standards] (PRIu16): Likewise.
39919 [C99-based-standards] (PRIx16): Likewise.
39920 [C99-based-standards] (PRIX16): Likewise.
39921 [C99-based-standards] (SCNd16): Likewise.
39922 [C99-based-standards] (SCNi16): Likewise.
39923 [C99-based-standards] (SCNo16): Likewise.
39924 [C99-based-standards] (SCNu16): Likewise.
39925 [C99-based-standards] (SCNx16): Likewise.
39926 [C99-based-standards] (PRIdLEAST16): Likewise.
39927 [C99-based-standards] (PRIiLEAST16): Likewise.
39928 [C99-based-standards] (PRIoLEAST16): Likewise.
39929 [C99-based-standards] (PRIuLEAST16): Likewise.
39930 [C99-based-standards] (PRIxLEAST16): Likewise.
39931 [C99-based-standards] (PRIXLEAST16): Likewise.
39932 [C99-based-standards] (SCNdLEAST16): Likewise.
39933 [C99-based-standards] (SCNiLEAST16): Likewise.
39934 [C99-based-standards] (SCNoLEAST16): Likewise.
39935 [C99-based-standards] (SCNuLEAST16): Likewise.
39936 [C99-based-standards] (SCNxLEAST16): Likewise.
39937 [C99-based-standards] (PRIdFAST16): Likewise.
39938 [C99-based-standards] (PRIiFAST16): Likewise.
39939 [C99-based-standards] (PRIoFAST16): Likewise.
39940 [C99-based-standards] (PRIuFAST16): Likewise.
39941 [C99-based-standards] (PRIxFAST16): Likewise.
39942 [C99-based-standards] (PRIXFAST16): Likewise.
39943 [C99-based-standards] (SCNdFAST16): Likewise.
39944 [C99-based-standards] (SCNiFAST16): Likewise.
39945 [C99-based-standards] (SCNoFAST16): Likewise.
39946 [C99-based-standards] (SCNuFAST16): Likewise.
39947 [C99-based-standards] (SCNxFAST16): Likewise.
39948 [C99-based-standards] (PRId32): Likewise.
39949 [C99-based-standards] (PRIi32): Likewise.
39950 [C99-based-standards] (PRIo32): Likewise.
39951 [C99-based-standards] (PRIu32): Likewise.
39952 [C99-based-standards] (PRIx32): Likewise.
39953 [C99-based-standards] (PRIX32): Likewise.
39954 [C99-based-standards] (SCNd32): Likewise.
39955 [C99-based-standards] (SCNi32): Likewise.
39956 [C99-based-standards] (SCNo32): Likewise.
39957 [C99-based-standards] (SCNu32): Likewise.
39958 [C99-based-standards] (SCNx32): Likewise.
39959 [C99-based-standards] (PRIdLEAST32): Likewise.
39960 [C99-based-standards] (PRIiLEAST32): Likewise.
39961 [C99-based-standards] (PRIoLEAST32): Likewise.
39962 [C99-based-standards] (PRIuLEAST32): Likewise.
39963 [C99-based-standards] (PRIxLEAST32): Likewise.
39964 [C99-based-standards] (PRIXLEAST32): Likewise.
39965 [C99-based-standards] (SCNdLEAST32): Likewise.
39966 [C99-based-standards] (SCNiLEAST32): Likewise.
39967 [C99-based-standards] (SCNoLEAST32): Likewise.
39968 [C99-based-standards] (SCNuLEAST32): Likewise.
39969 [C99-based-standards] (SCNxLEAST32): Likewise.
39970 [C99-based-standards] (PRIdFAST32): Likewise.
39971 [C99-based-standards] (PRIiFAST32): Likewise.
39972 [C99-based-standards] (PRIoFAST32): Likewise.
39973 [C99-based-standards] (PRIuFAST32): Likewise.
39974 [C99-based-standards] (PRIxFAST32): Likewise.
39975 [C99-based-standards] (PRIXFAST32): Likewise.
39976 [C99-based-standards] (SCNdFAST32): Likewise.
39977 [C99-based-standards] (SCNiFAST32): Likewise.
39978 [C99-based-standards] (SCNoFAST32): Likewise.
39979 [C99-based-standards] (SCNuFAST32): Likewise.
39980 [C99-based-standards] (SCNxFAST32): Likewise.
39981 [C99-based-standards] (PRId64): Likewise.
39982 [C99-based-standards] (PRIi64): Likewise.
39983 [C99-based-standards] (PRIo64): Likewise.
39984 [C99-based-standards] (PRIu64): Likewise.
39985 [C99-based-standards] (PRIx64): Likewise.
39986 [C99-based-standards] (PRIX64): Likewise.
39987 [C99-based-standards] (SCNd64): Likewise.
39988 [C99-based-standards] (SCNi64): Likewise.
39989 [C99-based-standards] (SCNo64): Likewise.
39990 [C99-based-standards] (SCNu64): Likewise.
39991 [C99-based-standards] (SCNx64): Likewise.
39992 [C99-based-standards] (PRIdLEAST64): Likewise.
39993 [C99-based-standards] (PRIiLEAST64): Likewise.
39994 [C99-based-standards] (PRIoLEAST64): Likewise.
39995 [C99-based-standards] (PRIuLEAST64): Likewise.
39996 [C99-based-standards] (PRIxLEAST64): Likewise.
39997 [C99-based-standards] (PRIXLEAST64): Likewise.
39998 [C99-based-standards] (SCNdLEAST64): Likewise.
39999 [C99-based-standards] (SCNiLEAST64): Likewise.
40000 [C99-based-standards] (SCNoLEAST64): Likewise.
40001 [C99-based-standards] (SCNuLEAST64): Likewise.
40002 [C99-based-standards] (SCNxLEAST64): Likewise.
40003 [C99-based-standards] (PRIdFAST64): Likewise.
40004 [C99-based-standards] (PRIiFAST64): Likewise.
40005 [C99-based-standards] (PRIoFAST64): Likewise.
40006 [C99-based-standards] (PRIuFAST64): Likewise.
40007 [C99-based-standards] (PRIxFAST64): Likewise.
40008 [C99-based-standards] (PRIXFAST64): Likewise.
40009 [C99-based-standards] (SCNdFAST64): Likewise.
40010 [C99-based-standards] (SCNiFAST64): Likewise.
40011 [C99-based-standards] (SCNoFAST64): Likewise.
40012 [C99-based-standards] (SCNuFAST64): Likewise.
40013 [C99-based-standards] (SCNxFAST64): Likewise.
40014 [C99-based-standards] (PRIdMAX): Likewise.
40015 [C99-based-standards] (PRIiMAX): Likewise.
40016 [C99-based-standards] (PRIoMAX): Likewise.
40017 [C99-based-standards] (PRIuMAX): Likewise.
40018 [C99-based-standards] (PRIxMAX): Likewise.
40019 [C99-based-standards] (PRIXMAX): Likewise.
40020 [C99-based-standards] (SCNdMAX): Likewise.
40021 [C99-based-standards] (SCNiMAX): Likewise.
40022 [C99-based-standards] (SCNoMAX): Likewise.
40023 [C99-based-standards] (SCNuMAX): Likewise.
40024 [C99-based-standards] (SCNxMAX): Likewise.
40025 [C99-based-standards] (PRIdPTR): Likewise.
40026 [C99-based-standards] (PRIiPTR): Likewise.
40027 [C99-based-standards] (PRIoPTR): Likewise.
40028 [C99-based-standards] (PRIuPTR): Likewise.
40029 [C99-based-standards] (PRIxPTR): Likewise.
40030 [C99-based-standards] (PRIXPTR): Likewise.
40031 [C99-based-standards] (SCNdPTR): Likewise.
40032 [C99-based-standards] (SCNiPTR): Likewise.
40033 [C99-based-standards] (SCNoPTR): Likewise.
40034 [C99-based-standards] (SCNuPTR): Likewise.
40035 [C99-based-standards] (SCNxPTR): Likewise.
40036 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40038 * conform/data/stdint.h-data: Update comments to clarify
40040 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40042 [C99-based standards] (INT8_MAX): Likewise.
40043 [C99-based standards] (INT16_MIN): Likewise.
40044 [C99-based standards] (INT16_MAX): Likewise.
40045 [C99-based standards] (INT32_MIN): Likewise.
40046 [C99-based standards] (INT32_MAX): Likewise.
40047 [C99-based standards] (INT64_MIN): Likewise.
40048 [C99-based standards] (INT64_MAX): Likewise.
40049 [C99-based standards] (UINT8_MAX): Likewise.
40050 [C99-based standards] (UINT16_MAX): Likewise.
40051 [C99-based standards] (UINT32_MAX): Likewise.
40052 [C99-based standards] (UINT64_MAX): Likewise.
40053 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40054 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40055 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40056 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40057 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40058 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40059 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40060 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40061 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40062 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40063 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40064 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40065 [C99-based standards] (INT_FAST8_MIN): Likewise.
40066 [C99-based standards] (INT_FAST8_MAX): Likewise.
40067 [C99-based standards] (INT_FAST16_MIN): Likewise.
40068 [C99-based standards] (INT_FAST16_MAX): Likewise.
40069 [C99-based standards] (INT_FAST32_MIN): Likewise.
40070 [C99-based standards] (INT_FAST32_MAX): Likewise.
40071 [C99-based standards] (INT_FAST64_MIN): Likewise.
40072 [C99-based standards] (INT_FAST64_MAX): Likewise.
40073 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40074 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40075 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40076 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40077 [C99-based standards] (INTPTR_MIN): Likewise.
40078 [C99-based standards] (INTPTR_MAX): Likewise.
40079 [C99-based standards] (UINTPTR_MAX): Likewise.
40080 [C99-based standards] (INTMAX_MIN): Likewise.
40081 [C99-based standards] (INTMAX_MAX): Likewise.
40082 [C99-based standards] (UINTMAX_MAX): Likewise.
40083 [C99-based standards] (PTRDIFF_MIN): Likewise.
40084 [C99-based standards] (PTRDIFF_MAX): Likewise.
40085 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40086 [C99-based standards] (SIZE_MAX): Likewise.
40087 [C99-based standards] (WCHAR_MAX): Likewise.
40088 [C99-based standards] (WINT_MAX): Likewise.
40089 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40090 constraint on value.
40091 [C99-based standards] (WCHAR_MIN): Likewise.
40092 [C99-based standards] (WINT_MIN): Likewise.
40093 [C99-based standards] (*_t): Allow.
40094 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40095 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40096 Include math.h-data and complex.h-data. Remove all expectations
40097 of math.h and complex.h contents.
40098 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40100 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40101 (struct tm): Expect tag.
40102 [C99-based-standards] (wcstof): Expect function.
40103 [C99-based-standards] (wcstold): Likewise.
40104 [C99-based-standards] (wcstoll): Likewise.
40105 [C99-based-standards] (wcstoull): Likewise.
40106 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40107 macro-int-constant. Specify type.
40108 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40109 constraint on value.
40110 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40112 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40114 [ISO C standards]: Do not allow headers.
40115 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40116 wcs[abcdefghijklmnopqrstuvwxyz]*.
40117 [ISO C standards] (*_t): Do not allow.
40118 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40120 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40121 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40123 [ISO C standards]: Do not allow headers.
40124 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40125 is[abcdefghijklmnopqrstuvwxyz]*.
40126 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40127 to[abcdefghijklmnopqrstuvwxyz]*.
40128 [ISO C standards] (*_t): Do not allow.
40129 * conform/data/stdalign.h-data: New file.
40130 * conform/data/stdbool.h-data: Likewise.
40131 * conform/data/stdnoreturn.h-data: Likewise.
40133 2012-11-07 Roland McGrath <roland@hack.frob.com>
40136 * manual/filesys.texi (Directory Entries): Typo fix.
40137 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40139 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40141 * elf/elf.h (EM_AARCH64): New macro.
40142 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40143 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40144 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40145 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40146 (R_AARCH64_TLSDESC): Likewise.
40147 (NT_ARM_TLS): Likewise.
40148 (NT_ARM_HW_BREAK): Likewise.
40149 (NT_ARM_HW_WATCH): Likewise.
40151 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40154 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40155 (__ieee754_powl): Saturate nonzero exponents with absolute value
40156 below 0x1p-79 to +/- 0x1p-79.
40157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40158 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40159 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40160 nonzero exponents with absolute value below 0x1p-32 to +/-
40162 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40163 (__ieee754_powl): Saturate nonzero exponents with absolute value
40164 below 0x1p-79 to +/- 0x1p-79.
40165 * math/libm-test.inc (pow_test): Add more tests.
40167 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40169 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40170 _dl_s390_cap_flags with kernel. Increase string length.
40171 (_dl_s390_platforms): Add z196 and zEC12.
40173 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40175 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40176 Change XOPEN21K to XOPEN2K.
40178 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40180 * string/memmove.c: Use memcpy when possible.
40182 2012-11-06 Andreas Jaeger <aj@suse.de>
40184 * po/eo.po: Update from translation team.
40186 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40190 exponent and small x and y exponents, scale x or y up. Increase
40191 by 2 the exponent used in scaling up.
40192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40194 * math/libm-test.inc (fma_test): Add more tests.
40195 (fma_test_towardzero): Likewise.
40196 (fma_test_downward): Likewise.
40197 (fma_test_upward): Likewise.
40199 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40202 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40206 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40207 namespace for names of struct fields.
40208 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40210 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40211 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40213 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40216 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40218 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40220 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40224 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40227 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40231 definitely overflow as x * y not x * y + z.
40232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40234 * math/libm-test.inc (fma_test): Add more tests.
40235 (fma_test_towardzero): Likewise.
40236 (fma_test_downward): Likewise.
40237 (fma_test_upward): Likewise.
40239 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40243 * include/stub-tag.h: Remove file.
40244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40246 * manual/maint.texi (Porting): Don't reference it.
40247 * Makerules ($(objpfx)stubs): Likewise.
40248 * dirent/closedir.c: Don't include <stub-tag.h>.
40249 * dirent/dirfd.c: Likewise.
40250 * dirent/fdopendir.c: Likewise.
40251 * dirent/getdents.c: Likewise.
40252 * dirent/getdents64.c: Likewise.
40253 * dirent/opendir.c: Likewise.
40254 * dirent/readdir.c: Likewise.
40255 * dirent/readdir64.c: Likewise.
40256 * dirent/readdir64_r.c: Likewise.
40257 * dirent/readdir_r.c: Likewise.
40258 * dirent/rewinddir.c: Likewise.
40259 * dirent/seekdir.c: Likewise.
40260 * dirent/telldir.c: Likewise.
40261 * gmon/profil.c: Likewise.
40262 * grp/setgroups.c: Likewise.
40263 * inet/if_index.c: Likewise.
40264 * io/access.c: Likewise.
40265 * io/chdir.c: Likewise.
40266 * io/chmod.c: Likewise.
40267 * io/chown.c: Likewise.
40268 * io/close.c: Likewise.
40269 * io/dup.c: Likewise.
40270 * io/dup2.c: Likewise.
40271 * io/dup3.c: Likewise.
40272 * io/euidaccess.c: Likewise.
40273 * io/faccessat.c: Likewise.
40274 * io/fchdir.c: Likewise.
40275 * io/fchmod.c: Likewise.
40276 * io/fchmodat.c: Likewise.
40277 * io/fchown.c: Likewise.
40278 * io/fchownat.c: Likewise.
40279 * io/fcntl.c: Likewise.
40280 * io/flock.c: Likewise.
40281 * io/fstatfs.c: Likewise.
40282 * io/fstatfs64.c: Likewise.
40283 * io/fstatvfs.c: Likewise.
40284 * io/fstatvfs64.c: Likewise.
40285 * io/futimens.c: Likewise.
40286 * io/fxstat.c: Likewise.
40287 * io/fxstat64.c: Likewise.
40288 * io/fxstatat.c: Likewise.
40289 * io/fxstatat64.c: Likewise.
40290 * io/getcwd.c: Likewise.
40291 * io/isatty.c: Likewise.
40292 * io/lchmod.c: Likewise.
40293 * io/lchown.c: Likewise.
40294 * io/link.c: Likewise.
40295 * io/linkat.c: Likewise.
40296 * io/lseek.c: Likewise.
40297 * io/lseek64.c: Likewise.
40298 * io/lxstat64.c: Likewise.
40299 * io/mkdir.c: Likewise.
40300 * io/mkdirat.c: Likewise.
40301 * io/mkfifo.c: Likewise.
40302 * io/mkfifoat.c: Likewise.
40303 * io/open.c: Likewise.
40304 * io/open64.c: Likewise.
40305 * io/openat.c: Likewise.
40306 * io/openat64.c: Likewise.
40307 * io/pipe.c: Likewise.
40308 * io/pipe2.c: Likewise.
40309 * io/poll.c: Likewise.
40310 * io/posix_fadvise.c: Likewise.
40311 * io/posix_fadvise64.c: Likewise.
40312 * io/posix_fallocate.c: Likewise.
40313 * io/posix_fallocate64.c: Likewise.
40314 * io/read.c: Likewise.
40315 * io/readlink.c: Likewise.
40316 * io/readlinkat.c: Likewise.
40317 * io/rmdir.c: Likewise.
40318 * io/sendfile.c: Likewise.
40319 * io/sendfile64.c: Likewise.
40320 * io/statfs.c: Likewise.
40321 * io/statfs64.c: Likewise.
40322 * io/statvfs.c: Likewise.
40323 * io/statvfs64.c: Likewise.
40324 * io/symlink.c: Likewise.
40325 * io/symlinkat.c: Likewise.
40326 * io/ttyname.c: Likewise.
40327 * io/ttyname_r.c: Likewise.
40328 * io/umask.c: Likewise.
40329 * io/unlink.c: Likewise.
40330 * io/unlinkat.c: Likewise.
40331 * io/utime.c: Likewise.
40332 * io/utimensat.c: Likewise.
40333 * io/write.c: Likewise.
40334 * io/xmknod.c: Likewise.
40335 * io/xmknodat.c: Likewise.
40336 * io/xstat.c: Likewise.
40337 * io/xstat64.c: Likewise.
40338 * login/getpt.c: Likewise.
40339 * login/grantpt.c: Likewise.
40340 * login/unlockpt.c: Likewise.
40341 * math/e_acoshl.c: Likewise.
40342 * math/e_acosl.c: Likewise.
40343 * math/e_asinl.c: Likewise.
40344 * math/e_atan2l.c: Likewise.
40345 * math/e_atanhl.c: Likewise.
40346 * math/e_coshl.c: Likewise.
40347 * math/e_expl.c: Likewise.
40348 * math/e_fmodl.c: Likewise.
40349 * math/e_gammal_r.c: Likewise.
40350 * math/e_hypotl.c: Likewise.
40351 * math/e_j0l.c: Likewise.
40352 * math/e_j1l.c: Likewise.
40353 * math/e_jnl.c: Likewise.
40354 * math/e_lgammal_r.c: Likewise.
40355 * math/e_log10l.c: Likewise.
40356 * math/e_log2l.c: Likewise.
40357 * math/e_logl.c: Likewise.
40358 * math/e_powl.c: Likewise.
40359 * math/e_rem_pio2l.c: Likewise.
40360 * math/e_sinhl.c: Likewise.
40361 * math/e_sqrtl.c: Likewise.
40362 * math/fclrexcpt.c: Likewise.
40363 * math/fedisblxcpt.c: Likewise.
40364 * math/feenablxcpt.c: Likewise.
40365 * math/fegetenv.c: Likewise.
40366 * math/fegetexcept.c: Likewise.
40367 * math/fegetround.c: Likewise.
40368 * math/feholdexcpt.c: Likewise.
40369 * math/fesetenv.c: Likewise.
40370 * math/fesetround.c: Likewise.
40371 * math/feupdateenv.c: Likewise.
40372 * math/fgetexcptflg.c: Likewise.
40373 * math/fraiseexcpt.c: Likewise.
40374 * math/fsetexcptflg.c: Likewise.
40375 * math/ftestexcept.c: Likewise.
40376 * math/k_cosl.c: Likewise.
40377 * math/k_rem_pio2l.c: Likewise.
40378 * math/k_sinl.c: Likewise.
40379 * math/k_tanl.c: Likewise.
40380 * math/s_asinhl.c: Likewise.
40381 * math/s_atanl.c: Likewise.
40382 * math/s_cbrtl.c: Likewise.
40383 * math/s_erfl.c: Likewise.
40384 * math/s_expm1l.c: Likewise.
40385 * math/s_log1pl.c: Likewise.
40386 * math/s_tanhl.c: Likewise.
40387 * misc/acct.c: Likewise.
40388 * misc/brk.c: Likewise.
40389 * misc/chflags.c: Likewise.
40390 * misc/chroot.c: Likewise.
40391 * misc/fchflags.c: Likewise.
40392 * misc/fgetxattr.c: Likewise.
40393 * misc/flistxattr.c: Likewise.
40394 * misc/fremovexattr.c: Likewise.
40395 * misc/fsetxattr.c: Likewise.
40396 * misc/fsync.c: Likewise.
40397 * misc/ftruncate.c: Likewise.
40398 * misc/futimes.c: Likewise.
40399 * misc/futimesat.c: Likewise.
40400 * misc/getdomain.c: Likewise.
40401 * misc/getdtsz.c: Likewise.
40402 * misc/gethostid.c: Likewise.
40403 * misc/gethostname.c: Likewise.
40404 * misc/getloadavg.c: Likewise.
40405 * misc/getpagesize.c: Likewise.
40406 * misc/getsysstats.c: Likewise.
40407 * misc/getxattr.c: Likewise.
40408 * misc/gtty.c: Likewise.
40409 * misc/ioctl.c: Likewise.
40410 * misc/lgetxattr.c: Likewise.
40411 * misc/listxattr.c: Likewise.
40412 * misc/llistxattr.c: Likewise.
40413 * misc/lremovexattr.c: Likewise.
40414 * misc/lsetxattr.c: Likewise.
40415 * misc/lutimes.c: Likewise.
40416 * misc/madvise.c: Likewise.
40417 * misc/mincore.c: Likewise.
40418 * misc/mlock.c: Likewise.
40419 * misc/mlockall.c: Likewise.
40420 * misc/mmap.c: Likewise.
40421 * misc/mprotect.c: Likewise.
40422 * misc/msync.c: Likewise.
40423 * misc/munlock.c: Likewise.
40424 * misc/munlockall.c: Likewise.
40425 * misc/munmap.c: Likewise.
40426 * misc/preadv.c: Likewise.
40427 * misc/preadv64.c: Likewise.
40428 * misc/ptrace.c: Likewise.
40429 * misc/pwritev.c: Likewise.
40430 * misc/pwritev64.c: Likewise.
40431 * misc/readv.c: Likewise.
40432 * misc/reboot.c: Likewise.
40433 * misc/remap_file_pages.c: Likewise.
40434 * misc/removexattr.c: Likewise.
40435 * misc/revoke.c: Likewise.
40436 * misc/select.c: Likewise.
40437 * misc/setdomain.c: Likewise.
40438 * misc/setegid.c: Likewise.
40439 * misc/seteuid.c: Likewise.
40440 * misc/sethostid.c: Likewise.
40441 * misc/sethostname.c: Likewise.
40442 * misc/setregid.c: Likewise.
40443 * misc/setreuid.c: Likewise.
40444 * misc/setxattr.c: Likewise.
40445 * misc/sstk.c: Likewise.
40446 * misc/stty.c: Likewise.
40447 * misc/swapoff.c: Likewise.
40448 * misc/swapon.c: Likewise.
40449 * misc/sync.c: Likewise.
40450 * misc/syncfs.c: Likewise.
40451 * misc/syscall.c: Likewise.
40452 * misc/truncate.c: Likewise.
40453 * misc/ualarm.c: Likewise.
40454 * misc/usleep.c: Likewise.
40455 * misc/ustat.c: Likewise.
40456 * misc/utimes.c: Likewise.
40457 * misc/vhangup.c: Likewise.
40458 * misc/writev.c: Likewise.
40459 * posix/_exit.c: Likewise.
40460 * posix/alarm.c: Likewise.
40461 * posix/execve.c: Likewise.
40462 * posix/fexecve.c: Likewise.
40463 * posix/fork.c: Likewise.
40464 * posix/fpathconf.c: Likewise.
40465 * posix/getaddrinfo.c: Likewise.
40466 * posix/getegid.c: Likewise.
40467 * posix/geteuid.c: Likewise.
40468 * posix/getgid.c: Likewise.
40469 * posix/getgroups.c: Likewise.
40470 * posix/getlogin.c: Likewise.
40471 * posix/getlogin_r.c: Likewise.
40472 * posix/getpgid.c: Likewise.
40473 * posix/getpid.c: Likewise.
40474 * posix/getppid.c: Likewise.
40475 * posix/getresgid.c: Likewise.
40476 * posix/getresuid.c: Likewise.
40477 * posix/getsid.c: Likewise.
40478 * posix/getuid.c: Likewise.
40479 * posix/glob64.c: Likewise.
40480 * posix/nanosleep.c: Likewise.
40481 * posix/pathconf.c: Likewise.
40482 * posix/pause.c: Likewise.
40483 * posix/posix_madvise.c: Likewise.
40484 * posix/pread.c: Likewise.
40485 * posix/pread64.c: Likewise.
40486 * posix/pwrite.c: Likewise.
40487 * posix/pwrite64.c: Likewise.
40488 * posix/sched_getaffinity.c: Likewise.
40489 * posix/sched_getp.c: Likewise.
40490 * posix/sched_gets.c: Likewise.
40491 * posix/sched_primax.c: Likewise.
40492 * posix/sched_primin.c: Likewise.
40493 * posix/sched_rr_gi.c: Likewise.
40494 * posix/sched_setaffinity.c: Likewise.
40495 * posix/sched_setp.c: Likewise.
40496 * posix/sched_sets.c: Likewise.
40497 * posix/sched_yield.c: Likewise.
40498 * posix/setgid.c: Likewise.
40499 * posix/setlogin.c: Likewise.
40500 * posix/setpgid.c: Likewise.
40501 * posix/setresgid.c: Likewise.
40502 * posix/setresuid.c: Likewise.
40503 * posix/setsid.c: Likewise.
40504 * posix/setuid.c: Likewise.
40505 * posix/sleep.c: Likewise.
40506 * posix/spawni.c: Likewise.
40507 * posix/sysconf.c: Likewise.
40508 * posix/times.c: Likewise.
40509 * posix/wait.c: Likewise.
40510 * posix/wait3.c: Likewise.
40511 * posix/wait4.c: Likewise.
40512 * posix/waitpid.c: Likewise.
40513 * resolv/gai_sigqueue.c: Likewise.
40514 * resource/getpriority.c: Likewise.
40515 * resource/getrlimit.c: Likewise.
40516 * resource/getrusage.c: Likewise.
40517 * resource/nice.c: Likewise.
40518 * resource/setpriority.c: Likewise.
40519 * resource/setrlimit.c: Likewise.
40520 * resource/ulimit.c: Likewise.
40521 * rt/aio_cancel.c: Likewise.
40522 * rt/aio_fsync.c: Likewise.
40523 * rt/aio_read.c: Likewise.
40524 * rt/aio_sigqueue.c: Likewise.
40525 * rt/aio_suspend.c: Likewise.
40526 * rt/aio_write.c: Likewise.
40527 * rt/clock_getres.c: Likewise.
40528 * rt/clock_gettime.c: Likewise.
40529 * rt/clock_nanosleep.c: Likewise.
40530 * rt/clock_settime.c: Likewise.
40531 * rt/lio_listio.c: Likewise.
40532 * rt/mq_close.c: Likewise.
40533 * rt/mq_getattr.c: Likewise.
40534 * rt/mq_notify.c: Likewise.
40535 * rt/mq_open.c: Likewise.
40536 * rt/mq_receive.c: Likewise.
40537 * rt/mq_send.c: Likewise.
40538 * rt/mq_setattr.c: Likewise.
40539 * rt/mq_timedreceive.c: Likewise.
40540 * rt/mq_timedsend.c: Likewise.
40541 * rt/mq_unlink.c: Likewise.
40542 * rt/shm_open.c: Likewise.
40543 * rt/shm_unlink.c: Likewise.
40544 * rt/timer_create.c: Likewise.
40545 * rt/timer_delete.c: Likewise.
40546 * rt/timer_getoverr.c: Likewise.
40547 * rt/timer_gettime.c: Likewise.
40548 * rt/timer_settime.c: Likewise.
40549 * setjmp/__longjmp.c: Likewise.
40550 * setjmp/setjmp.c: Likewise.
40551 * signal/kill.c: Likewise.
40552 * signal/killpg.c: Likewise.
40553 * signal/raise.c: Likewise.
40554 * signal/sigaction.c: Likewise.
40555 * signal/sigaltstack.c: Likewise.
40556 * signal/sigblock.c: Likewise.
40557 * signal/sigignore.c: Likewise.
40558 * signal/sigintr.c: Likewise.
40559 * signal/signal.c: Likewise.
40560 * signal/sigpause.c: Likewise.
40561 * signal/sigpending.c: Likewise.
40562 * signal/sigqueue.c: Likewise.
40563 * signal/sigreturn.c: Likewise.
40564 * signal/sigset.c: Likewise.
40565 * signal/sigsetmask.c: Likewise.
40566 * signal/sigstack.c: Likewise.
40567 * signal/sigsuspend.c: Likewise.
40568 * signal/sigtimedwait.c: Likewise.
40569 * signal/sigvec.c: Likewise.
40570 * signal/sigwait.c: Likewise.
40571 * signal/sigwaitinfo.c: Likewise.
40572 * signal/sysv_signal.c: Likewise.
40573 * socket/accept.c: Likewise.
40574 * socket/accept4.c: Likewise.
40575 * socket/bind.c: Likewise.
40576 * socket/connect.c: Likewise.
40577 * socket/getpeername.c: Likewise.
40578 * socket/getsockname.c: Likewise.
40579 * socket/getsockopt.c: Likewise.
40580 * socket/isfdtype.c: Likewise.
40581 * socket/listen.c: Likewise.
40582 * socket/recv.c: Likewise.
40583 * socket/recvfrom.c: Likewise.
40584 * socket/recvmsg.c: Likewise.
40585 * socket/send.c: Likewise.
40586 * socket/sendmsg.c: Likewise.
40587 * socket/sendto.c: Likewise.
40588 * socket/setsockopt.c: Likewise.
40589 * socket/shutdown.c: Likewise.
40590 * socket/sockatmark.c: Likewise.
40591 * socket/socket.c: Likewise.
40592 * socket/socketpair.c: Likewise.
40593 * stdio-common/ctermid.c: Likewise.
40594 * stdio-common/cuserid.c: Likewise.
40595 * stdio-common/remove.c: Likewise.
40596 * stdio-common/rename.c: Likewise.
40597 * stdio-common/renameat.c: Likewise.
40598 * stdio-common/tempname.c: Likewise.
40599 * stdlib/getcontext.c: Likewise.
40600 * stdlib/makecontext.c: Likewise.
40601 * stdlib/setcontext.c: Likewise.
40602 * stdlib/swapcontext.c: Likewise.
40603 * stdlib/system.c: Likewise.
40604 * streams/fattach.c: Likewise.
40605 * streams/fdetach.c: Likewise.
40606 * streams/getmsg.c: Likewise.
40607 * streams/getpmsg.c: Likewise.
40608 * streams/putmsg.c: Likewise.
40609 * streams/putpmsg.c: Likewise.
40610 * sysdeps/unix/bsd/getpt.c: Likewise.
40611 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40612 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40613 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40616 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40617 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40618 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40619 * sysvipc/msgctl.c: Likewise.
40620 * sysvipc/msgget.c: Likewise.
40621 * sysvipc/msgrcv.c: Likewise.
40622 * sysvipc/msgsnd.c: Likewise.
40623 * sysvipc/semctl.c: Likewise.
40624 * sysvipc/semget.c: Likewise.
40625 * sysvipc/semop.c: Likewise.
40626 * sysvipc/semtimedop.c: Likewise.
40627 * sysvipc/shmat.c: Likewise.
40628 * sysvipc/shmctl.c: Likewise.
40629 * sysvipc/shmdt.c: Likewise.
40630 * sysvipc/shmget.c: Likewise.
40631 * termios/tcdrain.c: Likewise.
40632 * termios/tcflow.c: Likewise.
40633 * termios/tcflush.c: Likewise.
40634 * termios/tcgetattr.c: Likewise.
40635 * termios/tcgetpgrp.c: Likewise.
40636 * termios/tcsendbrk.c: Likewise.
40637 * termios/tcsetattr.c: Likewise.
40638 * termios/tcsetpgrp.c: Likewise.
40639 * time/adjtime.c: Likewise.
40640 * time/clock.c: Likewise.
40641 * time/getitimer.c: Likewise.
40642 * time/gettimeofday.c: Likewise.
40643 * time/setitimer.c: Likewise.
40644 * time/settimeofday.c: Likewise.
40645 * time/stime.c: Likewise.
40646 * time/time.c: Likewise.
40648 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40650 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40653 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40655 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40657 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40661 FE_TONEAREST before applying Dekker multiplication and Knuth
40662 addition. Clear inexact exceptions and check for exact zero
40663 results afterwards.
40664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40667 * math/libm-test.inc (fma_test): Add more tests.
40668 (fma_test_towardzero): Likewise.
40669 (fma_test_downward): Likewise.
40670 (fma_test_upward): Likewise.
40671 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40673 (libc_fesetround): New macro.
40674 (libc_fesetroundf): Likewise.
40675 (libc_fesetroundl): Likewise.
40676 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40678 (libc_fesetround_387): Likewise.
40679 (libc_fesetroundf): New macro.
40680 (libc_fesetround): Likewise.
40681 (libc_fesetroundl): Likewise.
40682 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40684 (libc_fesetroundf): New macro.
40685 (libc_fesetround): Likewise.
40686 (libc_fesetroundl): Likewise.
40687 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40688 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40689 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40691 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40692 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40694 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40695 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40697 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40701 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40702 integer constant usable in #if and use that to give value to enum
40704 (FE_DIVBYZERO): Likewise.
40705 (FE_UNDERFLOW): Likewise.
40706 (FE_OVERFLOW): Likewise.
40707 (FE_INVALID): Likewise.
40708 (FE_INVALID_SNAN): Likewise.
40709 (FE_INVALID_ISI): Likewise.
40710 (FE_INVALID_IDI): Likewise.
40711 (FE_INVALID_ZDZ): Likewise.
40712 (FE_INVALID_IMZ): Likewise.
40713 (FE_INVALID_COMPARE): Likewise.
40714 (FE_INVALID_SOFTWARE): Likewise.
40715 (FE_INVALID_SQRT): Likewise.
40716 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40717 (FE_TONEAREST): Likewise.
40718 (FE_TOWARDZERO): Likewise.
40719 (FE_UPWARD): Likewise.
40720 (FE_DOWNWARD): Likewise.
40721 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40722 (FE_DIVBYZERO): Likewise.
40723 (FE_OVERFLOW): Likewise.
40724 (FE_UNDERFLOW): Likewise.
40725 (FE_INEXACT): Likewise.
40726 (FE_TONEAREST): Likewise.
40727 (FE_DOWNWARD): Likewise.
40728 (FE_UPWARD): Likewise.
40729 (FE_TOWARDZERO): Likewise.
40730 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40731 (FE_UNDERFLOW): Likewise.
40732 (FE_OVERFLOW): Likewise.
40733 (FE_DIVBYZERO): Likewise.
40734 (FE_INVALID): Likewise.
40735 (FE_TONEAREST): Likewise.
40736 (FE_TOWARDZERO): Likewise.
40737 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40738 (FE_OVERFLOW): Likewise.
40739 (FE_UNDERFLOW): Likewise.
40740 (FE_DIVBYZERO): Likewise.
40741 (FE_INEXACT): Likewise.
40742 (FE_TONEAREST): Likewise.
40743 (FE_TOWARDZERO): Likewise.
40744 (FE_UPWARD): Likewise.
40745 (FE_DOWNWARD): Likewise.
40746 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40747 (FE_DIVBYZERO): Likewise.
40748 (FE_OVERFLOW): Likewise.
40749 (FE_UNDERFLOW): Likewise.
40750 (FE_INEXACT): Likewise.
40751 (FE_TONEAREST): Likewise.
40752 (FE_DOWNWARD): Likewise.
40753 (FE_UPWARD): Likewise.
40754 (FE_TOWARDZERO): Likewise.
40756 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40758 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40760 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40762 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40763 commands. Quote $PWD.
40764 (blacklist_exports): Don't use remove_newlines. Replace "declare
40766 (remove_newlines): Remove.
40768 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40770 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40771 * stdlib/stdlib.h (atof): Moved to ...
40772 * include/bits/stdlib-float.h: Here. New file.
40773 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40774 * stdlib/bits/stdlib-float.h: New file.
40775 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40780 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40782 * conform/conformtest.pl (@headers): Add fenv.h.
40783 * conform/data/fenv.h-data: New file.
40784 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40785 include of <math/fenv.h>.
40787 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40788 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40789 && !UNIX98]. Enables tests for XOPEN2K8.
40790 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40791 POSIX2008]: Likewise.
40793 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40794 (struct rusage): Do not expect type or its members.
40797 * math/math.h (FP_NAN): Define macro to integer constant usable in
40798 #if and use that to give value to enum constant.
40799 (FP_INFINITE): Likewise.
40800 (FP_ZERO): Likewise.
40801 (FP_SUBNORMAL): Likewise.
40802 (FP_NORMAL): Likewise.
40804 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40806 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40807 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40810 2012-11-02 Roland McGrath <roland@hack.frob.com>
40812 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40813 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40814 autoconf-time if not.
40815 * configure.in: Remove AC_PREREQ.
40817 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40819 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40820 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40821 of the internal implementation.
40823 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40825 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40826 except include of <misc/sys/syslog.h>.
40828 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40831 function returns with a NULL context exit with zero.
40833 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40835 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40837 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40839 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40840 (run_program_cmd): This.
40841 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40842 (tst_langinfo): New variable. Use it.
40844 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40846 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40847 floating point opcodes.
40849 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40851 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40854 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40856 * sysdeps/mach/hurd/powerpc: Remove directory.
40857 * sysdeps/mach/powerpc: Likewise.
40859 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40861 * scripts/check-local-headers.sh: Ignore c++ headers.
40863 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40865 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40866 __libc_cleanup_region_start argument.
40868 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40873 x * y using scaling, not as x * y + z.
40874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40876 * math/libm-test.inc (fma_test): Add more tests.
40877 (fma_test_towardzero): Likewise.
40878 (fma_test_downward): Likewise.
40879 (fma_test_upward): Likewise.
40881 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40883 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40885 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40887 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40890 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40892 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40894 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40901 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40904 Fix the order of the list for glibc 2.17.
40905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40908 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40912 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40916 for low part of x being zero before using __atanl (y).
40917 * math/libm-test.inc (atan2_test): Add another test.
40919 * manual/install.texi (Configuring and compiling): Document
40920 general use of test-wrapper and test-wrapper-env.
40921 * INSTALL: Regenerated.
40923 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40924 (__fma): Do not extract and scale down low bits on after-rounding
40925 systems when result rounded to normal precision would have normal
40927 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40928 (__fmal): Do not extract and scale down low bits on after-rounding
40929 systems when result rounded to normal precision would have normal
40931 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40932 (__fmal): Do not extract and scale down low bits on after-rounding
40933 systems when result rounded to normal precision would have normal
40935 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40937 (fma_test): Add more tests.
40938 (fma_test_towardzero): Likewise.
40939 (fma_test_downward): Likewise.
40940 (fma_test_upward): Likewise.
40942 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40944 * sysdeps/i386/tininess.h: Renamed to ...
40945 * sysdeps/x86/tininess.h: This.
40946 * sysdeps/x86_64/tininess.h: Removed.
40948 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40950 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40951 input. Use $(build-program-cmd).
40952 ($(objpfx)tst-array1-static.out): Likewise.
40953 ($(objpfx)tst-array2.out): Likewise.
40954 ($(objpfx)tst-array3.out): Likewise.
40955 ($(objpfx)tst-array4.out): Likewise.
40956 ($(objpfx)tst-array5.out): Likewise.
40957 ($(objpfx)tst-array5-static.out): Likewise.
40959 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40961 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40964 * nss/nsswitch.h (nss_interface_function): Provide new
40965 macro for use with NSS functions.
40966 * grp/initgroups.c: Use new macro.
40967 * nss/getXXbyYY.c: Likewise.
40968 * nss/getXXbyYY_r.c: Likewise.
40969 * nss/getXXent.c: Likewise.
40970 * nss/getXXent_r.c: Likewise.
40971 * sysdeps/posix/getaddrinfo.c: Likewise.
40973 2012-10-30 Andreas Jaeger <aj@suse.de>
40975 * po/ru.po: Update Russion translation from translation project.
40977 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40982 result and shift together with sticky bit instead of replicating
40983 round-to-nearest rounding.
40984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40986 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40987 missing underflow exceptions.
40988 (fma_test_towardzero): Add more tests.
40989 (fma_test_downward): Likewise.
40990 (fma_test_upward): Likewise.
40993 * sysdeps/generic/tininess.h: New file.
40994 * sysdeps/i386/tininess.h: Likewise.
40995 * sysdeps/sh/tininess.h: Likewise.
40996 * sysdeps/x86_64/tininess.h: Likewise.
40997 * stdlib/tst-strtod-underflow.c: Likewise.
40998 * stdlib/tst-tininess.c: Likewise.
40999 * stdlib/strtod_l.c: Include <tininess.h>.
41000 (round_and_return): Do not set errno for exact underflow cases.
41001 Force an underflow exception when setting errno for underflow.
41002 Determine underflow based on rounding to normal precision if
41003 TININESS_AFTER_ROUNDING.
41004 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41005 ERANGE for exact underflow cases.
41006 * stdlib/Makefile (tests): Add tst-tininess and
41007 tst-strtod-underflow.
41008 ($(objpfx)tst-tininess): Use $(link-libm).
41009 ($(objpfx)tst-strtod-underflow): Likewise.
41011 2012-10-30 Andreas Jaeger <aj@suse.de>
41014 * elf/Makefile (tests): Remove conditional for have-initfini-array
41015 since this is now always required and the variable does not exist
41017 (tests-static): Likewise.
41018 (modules-names): Likewise.
41020 * po/eo.po: Add Esperanto translation from translation project.
41022 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41023 merged with constructor/destructor.
41024 (init_array): Likewise.
41025 * elf/tst-array2dep.c (fini_array): Likewise.
41026 (init_array): Likewise.
41028 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41030 * manual/message.texi: Delete @cartouche tags.
41032 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41034 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41036 * sysdeps/mach/hurd/fsync.c: Likewise.
41038 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41039 [_POSIX_REALTIME_SIGNALS]: Change condition to
41040 [_POSIX_REALTIME_SIGNALS > 0].
41042 2012-10-27 Andreas Jaeger <aj@suse.de>
41044 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41045 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41047 [__WORDSIZE != 64]: Likewise.
41049 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41051 * iconvdata/tst-table.sh: Remove ${SHELL}.
41052 * iconvdata/tst-tables.sh: Likewise.
41054 2012-10-25 David S. Miller <davem@davemloft.net>
41056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41057 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41063 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41064 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41067 2012-10-25 Roland McGrath <roland@hack.frob.com>
41069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41070 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41073 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41074 Jim Blandy <jimb@codesourcery.com>
41076 * scripts/cross-test-ssh.sh: New file.
41077 * manual/install.texi (Configuring and compiling): Document use of
41079 * INSTALL: Regenerated.
41081 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41083 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41086 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41088 * Makeconfig (run-program-prefix): Fix comment.
41090 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41091 Jim Blandy <jimb@codesourcery.com>
41093 * Makeconfig (test-wrapper): New variable,
41094 (test-wrapper-env): Likewise.
41095 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41096 (run-built-tests): Define to yes.
41097 (run-program-prefix): Use $(test-wrapper).
41098 (built-program-cmd): Likewise.
41099 * Rules (make-test-out): Use $(test-wrapper-env) and
41100 $(host-built-program-cmd).
41101 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41102 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41104 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41105 $(test-wrapper-env) to tst-rtld-load-self.sh.
41106 ($(objpfx)order2.out): Use $(test-wrapper).
41107 ($(objpfx)tst-initorder.out): Likewise.
41108 ($(objpfx)tst-initorder2.out): Likewise.
41109 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41110 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41111 (test_wrapper_env): New variable. Use it to run ld.so.
41112 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41113 Use it to run ld.so.
41114 (test_wrapper_env): Likewise.
41115 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41116 $(test-wrapper) to run-iconv-test.sh.
41117 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41118 (ICONV): Use $test_wrapper.
41119 * posix/Makefile ($(objpfx)globtest.out): Pass
41120 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41121 globtest.sh, not $(run-program-prefix).
41122 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41123 (test_wrapper): Likewise.
41124 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41125 set together with run_via_rtld_prefix.
41126 (run_program_prefix): Define in terms of test_wrapper and
41127 run_via_rtld_prefix.
41129 2012-10-24 Roland McGrath <roland@hack.frob.com>
41131 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41132 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41136 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41137 Declare __clock_getres, __clock_gettime, __clock_settime,
41138 __clock_nanosleep, and __clock_getcpuclockid.
41139 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41140 Remove librt_hidden_def (clock_gettime).
41141 * sysdeps/unix/clock_gettime.c: Likewise.
41142 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41144 * rt/clock_getres.c: Define __clock_getres as an alias.
41145 * sysdeps/posix/clock_getres.c: Likewise.
41146 * rt/clock_settime.c: Define __clock_settime as an alias.
41147 * sysdeps/unix/clock_settime.c: Likewise.
41148 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41149 * sysdeps/unix/clock_nanosleep.c: Likewise.
41150 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41151 * rt/clock-compat.c: New file.
41152 * rt/Makefile (librt-routines): Add clock-compat and move
41153 $(clock-routines) to ...
41154 (routines): ... here, new variable.
41155 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41156 Don't add get_clockfreq here.
41157 * rt/Versions (libc: GLIBC_2.17): New version set.
41158 Add clock_* symbols here.
41159 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41160 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41161 (GLIBC_2.17): Add clock_* symbols.
41162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41173 * NEWS: Mention the move.
41175 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41176 Use __open, __read, __close rather than their public counterparts.
41177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41178 (__get_clockfreq_via_cpuinfo): Likewise.
41179 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41180 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41182 * config.h.in (HAVE_IFUNC): New #undef.
41183 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41185 * configure: Regenerated.
41187 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41189 * configure.in: Move READELF check to start of file.
41190 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41191 libc_cv_asm_gnu_indirect_function in the process.
41192 * configure: Regenerated.
41194 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41196 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41197 send the output to /dev/null.
41198 (libc_cv_cc_with_libunwind): Likewise.
41199 (libc_cv_as_noexecstack): Likewise.
41200 * configure: Regenerate.
41202 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41204 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41206 * posix/globtest.sh (TMPDIR): Do not set.
41207 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41208 (testout): Likewise.
41210 2012-10-24 Andreas Jaeger <aj@suse.de>
41212 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41213 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41214 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41215 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41216 posix_fadvise64, posix_fallocate64.
41218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41219 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41220 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41222 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41224 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41227 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41228 <bits/fcntl-linux.h>.
41229 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41232 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41233 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41234 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41235 [__WORDSIZE != 64]: Likewise.
41237 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41239 * Makeconfig (run-built-tests): New variable.
41240 * Rules [$(cross-compiling) = yes]: Change condition to
41241 [$(run-built-tests) = no].
41242 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41243 to [$(run-built-tests) = yes].
41244 * elf/Makefile [$(cross-compiling) = no]: Likewise
41245 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41246 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41247 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41248 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41249 * io/Makefile [$(cross-compiling) = no]: Likewise.
41250 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41251 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41252 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41253 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41254 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41255 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41256 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41257 * string/Makefile [$(cross-compiling) = no]: Likewise.
41259 * posix/Makefile ($(objpfx)globtest.out): Pass
41260 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41261 $(rtld-installed-name).
41262 * posix/globtest.sh (elf_objpfx): Remove variable.
41263 (rtld_installed_name): Likewise.
41264 (library_path): Likewise.
41265 (run_program_prefix): New variable. Use for running globtest
41268 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41269 Joseph Myers <joseph@codesourcery.com>
41271 * Makeconfig (host-built-program-cmd): New variable.
41272 * elf/Makefile (tst-stackguard1-ARGS): Use
41273 $(host-built-program-cmd).
41274 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41275 (tst-spawn-ARGS): Likewise.
41276 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41278 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41279 Jim Blandy <jimb@codesourcery.com>
41281 * Makeconfig (run-via-rtld-prefix): New variable.
41282 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41283 (built-program-cmd): Likewise.
41285 2012-10-22 Andreas Jaeger <aj@suse.de>
41287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41288 __O_RSYNC if it exists, otherwise to O_SYNC.
41290 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41291 Joseph Myers <joseph@codesourcery.com>
41293 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41295 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41297 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41300 2012-10-22 Andreas Jaeger <aj@suse.de>
41302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41307 bits/fcntl-linux.h.
41309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41310 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41317 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41318 Joseph Myers <joseph@codesourcery.com>
41320 * config.make.in (NM): New variable.
41322 2012-10-21 Andreas Jaeger <aj@suse.de>
41324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41325 definitions and declarations that are provided by
41326 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41328 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41331 * elf/Makefile (tests-static): Add tst-leaks1-static.
41332 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41333 ($(objpfx)tst-leaks1-static): New rule.
41334 ($(objpfx)tst-leaks1-static-mem): Likewise.
41335 (tst-leaks1-static-ENV): New macro.
41336 * elf/dl-open.c (dl_open_worker): Check the main application
41337 only if SHARED is defined.
41338 * elf/tst-leaks1-static.c: New file.
41340 2012-10-20 Andreas Jaeger <aj@suse.de>
41342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41343 generic values for Linux.
41344 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41345 and declarations that are provided by <bits/fcntl-linux.h> and
41346 include <bits/fcntl-linux.h>.
41347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41350 2012-10-20 Roland McGrath <roland@hack.frob.com>
41352 * io/fcntl.h: Move include of <bits/types.h> to the top and
41353 include it unconditionally.
41355 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41357 * wcsmbs/Makefile (tests-ifunc): New variable.
41358 (tests): Add $(tests-ifunc).
41359 * wcsmbs/test-wcschr-ifunc.c: New file.
41360 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41361 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41362 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41363 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41364 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41366 * string/Makefile (tests-ifunc): New variable.
41367 (tests): Add $(tests-ifunc).
41368 * string/test-memccpy.c (TEST_NAME): New macro.
41369 * string/test-memchr.c (TEST_NAME): Likewise.
41370 * string/test-memcmp.c (TEST_NAME): Likewise.
41371 * string/test-memcpy.c (TEST_NAME): Likewise.
41372 * string/test-memmem.c (TEST_NAME): Likewise.
41373 * string/test-memmove.c (TEST_NAME): Likewise.
41374 * string/test-memset.c (TEST_NAME): Likewise.
41375 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41376 * string/test-stpcpy.c (TEST_NAME): Likewise.
41377 * string/test-stpncpy.c (TEST_NAME): Likewise.
41378 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41379 * string/test-strcasestr.c (TEST_NAME): Likewise.
41380 * string/test-strcat.c (TEST_NAME): Likewise.
41381 * string/test-strchr.c (TEST_NAME): Likewise.
41382 * string/test-strcmp.c(TEST_NAME): Likewise.
41383 * string/test-strcpy.c (TEST_NAME): Likewise.
41384 * string/test-strcspn.c (TEST_NAME): Likewise.
41385 * string/test-strlen.c (TEST_NAME): Likewise.
41386 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41387 * string/test-strncmp.c (TEST_NAME): Likewise.
41388 * string/test-strncpy.c (TEST_NAME): Likewise.
41389 * string/test-strnlen.c (TEST_NAME): Likewise.
41390 * string/test-strpbrk.c (TEST_NAME): Likewise.
41391 * string/test-strrchr.c (TEST_NAME): Likewise.
41392 * string/test-strspn.c (TEST_NAME): Likewise.
41393 * string/test-strstr.c (TEST_NAME): Likewise.
41394 * string/test-bcopy-ifunc.c: New file.
41395 * string/test-bzero-ifunc.c: Likewise.
41396 * string/test-memccpy-ifunc.c: Likewise.
41397 * string/test-memchr-ifunc.c: Likewise.
41398 * string/test-memcmp-ifunc.c: Likewise.
41399 * string/test-memcpy-ifunc.c: Likewise.
41400 * string/test-memmem-ifunc.c: Likewise.
41401 * string/test-memmove-ifunc.c: Likewise.
41402 * string/test-mempcpy-ifunc.c: Likewise.
41403 * string/test-memset-ifunc.c: Likewise.
41404 * string/test-rawmemchr-ifunc.c: Likewise.
41405 * string/test-stpcpy-ifunc.c: Likewise.
41406 * string/test-stpncpy-ifunc.c: Likewise.
41407 * string/test-strcasecmp-ifunc.c: Likewise.
41408 * string/test-strcasestr-ifunc.c: Likewise.
41409 * string/test-strcat-ifunc.c: Likewise.
41410 * string/test-strchr-ifunc.c: Likewise.
41411 * string/test-strchrnul-ifunc.c: Likewise.
41412 * string/test-strcmp-ifunc.c: Likewise.
41413 * string/test-strcpy-ifunc.c: Likewise.
41414 * string/test-strcspn-ifunc.c: Likewise.
41415 * string/test-strlen-ifunc.c: Likewise.
41416 * string/test-strncasecmp-ifunc.c: Likewise.
41417 * string/test-strncat-ifunc.c: Likewise.
41418 * string/test-strncmp-ifunc.c: Likewise.
41419 * string/test-strncpy-ifunc.c: Likewise.
41420 * string/test-strnlen-ifunc.c: Likewise.
41421 * string/test-strpbrk-ifunc.c: Likewise.
41422 * string/test-strrchr-ifunc.c: Likewise.
41423 * string/test-strspn-ifunc.c: Likewise.
41424 * string/test-strstr-ifunc.c: Likewise.
41426 * debug/Makefile (tests-ifunc): New variable.
41427 (tests): Add $(tests-ifunc).
41428 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41429 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41430 * debug/test-stpcpy_chk-ifunc.c: New file.
41431 * debug/test-strcpy_chk-ifunc.c: Likewise.
41433 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41436 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41437 header is not read in.
41439 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41441 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41442 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41443 directly. Pass built executable to script as
41444 $(built-program-cmd).
41445 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41446 $testprogram without using LD_LIBRARY_PATH and $ldso.
41448 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41449 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41450 $(rtld-installed-name).
41451 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41452 (rtld_installed_name): Likewise.
41453 (library_path): Likewise.
41454 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41455 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41456 $(run-program-prefix) to tst-tables.sh.
41457 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41458 it to run tst-table-from and tst-table-to.
41459 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41460 Pass it to tst-table.sh.
41461 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41462 $(run-program-prefix) to tst-gettext.sh.
41463 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41465 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41467 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41468 to run tst-gettext.
41469 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41470 to run tst-gettext2.
41471 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41472 to run tst-translit.
41473 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41474 $(run-program-prefix) to tst-mtrace.sh.
41475 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41477 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41478 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41479 $(rtld-installed-name).
41480 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41481 (rtld_installed_name): Likewise.
41482 (run_program_prefix): New variable. Use it to run wordexp-test.
41484 * Makeconfig (ARCH): Remove all definitions.
41485 (machine): Likewise.
41486 [ARCH]: Remove conditional code.
41487 [!objdir]: Give error.
41488 [!objdir] (objpfx): Remove.
41489 [!objdir] (common-objpfx): Likewise.
41490 [!objdir] (common-objdir): Likewise.
41491 * configure.in (config_makefile): Remove. Hardcode Makefile in
41492 AC_CONFIG_FILES call.
41493 * configure: Regenerated.
41496 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41498 (testout): Likewise.
41500 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41501 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41502 $(rtld-installed-name).
41503 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41504 (rtld_installed_name): Likwise.
41505 (runit): Remove function.
41506 (run_getconf): New variable, Use it for running getconf binary.
41508 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41511 * string/test-memmem.c (check_result): New function.
41512 (do_one_test): Use it.
41513 (check1): New function.
41514 (test_main): Use it.
41516 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41518 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41520 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41522 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41523 (_G_LSEEK64): Likewise.
41524 (_G_MMAP64): Likewise.
41525 (_G_FSTAT64): Likewise.
41526 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41527 (_G_LSEEK64): Likewise.
41528 (_G_MMAP64): Likewise.
41529 (_G_FSTAT64): Likewise.
41530 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41531 unconditional. Call __mmap64 directly.
41532 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41533 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41534 __lseek64 directly.
41535 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41536 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41538 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41539 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41540 __lseek64 directly.
41541 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41542 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41543 __lseek64 directly.
41544 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41545 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41546 __lseek64 directly.
41547 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41548 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41549 __fxstat64 directly.
41550 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41551 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41553 (freopen64) [!_G_OPEN64]: Remove conditional code.
41554 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41556 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41557 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41559 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41560 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41562 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41563 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41565 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41566 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41568 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41569 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41571 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41572 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41574 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41576 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41579 * manual/memory.texi (Malloc Tunable Parameters): Add note
41580 about free list pointers overwriting some perturb bytes.
41581 Wording suggested by Roland McGrath.
41583 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41585 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41586 (lgamma_test): Likewise.
41587 (tgamma_test): Likewise.
41589 2012-10-16 Florian Weimer <fweimer@redhat.com>
41592 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41593 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41595 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41597 * NEWS: Mention BZ #14716.
41598 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41599 when removing AVAILABLE1_USES_J macro.
41601 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41603 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41604 (__bswap_64): __uint64_t for unsigned 64-bit int.
41606 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41608 * include/string.h (memmem): Declare libc hidden alias.
41609 * string/memmem.c (memmem): Define libc hidden alias.
41610 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41611 __read, __close instead of open, read, close.
41613 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41616 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41618 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41619 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41620 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41622 (__rawmemchr_sse2): Likewise.
41623 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41624 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41625 (__strchr_sse2): Likewise.
41626 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41627 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41628 (__strcasecmp_sse2): Likewise.
41629 (__strncasecmp_sse2): Likewise.
41630 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41631 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41632 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41633 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41634 (__strrchr_sse2): Likewise.
41635 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41637 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41638 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41639 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41640 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41641 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41642 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41643 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41644 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41645 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41646 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41647 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41648 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41649 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41650 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41651 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41652 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41653 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41654 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41655 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41656 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41657 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41658 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41659 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41660 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41661 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41662 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41663 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41664 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41665 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41666 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41668 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41670 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41671 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41672 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41673 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41675 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41677 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41678 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41679 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41680 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41685 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41686 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41687 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41688 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41689 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41690 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41691 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41692 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41693 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41694 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41695 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41696 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41697 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41698 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41699 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41700 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41701 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41702 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41703 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41704 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41705 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41707 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41708 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41709 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41710 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41711 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41712 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41715 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41716 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41717 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41718 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41719 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41720 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41721 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41722 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41724 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41725 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41726 * include/ifunc-impl-list.h: New file.
41727 * misc/ifunc-impl-list.c: Likewise.
41728 * misc/Makefile (routines): Add ifunc-impl-list.
41729 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41730 * string/test-string.h: Include <ifunc-impl-list.h>.
41731 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41732 TEST_NAME]: New variables.
41733 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41735 (test_init): Call __libc_ifunc_impl_list to initialize
41736 func_list if TEST_IFUNC and TEST_NAME are defined.
41738 * string/Makefile (strop-tests): Add bcopy and bzero.
41739 * string/test-bcopy.c: New file.
41740 * string/test-bzero.c: Likewise.
41741 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41743 * string/test-memset.c: Support bzero test if TEST_BZERO is
41745 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41747 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41749 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41752 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41754 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41755 * configure: Regenerated.
41757 * Makeconfig (+link-static-before-libc): Don't include
41758 $(link-static-libc).
41760 * libio/libio.h (_IO_pos_t): Remove.
41762 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41764 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41767 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41769 * crypt/crypt-entry.c: Include fips-private.h.
41770 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41771 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41772 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41773 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41775 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41777 * crypt/crypt-private.h: Include stdbool.h.
41778 (_ufc_setup_salt_r): Return bool.
41779 * crypt/crypt-entry.c: Include errno.h.
41780 (__crypt_r): Return NULL with EINVAL for bad salt.
41781 * crypt/crypt_util.c (bad_for_salt): New.
41782 (_ufc_setup_salt_r): Check that salt is long enough and within
41783 the specified alphabet.
41784 * crypt/badsalttest.c: New file.
41785 * crypt/Makefile (tests): Add it.
41786 ($(objpfx)badsalttest): New.
41788 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41790 * NEWS: Add entry for BZ #14602.
41792 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41794 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41796 * math/libm-test.inc: Update comment listing what functions and
41798 (isgreater_test): New function.
41799 (isgreaterequal_test): Likewise.
41800 (isless_test): Likewise.
41801 (islessequal_test): Likewise.
41802 (islessgreater_test): Likewise.
41803 (isunordered_test): Likewise.
41804 (main): Call the new functions.
41806 2012-10-09 Roland McGrath <roland@hack.frob.com>
41808 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41809 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41810 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41811 * sysdeps/i386/configure: Regenerated.
41812 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41813 * sysdeps/mach/configure: Regenerated.
41814 * sysdeps/mach/hurd/configure: Regenerated.
41815 * sysdeps/powerpc/configure: Regenerated.
41816 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41817 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41818 * sysdeps/s390/s390-32/configure: Regenerated.
41819 * sysdeps/s390/s390-64/configure: Regenerated.
41820 * sysdeps/sh/configure: Regenerated.
41821 * sysdeps/sparc/configure: Regenerated.
41822 * sysdeps/unix/sysv/linux/configure: Regenerated.
41823 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41824 * sysdeps/x86_64/configure: Regenerated.
41826 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41827 defined. Don't check if MAP is NULL.
41829 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41831 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41832 (_G_stat64): Likewise.
41833 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41834 (_G_stat64): Likewise.
41835 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41836 instead of struct _G_stat64.
41837 * libio/fileops.c (mmap_remap_check): Likewise.
41838 (decide_maybe_mmap): Likewise.
41839 (_IO_new_file_seekoff): Likewise.
41840 (_IO_file_stat): Likewise.
41841 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41843 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41844 instead of struct _G_stat64.
41845 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41847 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41850 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41852 (CHECK_EOL): New macro.
41853 (two_way_short_needle): Check beginning of haystack for EOL. Use
41855 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41856 Replace with CHECK_EOL.
41857 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41858 Replace with CHECK_EOL.
41860 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41862 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41864 * math/libm-test.inc: Update comment listing what functions and
41866 (finite_test): New function.
41867 (isinf_test): Likewise.
41868 (isnan_test): Likewise.
41869 (fpclassify_test): Test subnormal input.
41870 (isfinite_test): Likewise.
41871 (isnormal_test): Likewise.
41872 (main): Call the new functions.
41874 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41877 * Makerules (%.dynsym): Force C locale when running
41878 $(OBJDUMP) --dynamic-syms.
41880 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41882 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41885 2012-10-06 David S. Miller <davem@davemloft.net>
41887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41888 upper 32-bits of the length value in %o2 since we use branch-on-register
41889 tests which consider the entire 64-bit register.
41891 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41893 * string/test-strstr.c (check2): Add a test for page boundary.
41895 2012-10-05 David S. Miller <davem@davemloft.net>
41897 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41898 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41900 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41902 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41903 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41904 and bzero when HWCAP_SPARC_CRYPTO is present.
41906 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41909 * string/test-strstr.c (check2): New function.
41910 (test_main): Call check2.
41912 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41914 * string/bug-strcasestr1.c (do_test): Moved to ...
41915 * string/test-strcasestr.c (check1): Here. New function.
41916 (do_one_test): Break out result checking code into ...
41917 (check_result): This. New function.
41918 (do_one_test): Call check_result.
41919 (test_main): Call check1.
41920 * string/bug-strchr1.c (do_test): Moved to ...
41921 * string/test-strchr.c (check1): Here. New function.
41922 (do_one_test): Break out result checking code into ...
41923 (check_result): This. New function.
41924 (do_one_test): Call check_result.
41925 (test_main): Call check1.
41926 * string/bug-strstr1.c (main): Moved to ...
41927 * string/test-strstr.c (check1): Here. New function.
41928 (do_one_test): Break out result checking code into ...
41929 (check_result): This. New function.
41930 (do_one_test): Call check_result.
41931 (test_main): Call check1.
41932 * string/bug-strcasestr1.c: Removed.
41933 * string/bug-strchr1.c: Likewise.
41934 * string/bug-strstr1.c: Likewise.
41936 * elf/Makefile (dl-routines): Add hwcaps.
41937 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41938 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41939 (_dl_important_hwcaps): Moved to ...
41940 * elf/dl-hwcaps.c: Here. New file.
41941 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41944 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41945 if IS_IN_rtld isn't defined.
41947 * elf/dl-support.c (_dl_sysinfo_map): New.
41948 Include "get-dynamic-info.h" and "setup-vdso.h".
41949 (_dl_non_dynamic_init): Call setup_vdso.
41950 * elf/dynamic-link.h: Don't include <assert.h>.
41951 (elf_get_dynamic_info): Moved to ...
41952 * elf/get-dynamic-info.h: Here. New file.
41953 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41954 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41955 * elf/setup-vdso.h: Here. New file.
41956 * elf/rtld.c: Include "setup-vdso.h".
41957 (dl_main): Call setup_vdso.
41959 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41961 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41962 creal in comment listing functions tested. List finite, isinf,
41963 isnan, isless, islessequal, isgreater, isgreaterequal,
41964 islessgreater, isunordered, lgamma_r and pow10 as functions and
41965 macros not tested. Mention which functions not tested are aliases
41966 for other functions. Fix typo. Note that signs of NaNs are not
41969 * scripts/config.guess: Update from config.git.
41970 * scripts/config.sub: Likewise.
41972 2012-10-04 Roland McGrath <roland@hack.frob.com>
41974 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41975 * misc/madvise.c (madvise): Renamed to __madvise.
41976 Make madvise a weak alias.
41977 * include/sys/mman.h: Declare __madvise.
41978 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41979 * sysdeps/unix/syscalls.list
41980 (madvise): Make __madvise the strong name, and madvise a weak alias.
41981 * sysdeps/unix/sysv/linux/syscalls.list
41982 (madvise, mmap): Remove redundant entries.
41983 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41984 * malloc/malloc.c (mtrim): Likewise.
41985 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41987 2012-10-03 Roland McGrath <roland@hack.frob.com>
41989 * sysdeps/mach/hurd/dl-cache.c: File removed.
41990 * config.h.in (USE_LDCONFIG): New #undef.
41991 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41992 * configure: Regenerated.
41993 * elf/Makefile (dl-routines): Add dl-cache only under
41994 [$(use-ldconfig) = yes].
41995 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41996 cache on [USE_LDCONFIG].
41997 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41999 * elf/rtld.c (dl_main): Likewise.
42001 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42003 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42004 _SC_LEVEL4_CACHE_LINESIZE.
42006 2012-10-03 Roland McGrath <roland@hack.frob.com>
42008 * sysdeps/unix/bsd/confstr.h: File removed.
42010 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42012 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42015 2012-10-02 Roland McGrath <roland@hack.frob.com>
42017 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42018 Make 'mapoff' field ElfW(Off) rather than off_t.
42020 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42022 * nscd/Makefile: Remove nscd-cflags and all its users.
42023 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42024 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42027 * malloc.c (malloc_printerr): Clarify error message.
42029 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42033 Set bit_FMA_Usable if FMA is supported.
42034 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42036 (bit_FMA4_Usable): Updated.
42037 (index_FMA_Usable): New macro.
42038 (CPUID_FMA): Likewise
42039 (HAS_FMA): Defined with bit_FMA_Usable.
42041 2012-10-01 Roland McGrath <roland@hack.frob.com>
42043 * bits/types.h (__swblk_t): Type removed.
42044 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42045 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42047 (__SWBLK_T_TYPE): Likewise.
42048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42049 (__SWBLK_T_TYPE): Likewise.
42050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42051 (__SWBLK_T_TYPE): Likewise.
42052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42053 (__SWBLK_T_TYPE): Likewise.
42055 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42056 Honza Horak <hhorak@redhat.com>
42058 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42059 (xdr_mapname): Use YPMAXMAP as maxsize.
42060 (xdr_peername): Use YPMAXPEER as maxsize.
42061 (xdr_keydat): Use YPAXRECORD as maxsize.
42062 (xdr_valdat): Use YPMAXRECORD as maxsize.
42064 2012-10-01 Roland McGrath <roland@hack.frob.com>
42066 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42068 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42069 * csu/init-first.c: ... here.
42070 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42071 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42072 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42073 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42074 * sysdeps/i386/init-first.c: File removed.
42075 * sysdeps/sh/init-first.c: File removed.
42077 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42081 if x * y might underflow to zero and z is zero.
42082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42084 * math/libm-test.inc (min_subnorm_value): New variable.
42085 (fma_test): Add more tests.
42086 (fma_test_towardzero): Likewise.
42087 (fma_test_downward): Likewise
42088 (fma_test_upward): Likewise.
42089 (initialize): Set min_subnorm_value.
42091 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42097 mode for addition resulting in exact zero.
42098 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42103 * math/libm-test.inc (fma_test): Add more tests.
42104 (fma_test_towardzero): New function.
42105 (fma_test_downward): Likewise.
42106 (fma_test_upward): Likewise.
42107 (main): Call the new functions.
42109 2012-09-28 David S. Miller <davem@davemloft.net>
42111 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42113 2012-09-28 Roland McGrath <roland@hack.frob.com>
42115 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42116 instead of SIGALRM.
42118 * sysdeps/gnu/_G_config.h: Moved to ...
42119 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42120 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42121 * sysdeps/generic/_G_config.h: ... here.
42123 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42125 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42127 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42128 Conditionalize target on [libnss_test1.so-version].
42130 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42132 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42133 (elfobjdir): Move out of conditionals.
42135 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42136 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42137 (__nss_lookup_function): Conditionalize label remove_from_tree on
42138 [!DO_STATIC_NSS || SHARED], matching its only use.
42140 2012-09-28 David S. Miller <davem@davemloft.net>
42142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42145 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42149 when HWCAP_SPARC_CRYPTO is present.
42151 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42153 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42155 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42158 * stdio-common/vfprintf.c (process_string_arg): Revert
42161 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42163 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42165 * stdio-common/tst-sprintf.c: Include <locale.h>
42166 (main): Test sprintf's handling of incomplete multibyte
42169 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42171 * elf/dl-runtime.c (VERSYMIDX): Removed.
42172 * elf/dl-version.c (VERSYMIDX): Likewise.
42173 * elf/do-rel.h (VERSYMIDX): Likewise.
42174 (VALIDX): Likewise.
42175 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42176 * elf/rtld.c (VALIDX): Likewise.
42177 (ADDRIDX): Likewise.
42178 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42179 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42180 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42181 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42182 (VALIDX): Likewise.
42183 (ADDRIDX): Likewise.
42185 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42187 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42189 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42192 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42194 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42195 addresses are in the same scope as 192.0.2/24.
42196 * posix/gai.conf: Document new scope table defaults.
42198 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42201 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42202 for ftell. Compute offsets from write pointers instead.
42203 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42205 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42208 * libio/Makefile (tests): New test case tst-fseek.
42209 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42210 combination works in wide mode.
42211 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42212 state when the external buffer state changes.
42214 2012-09-27 David S. Miller <davem@davemloft.net>
42217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42218 pass reloc->r_addend in as the 'high' argument to
42219 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42223 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42225 * rt/tst-aio2.c: Include <pthread.h>.
42226 * rt/tst-aio3.c: Likewise.
42228 2012-09-27 Steve Ellcey <sellcey@mips.com>
42230 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42232 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42234 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42235 contents on [SHARED].
42237 2012-09-26 Marek Polacek <polacek@redhat.com>
42241 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42242 for C++ and GCC <4.3 as well as for non GCC compilers.
42244 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42248 2012-09-25 Roland McGrath <roland@hack.frob.com>
42250 * Makefile.in (all, install): Declare with .PHONY.
42251 Reported by Michael Hope <michael.hope@linaro.org>.
42253 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42255 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42256 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42258 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42260 (sydep_routines): Add the new and the internal functions.
42261 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42262 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42264 (GLIBC_2.17): Add the new function.
42265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42266 (GLIBC_2.17): Likewise.
42267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42268 (GLIBC_2.17): Likewise.
42269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42270 (GLIBC_2.17): Likewise.
42271 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42273 2012-09-25 Alan Modra <amodra@gmail.com>
42275 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42276 Add release barrier before setting once_control to say
42277 initialisation is done. Add hints on lwarx. Use macro in
42279 (clear_once_control): Add release barrier.
42281 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42284 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42286 * math/s_clog10.c (__clog10): Likewise.
42287 * math/s_clog10f.c (__clog10f): Likewise.
42288 * math/s_clog10l.c (__clog10l): Likewise.
42289 * math/s_clogf.c (__clogf): Likewise.
42290 * math/s_clogl.c (__clogl): Likewise.
42291 * math/Makefile (libm-calls): Add x2y2m1.
42292 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42293 (__x2y2m1): Likewise.
42294 (__x2y2m1l): Likewise.
42295 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42296 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42297 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42298 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42299 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42300 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42301 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42302 * sysdeps/i386/fpu/libm-test-ulps: Update.
42303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42306 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42307 int as type of variable DEPTH.
42308 (glob): Use size_t instead of int as type of variables NEWCOUNT
42311 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42313 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42314 Add s_sincosf-sse2.
42315 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42316 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42317 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42318 macros for using routine as __sincosf_ia32.
42319 Use macro for function declaration and weak_alias.
42320 * sysdeps/i386/fpu/libm-test-ulps: Update.
42322 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42325 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42326 subnormal argument.
42327 * math/s_cexpf.c (__cexpf): Likewise.
42328 * math/s_csinf.c (__csinf): Likewise.
42329 * math/s_csinhf.c (__csinhf): Likewise.
42330 * math/s_ctanf.c (__ctanf): Likewise.
42331 * math/s_ctanhf.c (__ctanhf): Likewise.
42332 * math/s_ccosh.c (__ccoshf): Likewise.
42333 * math/s_cexp.c (__cexpl): Likewise.
42334 * math/s_csin.c (__csin): Likewise.
42335 * math/s_csinh.c (__csinh): Likewise.
42336 * math/s_ctan.c (__ctan): Likewise.
42337 * math/s_ctanh.c (ctanh): Likewise.
42338 * math/s_ccoshl.c (__ccoshl): Likewise.
42339 * math/s_cexpl.c (__cexpl): Likewise.
42340 * math/s_csinl.c (__csinl): Likewise.
42341 * math/s_csinhl.c (__csinhl): Likewise.
42342 * math/s_ctanl.c (__ctanl): Likewise.
42343 * math/s_ctanhl.c (__ctanhl): Likewise.
42345 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42347 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42348 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42349 (_IO_off_t): Define to __off_t, not _G_off_t.
42350 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42351 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42352 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42353 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42354 type of __dummy and __dummy2 fields.
42355 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42356 (_G_ssize_t): Likewise.
42357 (_G_off_t): Likewise.
42358 (_G_pid_t): Likewise.
42359 (_G_uid_t): Likewise.
42360 (_G_wchar_t): Likewise.
42361 (_G_wint_t): Likewise.
42362 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42363 (_G_ssize_t): Likewise.
42364 (_G_off_t): Likewise.
42365 (_G_pid_t): Likewise.
42366 (_G_uid_t): Likewise.
42367 (_G_wchar_t): Likewise.
42368 (_G_wint_t): Likewise.
42369 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42370 (_G_ssize_t): Likewise.
42371 (_G_off_t): Likewise.
42372 (_G_pid_t): Likewise.
42373 (_G_uid_t): Likewise.
42374 (_G_wchar_t): Likewise.
42375 (_G_wint_t): Likewise.
42377 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42379 * malloc/arena.c: Include malloc-sysdep.h.
42380 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42381 is sufficient to shrink the heap or an unmap is needed.
42382 * sysdeps/generic/malloc-sysdep.h: New file. Define
42383 new function check_may_shrink_heap.
42384 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42385 new function check_may_shrink_heap.
42387 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42389 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42392 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42394 * catgets/test-gencat.sh: Add "set -e".
42395 * elf/tst-pathopt.sh: Likewise.
42396 * grp/tst_fgetgrent.sh: Likewise.
42397 * iconvdata/run-iconv-test.sh: Likewise.
42398 * intl/tst-gettext.sh: Likewise.
42399 * intl/tst-gettext2.sh: Likewise.
42400 * intl/tst-gettext4.sh: Likewise.
42401 * intl/tst-gettext6.sh: Likewise.
42402 * intl/tst-translit.sh: Likewise.
42403 * io/ftwtest-sh: Likewise.
42404 * libio/test-freopen.sh: Likewise.
42405 * malloc/tst-mtrace.sh: Likewise.
42406 * posix/globtest.sh: Likewise.
42407 * posix/tst-getconf.sh: Likewise.
42408 * posix/wordexp-tst.sh: Likewise.
42409 * stdio-common/tst-printf.sh: Likewise.
42410 * stdio-common/tst-unbputc.sh: Likewise.
42411 * stdlib/tst-fmtmsg.sh: Likewise.
42412 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42413 * catgets/Makefile: Do not specify -e option when running
42414 testsuite shell scripts.
42415 * elf/Makefile: Likewise.
42416 * grp/Makefile: Likewise.
42417 * iconvdata/Makefile: Likewise.
42418 * intl/Makefile: Likewise.
42419 * io/Makefile: Likewise.
42420 * libio/Makefile: Likewise.
42421 * malloc/Makefile: Likewise.
42422 * posix/Makefile: Likewise.
42423 * stdio-common/Makefile: Likewise.
42424 * stdlib/Makefile: Likewise.
42425 * sysdeps/x86_64/Makefile: Likewise.
42427 * io/ftwtest-sh: Add copyright header.
42428 * posix/globtest.sh: Likewise.
42429 * posix/tst-getconf.sh: Likewise.
42430 * posix/wordexp-tst.sh: Likewise.
42431 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42433 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42436 * Makeconfig (+link): Defined as $(+link-static) if
42437 $(build-shared) isn't yes.
42438 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42440 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42442 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42445 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42446 new chunk size with MALLOC_ALIGN_MASK.
42448 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42451 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42453 (__printf_fphex): Determine rounding using get_rounding_mode and
42455 * stdio-common/tst-printf-round.c (struct hex_test): New
42457 (hex_tests): New variable.
42458 (test_hex_in_one_mode): New function.
42459 (do_test): Also run tests for hex float output.
42461 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42463 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42464 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42465 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42466 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42467 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42468 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42469 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42470 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42472 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42474 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42475 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42476 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42477 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42479 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42482 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42484 * elf/tst-rtld-load-self.sh: New test.
42485 * elf/Makefile: Run it.
42487 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42489 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42490 (tst-writev-ENV): Remove.
42491 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42493 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42495 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42497 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42499 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42501 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42503 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42504 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42505 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42508 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42511 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42512 * config.make.in (have-cpp-asm-debuginfo): Removed.
42513 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42514 * configure: Regenerated.
42516 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42519 * stdio-common/printf_fp.c: Include <stdbool.h> and
42521 (___printf_fp): Determine rounding using get_rounding_mode and
42523 * stdio-common/tst-printf-round.c: New file.
42524 * stdio-common/Makefile (tests): Add tst-printf-round.
42525 (link-libm): New variable.
42526 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42528 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42531 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42532 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42534 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42537 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42539 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42540 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42541 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42542 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42544 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42547 * include/rounding-mode.h: New file.
42548 * sysdeps/generic/get-rounding-mode.h: Likewise.
42549 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42550 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42551 (MAX_VALUE): New macro.
42552 (MIN_VALUE): Likewise.
42553 (overflow_value): New function.
42554 (underflow_value): Likewise.
42555 (round_and_return): Use overflow_value and underflow_value to
42556 determine return values in overflow and underflow cases. Use
42557 round_away to determine rounding depending on rounding mode.
42558 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42559 determine return values in overflow and underflow cases.
42560 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42561 (struct test_results): New structure.
42562 (struct test): Use struct test_results to store expected results
42563 for all rounding modes.
42564 (TEST): Include expected results for all rounding modes.
42565 (test_in_one_mode): New function.
42566 (do_test): Use test_in_one_mode to compute and check results.
42567 Check results for all rounding modes.
42568 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42571 2012-12-09 Allan McRae <allan@archlinux.org>
42573 * sysdeps/i386/fpu/libm-test-ulps: Update
42575 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42577 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42578 (_G_int32_t): Likewise.
42579 (_G_uint16_t): Likewise.
42580 (_G_uint32_t): Likewise.
42581 (_G_HAVE_BOOL): Likewise.
42582 (_G_HAVE_ATEXIT): Likewise.
42583 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42584 (_G_HAVE_IO_FILE_OPEN): Likewise.
42585 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42586 (_G_int32_t): Likewise.
42587 (_G_uint16_t): Likewise.
42588 (_G_uint32_t): Likewise.
42589 (_G_HAVE_BOOL): Likewise.
42590 (_G_HAVE_ATEXIT): Likewise.
42591 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42592 (_G_HAVE_IO_FILE_OPEN): Likewise.
42593 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42594 (_G_int32_t): Likewise.
42595 (_G_uint16_t): Likewise.
42596 (_G_uint32_t): Likewise.
42597 (_G_HAVE_BOOL): Likewise.
42598 (_G_HAVE_ATEXIT): Likewise.
42599 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42600 (_G_HAVE_IO_FILE_OPEN): Likewise.
42602 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42604 * csu/libc-tls.c: Update copyright years.
42606 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42608 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42609 [!_G_USING_THUNKS]: Remove conditional code.
42610 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42611 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42613 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42614 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42615 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42616 (_G_VTABLE_LABEL_PREFIX): Likewise.
42617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42618 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42620 (_G_VTABLE_LABEL_PREFIX): Likewise.
42621 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42622 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42623 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42624 (_G_VTABLE_LABEL_PREFIX): Likewise.
42625 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42627 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42629 * libio/Makefile: Include ../Makeconfig before tests.
42630 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42631 only if $(build-shared) is yes.
42633 * iconv/gconv_db.c: Update copyright years.
42635 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42637 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42638 unwind info if defined PIC. Fix special cases description.
42639 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42641 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42643 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42645 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42647 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42649 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42652 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42653 (LDLIBS-tst-chk4): This.
42654 (LDFLAGS-tst-chk5): Renamed to ...
42655 (LDLIBS-tst-chk5): This.
42656 (LDFLAGS-tst-chk6): Renamed to ...
42657 (LDLIBS-tst-chk6): This.
42658 (LDFLAGS-tst-lfschk4): Renamed to ...
42659 (LDLIBS-tst-lfschk4): This.
42660 (LDFLAGS-tst-lfschk5): Renamed to ...
42661 (LDLIBS-tst-lfschk5): This.
42662 (LDFLAGS-tst-lfschk6): Renamed to ...
42663 (LDLIBS-tst-lfschk6): This.
42665 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42666 on $(common-objpfx)soversions.mk.
42668 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42671 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42674 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42676 * malloc/arena.c (arena_get_retry): New function that gets
42677 another arena for the caller to try its request on.
42678 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42679 current arena cannot fulfill the request.
42680 (__libc_memalign): Likewise.
42681 (__libc_memalign): Likewise.
42682 (__libc_pvalloc): Likewise.
42683 (__libc_calloc): Likewise.
42685 2012-09-05 John Tobey <john.tobey@gmail.com>
42688 * manual/arith.texi (Operations on Complex): Fix description
42689 of carg branch cut.
42691 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42694 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42698 * manual/memory.texi (Memory): Make order of menu items match
42701 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42703 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42704 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42705 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42707 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42709 * csu/libc-tls.c (static_dtv): Renamed to ...
42710 (_dl_static_dtv): This. Make it global.
42711 (_dl_initial_dtv): Removed.
42712 (__libc_setup_tls): Updated.
42713 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42714 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42717 2012-09-06 Petr Machata <pmachata@redhat.com>
42719 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42720 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42721 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42722 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42724 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42727 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42728 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42731 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42734 * Makeconfig (link-static-before-libc): Replace $(+prector)
42736 (link-static-after-libc): Replace $(+postctor) with
42738 (link-bounded): Replace $(+prector)/$(+postctor) with
42739 $(+prectorT)/$(+postctorT).
42740 (+prectorT): New macro.
42741 (+postctorT): Likewise.
42743 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42745 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42746 (round_str): Handle values above the maximum for IBM long double
42748 * stdlib/tst-strtod-round.c (tests): Regenerated.
42750 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42752 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42754 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42755 zarch_nohighgprs around the zarch optimized routines.
42756 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42757 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42761 2012-09-05 David S. Miller <davem@davemloft.net>
42763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42765 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42766 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42767 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42768 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42771 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42773 * malloc/arena.c: Fold copyright years.
42774 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42776 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42778 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42782 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42784 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42786 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42787 change internal state upon failure.
42789 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42791 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42792 * malloc/memusage.c (mmap): Likewise.
42793 (mmap64, mremap): Likewise. Adjust name in comment.
42795 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42797 * libio/fileops.c: Fix typos in comments.
42798 * libio/oldfileops.c: Likewise.
42799 * libio/wfileops.c: Likewise.
42801 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42804 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42805 (tst-malloc-usable-ENV): Set environment for test case.
42806 * malloc/hooks.c (malloc_check_get_size): New function to get
42808 * malloc/malloc.c (musable): Use malloc_check_get_size.
42809 * malloc/tst-malloc-usable.c: New test case.
42811 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42813 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42815 2012-09-05 Allan McRae <allan@archlinux.org>
42818 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42819 determine header location.
42820 * configure: Regenerated.
42822 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42824 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42826 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42827 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42829 (test): Regenerate.
42831 2012-09-04 David S. Miller <davem@davemloft.net>
42833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42835 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42837 2012-09-04 Florian Weimer <fweimer@redhat.com>
42839 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42842 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42844 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42847 * libio/iogetdelim.c: Include <limits.h>.
42848 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42849 + len + 1 would overflow.
42851 2012-09-03 Andreas Jaeger <aj@suse.de>
42853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42854 * sysdeps/i386/fpu/libm-test-ulps: Update.
42856 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42858 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42859 Add s_sinf-sse2, s_conf-sse2.
42861 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42863 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42864 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42866 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42867 for using routine as __sinf_ia32.
42868 Use macro for function declaration and weak_alias.
42869 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42870 for using routine as __cosf_ia32.
42871 Use macro for function declaration and weak_alias.
42873 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42874 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42876 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42877 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42880 * math/libm-test.inc (cos_test): Add more test cases.
42881 (sin_test): Likewise.
42882 (sincos_test): Likewise.
42884 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42886 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42887 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42889 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42891 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42894 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42895 first element of the GOT.
42896 (elf_machine_load_address): Return the difference between
42897 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42899 2012-09-01 Allan McRae <allan@archlinux.org>
42902 * configure.in (AWK): Require gawk version 3.0 or later.
42903 * configure: Regenerated.
42905 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42907 * sysdeps/unix/sysv/linux/kernel-features.h
42908 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42910 [__NR_clock_getres]: Make code unconditional.
42911 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42912 (clock_getcpuclockid): Remove code left unreachable by removal of
42914 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42915 code unconditional.
42916 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42918 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42919 Make code unconditional.
42920 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42921 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42922 * sysdeps/unix/sysv/linux/clock_settime.c
42923 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42925 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42926 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42928 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42931 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42932 scripts/test-installation.pl.
42934 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42935 and $ld_so_version if it is set.
42937 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42941 failure if reading from procfs failed.
42942 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42944 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42946 * sysdeps/unix/sysv/linux/kernel-features.h
42947 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42948 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42949 Remove conditional code.
42950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42951 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42952 Remove conditional code.
42953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42954 * sysdeps/unix/sysv/linux/i386/fxstat.c
42955 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42957 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42960 * sysdeps/unix/sysv/linux/i386/lxstat.c
42961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42963 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42964 Remove conditional code.
42965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42966 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42967 Remove conditional code.
42968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42969 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42970 <kernel-features.h>.
42971 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42973 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42974 Remove conditional code.
42975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42976 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42977 Remove conditional.
42979 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42982 * NEWS: Add fixed bug number.
42984 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42987 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42988 underflowing exponent in case of negative sign.
42989 * stdlib/tst-strtod-round-data: Add more tests.
42990 * stdlib/tst-strtod-round.c (tests): Regenerated.
42993 * stdlib/strtod_l.c (NDIG): Remove.
42994 (HEXNDIG): Likewise.
42995 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42996 smallest representable value.
42997 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42998 lie within an exact representation of 1/2 ulp of the result.
42999 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43001 (TENS_P9_IDX): Define unconditionally.
43002 (TENS_P9_SIZE): Likewise.
43003 (TENS_P10_IDX): Likewise.
43004 (TENS_P10_SIZE): Likewise.
43005 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43006 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43007 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43008 entries for 10^2^13 and 10^2^14.
43009 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43010 (TENS_P13_IDX): Define.
43011 (TENS_P13_SIZE): Likewise.
43012 (TENS_P14_IDX): Likewise.
43013 (TENS_P14_SIZE): Likewise.
43014 (_fpioconst_pow10): Change array size to
43015 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43017 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43018 1024]: Add entries for 10^2^13 and 10^2^14.
43019 [LAST_POW10 > _LAST_POW10]: Remove #error.
43020 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43021 (_fpioconst_pow10): Change array size to
43022 FPIOCONST_POW10_ARRAY_SIZE.
43023 * stdlib/gen-fpioconst.c: New file.
43024 * stdlib/gen-tst-strtod-round.c: Likewise.
43025 * stdlib/tst-strtod-round-data: Likewise.
43026 * stdlib/tst-strtod-round.c: Likewise.
43027 * stdlib/Makefile (tests): Add tst-strtod-round.
43030 * stdlib/strtod_l.c: Include <stdint.h>.
43031 (NDEBUG): Do not define.
43032 (round_and_return): Change EXPONENT parameter to type intmax_t.
43033 Rearrange calculations to avoid internal overflow possibilities.
43034 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43035 Rearrange calculations to avoid internal overflow possibilities.
43036 Assert that number fits inside MPNSIZE limbs.
43037 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43038 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43039 calculations and add assertions to avoid internal overflow
43040 possibilities. Add casts to avoid signed/unsigned operations.
43041 * stdlib/tst-strtod-overflow.c: New file.
43042 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43044 2012-08-25 Marek Polacek <polacek@redhat.com>
43046 * time/time.h: Fix some typos in comments.
43048 2012-08-23 Roland McGrath <roland@hack.frob.com>
43050 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43051 * posix/tst-rfc3484-2.c: Likewise.
43052 * posix/tst-rfc3484-3.c: Likewise.
43054 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43056 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43057 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43059 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43061 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43062 #include of fxstatat64.c.
43064 2012-08-22 Roland McGrath <roland@hack.frob.com>
43066 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43067 * shadow/getspent_r.c: Likewise.
43068 * shadow/getspnam.c: Likewise.
43069 * shadow/getspnam_r.c: Likewise.
43070 * gshadow/getsgent.c: Likewise.
43071 * gshadow/getsgent_r.c: Likewise.
43072 * gshadow/getsgnam.c: Likewise.
43073 * gshadow/getsgnam_r.c: Likewise.
43074 * inet/getnetbyad.c: Likewise.
43075 * inet/getnetbyad_r.c: Likewise.
43076 * inet/getnetbynm.c: Likewise.
43077 * inet/getnetbynm_r.c: Likewise.
43078 * inet/getnetent.c: Likewise.
43079 * inet/getnetent_r.c: Likewise.
43080 * inet/getproto.c: Likewise.
43081 * inet/getproto_r.c: Likewise.
43082 * inet/getprtent.c: Likewise.
43083 * inet/getprtent_r.c: Likewise.
43084 * inet/getprtname.c: Likewise.
43085 * inet/getprtname_r.c: Likewise.
43086 * inet/getrpcbyname.c: Likewise.
43087 * inet/getrpcbyname_r.c: Likewise.
43088 * inet/getrpcbynumber.c: Likewise.
43089 * inet/getrpcbynumber_r.c: Likewise.
43090 * inet/getrpcent.c: Likewise.
43091 * inet/getrpcent_r.c: Likewise.
43092 * inet/getaliasent.c: Likewise.
43093 * inet/getaliasent_r.c: Likewise.
43094 * inet/getaliasname.c: Likewise.
43095 * inet/getaliasname_r.c: Likewise.
43096 * nscd/getgrgid_r.c: Likewise.
43097 * nscd/getgrnam_r.c: Likewise.
43098 * nscd/gethstbyad_r.c: Likewise.
43099 * nscd/gethstbynm3_r.c: Likewise.
43100 * nscd/getpwnam_r.c: Likewise.
43101 * nscd/getpwuid_r.c: Likewise.
43102 * nscd/getsrvbynm_r.c: Likewise.
43103 * nscd/getsrvbypt_r.c: Likewise.
43104 * nscd/gai.c: Likewise.
43106 * configure.in (build_nscd): New substituted variable, set
43107 by --disable-build-nscd and defaults to $use_nscd.
43108 * configure: Regenerated.
43109 * config.make.in (build-nscd): New substituted variable.
43110 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43111 Change conditional to require [$(build-nscd) = yes] as well.
43112 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43115 * configure.in (use_nscd): New substituted variable, set by
43116 --disable-nscd. If enabled, define USE_NSCD.
43117 * configure: Regenerated.
43118 * config.h.in: Add USE_NSCD.
43119 * config.make.in (use-nscd): New substituted variable.
43120 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43121 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43122 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43123 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43124 (CFLAGS-getgrnam_r.c): Likewise.
43125 (CFLAGS-initgroups.c): Likewise.
43126 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43127 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43129 * inet/getnetgrent_r.c
43130 (nscd_setnetgrent): New function, broken out of ...
43131 (setnetgrent): ... here. Call it.
43132 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43133 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43134 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43135 * nscd/Makefile (routines, aux): Move definitions after include of
43136 Makeconfig. Conditionalize on [$(use-nscd) != no].
43137 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43138 Conditionalize on [USE_NSCD].
43139 (is_nscd, nscd_init_cb): Likewise.
43140 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43141 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43142 * nss/nss_db/db-init.c: Likewise.
43143 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43145 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43146 (make_request): Use it.
43147 (cache_valid_p): New function.
43148 (__check_pf): Use it.
43149 * NEWS: Add item for --disable-nscd.
43151 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43153 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43154 to support sed >= 4.2.1-20-ga9bf076.
43155 * configure: Regenerated.
43157 2012-08-22 Roland McGrath <roland@hack.frob.com>
43159 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43160 Conditionalize whole body on [IREL].
43162 2012-08-22 Jeff Law <law@redhat.com>
43165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43166 if the family is PF_UNSPEC.
43168 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43170 * Makerules (lib-version): Rename from V.
43171 (install-lib-nosubdir): Change V to lib-version.
43173 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43176 * powerpc32/power6/wcschr.c: New file.
43177 * powerpc32/power6/wcscpy.c: New file.
43178 * powerpc32/power6/wcsrchr.c: New file.
43179 * powerpc64/power6/wcschr.c: New file.
43180 * powerpc64/power6/wcscpy.c: New file.
43181 * powerpc64/power6/wcsrchr.c: New file.
43183 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43185 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43186 (two_way_short_needle): Use it.
43187 * string/strstr.c (AVAILABLE1_USES_J): Define.
43188 * string/strcasestr.c: Likewise.
43190 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43192 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43195 * NEWS: Add an entry.
43196 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43197 define their defaults.
43198 (two_way_short_needle): Detect end-of-string on-the-fly.
43199 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43200 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43201 * string/bug-strcasestr1.c: New test.
43202 * string/Makefile: Run it.
43204 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43207 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43208 the first character.
43210 2012-08-21 Roland McGrath <roland@hack.frob.com>
43212 * csu/elf-init.c (__libc_csu_irel): Function removed.
43213 * csu/libc-start.c (apply_irel): New function.
43214 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43216 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43218 * sysdeps/unix/sysv/linux/kernel-features.h
43219 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43220 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43221 <kernel-features.h>.
43222 [__NR_fadvise64_64]: Make code unconditional.
43223 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43224 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43225 !__NR_fadvise64_64)]: Likewise.
43226 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43227 !__NR_fadvise64_64))]: Likewise.
43228 [__NR_fadvise64]: Make code unconditional.
43229 [!__NR_fadvise64]: Remove conditional code.
43230 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43231 <kernel-features.h>.
43232 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43234 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43237 not include <kernel-features.h>.
43238 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43240 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43242 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43243 include <kernel-features.h>.
43244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43249 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43252 slight instruction rearrangements per scrollpipe analysis.
43253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43255 2012-08-20 Roland McGrath <roland@hack.frob.com>
43257 * manual/syslog.texi (syslog; vsyslog, closelog):
43258 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43259 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43261 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43262 DSOCAPS to match condition on defining it.
43264 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43266 * sysdeps/unix/sysv/linux/kernel-features.h
43267 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43269 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43270 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43278 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43279 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43281 * sysdeps/unix/sysv/linux/kernel-features.h
43282 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43283 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43285 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43286 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43287 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43288 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43289 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43290 Make code unconditional.
43291 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43292 (__mmap64) [!__NR_mmap2]: Likewise.
43293 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43294 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43295 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43296 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43297 [__NR_mmap2]: Make code unconditional.
43298 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43299 (__mmap64) [!__NR_mmap2]: Likewise.
43301 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43303 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43305 2012-08-18 Andreas Jaeger <aj@suse.de>
43307 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43309 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43311 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43312 * include/unistd.h (__have_sock_cloexec): Likewise.
43313 (__have_pipe2): Likewise.
43314 (__have_dup3): Likewise.
43316 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43319 * include/unistd.h (__have_pipe2): Change define into an extern int.
43320 (__have_dup3): Likewise.
43321 * socket/have_sock_cloexec.c: Include fcntl.h.
43322 (__have_pipe2): New variable.
43323 (__have_dup3): Likewise.
43325 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43327 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43329 2012-08-17 Marek Polacek <polacek@redhat.com>
43331 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43332 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43334 2012-08-17 Roland McGrath <roland@hack.frob.com>
43336 * configure.in: Add AC_SUBST for sysheaders.
43337 * configure: Regenerated.
43338 * config.make.in (sysheaders): New substituted variable.
43340 * sysdeps/unix/mkfifo.c: Moved ...
43341 * sysdeps/posix/mkfifo.c: ... here.
43342 * sysdeps/unix/mkfifoat.c: Moved ...
43343 * sysdeps/posix/mkfifoat.c: ... here.
43345 * sysdeps/unix/utime.c: Moved ...
43346 * sysdeps/posix/utime.c: ... here.
43348 * sysdeps/unix/time.c: Moved ...
43349 * sysdeps/posix/time.c: ... here.
43350 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43351 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43353 * sysdeps/unix/nice.c: Moved ...
43354 * sysdeps/posix/nice.c: ... here.
43356 * sysdeps/unix/alarm.c: Moved ...
43357 * sysdeps/posix/alarm.c: ... here.
43359 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43361 2012-08-17 Jeff Law <law@redhat.com>
43363 * intl/Makefile (codeset_mo): New variable.
43364 ($(codeset_mo)): New target.
43365 (tst-codeset.out): Depend on that. Remove explicit rule.
43366 (tst-gettext3.out, tst-gettext5.out): Likewise.
43367 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43368 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43369 * intl/tst-codeset.sh: Remove.
43370 * intl/tst-gettext3.sh: Likewise.
43371 * intl/tst-gettext5.sh: Likewise.
43373 2012-08-17 Roland McGrath <roland@hack.frob.com>
43375 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43376 * sysdeps/unix/syscalls.list: ... here.
43378 * sysdeps/posix/getaddrinfo.c
43379 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43380 (gaiconf_init, gaiconf_reload): Use them.
43381 [!_STATBUF_ST_NSEC]
43382 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43383 Define using time_t rather than struct timespec.
43385 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43386 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43388 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43390 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43391 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43395 __libc_cleanup_push argument.
43397 * bits/param.h: New file.
43398 * misc/sys/param.h: New file.
43399 * include/sys/param.h: New file.
43400 * misc/Makefile (headers): Add bits/param.h.
43401 * sysdeps/generic/sys/param.h: File removed.
43402 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43403 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43404 * sysdeps/mach/hurd/bits/param.h: New file.
43405 * sysdeps/mach/hurd/sys/param.h: File removed.
43407 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43410 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43412 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43413 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43416 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43417 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43418 rather than -D_IO_MTSAFE_IO conditionally.
43419 * stdio-common/Makefile (CPPFLAGS): Likewise.
43420 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43421 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43422 Use $(libio-mtsafe).
43423 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43424 of -D_IO_MTSAFE_IO.
43425 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43426 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43427 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43428 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43429 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43430 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43431 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43432 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43433 (CFLAGS-fread_u_chk.c): Likewise.
43434 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43435 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43436 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43437 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43438 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43439 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43440 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43441 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43442 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43444 * libio/Makefile: Test [$(libc-reentrant) = yes]
43445 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43448 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43449 * sysdeps/pthread/configure: File removed.
43450 * sysdeps/pthread/Makeconfig: New file.
43451 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43452 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43454 2012-08-16 Gary Benson <gbenson@redhat.com>
43456 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43457 unmapping the first object in a namespace.
43459 2012-08-16 Roland McGrath <roland@hack.frob.com>
43461 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43462 (__internal_setnetgrent): ... this. Add internal_function to
43463 definition. Add libc_hidden_def.
43464 (setnetgrent): Update caller.
43465 (internal_endnetgrent): Renamed to ...
43466 (__internal_endnetgrent): ... this. Add internal_function to
43467 definition. Add libc_hidden_def.
43468 (endnetgrent): Update caller.
43469 (internal_getnetgrent_r): Renamed to ...
43470 (__internal_getnetgrent_r): ... this. Add internal_function to
43471 definition. Add libc_hidden_def.
43472 (__getnetgrent_r): Update caller.
43473 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43475 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43477 * stdlib/longlong.h: Update from GCC.
43479 2012-08-16 Roland McGrath <roland@hack.frob.com>
43481 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43482 on _QL, which is set by umul_ppmm but never used.
43483 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43484 variables, which are set by GMP macros but never used.
43485 * stdio-common/_itowa.c (_itowa): Likewise.
43486 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43487 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43489 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43491 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43492 struct La_sh_regs is not constant.
43493 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43494 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43495 and struct La_sparc64_regs are not constant.
43497 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43499 * sysdeps/unix/sysv/linux/kernel-features.h
43500 (__ASSUME_POSIX_TIMERS): Remove.
43501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43503 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43504 Make code unconditional.
43505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43506 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43507 Make code unconditional.
43508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43509 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43510 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43512 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43513 Make code unconditional.
43514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43515 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43516 (__libc_missing_posix_timers): Remove.
43518 2012-08-15 Roland McGrath <roland@hack.frob.com>
43520 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43521 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43523 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43525 * elf/dl-sym.c: Include <stdlib.h>.
43527 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43528 constants, which avoids warnings in 32-bit builds.
43530 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43531 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43533 * misc/lseek.c: File moved to ...
43534 * io/lseek.c: ... here.
43536 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43538 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43539 shifting LEN more than 31 bits at once.
43541 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43544 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43545 segmentation fault for a case of two empty input strings.
43546 * string/test-strncasecmp.c (check1): Renamed to...
43547 (bz12205): ...this.
43548 (bz14195): Add new testcase for two empty input strings and N > 0.
43549 (test_main): Call new testcase, adapt for renamed function.
43551 2012-08-15 Andreas Jaeger <aj@suse.de>
43554 * crypt/md5test2.c: New test, based on test supplied by Serge
43555 Belyshev <belyshev@depni.sinp.msu.ru>.
43556 * crypt/Makefile (xtests): Add md5test-giant..
43557 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43559 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43562 * crypt/md5.c (md5_process_block): Don't assume the buffer
43563 length is less than 2**32.
43564 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43565 length is less than 2**64.
43567 2012-08-15 Roland McGrath <roland@hack.frob.com>
43569 * string/str-two-way.h: Include <sys/param.h>.
43570 (MAX): Macro removed.
43572 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43573 Move #define and #undef of memmove to just before and after
43574 including <string.h>.
43576 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43577 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43578 and after including <string.h>. Move declarations of
43579 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43580 to before #include "string/memmove.c".
43582 * include/dirent.h: Declare __getdirentries.
43584 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43585 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43587 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43589 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43590 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43591 * sysdeps/i386/configure: Regenerated.
43592 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43593 STABS_CURRENT_FILE, and STABS_FUN.
43594 (END): Remove call to STABS_FUN_END.
43595 (STABS_CURRENT_FILE1): Delete.
43596 (STABS_CURRENT_FILE): Likewise.
43597 (STABS_FUN): Likewise.
43598 (STABS_FUN_END): Likewise.
43599 (STABS_FUN2): Likewise.
43600 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43601 * sysdeps/x86_64/configure: Regenerated.
43603 2012-08-14 Roland McGrath <roland@hack.frob.com>
43605 * elf/dl-open.c: Include <atomic.h>.
43606 * elf/dl-lookup.c: Likewise.
43608 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43610 * sysdeps/unix/sysv/linux/kernel-features.h
43611 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43612 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43614 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43616 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43617 condition on __ASSUME_CLONE_THREAD_FLAGS.
43619 2012-08-14 Andreas Jaeger <aj@suse.de>
43621 * sysdeps/i386/fpu/libm-test-ulps: Update.
43623 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43625 * include/atomic.h (atomic_exchange_and_add): Split into ...
43626 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43629 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43633 2012-08-13 Jeff Law <law@redhat.com>
43635 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43636 null byte in the output string.
43638 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43640 * sysdeps/unix/sysv/linux/kernel-features.h
43641 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43642 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43643 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43644 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43645 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43646 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43647 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43649 2012-08-09 Jeff Law <law@redhat.com>
43652 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43653 When avoid_arena is set, don't retry in the that arena. Pick the
43654 next one, whatever it might be.
43655 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43656 (arena_lock): Pass in new parameter to arena_get2.
43657 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43659 (__libc_malloc): Unify retrying after main arena failure with
43660 __libc_memalign version.
43661 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43663 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43666 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43667 to __redirect_strstr.
43668 (__strstr_sse42): Use typeof __redirect_strstr.
43669 (__strstr_ia32): Likewise.
43670 (__libc_strstr): New prototype.
43671 (strstr): Renamed to ...
43672 (__libc_strstr): This.
43673 (strstr): New strong alias of __libc_strstr.
43674 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43675 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43678 (__libc_time): New prototype.
43679 (time_ifunc): Replace time with __libc_time.
43680 (time): New strong alias and hidden definition of __libc_time.
43681 (__GI_time): Remove strong alias.
43682 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43683 Include <stddef.h>.
43684 (memmove): Redefined to __redirect_memmove.
43685 (__memmove_sse2): Use typeof __redirect_memmove.
43686 (__memmove_ssse3): Likewise.
43687 (__memmove_ssse3_back): Likewise.
43688 (__libc_memmove): New prototype.
43689 (memmove): Renamed to ...
43690 (__libc_memmove): This.
43691 (memmove): New strong alias of __libc_memmove.
43693 2012-08-08 Mark Salter <msalter@redhat.com>
43696 (R_MN10300_TLS_GD): Define.
43697 (R_MN10300_TLS_LD): Likewise.
43698 (R_MN10300_TLS_LDO): Likewise.
43699 (R_MN10300_TLS_GOTIE): Likewise.
43700 (R_MN10300_TLS_IE): Likewise.
43701 (R_MN10300_TLS_LE): Likewise.
43702 (R_MN10300_TLS_DTPMOD): Likewise.
43703 (R_MN10300_TLS_DTPOFF): Likewise.
43704 (R_MN10300_TLS_TPOFF): Likewise.
43705 (R_MN10300_SYM_DIFF): Likewise.
43706 (R_MN10300_ALIGN): Likewise.
43707 (R_MN10300_NUM): Update.
43709 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43714 2012-08-08 Roland McGrath <roland@hack.frob.com>
43716 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43718 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43719 sysdeps/unix -> sysdeps/posix move.
43720 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43722 2012-08-07 Allan McRae <allan@archlinux.org>
43725 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43726 (SUNOS_CPP): Likewise.
43727 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43729 (open_input): Call CPP using execvp.
43731 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43733 * sysdeps/unix/sysv/linux/kernel-features.h
43734 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43735 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43736 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43737 (__ASSUME_WAITID_SYSCALL): Likewise.
43738 * sysdeps/unix/sysv/linux/dl-execstack.c
43739 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43740 code unconditional.
43741 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43744 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43745 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43747 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43749 [__ASSUME_WAITID_SYSCALL]: Likewise.
43750 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43752 2012-08-07 Roland McGrath <roland@hack.frob.com>
43754 * sysdeps/unix/closedir.c: Renamed to ...
43755 * sysdeps/posix/closedir.c: ... here.
43756 * sysdeps/unix/dirfd.c: Renamed to ...
43757 * sysdeps/posix/dirfd.c: ... here.
43758 * sysdeps/unix/dirstream.h: Renamed to ...
43759 * sysdeps/posix/dirstream.h: ... here.
43760 * sysdeps/unix/fdopendir.c: Renamed to ...
43761 * sysdeps/posix/fdopendir.c: ... here.
43762 * sysdeps/unix/opendir.c: Renamed to ...
43763 * sysdeps/posix/opendir.c: ... here.
43764 * sysdeps/unix/readdir.c: Renamed to ...
43765 * sysdeps/posix/readdir.c: ... here.
43766 * sysdeps/unix/readdir_r.c: Renamed to ...
43767 * sysdeps/posix/readdir_r.c: ... here.
43768 * sysdeps/unix/rewinddir.c: Renamed to ...
43769 * sysdeps/posix/rewinddir.c: ... here.
43770 * sysdeps/unix/seekdir.c: Renamed to ...
43771 * sysdeps/posix/seekdir.c: ... here.
43772 * sysdeps/unix/telldir.c: Renamed to ...
43773 * sysdeps/posix/telldir.c: ... here.
43774 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43775 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43776 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43777 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43779 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43780 * bits/fcntl.h: ... here.
43782 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43784 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43785 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43786 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43787 (struct flock): Move l_start, l_len to the beginning.
43788 Use __pid_t for l_pid.
43789 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43790 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43791 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43792 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43793 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43794 [__USE_LARGEFILE64] (struct flock64): New type.
43795 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43797 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43798 * bits/dirent.h: ... here.
43800 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43801 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43803 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43806 Change from 2.6.0 to 2.6.16.
43807 * sysdeps/unix/sysv/linux/configure: Regenerated.
43808 * sysdeps/unix/sysv/linux/kernel-features.h
43809 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43810 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43812 (__ASSUME_UTIMES): Likewise.
43813 (__ASSUME_CLONE_STOPPED): Remove.
43814 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43815 architectures, not kernel version.
43816 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43817 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43818 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43819 (__ASSUME_WAITID_SYSCALL): Likewise.
43820 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43821 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43822 * README: State 2.6.16 as minimum Linux kernel version. Do not
43823 refer to older versions.
43825 2012-08-06 Roland McGrath <roland@hack.frob.com>
43827 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43828 Define alphasort64 as an alias.
43829 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43830 Define versionsort64 as an alias.
43831 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43832 Define scandir64 as an alias.
43833 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43834 Define scandirat64 as an alias.
43835 * dirent/alphasort64.c (alphasort64):
43836 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43837 * dirent/versionsort64.c: Likewise.
43838 * dirent/scandir64.c: Likewise.
43839 * dirent/scandirat64.c: Likewise.
43840 * sysdeps/wordsize-64/alphasort.c: File removed.
43841 * sysdeps/wordsize-64/alphasort64.c: File removed.
43842 * sysdeps/wordsize-64/scandir.c: File removed.
43843 * sysdeps/wordsize-64/scandir64.c: File removed.
43844 * sysdeps/wordsize-64/scandirat.c: File removed.
43845 * sysdeps/wordsize-64/scandirat64.c: File removed.
43846 * sysdeps/wordsize-64/versionsort.c: File removed.
43847 * sysdeps/wordsize-64/versionsort64.c: File removed.
43848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43849 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43850 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43851 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43852 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43853 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43854 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43857 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43859 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43861 [defined __arch64__ || defined __sparcv9]
43862 (__INO_T_MATCHES_INO64_T): New macro.
43863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43864 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43865 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43866 * sysdeps/unix/sysv/linux/bits/dirent.h
43867 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43868 (_DIRENT_MATCHES_DIRENT64): New macro.
43870 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43871 Define lockf64 as an alias.
43872 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43873 Define fseeko64 as an alias.
43874 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43875 Define ftello64 as an alias.
43876 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43877 Define _IO_fgetpos64 and fgetpos64 as aliases.
43878 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43879 Define _IO_fsetpos64 and fsetpos64 as aliases.
43880 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43881 Conditionalize body on this.
43882 * libio/fseeko64.c: Likewise.
43883 * libio/ftello64.c: Likewise.
43884 * libio/iofgetpos64.c: Likewise.
43885 * libio/iofsetpos64.c: Likewise.
43886 * sysdeps/wordsize-64/lockf.c: File removed.
43887 * sysdeps/wordsize-64/lockf64.c: File removed.
43888 * sysdeps/wordsize-64/fseeko.c: File removed.
43889 * sysdeps/wordsize-64/fseeko64.c: File removed.
43890 * sysdeps/wordsize-64/ftello.c: File removed.
43891 * sysdeps/wordsize-64/ftello64.c: File removed.
43892 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43893 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43894 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43895 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43896 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43897 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43899 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43901 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43902 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43903 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43904 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43905 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43907 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43909 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43911 [defined __arch64__ || defined __sparcv9]
43912 (__OFF_T_MATCHES_OFF64_T): New macro.
43913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43914 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43916 (__OFF_T_MATCHES_OFF64_T): New macro.
43918 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43920 * stdlib/secure-getenv.c (__secure_getenv): Replace
43921 GLIBC_2_16 with GLIBC_2_17.
43923 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43925 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43926 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43928 2012-08-03 David S. Miller <davem@davemloft.net>
43930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43932 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43936 (__ASSUME_CORRECT_SI_PID): Likewise.
43937 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43938 (__ASSUME_TMPFS_NAME): Likewise.
43939 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43940 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43941 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43942 (HAVE_AUX_SECURE): Make definition unconditional.
43943 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43944 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43946 2012-08-03 Roland McGrath <roland@hack.frob.com>
43948 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43949 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43950 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43951 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43952 __eloop_threshold instead of SYMLOOP_MAX.
43954 * sysdeps/generic/eloop-threshold.h: New file.
43955 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43957 * elf/chroot_canon.c (chroot_canon): Likewise.
43959 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43963 Change to 2.6.0 everywhere.
43964 * sysdeps/unix/sysv/linux/configure: Regenerated.
43965 * sysdeps/unix/sysv/linux/kernel-features.h
43966 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43967 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43969 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43970 (__ASSUME_FUTEX_REQUEUE): Remove.
43971 (__ASSUME_STATFS64): Define unconditionally.
43972 (__ASSUME_AT_SECURE): Likewise.
43973 (__ASSUME_CORRECT_SI_PID): Likewise.
43974 (__ASSUME_TGKILL): Define without depending on kernel version for
43976 (__ASSUME_UTIMES): Likewise.
43977 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43979 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43980 (__ASSUME_TMPFS_NAME): Likewise.
43981 * README: Update reference to Linux kernel versions.
43983 2012-08-02 Marek Polacek <polacek@redhat.com>
43986 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43987 libc_cv_asm_type_prefix with %.
43988 * configure: Regenerated.
43989 * include/libc-symbols.h: Remove comment about
43990 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43991 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43992 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43993 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43994 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43995 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43996 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43997 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43998 * elf/tst-unique2mod1.c: Likewise.
43999 * elf/tst-unique1mod2.c: Likewise.
44000 * elf/tst-unique1mod1.c: Likewise.
44001 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44002 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44003 Replace ASM_TYPE_DIRECTIVE with .type.
44004 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44005 * sysdeps/i386/sysdep.h: Likewise.
44006 * sysdeps/x86_64/sysdep.h: Likewise.
44007 * sysdeps/sh/sysdep.h: Likewise.
44008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44009 Do not define ASM_TYPE_DIRECTIVE.
44010 * sysdeps/powerpc/sysdep.h: Likewise.
44011 * sysdeps/powerpc/powerpc32/sysdep.h:
44012 Replace ASM_TYPE_DIRECTIVE with .type.
44013 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44014 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44015 * sysdeps/i386/fpu/e_powf.S: Likewise.
44016 * sysdeps/i386/fpu/e_expl.S: Likewise.
44017 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44018 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44019 * sysdeps/i386/fpu/e_pow.S: Likewise.
44020 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44021 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44022 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44023 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44024 * sysdeps/i386/fpu/e_log2.S: Likewise.
44025 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44026 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44027 * sysdeps/i386/fpu/e_powl.S: Likewise.
44028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44029 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44030 * sysdeps/i386/fpu/e_logl.S: Likewise.
44031 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44032 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44033 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44034 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44036 * sysdeps/i386/fpu/e_log.S: Likewise.
44037 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44038 * sysdeps/i386/fpu/e_logf.S: Likewise.
44039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44041 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44042 * sysdeps/i386/fpu/e_log10.S: Likewise.
44043 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44044 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44045 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44046 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44047 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44048 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44049 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44050 * sysdeps/i386/i686/strtok.S: Likewise.
44051 * sysdeps/i386/i386-mcount.S: Likewise.
44052 * sysdeps/i386/strtok.S: Likewise.
44053 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44054 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44056 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44057 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44058 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44059 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44060 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44061 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44062 * sysdeps/x86_64/_mcount.S: Likewise.
44063 * sysdeps/x86_64/strtok.S: Likewise.
44064 * sysdeps/sh/_mcount.S: Likewise.
44066 2012-08-01 Roland McGrath <roland@hack.frob.com>
44068 * libio/iofopen.c: Include <fcntl.h>.
44069 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44070 (_IO_fopen64, fopen64): Define as aliases.
44071 * libio/iofopen64.c: Include <fcntl.h>.
44072 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44073 Conditionalize body on this.
44074 * sysdeps/wordsize-64/iofopen.c: File removed.
44075 * sysdeps/wordsize-64/iofopen64.c: File removed.
44077 2012-08-01 Marek Polacek <polacek@redhat.com>
44079 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44080 Use dlfcn directly instead of a variable.
44081 (binfmt-subdir): Do not define.
44084 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44087 Remove all definitions.
44088 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44089 <kernel-features.h>.
44090 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44091 (miss_F_GETOWN_EX): Remove all definitions.
44092 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44094 [!__ASSUME_FCNTL64]: Remove conditional code.
44095 [__ASSUME_FCNTL64]: Make code unconditional.
44096 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44097 <kernel-features.h>.
44098 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44099 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44100 (lockf64) [__NR_fcntl64]: Make code unconditional.
44101 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44103 * sysdeps/unix/sysv/linux/kernel-features.h
44104 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44105 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44106 Make code unconditional.
44107 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44108 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44110 [__NR_vfork]: Make code unconditional.
44111 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44112 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44114 [__NR_vfork]: Make code unconditional.
44115 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44116 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44118 2012-08-01 Roland McGrath <roland@hack.frob.com>
44120 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44121 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44123 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44124 Define mkstemp64 as an alias.
44125 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44126 Define mkstemps64 as an alias.
44127 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44128 Define mkostemp64 as an alias.
44129 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44130 Define mkostemps64 as an alias.
44131 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44132 Conditionalize body on this.
44133 * misc/mkostemp64.c: Likewise.
44134 * misc/mkostemps64.c: Likewise.
44135 * misc/mkstemps64.c: Likewise.
44136 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44137 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44138 * sysdeps/wordsize-64/mkostemp.c: File removed.
44139 * sysdeps/wordsize-64/mkstemp.c: File removed.
44140 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44141 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44142 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44143 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44146 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44147 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44148 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44149 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44151 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44152 compat_symbol macros from <shlib-compat.h> rather than the underlying
44153 default_symbol_version and symbol_version macros, so that DEFAULT
44154 lines in shlib-versions are respected.
44155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44157 2012-08-01 Florian Weimer <fweimer@redhat.com>
44159 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44160 Declare with warn_unused_result.
44161 (setgid, setregid, setegid, setresgid): Likewise.
44162 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44164 * WUR-REPORT: Remove set*id functions.
44166 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44168 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44170 2012-07-31 Roland McGrath <roland@hack.frob.com>
44173 * include/sys/socket.h (__libc_accept, __libc_accept4):
44174 Add attribute_hidden.
44175 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44179 * inet/getnetgrent_r.c (setup): Likewise.
44181 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44183 2012-07-31 David S. Miller <davem@davemloft.net>
44185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44187 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44190 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44191 value between 1.0 and 2.0 and smaller part has absolute value less
44193 * math/s_clog10.c (__clog10): Likewise.
44194 * math/s_clog10f.c (__clog10f): Likewise.
44195 * math/s_clog10l.c (__clog10l): Likewise.
44196 * math/s_clogf.c (__clogf): Likewise.
44197 * math/s_clogl.c (__clogl): Likewise.
44198 * math/libm-test.inc (clog_test): Add more tests.
44199 (clog10_test): Likewise.
44200 * sysdeps/i386/fpu/libm-test-ulps: Update.
44201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44203 2012-07-31 Florian Weimer <fweimer@redhat.com>
44205 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44206 Exit with zero in case no suitable GID is found, and write a
44207 message to standard error.
44209 2012-07-30 Roland McGrath <roland@hack.frob.com>
44211 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44213 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44214 (MAXPATHLEN): Removed.
44215 (NOGROUP, NODEV): New macros.
44216 (setbit, clrbit, isset, isclr): New macros.
44217 (howmany, roundup, powerof2): New macros.
44218 (DEV_BSIZE): New macro.
44220 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44221 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44223 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44224 definition on [!__NO_LONG_DOUBLE_MATH].
44226 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44227 PTR_MANGLE and PTR_DEMANGLE.
44229 * socket/accept4.c (accept4): Rename to __libc_accept4.
44230 Define accept4 as a weak alias.
44232 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44233 on [_DIRENT_HAVE_D_TYPE].
44234 * io/ftw.c (ftw_dir): Likewise.
44236 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44238 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44240 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44241 Use the BSD numbers rather than the arbitrary ones we had.
44242 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44243 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44244 (SIGXCPU, SIGXFSZ): New macros.
44247 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44248 initializer on [_LIBC_REENTRANT].
44250 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44251 definitions inside [_POSIX_MAPPED_FILES].
44253 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44255 * dirent/opendir.c: Include <fcntl.h>.
44257 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44258 (__libc_getspecific): Likewise.
44259 (__libc_key_create): Likewise.
44261 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44262 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44263 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44264 (tmpfile64): Define as alias.
44265 * sysdeps/wordsize-64/tmpfile.c: File removed.
44266 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44267 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44270 * stdio-common/vfscanf.c: Include <stdbool.h>.
44271 * nss/makedb.c: Likewise.
44272 * stdio-common/_i18n_number.h: Likewise.
44273 * argp/argp-help.c: Likewise.
44274 * posix/wordexp.c: Likewise.
44275 * sysdeps/posix/spawni.c: Likewise.
44276 * nss/nss_files/files-initgroups.c: Likewise.
44277 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44278 * nss/nss_files/files-initgroups.c: Likewise.
44279 * nss/nss_db/db-netgrp.c: Likewise.
44280 * nss/nss_db/db-initgroups.c: Likewise.
44281 * io/fchmodat.c: Include <sys/stat.h>.
44283 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44284 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44286 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44289 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44290 Add multiple inclusion protection.
44292 2012-07-27 David S. Miller <davem@davemloft.net>
44294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44296 2012-07-27 Gary Benson <gbenson@redhat.com>
44299 * elf/rtld.c: Include <stap-probe.h>.
44300 (dl_main): Added static probes "init_start" and "init_complete".
44301 * elf/dl-load.c: Include <stap-probe.h>.
44302 (lose): Take new parameter "nsid".
44303 Added static probe "map_failed".
44304 (_dl_map_object_from_fd): Pass namespace id to lose.
44305 Added static probe "map_start".
44306 (open_verify): Pass namespace id to lose.
44307 * elf/dl-open.c: Include <stap-probe.h>.
44308 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44309 and "reloc_complete".
44310 * elf/dl-close.c: Include <stap-probe.h>.
44311 (_dl_close_worker): Added static probes "unmap_start" and
44313 * elf/rtld-debugger-interface.txt: New file documenting the above.
44315 2012-07-26 Roland McGrath <roland@hack.frob.com>
44317 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44318 rather than a string variable.
44319 * sunrpc/rpc_main.c (h_output): Likewise.
44320 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44322 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44324 * inet/check_native.c: New file.
44326 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44329 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44330 if larger part has absolute value 1.0.
44331 * math/s_clog10.c (__clog10): Likewise.
44332 * math/s_clog10f.c (__clog10f): Likewise.
44333 * math/s_clog10l.c (__clog10l): Likewise.
44334 * math/s_clogf.c (__clogf): Likewise.
44335 * math/s_clogl.c (__clogl): Likewise.
44336 * math/libm-test.inc (clog_test): Add more tests.
44337 (clog10_test): Likewise.
44338 * sysdeps/i386/fpu/libm-test-ulps: Update.
44339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44341 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44342 (pltexit): Likewise.
44343 (La_regs): Likewise.
44344 (La_retval): Likewise.
44345 (int_retval): Likewise.
44346 Update #error for removed macros to refer only to definitions in
44348 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44350 (pltexit): Likewise.
44351 (La_regs): Likewise.
44352 (La_retval): Likewise.
44353 (int_retval): Likewise.
44354 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44356 (pltexit): Likewise.
44357 (La_regs): Likewise.
44358 (La_retval): Likewise.
44359 (int_retval): Likewise.
44360 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44362 (pltexit): Likewise.
44363 (La_regs): Likewise.
44364 (La_retval): Likewise.
44365 (int_retval): Likewise.
44366 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44368 (pltexit): Likewise.
44369 (La_regs): Likewise.
44370 (La_retval): Likewise.
44371 (int_retval): Likewise.
44372 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44374 (pltexit): Likewise.
44375 (La_regs): Likewise.
44376 (La_retval): Likewise.
44377 (int_retval): Likewise.
44378 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44380 (pltexit): Likewise.
44381 (La_regs): Likewise.
44382 (La_retval): Likewise.
44383 (int_retval): Likewise.
44384 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44385 macro definitions in tst-audit.h.
44386 * sysdeps/i386/tst-audit.h: New file.
44387 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44388 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44389 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44390 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44391 * sysdeps/sh/tst-audit.h: Likewise.
44392 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44393 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44394 * sysdeps/x86_64/tst-audit.h: Likewise.
44396 2012-07-26 Andreas Jaeger <aj@suse.de>
44398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44401 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44402 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44403 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44405 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44406 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44407 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44409 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44412 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44414 (si_call_addr, si_syscall, si_arch): Define new macro.
44415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44417 (si_call_addr, si_syscall, si_arch): Define new marcro.
44418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44420 (si_call_addr, si_syscall, si_arch): Define new macro.
44421 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44423 (si_call_addr, si_syscall, si_arch): Define new macro.
44425 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44428 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44429 Change to 2.4.21 where previously 2.4.1.
44430 * sysdeps/unix/sysv/linux/configure: Regenerated.
44431 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44432 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44433 Linux kernel version.
44434 (__ASSUME_STD_AUXV): Remove.
44435 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44437 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44438 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44439 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44440 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44441 (__ASSUME_NETLINK_SUPPORT): Likewise.
44442 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44443 (__no_netlink_support): Remove conditional definition.
44444 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44446 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44447 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44448 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44449 (if_nameindex_ioctl): Remove.
44450 (if_nameindex_netlink): Do not handle __no_netlink_support.
44451 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44453 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44454 Remove conditional code.
44455 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44457 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44459 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44460 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44461 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44463 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44464 [!__ASSUME_STD_AUXV]: Remove conditional code.
44465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44466 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44467 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44469 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44470 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44472 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44474 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44475 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44477 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44479 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44482 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44485 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44486 code unconditional.
44487 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44489 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44491 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44494 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44496 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44499 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44500 code unconditional.
44501 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44503 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44505 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44508 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44509 code unconditional.
44510 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44512 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44514 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44517 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44519 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44520 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44521 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44522 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44523 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44524 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44525 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44526 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44527 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44528 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44529 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44530 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44531 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44532 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44534 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44535 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44537 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44539 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44540 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44543 2012-07-25 Florian Weimer <fweimer@redhat.com>
44545 * Versions.def: Add GLIBC_2.17.
44546 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44547 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44548 Introduce __libc_secure_getenv.
44549 * stdlib/Versions (2.17): Add secure_getenv
44550 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44551 * stdlib/secure-getenv.c: Rename __secure_getenv to
44552 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44553 symbol __secure_getenv for GLIBC_2.0.
44554 * stdlib/tst-secure-getenv.c: New.
44555 * stdlib/Makefile (tests): Add testcase.
44556 * manual/startup.texi (Environment Access): Document
44558 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44559 __libc_secure_getenv.
44560 * inet/ruserpass.c (ruserpass): Likewise.
44561 * malloc/mtrace.c (mtrace): Likewise.
44562 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44563 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44564 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44565 * sysdeps/posix/tempname.c: Likewise. Evaluate
44566 HAVE_SECURE_GETENV.
44567 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44568 __secure_getenv to __libc_secure_getenv.
44569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44582 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44584 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44585 (struct La_i86_retval): Likewise.
44586 (struct La_x86_64_regs): Likewise.
44587 (struct La_x86_64_retval): Likewise.
44588 (struct La_x32_regs): Likewise.
44589 (struct La_x32_retval): Likewise.
44590 (struct La_ppc32_regs): Likewise.
44591 (struct La_ppc32_retval): Likewise.
44592 (struct La_ppc64_regs): Likewise.
44593 (struct La_ppc64_retval): Likewise.
44594 (struct La_sh_regs): Likewise.
44595 (struct La_sh_retval): Likewise.
44596 (struct La_s390_32_regs): Likewise.
44597 (struct La_s390_32_retval): Likewise.
44598 (struct La_s390_64_regs): Likewise.
44599 (struct La_s390_64_retval): Likewise.
44600 (struct La_sparc32_regs): Likewise.
44601 (struct La_sparc32_retval): Likewise.
44602 (struct La_sparc64_regs): Likewise.
44603 (struct La_sparc64_retval): Likewise.
44604 (struct audit_ifaces): Remove architecture-specific pltenter and
44606 * sysdeps/i386/ldsodefs.h: New file.
44607 * sysdeps/powerpc/ldsodefs.h: Likewise.
44608 * sysdeps/s390/ldsodefs.h: Likewise.
44609 * sysdeps/sh/ldsodefs.h: Likewise.
44610 * sysdeps/sparc/ldsodefs.h: Likewise.
44611 * sysdeps/x86_64/ldsodefs.h: Likewise.
44613 2012-07-25 Marek Polacek <polacek@redhat.com>
44616 * math/libm-test.inc (yn_test): Add another test.
44617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44618 to ERANGE when the result is +-Inf.
44619 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44620 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44624 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44626 * conform/data/time.h-data (NULL): Use macro-constant. Require
44628 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44630 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44632 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44634 * configure.in <sysdeps resolving>: Correct printing
44636 * configure: Regenerate.
44638 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44640 * math/w_ilogb.c: Include <limits.h>.
44641 * math/w_ilogbl.c: Likewise.
44643 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44645 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44646 va_copy. Document allowing for unavailable va_copy only as
44647 pre-C99 compatibility.
44648 * manual/string.texi (Copying and Concatenation): Use va_copy
44649 instead of __va_copy in concat example.
44651 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44653 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44654 (__sendto): Use create_address_port. Initialize APORT and deallocate
44657 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44658 with O_NOLINK passed to __file_name_lookup.
44660 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44661 with O_NOLINK passed to __file_name_lookup.
44663 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44664 negative N or less than NGIDS.
44666 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44667 type to string_t. Set ERANGE as errno and return it if NAME is not big
44668 enough. Use memcpy instead of strncpy.
44670 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44672 * elf/Makefile (check-data): Remove.
44673 (localplt.data): New vpath directive.
44674 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44675 instead of $(check-data).
44676 * scripts/data/localplt-generic.data: Move to ...
44677 * sysdeps/generic/localplt.data: ... here.
44678 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44679 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44680 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44683 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44686 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44689 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44692 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44695 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44699 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44701 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44702 PPC32 and PPC64 files.
44703 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44704 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44706 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44708 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44709 __makecontext_ret to ...
44710 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44711 ... here and call exit if uc_link is NULL. New file.
44712 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44713 __makecontext_ret.S.
44714 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44715 __makecontext_ret to ...
44716 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44717 ... here and call exit if uc_link is NULL. New file.
44718 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44719 __makecontext_ret.S.
44721 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44723 * elf/elf.h (R_390_IRELATIVE): New definition.
44724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44725 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44726 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44728 (elf_machine_lazy_rel): Likewise.
44729 * sysdeps/s390/dl-irel.h: New file.
44730 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44731 * sysdeps/s390/s390-64/memset.S: New asm code.
44732 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44733 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44735 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44736 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44737 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44738 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44739 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44740 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44741 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44742 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44743 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44744 * sysdeps/s390/s390-32/memset.S: New asm code.
44745 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44747 2012-07-17 Marek Polacek <polacek@redhat.com>
44750 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44751 * sysdeps/s390/s390-64/configure.in: Likewise.
44752 * sysdeps/sparc/configure.in: Likewise.
44753 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44754 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44755 * sysdeps/i386/configure.in: Likewise.
44756 * sysdeps/x86_64/configure.in: Likewise.
44757 * sysdeps/sh/configure.in: Likewise.
44758 * sysdeps/s390/s390-32/configure: Regenerated.
44759 * sysdeps/s390/s390-64/configure: Likewise.
44760 * sysdeps/x86_64/configure: Likewise.
44761 * sysdeps/sh/configure: Likewise.
44762 * sysdeps/powerpc/powerpc64/configure: Likewise.
44763 * sysdeps/powerpc/powerpc32/configure: Likewise.
44764 * sysdeps/sparc/configure: Likwise.
44765 * sysdeps/i386/configure: Likewise.
44767 * elf/dl-open.c: Comment fixes.
44769 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44771 * Makefile [CXX] (check-data): Remove.
44772 [CXX] (c++-types.data): New vpath directive.
44773 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44774 vpath. Do not allow for C++ type data being missing.
44775 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44776 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44777 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44778 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44779 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44780 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44781 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44784 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44787 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44790 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44793 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44796 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44799 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44802 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44805 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44806 definitions to architecture-specific files.
44807 (TLS_IE): Likewise.
44808 (TLS_LD): Likewise.
44809 (TLS_GD): Likewise.
44810 * sysdeps/i386/tls-macros.h: New file.
44811 * sysdeps/powerpc/tls-macros.h: Likewise.
44812 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44813 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44814 * sysdeps/sh/tls-macros.h: Likewise.
44815 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44816 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44817 * sysdeps/x86_64/tls-macros.h: Likewise.
44819 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44822 zero value for regular exit case.
44824 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44825 (__start_context): Preserve zero value for regular exit case.
44827 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44828 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44830 * manual/setjmp.texi (setcontext): Clarify normal process
44831 termination when uc_link is the null pointer.
44832 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44835 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44837 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44838 preprocessor. Test for each exception mask separately.
44840 2012-07-16 Andreas Jaeger <aj@suse.de>
44842 * po/ru.po: Update from translation team.
44844 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44846 * conform/data/string.h-data (NULL): Use macro-constant. Require
44848 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44849 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44850 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44851 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44854 2012-07-13 Andreas Jaeger <aj@suse.de>
44856 * po/fr.po: Update from translation team.
44858 2012-07-12 Marek Polacek <polacek@redhat.com>
44861 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44865 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44868 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44869 Change to 2.4.1 where previously 2.4.0.
44870 * sysdeps/unix/sysv/linux/configure: Regenerated.
44871 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44872 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44874 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44875 (__ASSUME_AT_CLKTCK): Remove.
44876 (__ASSUME_AT_PAGESIZE): Likewise.
44877 (__ASSUME_AT_XID): Likewise.
44878 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44879 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44880 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44882 (HAVE_AUX_PAGESIZE): Likewise.
44883 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44884 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44885 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44887 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44891 the temporary buffer used to invoke __gethostbyname2_r,
44892 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44893 host_data / struct gaih_addrtuple.
44894 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44895 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44896 header file nss/nsswitch.h.
44897 * nss/nsswitch.h (global scope): Add definition of implementation
44898 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44899 resolv/nss_dns/dns-host.c).
44901 2012-07-11 Andreas Jaeger <aj@suse.de>
44903 * po/fr.po: Update from translation team.
44905 * po/sv.po: Update from translation team
44906 * po/fr.po: Another update from translation team.
44908 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44911 for subnormals or multiply small sinh result by itself.
44912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44915 2012-07-11 David S. Miller <davem@davemloft.net>
44917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44919 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44922 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44923 (INTERNAL_MARK): Shift it here.
44925 2012-07-10 Marek Polacek <polacek@redhat.com>
44928 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44929 libc_cv_asm_global_directive with .globl.
44930 * configure: Regenerated.
44931 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44933 * sysdeps/i386/configure: Regenerated.
44934 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44936 * sysdeps/x86_64/configure: Regenerated.
44937 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44938 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44939 * elf/tst-unique2mod2.c: Likewise.
44940 * elf/tst-unique2mod1.c: Likewise.
44941 * elf/tst-unique1mod2.c: Likewise.
44942 * elf/tst-unique1mod1.c: Likewise.
44943 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44944 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44945 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44947 * sysdeps/mach/sysdep.h: Likewise.
44948 * sysdeps/i386/sysdep.h: Likewise.
44949 * sysdeps/i386/i386-mcount.S: Likewise.
44950 * sysdeps/x86_64/_mcount.S: Likewise.
44951 * sysdeps/x86_64/sysdep.h: Likewise.
44952 * sysdeps/sh/_mcount.S: Likewise.
44953 * sysdeps/sh/sysdep.h: Likewise.
44954 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44955 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44956 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44958 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44959 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44960 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44961 * locale/localeinfo.h: Likewise.
44962 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44963 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44965 2012-07-09 Roland McGrath <roland@hack.frob.com>
44968 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44970 * manual/message.texi (The Uniforum approach): Likewise.
44971 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44972 (glibc iconv Implementation): Likewise.
44974 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44977 * math/s_clog.c (__clog): Avoid scaling a value down where that
44978 could result in underflow.
44979 * math/s_clog10.c (__clog10): Likewise.
44980 * math/s_clog10f.c (__clog10f): Likewise.
44981 * math/s_clog10l.c (__clog10l): Likewise.
44982 * math/s_clogf.c (__clogf): Likewise.
44983 * math/s_clogl.c (__clogl): Likewise.
44984 * math/libm-test.inc (clog_test): Add more tests.
44985 (clog10_test): Likewise.
44986 * sysdeps/i386/fpu/libm-test-ulps: Update.
44987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44989 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44992 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44993 by 7 not 8 to examine high bit of fractional part.
44996 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44997 for call to __mcount_internal.
44998 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44999 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45000 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45002 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45005 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45006 approximation for values within 0x1p-13f of an odd multiple of
45008 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45009 exception. Add more tests.
45010 * sysdeps/i386/fpu/libm-test-ulps: Update.
45013 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45014 inputs and return -1 for them. Do not check for +Inf in case not
45015 reachable for +Inf.
45016 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45017 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45019 and return -1 for them. Do not check for +Inf in case not
45020 reachable for +Inf.
45021 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45024 and return -1 for them. Do not check for +Inf in case not
45025 reachable for +Inf.
45026 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45027 spurious underflow.
45028 * sysdeps/i386/fpu/libm-test-ulps: Update.
45029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45031 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45033 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45035 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45039 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45040 could result in spurious underflow. Scale down values above
45041 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45042 * math/s_csqrtf.c (__csqrtf): Likewise.
45043 * math/s_csqrtl.c (__csqrtl): Likewise.
45044 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45045 spurious underflow.
45046 * sysdeps/i386/fpu/libm-test-ulps: Update.
45047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45049 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45051 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45053 * catgets/xopen-msg.awk: New file.
45054 * catgets/xopen-msg.sed: Removed.
45056 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45058 * intl/po2test.awk: New file.
45059 * intl/po2test.sed: Removed.
45061 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45064 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45065 or multiply small sinh result by itself.
45066 * math/s_ctanf.c (__ctanf): Likewise.
45067 * math/s_ctanh.c (__ctanh): Likewise.
45068 * math/s_ctanhf.c (__ctanhf): Likewise.
45069 * math/s_ctanhl.c (__ctanhl): Likewise.
45070 * math/s_ctanl.c (__ctanl): Likewise.
45071 * math/libm-test.inc (ctan_test_tonearest): New function.
45072 (ctan_test_towardzero): Likewise.
45073 (ctan_test_downward): Likewise.
45074 (ctan_test_upward): Likewise.
45075 (ctanh_test_tonearest): Likewise.
45076 (ctanh_test_towardzero): Likewise.
45077 (ctanh_test_downward): Likewise.
45078 (ctanh_test_upward): Likewise.
45079 (main): Call these new functions.
45080 * sysdeps/i386/fpu/libm-test-ulps: Update.
45081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45083 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45085 * .gitignore: Delete /ports entry.
45087 2012-07-03 Andreas Jaeger <aj@suse.de>
45089 * po/bg.po: Update from translation team.
45090 * po/cs.po: Likewise.
45091 * po/de.po: Likewise.
45092 * po/hr.po: Likewise.
45093 * po/nl.pl: Likewise.
45094 * po/pl.po: Likewise.
45095 * po/vi.po: Likewise.
45097 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45099 * Makeconfig [!+link] (+link-before-libc): New variable.
45100 [!+link] (+link-after-libc): Likewise.
45101 [!+link] (+link-tests): Likewise.
45102 [!+link] (+link): Define in terms of $(+link-before-libc) and
45103 $(+link-after-libc).
45104 [!+link-static] (+link-static-before-libc): New variable.
45105 [!+link-static] (+link-static-after-libc): Likewise.
45106 [!+link-static] (+link-static-tests): Likewise.
45107 [!+link-static] (+link-static): Define in terms of
45108 $(+link-static-before-libc) and $(+link-static-after-libc).
45109 [build-shared] (link-libc-before-gnulib): New variable.
45110 [build-shared] (link-libc-tests): Likewise.
45111 [build-shared] (link-libc): Define in terms of
45112 $(link-libc-before-gnulib).
45113 [!build-shared] (link-libc-tests): New variable.
45114 (link-libc-static-tests): New variable.
45115 [!gnulib] (gnulib-arch): New variable.
45116 [!gnulib] (gnulib-tests): Likewise.
45117 [!gnulib] (static-gnulib-arch): Likewise.
45118 [!gnulib] (static-gnulib-tests): Likewise.
45119 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45120 Define with "=" instead of ":=".
45121 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45122 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45123 * Rules (binaries-all-notests): New variable.
45124 (binaries-all-tests): Likewise.
45125 (binaries-static-notests): Likewise.
45126 (binaries-static-tests): Likewise.
45127 (binaries-all): Define using $(binaries-all-notests) and
45128 $(binaries-all-tests).
45129 (binaries-static): Define using $(binaries-static-notests) and
45130 $(binaries-static-tests).
45131 (binaries-shared-tests): New variable.
45132 (binaries-shared-notests): Likewise.
45133 (binaries-shared): Remove variable.
45134 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45135 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45136 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45137 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45138 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45139 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45140 * elf/Makefile (sln-modules): New variable.
45141 (extra-objs): Add $(sln-modules:=.o).
45142 (ldconfig-modules): Add static-stubs.
45143 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45144 * elf/static-stubs.c: New file.
45147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45148 by 7 not 8 to examine high bit of fractional part. Use volatile
45149 variables when splitting into final array of floats if
45150 __FLT_EVAL_METHOD__ != 0.
45151 * math/libm-test.inc (cos_test): Add another test.
45152 (sin_test): Likewise.
45153 * sysdeps/i386/fpu/libm-test-ulps: Update.
45156 * math/libm-test.inc (cosh_test): Add more tests.
45158 * version.h (RELEASE): Set to "development".
45159 (VERSION): Set to "2.16.90".
45161 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45163 * NEWS: Update copyright. Remove last-updated date.
45164 Mention math library bug fixes and timezone data changes.
45165 * README: Mention GNU/Hurd, x32, and HPPA support status.
45167 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45169 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45171 2012-06-27 Andreas Jaeger <aj@suse.de>
45173 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45175 2012-06-25 Andreas Jaeger <aj@suse.de>
45177 * sysdeps/s390/fpu/libm-test-ulps: Update.
45179 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45180 Thomas Schwinge <thomas@codesourcery.com>
45182 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45183 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45184 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45187 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45189 * sysdeps/mach/start.c: Remove file.
45190 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45191 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45192 * sysdeps/sh/init-first.c: Likewise.
45194 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45195 registers for frame unwinding purposes, add CFI directives.
45196 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45198 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45201 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45202 __fortify_fail returning.
45203 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45205 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45206 sysdeps/sh/____longjmp_chk.S.
45207 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45208 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45209 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45210 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45212 * sysdeps/sh/abort-instr.h: New file.
45213 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45214 process in case exit returns.
45216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45217 initialize the GOT register before use.
45219 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45220 calculation of ARGC > 4.
45222 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45223 meaningful names to some local labels.
45225 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45226 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45228 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45229 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45230 (__arch_compare_and_exchange_val_16_acq): Likewise.
45231 (__arch_compare_and_exchange_val_32_acq): Likewise.
45232 (atomic_exchange_and_add): Fix gUSA sequence.
45233 (atomic_add): Likewise.
45234 (atomic_add_negative): Likewise.
45235 (atomic_add_zero): Likewise.
45236 (atomic_bit_test_set): Likewise.
45238 2012-06-22 Andreas Schwab <schwab@redhat.com>
45241 * include/link.h (struct link_map): Add l_free_initfini.
45242 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45244 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45245 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45246 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45249 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45251 * configure.in: Use AC_LANG_SOURCE.
45252 * configure: Regenerate.
45254 2012-06-22 Roland McGrath <roland@hack.frob.com>
45256 * configure.in (libc_cv_localstatedir): New substituted variable.
45257 * configure: Regenerated.
45258 * config.make.in (localstatedir): New variable, substituted from
45259 libc_cv_localstatedir.
45260 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45261 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45262 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45263 * sysdeps/gnu/configure: Regenerated.
45265 2012-06-21 Jeff Law <law@redhat.com>
45268 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45269 free. Simplify list management for _LIBC case.
45271 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45275 Clear sign bit of 64-bit integer value before comparing against
45278 * sysdeps/mach/configure: Regenerated.
45280 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45283 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45285 2012-06-21 Jeff Law <law@redhat.com>
45288 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45289 uint16_t for elements in the "seen" array to avoid char overflows.
45290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45291 * elf/dl-open.c (dl_open_worker): Likewise.
45293 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45295 * scripts/list-sources.sh: Scan PORTS for translations.
45296 * po/libc.pot: Regenerated.
45298 2012-06-21 Andreas Jaeger <aj@suse.de>
45301 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45303 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45304 * bits/byteswap-16.h (__bswap_16): Likewise.
45305 * bits/byteswap.h (__bswap_constant_16): Likewise.
45307 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45310 * sysdeps/i386/fpu_control.h: Removed.
45311 * sysdeps/x86_64/fpu_control.h: Moved to ...
45312 * sysdeps/x86/fpu_control.h: Here.
45314 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45315 (_FPU_SETCW): Likewise.
45317 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45320 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45321 * sysdeps/x86/fpu/bits/mathinline.h: This.
45322 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45326 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45327 functions if __x86_64__ is defined.
45329 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45331 * string/endian.h: Add !__ASSEMBLER__ condition for including
45332 conversion interfaces.
45334 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45338 of ABS(x) in calculating zero to negative powers other than odd
45340 * math/libm-test.inc (pow_test): Add more tests.
45342 2012-06-15 Andreas Jaeger <aj@suse.de>
45344 * manual/contrib.texi (Contributors): Update entry of Liubov
45345 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45348 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45350 * string/string.h: Add __wur to GNU version of strerror_r.
45352 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45355 * string/Makefile (tests): Add tst-strtok_r.
45356 * string/tst-strtok_r.c: New file.
45357 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45358 RAX_LP/RDX_LP on SAVE_PTR.
45360 2012-06-14 Roland McGrath <roland@hack.frob.com>
45362 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45364 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45366 * libm_test.inc (csqrt_test): Allow more spurious underflow
45368 (j0_test): Likewise.
45369 (j1_test): Likewise.
45370 (y0_test): Likewise.
45371 (y1_test): Likewise.
45373 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45375 * po/Makefile (libc.pot): Use UTF-8 charset.
45377 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45380 Suppress sign-conversion warning from FD_SET.
45381 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45382 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45383 not unsigned long int.
45384 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45386 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45390 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45391 __extern_always_inline instead of __extern_inline.
45392 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45393 (__signbit): Likewise.
45394 (__signbitl): Support C++ namespace.
45395 (lrintf): New inline function.
45397 (llrintf): Likewise.
45398 (llrint): Likewise.
45408 (floorf): Likewise.
45409 (nearbyint): Likewise.
45410 (nearbyintf): Likewise.
45412 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45415 non-default versions.
45417 2012-06-11 Roland McGrath <roland@hack.frob.com>
45420 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45422 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45424 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45425 (FE_UPWARD, FE_DOWNWARD): Don't define.
45426 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45427 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45431 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45432 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45434 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45436 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45438 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45439 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45441 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45444 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45445 * sysdeps/i386/fpu/Implies: New file.
45446 * sysdeps/x86_64/fpu/Implies: Likewise.
45447 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45448 * sysdeps/x86/fpu/bits/fenv.h: This.
45450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45453 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45456 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45457 character 0xffff that matches the last element of the
45460 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45465 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45468 values higher than 25.6283.
45470 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45473 subnormal exponent extraction and add some __builtin_expect.
45474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45475 Fix for subnormal mantissa calculation.
45477 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45479 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45480 cpu2 is -1 and errno is not ENOSYS.
45482 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45485 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45486 * sysdeps/x86/bits/string.h: This.
45487 * sysdeps/x86_64/bits/string.h: Removed.
45489 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45490 if not compiling for x86-64, but compiling for >= i486.
45492 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45493 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45496 New macro from Linux kernel 3.4.0.
45497 (FP_XSTATE_MAGIC2): Likewise.
45498 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45499 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45500 (struct _fpx_sw_bytes): New struct.
45501 (struct _xsave_hdr): Likewise.
45502 (struct _ymmh_state): Likewise.
45503 (struct _xstate): Likewise.
45505 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45506 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45507 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45508 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45509 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45510 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45512 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45513 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45514 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45515 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45516 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45517 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45519 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45522 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45523 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45524 (sysdep_headers): Include sys/platform/ppc.h.
45525 * sysdeps/powerpc/test-gettimebase.c: Test for
45526 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45527 * manual/Makefile (appendices): Include platform.texi.
45528 * manual/contrib.texi (Contributors): Update @node pointers.
45529 * manual/maint.texi (Maintenance): Likewise.
45530 (Platform): New node.
45531 * manual/platform.texi: New file. Document the new features.
45533 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45534 Jakub Jelinek <jakub@redhat.com>
45537 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45538 where __builtin_expect is unavailable.
45540 2012-06-03 David S. Miller <davem@davemloft.net>
45542 * stdlib/longlong.h: Updated from GCC.
45544 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45547 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45548 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45551 (GLIBC_2.16): Likewise.
45553 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45557 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45560 (default-abi): New variable.
45561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45562 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45564 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45566 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45568 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45571 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45572 definition. Document in comment.
45574 2012-06-01 David S. Miller <davem@davemloft.net>
45576 * stdlib/longlong.h: Updated from GCC.
45578 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45581 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45582 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45583 sys/debugreg.h sys/io.h here.
45584 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45585 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45587 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45588 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45589 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45590 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45591 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45592 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45595 Define only if __x86_64__ is defined.
45597 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45600 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45601 Use int64_t for variable i.
45602 * math/libm-test.inc (fmod_test): Add more tests.
45604 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45605 z computation is not scheduled after fetestexcept.
45606 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45607 Use math_force_eval instead of asm to ensure calculation scheduled
45608 before exception test.
45609 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45610 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45612 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45615 computation is not scheduled after fetestexcept.
45617 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45620 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45621 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45623 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45625 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45626 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45628 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45631 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45633 (__WCHAR_MIN): Support __WORDSIZE == 64.
45634 (__WCHAR_MAX): Likewise.
45636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45637 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45641 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45644 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45645 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45648 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45650 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45651 Defined to 1 if __x86_64__ isn't defined.
45652 (_STAT_VER_LINUX_OLD): New.
45653 (st_atime): Remove duplicate.
45654 (st_mtime): Likewise.
45655 (st_ctime): Likewise.
45657 2012-05-31 David S. Miller <davem@davemloft.net>
45659 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45662 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45664 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45668 * elf/dl-reloc.c: Include <_itoa.h>.
45669 (_dl_reloc_bad_type): Remove use of INTUSE.
45670 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45671 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45672 * stdio-common/psiginfo.c (psiginfo): Likewise.
45673 * stdio-common/psignal.c (psignal): Likewise.
45674 * string/strsignal.c (strsignal): Likewise.
45675 * include/signal.h (_sys_siglist): Declare hidden proto.
45676 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45677 INTVARDEF with libc_hidden_data_def.
45678 * stdio-common/itoa-udigits.c: Likewise.
45679 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45680 (_itoa_lower_digits_internal): Remove declaration.
45681 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45682 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45683 (_sys_sigabbrev_internal): Remove aliases.
45684 (_sys_siglist): Define hidden alias.
45686 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45691 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45694 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45695 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45697 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45698 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45699 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45700 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45702 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45704 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45706 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45718 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45720 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45721 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45722 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45723 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45724 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45727 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45728 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45730 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45731 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45737 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45738 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45740 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45742 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45743 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45744 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45746 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45748 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45750 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45752 * math/math.h (M_El): Use two more decimal places.
45753 (M_LOG2El): Likewise.
45754 (M_LOG10El): Likewise.
45755 (M_LN2l): Likewise.
45756 (M_LN10l): Likewise.
45758 (M_PI_2l): Likewise.
45759 (M_PI_4l): Likewise.
45760 (M_1_PIl): Likewise.
45761 (M_2_PIl): Likewise.
45762 (M_2_SQRTPIl): Likewise.
45763 (M_SQRT2l): Likewise.
45764 (M_SQRT1_2l): Likewise.
45766 2012-05-31 David S. Miller <davem@davemloft.net>
45768 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45769 values between float registers.
45770 * sysdeps/sparc/sparc64/memset.S: Likewise.
45771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45773 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45775 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45776 -D_FORTIFY_SOURCE=1.
45777 (CPPFLAGS-tst-longjmp_chk.c): Define.
45778 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45779 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45780 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45781 CFLAGS-tst-wchar-h.c.
45783 2012-05-31 Marek Polacek <polacek@redhat.com>
45786 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45787 __endmntent_internal): Remove declaration.
45788 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45789 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45790 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45792 2012-05-30 David S. Miller <davem@davemloft.net>
45794 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45795 (___Q_simulate_exceptions): Use real FP ops rather than writing
45797 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45800 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45803 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45804 * sysdeps/x86/bits/xtitypes.h: This.
45806 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45807 * sysdeps/x86/bits/wordsize.h: This.
45809 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45810 * sysdeps/x86/bits/huge_vall.h: This.
45812 * sysdeps/i386/bits/select.h: Removed.
45813 * sysdeps/x86_64/bits/select.h: Renamed to ...
45814 * sysdeps/x86/bits/select.h: This.
45816 * sysdeps/i386/bits/setjmp.h: Removed.
45817 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45818 * sysdeps/x86/bits/setjmp.h: This.
45820 * sysdeps/i386/bits/mathdef.h: Removed.
45821 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45822 * sysdeps/x86/bits/mathdef.h: This.
45824 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45827 * include/sys/socket.h (__connect_internal)
45828 (__libc_sa_len_internal): Remove declaration.
45829 (__connect, __libc_sa_len): Declare hidden_proto.
45830 (SA_LEN): Remove use of INTUSE.
45831 * socket/connect.c: Add libc_hidden_def.
45832 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45833 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45834 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45836 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45837 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45838 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45839 of adding _internal alias.
45841 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45844 * sysdeps/i386/bits/link.h: Removed.
45845 * sysdeps/i386/bits/linkmap.h: Likewise.
45846 * sysdeps/x86_64/bits/link.h: Renamed to ...
45847 * sysdeps/x86/bits/link.h: This.
45848 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45849 * sysdeps/x86/bits/linkmap.h: This.
45851 * sysdeps/i386/bits/endian.h: Removed.
45852 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45853 * sysdeps/x86/bits/endian.h: This.
45855 * sysdeps/i386/bits/byteswap.h: Removed.
45856 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45857 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45858 * sysdeps/x86/bits/byteswap.h: This.
45859 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45860 * sysdeps/x86/bits/byteswap-16.h: This.
45861 * sysdeps/i386/Implies: Add x86.
45862 * sysdeps/x86_64/Implies: Likewise.
45864 2012-05-30 David S. Miller <davem@davemloft.net>
45866 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45867 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45868 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45869 (FP_TRAPPING_EXCEPTIONS): Define.
45870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45871 (FP_TRAPPING_EXCEPTIONS): Define.
45872 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45873 subnormals only when inexact has been signalled or underflow
45874 exceptions are enabled.
45875 (_FP_PACK_CANONICAL): Likewise.
45877 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45881 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45883 2012-05-30 Richard Henderson <rth@twiddle.net>
45885 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45886 with #ifndef NOT_IN_libc.
45888 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45889 marked to avoid plt entry.
45891 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45894 * Makeconfig (default-abi): New macro.
45895 (abi-includes): Likewise.
45896 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45897 $(abi-$(default-abi)-lib-soname) for soname if defined.
45898 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45900 * Makefile (installed-stubs): Likewise.
45901 * include/stubs-biarch.h: Removed.
45902 * scripts/lib-names.awk: Only handle one library at a time.
45903 * scripts/soversions.awk: Remove WORDSIZE support.
45904 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45906 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45908 (syscall-list-default-condition): Likewise.
45909 (syscall-list-default-condition): Likewise.
45910 (syscall-list-includes): Likewise.
45911 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45912 syscall-list-* with abi-*. Handle undefined abi-variants.
45913 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45914 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45915 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45916 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45917 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45918 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45920 (syscall-list-32-options): Likewise.
45921 (syscall-list-32-condition): Likewise.
45922 (syscall-list-64-options): Likewise.
45923 (syscall-list-64-condition): Likewise.
45924 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45926 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45929 (abi-64-ld-soname): New macro.
45930 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45931 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45934 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45935 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45937 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45939 * sysdeps/unix/sysv/linux/kernel-features.h
45940 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45941 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45942 include <kernel-features.h>.
45943 [!__NR_ftruncate64]: Remove conditional code.
45944 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45945 [__NR_ftruncate64]: Make code unconditional.
45946 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45947 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45948 include <kernel-features.h>.
45949 [!__NR_ftruncate64]: Remove conditional code.
45950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45951 [__NR_ftruncate64]: Make code unconditional.
45952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45954 include <kernel-features.h>.
45955 [!__NR_ftruncate64]: Remove conditional code.
45956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45957 [__NR_ftruncate64]: Make code unconditional.
45958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45960 include <kernel-features.h>.
45961 [!__NR_ftruncate64]: Remove conditional code.
45962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45963 [__NR_ftruncate64]: Make code unconditional.
45964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45966 * configure.in (libc_cv_fpie): Weaken to a compile test using
45967 LIBC_TRY_CC_OPTION.
45968 * configure: Regenerated.
45970 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45985 2012-05-27 David S. Miller <davem@davemloft.net>
45987 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45989 (__Q_simulate_exceptions): Return void. Change to simulate
45990 exceptions by writing into the %fsr.
45991 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45992 (__Qp_handle_exceptions): Likewise.
45994 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45995 __Qp_handle_exceptions.
45996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45997 __Qp_handle_exceptions.
45998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45999 as unused and give dummy FP_RND_NEAREST initializer.
46000 (FP_INHIBIT_RESULTS): Define.
46001 (___Q_simulate_exceptions): Update declaration.
46002 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46005 as unused and give dummy FP_RND_NEAREST initializer.
46006 (__Qp_handle_exceptions): Update declaration.
46007 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46010 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46012 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46013 the temporary FPU control word.
46014 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46015 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46016 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46017 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46019 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46020 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46021 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46022 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46023 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46026 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46028 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46031 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46033 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46034 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46035 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46036 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46038 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46039 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46042 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46044 * po/h.po: Update from translation team.
46046 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46048 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46050 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46051 handling of denormals.
46052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46053 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46054 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46055 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46061 2012-05-26 Marek Polacek <polacek@redhat.com>
46064 * math/libm-test.inc (fma_test): Don't always expect underflow
46067 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46070 * elf/tst-execstack.c: Include stackinfo.h.
46071 (do_test): Adjust test case to ensure that pthread_getattr_np
46072 behaviour remains the same after marking stack executable.
46074 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46076 * sysdeps/unix/sysv/linux/kernel-features.h
46077 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46078 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46082 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46084 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46085 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46087 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46089 * configure.in: Define the default includes to being none.
46090 * configure: Regenerated.
46092 2012-05-25 Roland McGrath <roland@hack.frob.com>
46094 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46095 * sysdeps/x86_64/setjmp.S: Likewise.
46096 * sysdeps/i386/bsd-setjmp.S: Likewise.
46097 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46098 * sysdeps/i386/setjmp.S: Likewise.
46099 * sysdeps/i386/__longjmp.S: Likewise.
46100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46101 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46103 * include/stap-probe.h: New file.
46104 * configure.in: Handle --enable-systemtap.
46105 * configure: Regenerated.
46106 * config.h.in (USE_STAP_PROBE): New #undef.
46107 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46108 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46109 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46111 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46114 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46115 to 2.4.0 where earlier.
46116 * sysdeps/unix/sysv/linux/configure: Regenerated.
46117 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
46126 [__ASSUME_32BITUIDS]: Make code unconditional.
46127 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46128 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46129 <kernel-features.h>.
46130 [__ASSUME_32BITUIDS]: Make code unconditional.
46131 [!__ASSUME_32BITUIDS]: Remove conditional code.
46132 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46133 <kernel-features.h>.
46134 [__ASSUME_32BITUIDS]: Make code unconditional.
46135 [!__ASSUME_32BITUIDS]: Remove conditional code.
46136 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46137 <kernel-features.h>.
46138 [__ASSUME_32BITUIDS]: Make code unconditional.
46139 [!__ASSUME_32BITUIDS]: Remove conditional code.
46140 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46141 <kernel-features.h>.
46142 [__ASSUME_32BITUIDS]: Make code unconditional.
46143 [!__ASSUME_32BITUIDS]: Remove conditional code.
46144 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46145 <kernel-features.h>.
46146 [__ASSUME_32BITUIDS]: Make code unconditional.
46147 [!__ASSUME_32BITUIDS]: Remove conditional code.
46148 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46149 <kernel-features.h>.
46150 [__ASSUME_32BITUIDS]: Make code unconditional.
46151 [!__ASSUME_32BITUIDS]: Remove conditional code.
46152 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46153 <kernel-features.h>.
46154 [__ASSUME_32BITUIDS]: Make code unconditional.
46155 [!__ASSUME_32BITUIDS]: Remove conditional code.
46156 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46157 <kernel-features.h>.
46158 [__ASSUME_32BITUIDS]: Make code unconditional.
46159 [!__ASSUME_32BITUIDS]: Remove conditional code.
46160 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46161 <kernel-features.h>.
46162 [__ASSUME_32BITUIDS]: Make code unconditional.
46163 [!__ASSUME_32BITUIDS]: Remove conditional code.
46164 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46165 <kernel-features.h>.
46166 [__ASSUME_32BITUIDS]: Make code unconditional.
46167 [!__ASSUME_32BITUIDS]: Remove conditional code.
46168 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46169 <kernel-features.h>.
46170 [__NR_setresgid] (__setresgid): Do not declare.
46171 [__ASSUME_32BITUIDS]: Make code unconditional.
46172 [!__ASSUME_32BITUIDS]: Remove conditional code.
46173 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46174 <kernel-features.h>.
46175 [__NR_setresuid] (__setresuid): Do not declare.
46176 [__ASSUME_32BITUIDS]: Make code unconditional.
46177 [!__ASSUME_32BITUIDS]: Remove conditional code.
46178 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46179 <kernel-features.h>.
46180 [__ASSUME_32BITUIDS]: Make code unconditional.
46181 [!__ASSUME_32BITUIDS]: Remove conditional code.
46182 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46183 <kernel-features.h>.
46184 [__ASSUME_32BITUIDS]: Make code unconditional.
46185 [!__ASSUME_32BITUIDS]: Remove conditional code.
46186 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46187 <kernel-features.h>.
46188 [__ASSUME_32BITUIDS]: Make code unconditional.
46189 [!__ASSUME_32BITUIDS]: Remove conditional code.
46190 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46191 <kernel-features.h>.
46192 [__ASSUME_32BITUIDS]: Make code unconditional.
46193 [!__ASSUME_32BITUIDS]: Remove conditional code.
46194 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46195 <kernel-features.h>.
46196 [__ASSUME_32BITUIDS]: Make code unconditional.
46197 [!__ASSUME_32BITUIDS]: Remove conditional code.
46198 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46199 <kernel-features.h>.
46200 [__ASSUME_32BITUIDS]: Make code unconditional.
46201 [!__ASSUME_32BITUIDS]: Remove conditional code.
46202 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46203 <kernel-features.h>.
46204 [__ASSUME_32BITUIDS]: Make code unconditional.
46205 [!__ASSUME_32BITUIDS]: Remove conditional code.
46206 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46207 <kernel-features.h>.
46208 [__ASSUME_32BITUIDS]: Make code unconditional.
46209 [!__ASSUME_32BITUIDS]: Remove conditional code.
46210 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46211 <kernel-features.h>.
46212 [__ASSUME_32BITUIDS]: Make code unconditional.
46213 [!__ASSUME_32BITUIDS]: Remove conditional code.
46214 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46215 <kernel-features.h>.
46216 [__ASSUME_32BITUIDS]: Make code unconditional.
46217 [!__ASSUME_32BITUIDS]: Remove conditional code.
46218 * sysdeps/unix/sysv/linux/kernel-features.h
46219 (__ASSUME_SETRESUID_SYSCALL): Remove.
46220 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46221 (__ASSUME_32BITUIDS): Likewise.
46222 (__ASSUME_LDT_WORKS): Likewise.
46223 (__ASSUME_O_DIRECTORY): Likewise.
46224 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46225 architecture but not kernel version.
46226 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46227 (__ASSUME_MMAP2_SYSCALL): Likewise.
46228 (__ASSUME_STAT64_SYSCALL): Likewise.
46229 (__ASSUME_IPC64): Likewise.
46230 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46231 <kernel-features.h>.
46232 [__ASSUME_32BITUIDS]: Make code unconditional.
46233 [!__ASSUME_32BITUIDS]: Remove conditional code.
46234 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46235 <kernel-features.h>.
46236 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46237 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46238 132096]: Remove conditional code.
46239 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46241 <kernel-features.h>.
46242 [__ASSUME_32BITUIDS]: Make code unconditional.
46243 [!__ASSUME_32BITUIDS]: Remove conditional code.
46244 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46245 <kernel-features.h>.
46246 [__ASSUME_32BITUIDS]: Make code unconditional.
46247 [!__ASSUME_32BITUIDS]: Remove conditional code.
46248 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46249 <kernel-features.h>.
46250 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46252 (__setresgid): Do not declare.
46253 [__ASSUME_32BITUIDS]: Make code unconditional.
46254 [!__ASSUME_32BITUIDS]: Remove conditional code.
46255 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46256 <kernel-features.h>.
46257 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46259 (__setresuid): Do not declare.
46260 [__ASSUME_32BITUIDS]: Make code unconditional.
46261 [!__ASSUME_32BITUIDS]: Remove conditional code.
46262 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46263 <kernel-features.h>.
46264 [__ASSUME_32BITUIDS]: Make code unconditional.
46265 [!__ASSUME_32BITUIDS]: Remove conditional code.
46266 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46267 <kernel-features.h>.
46268 [__ASSUME_32BITUIDS]: Make code unconditional.
46269 [!__ASSUME_32BITUIDS]: Remove conditional code.
46271 2012-05-25 Richard Henderson <rth@twiddle.net>
46273 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46274 dl_hwcap to ifunc resolver.
46275 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46278 dl_hwcap to ifunc resolver.
46279 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46281 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46284 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46285 for |x| <= 2**-26, not 2**-57.
46286 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46289 2012-05-24 Jeff Law <law@redhat.com>
46291 * stdio-common/Makefile (tests): Add bug25.
46292 * stdio-common/bug25.c: New test.
46294 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46297 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46298 multiple of MALLOC_ALIGNMENT in size.
46299 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46301 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46303 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46305 (FILENAME_MAX): Use macro-int-constant.
46306 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46307 (_IOFBF): Use macro-int-constant.
46308 (_IOLBF): Likewise.
46309 (_IONBF): Likewise.
46310 (SEEK_CUR): Likewise.
46311 (SEEK_END): Likewise.
46312 (SEEK_SET): Likewise.
46313 (TMP_MAX): Likewise.
46314 (EOF): Use macro-int-constant. Require < 0.
46315 (NULL): Use macro-constant. Require == 0.
46316 (stdin): Require type to be FILE *.
46317 (stdout): Likewise.
46318 (stderr): Likewise.
46319 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46320 macro-int-constant.
46321 (EXIT_SUCCESS): Likewise.
46322 (NULL): Use macro-constant. Require == 0.
46323 (RAND_MAX): Use macro-int-constant.
46324 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46325 [C99-based standards] (strtof): Require function.
46326 [C99-based standards] (strtold): Likewise.
46327 [C99-based standards] (strtoll): Likewise.
46328 [C99-based standards] (strtoull): Likewise.
46329 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46330 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46331 [ISO || ISO99 || ISO11] (math.h): Likewise.
46332 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46333 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46336 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46339 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46340 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46341 * intl/dgettext.c (DCGETTEXT): Likewise.
46342 * intl/gettext.c (DCGETTEXT): Likewise.
46343 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46344 * posix/regex_internal.h (gettext): Likewise.
46345 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46346 Remove declaration.
46347 * include/argz.h (__argz_count_internal)
46348 (__argz_stringify_internal): Remove declaration.
46349 (__argz_count, __argz_stringify): Declare hidden proto.
46350 * intl/dcgettext.c: Remove use of INTDEF.
46351 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46352 * string/argz-stringify.c: Likewise.
46353 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46354 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46355 Declare hidden proto.
46356 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46357 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46358 Declare hidden proto.
46359 * include/stdio.h (__asprintf_internal): Don't declare.
46360 (__asprintf): Don't define as macro. Declare hidden proto.
46361 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46362 (__fsetlocking): Declare hidden proto.
46363 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46364 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46366 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46367 (_IO_setlinebuf): Remove use of INTUSE.
46368 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46369 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46370 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46371 Remove declaration.
46372 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46373 (_IO_do_flush): Remove use of INTUSE.
46374 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46375 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46376 (_IO_adjust_column, _IO_least_wmarker)
46377 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46378 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46379 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46380 (_IO_default_doallocate, _IO_wdefault_doallocate)
46381 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46382 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46383 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46384 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46385 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46386 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46387 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46388 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46389 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46390 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46391 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46392 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46393 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46395 (_IO_flush_all_internal, _IO_adjust_column_internal)
46396 (_IO_default_uflow_internal, _IO_default_finish_internal)
46397 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46398 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46399 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46400 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46401 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46402 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46403 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46404 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46405 (_IO_file_close_internal, _IO_file_close_it_internal)
46406 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46407 (_IO_file_init_internal, _IO_file_attach_internal)
46408 (_IO_file_fopen_internal, _IO_file_read_internal)
46409 (_IO_file_sync_internal, _IO_file_seek_internal)
46410 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46411 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46412 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46413 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46414 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46415 (_IO_list_all_internal, _IO_link_in_internal)
46416 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46417 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46418 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46419 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46420 (_IO_do_write_internal, _IO_padn_internal)
46421 (_IO_getline_info_internal, _IO_getline_internal)
46422 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46423 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46424 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46425 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46426 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46427 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46428 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46429 with libc_hidden_ver, remove use of INTUSE.
46430 * libio/genops.c: Likewise.
46431 * libio/freopen.c: Likewise.
46432 * libio/freopen64.c: Likewise.
46433 * libio/iofclose.c: Likewise.
46434 * libio/iofdopen.c: Likewise.
46435 * libio/iofflush.c: Likewise.
46436 * libio/iofflush_u.c: Likewise.
46437 * libio/iofgets.c: Likewise.
46438 * libio/iofgets_u.c: Likewise.
46439 * libio/iofopen.c: Likewise.
46440 * libio/iofopncook.c: Likewise.
46441 * libio/iofread.c: Likewise.
46442 * libio/iofread_u.c: Likewise.
46443 * libio/ioftell.c: Likewise.
46444 * libio/iofwrite.c: Likewise.
46445 * libio/iogetline.c: Likewise.
46446 * libio/iogets.c: Likewise.
46447 * libio/iogetwline.c: Likewise.
46448 * libio/iopadn.c: Likewise.
46449 * libio/iopopen.c: Likewise.
46450 * libio/ioseekoff.c: Likewise.
46451 * libio/ioseekpos.c: Likewise.
46452 * libio/iosetbuffer.c: Likewise.
46453 * libio/iosetvbuf.c: Likewise.
46454 * libio/ioungetc.c: Likewise.
46455 * libio/ioungetwc.c: Likewise.
46456 * libio/iovdprintf.c: Likewise.
46457 * libio/iovsprintf.c: Likewise.
46458 * libio/iovsscanf.c: Likewise.
46459 * libio/memstream.c: Likewise.
46460 * libio/obprintf.c: Likewise.
46461 * libio/oldfileops.c: Likewise.
46462 * libio/oldiofclose.c: Likewise.
46463 * libio/oldiofdopen.c: Likewise.
46464 * libio/oldiofopen.c: Likewise.
46465 * libio/oldiopopen.c: Likewise.
46466 * libio/oldstdfiles.c: Likewise.
46467 * libio/putc.c: Likewise.
46468 * libio/setbuf.c: Likewise.
46469 * libio/setlinebuf.c: Likewise.
46470 * libio/stdfiles.c: Likewise.
46471 * libio/strops.c: Likewise.
46472 * libio/vasprintf.c: Likewise.
46473 * libio/vscanf.c: Likewise.
46474 * libio/vsnprintf.c: Likewise.
46475 * libio/vswprintf.c: Likewise.
46476 * libio/wfiledoalloc.c: Likewise.
46477 * libio/wfileops.c: Likewise.
46478 * libio/wgenops.c: Likewise.
46479 * libio/wmemstream.c: Likewise.
46480 * libio/wstrops.c: Likewise.
46481 * libio/__fpurge.c: Likewise.
46482 * libio/__fsetlocking.c: Likewise.
46483 * assert/assert.c: Likewise.
46484 * debug/fgets_chk.c: Likewise.
46485 * debug/fgets_u_chk.c: Likewise.
46486 * debug/fread_chk.c: Likewise.
46487 * debug/fread_u_chk.c: Likewise.
46488 * debug/gets_chk.c: Likewise.
46489 * debug/obprintf_chk.c: Likewise.
46490 * debug/vasprintf_chk.c: Likewise.
46491 * debug/vdprintf_chk.c: Likewise.
46492 * debug/vsnprintf_chk.c: Likewise.
46493 * debug/vsprintf_chk.c: Likewise.
46494 * malloc/mtrace.c: Likewise.
46495 * misc/error.c: Likewise.
46496 * misc/syslog.c: Likewise.
46497 * stdio-common/asprintf.c: Likewise.
46498 * stdio-common/fxprintf.c: Likewise.
46499 * stdio-common/getw.c: Likewise.
46500 * stdio-common/isoc99_fscanf.c: Likewise.
46501 * stdio-common/isoc99_scanf.c: Likewise.
46502 * stdio-common/isoc99_vfscanf.c: Likewise.
46503 * stdio-common/isoc99_vscanf.c: Likewise.
46504 * stdio-common/isoc99_vsscanf.c: Likewise.
46505 * stdio-common/printf-prs.c: Likewise.
46506 * stdio-common/printf_fp.c: Likewise.
46507 * stdio-common/printf_fphex.c: Likewise.
46508 * stdio-common/printf_size.c: Likewise.
46509 * stdio-common/putw.c: Likewise.
46510 * stdio-common/scanf.c: Likewise.
46511 * stdio-common/sprintf.c: Likewise.
46512 * stdio-common/tmpfile.c: Likewise.
46513 * stdio-common/vfprintf.c: Likewise.
46514 * stdio-common/vfscanf.c: Likewise.
46515 * stdlib/strfmon_l.c: Likewise.
46516 * sunrpc/openchild.c: Likewise.
46517 * sunrpc/xdr_stdio.c: Likewise.
46518 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46519 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46521 2012-05-24 Roland McGrath <roland@hack.frob.com>
46523 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46525 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46526 in the third column, to generate for the shared library an IFUNC
46527 that uses _dl_vdso_vsym.
46528 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46529 * Makeconfig (object-suffixes-noshared): New variable.
46531 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46532 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46533 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46534 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46537 * include/sys/time.h (__gettimeofday): Remove macro.
46538 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46539 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46541 (__gettimeofday): Add libc_hidden_def.
46542 (gettimeofday): Add libc_hidden_weak.
46543 * sysdeps/mach/gettimeofday.c: Likewise.
46544 * sysdeps/posix/gettimeofday.c: Likewise.
46545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46546 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46548 (__gettimeofday_internal): Remove strong_alias.
46549 (__gettimeofday): Add libc_hidden_def.
46550 (gettimeofday): Add libc_hidden_weak.
46551 * sysdeps/unix/syscalls.list (gettimeofday):
46552 Remove __gettimeofday_internal alias.
46554 2012-05-24 Daniel Jacobowitz <drow@false.org>
46555 H.J. Lu <hongjiu.lu@intel.com>
46558 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46559 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46560 (largebin_index_32_big): New.
46561 (largebin_index): Use it for 16-byte alignment.
46562 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46563 correction with front_misalign.
46565 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46593 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46594 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46600 * math/libm-test.inc (exp_test): Add test from bug 14036.
46601 (pow_test): Add test from bug 10846.
46603 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46605 (special_function): Do not include flags in test name.
46606 (parse_args): Likewise.
46607 * sysdeps/i386/fpu/libm-test-ulps: Update.
46608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46609 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46610 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46613 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46615 * math/libm-test.inc ("Philosophy"): Update comment about
46617 (UNDERFLOW_EXCEPTION): New macro.
46618 (UNDERFLOW_EXCEPTION_OK): Likewise.
46619 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46620 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46621 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46622 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46623 (INVALID_EXCEPTION_OK): Update value.
46624 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46625 (OVERFLOW_EXCEPTION_OK): Likewise.
46626 (IGNORE_ZERO_INF_SIGN): Likewise.
46627 (test_exceptions): Handle underflow exceptions.
46628 (acos_test): Update for underflow exception expectations.
46629 (cexp_test): Likewise.
46630 (clog_test): Likewise.
46631 (clog10_test): Likewise.
46632 (csqrt_test): Likewise.
46633 (ctan_test): Likewise.
46634 (ctanh_test): Likewise.
46635 (exp_test): Likewise.
46636 (exp10_test): Likewise.
46637 (exp2_test): Likewise.
46638 (expm1_test): Likewise.
46639 (fma_test): Likewise.
46640 (j0_test): Likewise.
46641 (jn_test): Likewise.
46642 (nexttoward_test): Likewise.
46643 (pow_test): Likewise.
46644 (scalbn_test): Likewise.
46645 (scalbln_test): Likewise.
46646 (tan_test): Likewise.
46647 (y1_test): Likewise.
46648 * sysdeps/i386/fpu/libm-test-ulps: Update.
46649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46651 2012-05-23 David S. Miller <davem@davemloft.net>
46653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46654 (__libc_sigaction): Remove unused local variables.
46656 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46658 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46660 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46662 mktime: avoid signed integer overflow
46663 * time/mktime.c (__mktime_internal): Do not mishandle the case
46664 where diff == INT_MIN.
46666 mktime: simplify computation of average
46667 * time/mktime.c (ranged_convert): Use new time_t_avg function
46668 instead of rolling our own (probably-slower) code.
46670 mktime: do not assume signed right shift propagates sign bit
46671 * time/mktime.c (isdst_differ): New static function.
46672 (__mktime_internal): No need to normalize tm_isdst now.
46673 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46676 mktime: merge another wrapv change from gnulib
46677 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46678 from some compilers.
46680 mktime: remove incorrect attempt at unusual arithmetics
46681 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46682 The code didn't really work on such machines anyway.
46683 (TYPE_MINIMUM): Assume two's complement.
46684 (twos_complement_arithmetic): Verify that long_int and time_t
46685 are two's complement (or unsigned, in the latter case).
46687 mktime: check signed shifts on long_int and time_t, too
46688 * time/mktime.c (SHR): Check that shifts work as desired
46689 on the types long_int and time_t too, as SHR is used on
46692 mktime: do not assume 'long' is wide enough
46693 * time/mktime.c (verify): Move decl up.
46694 (long_int): New type.
46695 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46696 to remove assumption in the code that 'long' is wide enough to
46697 store year values. This assumption is not true on x32 and on
46698 some non-glibc platforms.
46700 mktime: merge wrapv change from gnulib
46701 * time/mktime.c (WRAPV): New macro.
46702 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46703 (guess_time_tm, __mktime_internal): Do not assume that signed
46704 integer overflow wraps around; modern compilers generate code
46705 where this assumption is no longer valid.
46707 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46709 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46710 Replace "jmp L(pseudo_end)" with "ret".
46711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46714 2012-05-23 Andreas Jaeger <aj@suse.de>
46716 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46717 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46719 2012-05-23 Andreas Jaeger <aj@suse.de>
46720 Maximilian Attems <max@stro.at>
46722 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46725 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46728 code so that pseudo_end is just ret and the stack pointer is
46729 correct also for static library in error case.
46731 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46733 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46734 move to syscalls.list.
46735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46740 * manual/install.texi (Running make install): Do not mention Linux
46741 kernel version for which pt_chown is not needed.
46742 (Linux): Do not mention problems with nscd with 2.0 kernels.
46743 * INSTALL: Regenerated.
46745 2012-05-23 Andreas Jaeger <aj@suse.de>
46747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46748 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46750 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46752 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46754 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46760 * sysdeps/unix/sysv/linux/bits/in.h
46761 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46763 2012-05-22 Roland McGrath <roland@hack.frob.com>
46765 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46766 (PREPARE_VERSION): Just use assert instead, it will be elided
46767 under [NDEBUG] anyway.
46769 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46771 * sysdeps/unix/sysv/linux/Makefile: Include
46772 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46773 (sysdep_routines): Remove sysctl.
46774 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46775 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46776 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46777 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46778 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46780 2012-05-22 Andreas Jaeger <aj@suse.de>
46782 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46783 that pseudo_end is just ret and the stack pointer is correct also
46784 for static library in error case.
46786 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46789 * nss/nsswitch.c (defconfig_entries): New variable.
46790 (__nss_database_lookup): Don't leak defconfig entries.
46791 (nss_parse_service_list): Don't leak on error paths.
46792 (free_database_entries): New function.
46793 (free_defconfig): New function.
46794 (free_mem): Move common code to free_database_entries.
46796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46800 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46802 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46803 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46806 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46807 (INTERNAL_SYSCALL_TYPES): Likewise.
46808 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46809 (LOAD_REGS_TYPES_[1-6]): Likewise.
46810 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46811 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46813 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46815 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46816 copysignl for GLIBC_2_0.
46817 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46818 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46820 logbl for GLIBC_2_0.
46821 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46822 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46824 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46829 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46832 * time/mktime.c: Update copyright years.
46834 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46836 mktime: merge comment-quoting-style change from gnulib
46837 * time/mktime.c: Quote 'like this' in comments.
46838 The GNU coding standards suggest that we no longer quote `like this',
46839 as "`" and "'" are typically rendered asymmetrically nowadays.
46840 The typical gnulib style is to quote 'like this' when quoting
46841 code, and "like this" when quoting English.
46843 * time/mktime.c (compile-command): Add "-I.".
46845 mktime: merge mktime-internal.h change from gnulib
46846 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46848 mktime: merge time_r change from gnulib
46849 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46851 mktime: merge DEBUG change from gnulib
46852 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46853 case system <time.h> has a #define.
46855 mktime: merge <sys/types.h> change from gnulib
46856 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46857 since <time.t> is now guaranteed to define time_t.
46859 mktime: merge HAVE_CONFIG_H change from gnulib
46860 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46862 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46867 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46869 (struct rusage): Use anonymous union to pad each field to
46872 2012-05-21 David S. Miller <davem@davemloft.net>
46874 * Makefules (o-iterator): Remove .s cases.
46875 (compile-command.s): Delete.
46876 (COMPILE.s): Delete.
46877 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46879 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46881 * configure.in (libc_cv_predef_stack_protector): Only consider
46882 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46883 * configure: Regenerated.
46885 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46888 New macro. Use R*LP on int and pointer.
46889 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46890 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46891 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46892 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46894 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46895 [__WORDSIZE_TIME64_COMPAT32] instead of
46896 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46897 (struct utmp): Likewise.
46898 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46899 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46901 (__WORDSIZE_TIME64_COMPAT32): This.
46902 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46903 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46904 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46905 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46906 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46907 (__WORDSIZE_TIME64_COMPAT32): New macro.
46909 2012-05-21 Andreas Jaeger <aj@suse.de>
46911 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46912 only if [SHARED]. Add prototype for __wcschr_ia32.
46914 2012-05-21 Roland McGrath <roland@hack.frob.com>
46916 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46917 of %rbp unmolested in the jmp_buf while mangling the low bits.
46918 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46919 unmolested high bits of %rbp while demangling the low bits.
46920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46922 2012-05-21 Andreas Jaeger <aj@suse.de>
46924 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46925 * sunrpc/svc_simple.c: Use it for registerrpc.
46926 * sunrpc/xcrypt.c: Use it for passwd2des.
46928 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46930 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46932 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46933 Don't define if [__SYSCALL_WORDSIZE != 32].
46934 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46937 2012-05-21 Bruno Haible <bruno@clisp.org>
46938 Andreas Jaeger <aj@suse.de>
46940 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46941 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46942 inptr and inend for must_buffer_ch.
46943 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46944 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46945 * stdio-common/Makefile (tests): Remove bug15.
46946 (bug15-ENV): Remove macro.
46947 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46950 2012-05-19 Andreas Jaeger <aj@suse.de>
46951 Roland McGrath <roland@hack.frob.com>
46953 * manual/contrib.texi: Completely rewritten. It contains now an
46954 alphabetical list of contributors and their contributions.
46956 2012-05-21 Richard Henderson <rth@twiddle.net>
46958 * misc/getauxval.c (__getauxval): Use unsigned long int.
46959 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46960 (getauxval): Use unsigned long int.
46962 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46964 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46966 2012-05-21 Roland McGrath <roland@hack.frob.com>
46968 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46969 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46970 __alignof__ (long double).
46972 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46976 2012-05-20 Richard Henderson <rth@twiddle.net>
46978 * misc/getauxval.c: New file.
46979 * misc/sys/auxv.h: New file.
46980 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46981 (routines): Add getauxval.
46982 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46983 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46984 * elf/dl-sysdep.c (_dl_auxv): Remove.
46985 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46986 * elf/dl-support.c (_dl_auxv): New variable.
46987 (_dl_aux_init): Initialize it.
46988 * manual/startup.texi (Auxiliary Vector): New node.
46989 * sysdeps/generic/bits/hwcap.h: New file.
46990 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46991 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46992 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46993 * sysdeps/sparc/sysdep.h: ... here. Include it.
46994 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46995 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47007 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47011 2012-05-19 David S. Miller <davem@davemloft.net>
47013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47015 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47018 * math/s_ccosh.c: Include <float.h>
47019 (__ccosh): Avoid internal overflow calculating sinh and cosh
47020 values before multiplying by sin and cos values.
47021 * math/s_ccoshf.c: Likewise.
47022 * math/s_ccoshl.c: Likewise.
47023 * math/s_csin.c: Likewise.
47024 * math/s_csinf.c: Likewise.
47025 * math/s_csinl.c: Likewise.
47026 * math/s_csinh.c: Likewise.
47027 * math/s_csinhf.c: Likewise.
47028 * math/s_csinhl.c: Likewise.
47029 * math/libm-test.inc (ccos_test): Add more tests.
47030 (ccosh_test): Likewise.
47031 (csin_test): Likewise.
47032 (csinh_test): Likewise.
47033 * sysdeps/i386/fpu/libm-test-ulps: Update.
47034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47036 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47038 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47039 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47041 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47043 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47045 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47046 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47047 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47048 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47049 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47050 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47051 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47052 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47053 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47054 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47055 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47056 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47057 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47058 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47059 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47060 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47061 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47062 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47063 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47064 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47065 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47066 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47067 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47068 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47069 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47070 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47071 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47072 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47073 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47074 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47075 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47077 2012-05-18 Andreas Jaeger <aj@suse.de>
47079 * csu/.gitignore: Delete.
47081 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47083 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47084 (timex): Use __syscall_slong_t.
47086 2012-05-18 Andreas Jaeger <aj@suse.de>
47087 Carlos O'Donell <carlos_odonell@mentor.com>
47089 * manual/install.texi (Configuring and compiling): Update
47090 description about files modified in the source directory.
47091 * INSTALL: Regenerated.
47093 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47095 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47096 value. Use "or" to set return value to -1.
47097 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47098 negate return value.
47100 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47102 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47103 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47104 failure if the compiler has Graphite support disabled.
47105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47107 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47108 (CFLAGS-memmove.c): Likewise.
47109 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47112 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47114 * sysdeps/x86_64/x32/_itoa.h: New file.
47116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47117 getdents system call only if kernel and user dirents have the
47118 same d_ino and d_off.
47120 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47121 LLONG_MAX != LONG_MAX.
47122 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47123 (_fitoa_word): Likewise.
47125 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47128 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47129 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47132 include <bits/wordsize.h>. Check __x86_64__ instead of
47134 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47135 if __x86_64__ is defined. Use anonymous union on fpstate.
47137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47140 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47142 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47143 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47145 Refer to _rtld_local_ro instead of _rtld_global_ro.
47146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47148 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47150 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47152 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47153 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47154 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47156 * sysdeps/powerpc/powerpc32/dl-machine.c
47157 (__elf_machine_runtime_setup) [PROF]: Don't reference
47160 2012-05-18 Andreas Jaeger <aj@suse.de>
47162 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47163 function only available for GCCs before 3.4 since GCC 3.4
47164 introduced a builtin.
47166 (llrintf): Likewise.
47167 (llrint): Likewise.
47174 (nearbyint): Likewise.
47175 (nearbyintf): Likewise.
47179 (floorf): Likewise.
47181 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47183 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47184 on both fields and cast pointer to __syscall_ulong_t.
47186 * bits/types.h (__fsword_t): New type.
47187 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47188 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47190 (__FSWORD_T_TYPE): Likewise.
47191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47192 (__FSWORD_T_TYPE): Likewise.
47193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47194 (__FSWORD_T_TYPE): Likewise.
47195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47196 (__FSWORD_T_TYPE): Likewise.
47197 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47198 __SWORD_TYPE with __fsword_t.
47199 (statfs64): Likewise.
47201 2012-05-17 David S. Miller <davem@davemloft.net>
47203 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47205 2012-05-17 Andreas Jaeger <aj@suse.de>
47207 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47210 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47212 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47214 2012-05-17 Andreas Jaeger <aj@suse.de>
47216 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47219 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47221 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47223 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47225 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47226 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47228 2012-05-17 Andreas Jaeger <aj@suse.de>
47229 Carlos O'Donell <carlos_odonell@mentor.com>
47232 * sysdeps/x86_64/multiarch/init-arch.h
47233 (bit_YMM_Usable): Rename to...
47234 (bit_AVX_Usable): ... this.
47235 (bit_FMA4_Usable): New macro.
47236 (bit_XMM_state): New macro.
47237 (bit_YMM_state): New macro.
47238 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47239 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47240 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47241 (CPUID_OSXSAVE): New macro.
47242 (CPUID_AVX): New macro.
47243 (CPUID_FMA4): New macro.
47244 (index_YMM_Usable): Rename to...
47245 (index_AVX_Usable): ... this.
47246 (HAS_AVX): Use HAS_ARCH_FEATURE.
47247 (HAS_FMA4): Likewise.
47248 (HAS_YMM_USABLE): Remove.
47249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47250 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47252 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47253 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47254 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47255 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47256 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47258 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47260 * math/libm-test.c: Support platforms without multiple rounding modes.
47261 * math/bug-nextafter.c: Support platforms without FP exceptions.
47262 * math/bug-nexttoward.c: Likewise.
47263 * math/test-fenv.c: Likewise.
47264 * math/test-misc.c: Likewise.
47265 * stdlib/bug-getcontext.c: Likewise.
47267 2012-05-17 Andreas Jaeger <aj@suse.de>
47269 * manual/examples/search.c (critter_cmp): Change signature to
47271 * manual/string.texi (Collation Functions): Likewise.
47273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47275 * bits/types.h: Fold copyright years.
47276 * bits/typesizes.h: Likewise.
47277 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47281 * time/time.h: Likewise.
47283 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47286 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47287 in instead of returning them. Return void.
47288 (__libc_mallinfo): Accumulate over all arenas.
47289 (__malloc_stats): Adjust for change in int_mallinfo interface.
47291 2012-05-16 Roland McGrath <roland@hack.frob.com>
47294 * configure.in (NM): Add AC_CHECK_TOOL for it.
47295 (libc_extra_cflags): New substituted variable.
47296 Check for -fstack-protector being used implicitly.
47297 * configure: Regenerated.
47298 * config.make.in (config-extra-cflags): New variable,
47299 gets @libc_extra_cflags@.
47300 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47303 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47304 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47305 * configure: Regenerated.
47306 * config.make.in (CPPUNDEFS): New substituted variable.
47307 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47308 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47309 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47311 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47313 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47314 (mq_attr): Use __syscall_slong_t.
47316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47318 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47319 Check __x86_64__ instead of __WORDSIZE.
47320 (_STAT_VER_LINUX): Likewise.
47321 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47322 __syscall_ulong_t and __syscall_slong_t.
47323 (stat64): Likewise.
47325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47331 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47335 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47338 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47339 include <bits/wordsize.h>. Check __x86_64__ instead of
47341 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47343 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47346 include <bits/wordsize.h>. Check __x86_64__ instead of
47348 (user_regs_struct): Use "__extension__ unsigned long long"
47349 instead of "unsigned long" if __x86_64__ is defined.
47350 (user): Likewise. Pad after pointer field if __ILP32__ is
47353 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47355 * configure.in (makeinfo): Require version 4.5 or later. Allow
47357 * configure: Regenerated.
47358 * manual/install.texi (texinfo): Increase version requirement to
47360 * INSTALL: Regenerated.
47362 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47366 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47368 * sysdeps/x86_64/x32/ffs.c: New file.
47370 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47372 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47373 defined. Use __syscall_ulong_t.
47374 (shminfo): Use __syscall_ulong_t.
47375 (shm_info): Likewise.
47377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47380 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47382 (msgqnum_t): Use __syscall_ulong_t.
47383 (msglen_t): Likewise.
47384 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47387 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47390 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47392 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47393 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47395 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47399 include <bits/wordsize.h>. Check __x86_64__ instead of
47402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47403 "unsigned long long int" if __x86_64__ is defined.
47404 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47407 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47408 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47410 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47412 (GET_PC): Cast to uintptr_t first.
47413 (GET_FRAME): Likewise.
47414 (GET_STACK): Likewise.
47416 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47418 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47419 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47420 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47421 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47422 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47423 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47424 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47426 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47427 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47429 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47431 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47432 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47433 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47434 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47436 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47437 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47438 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47439 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47440 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47443 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47444 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47446 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47448 * Makerules (+depfiles): Also collect depfiles from .oS in
47450 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47451 .oS, $(libnldbl-routines)).
47453 * Makerules (native-compile-mkdep-flags): Define.
47454 * sunrpc/Makefile (extra-objs): Add $(addprefix
47455 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47456 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47457 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47458 calling $(make-target-directory).
47460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47462 * bits/types.h (__snseconds_t): Removed.
47463 * time/time.h (struct timespec): Replace __snseconds_t with
47465 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47466 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47469 (__SNSECONDS_T_TYPE): Likewise.
47470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47471 (__SNSECONDS_T_TYPE): Likewise.
47472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47473 (__SNSECONDS_T_TYPE): Likewise.
47475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47477 * sysdeps/mach/hurd/bits/typesizes.h
47478 (__SYSCALL_SLONG_TYPE): New macro.
47479 (__SYSCALL_ULONG_TYPE): Likewise.
47481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47483 * bits/types.h (__syscall_slong_t): New type.
47484 (__syscall_ulong_t): Likewise.
47486 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47487 (__SYSCALL_ULONG_TYPE): Likewise.
47488 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47489 (__SYSCALL_SLONG_TYPE): Likewise.
47490 (__SYSCALL_ULONG_TYPE): Likewise.
47491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47492 (__SYSCALL_SLONG_TYPE): Likewise.
47493 (__SYSCALL_ULONG_TYPE): Likewise.
47494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47495 (__SYSCALL_SLONG_TYPE): Likewise.
47496 (__SYSCALL_ULONG_TYPE): Likewise.
47498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47500 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47501 Add sigaltstack-offsets.sym.
47502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47503 <sigaltstack-offsets.h>.
47504 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47505 longjmp_msg pointer.
47506 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47507 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47509 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47511 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47513 * elf/stackguard-macros.h: Remove file.
47514 * sysdeps/generic/stackguard-macros.h: New file.
47515 * sysdeps/i386/stackguard-macros.h: Likewise.
47516 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47517 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47518 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47519 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47520 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47521 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47522 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47523 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47524 <elf/stackguard-macros.h>.
47527 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47528 __aligned__ in attribute.
47529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47530 (gregset_t): Likewise.
47532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47534 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47535 * sysdeps/x86_64/64/Implies-after: Here. New file.
47536 * sysdeps/x86_64/x32/Implies-after: New file.
47538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47540 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47541 and access return value for _dl_profile_fixup. Use R10_LP to
47544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47546 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47550 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47551 * sysdeps/x86_64/x32/sysdep.h: New file.
47553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47555 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47556 * sysdeps/x86_64/setjmp.S: Likewise.
47558 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47560 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47561 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47562 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47564 remove unused global constant.
47566 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47568 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47569 include of <not-cancel.h>.
47571 2012-05-15 Roland McGrath <roland@hack.frob.com>
47573 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47575 2012-05-15 Jeff Law <law@redhat.com>
47576 Andreas Jaeger <aj@suse.de>
47579 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47581 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47582 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47584 code changing __hst_map_handle.map.
47586 2012-05-15 Roland McGrath <roland@hack.frob.com>
47588 * configure.in (sysnames): Look for Implies-before and Implies-after
47590 * configure: Regenerated.
47592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47594 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47595 8-byte data alignment with LP_SIZE alignment.
47597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47604 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47609 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47616 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47617 (stackinfo_sub_sp): Likewise.
47619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47636 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47640 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47641 into R11_LP and load __x86_64_shared_cache_size_half into
47644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47649 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47658 powerpc32/power7/fpu/s_logb.c via #include.
47659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47660 powerpc32/power7/fpu/s_logbf.c via #include.
47661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47662 powerpc32/power7/fpu/s_logbl.c via #include.
47664 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47666 * README.libm: Remove file.
47668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47670 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47671 count for x32. Use R*_LP and omit operand-size suffix.
47673 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47675 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47676 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47677 * sysdeps/x86_64/x32/shlib-versions: New file.
47679 2012-05-14 Roland McGrath <roland@hack.frob.com>
47681 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47682 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47683 Use _dl_fatal_printf instead.
47685 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47687 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47688 set if not set by the user. Do not allow for being unset.
47689 * sysdeps/unix/sysv/linux/configure: Regenerated.
47691 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47693 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47694 the `q' suffix from lea and replace .quad with ASM_ADDR.
47696 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47699 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47701 (PTR_DEMANGLE): Likewise.
47703 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47705 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47707 (ASM_ADDR): Likewise.
47708 (RAX_LP): Likewise.
47709 (RBP_LP): Likewise.
47710 (RBX_LP): Likewise.
47711 (RCX_LP): Likewise.
47712 (RDI_LP): Likewise.
47713 (RSI_LP): Likewise.
47714 (RSP_LP): Likewise.
47717 (R10_LP): Likewise.
47718 (R10_LP): Likewise.
47719 (R11_LP): Likewise.
47720 (R12_LP): Likewise.
47721 (R13_LP): Likewise.
47722 (R14_LP): Likewise.
47723 (R15_LP): Likewise.
47725 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47727 * sysdeps/x86_64/x32/dl-machine.h: New file.
47729 2012-05-14 Andreas Jaeger <aj@suse.de>
47731 * manual/Makefile (subdir): Remove export of subdir.
47732 (all): Remove target.
47733 (.PHONY): Remove all from list.
47734 (mkinstalldirs): Remove.
47735 (.PHONY): Remove installdirs from list.
47736 ($(inst_infodir)/libc.info): Use make-target-directory.
47737 (installdirs): Remove.
47738 (subdir_%): Remove.
47739 (glibc-targets): Remove.
47742 ($(objpfx)stubs ../po/manual.pot): Remove.
47743 ($(objpfx)stamp%): Remove.
47744 (make-target-directory): Remove.
47745 (subdir_install): Remove.
47746 (routines): Remove.
47753 * manual/.gitignore: Remove, it's not needed anymore.
47754 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47756 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47758 (texis): Renamed to $(objpfx)texis.
47759 (texis-path): New, contains path to generated files.
47760 (chapters.%): Use texis-path for complete path, add extra argument
47762 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47763 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47764 (summary,texi, stamp-summary): Use complete path of
47765 files. Generate files in build dir.
47766 (dir-add.texi): Build in build dir.
47767 (libm-err.texi,stamp-libm-err): Likewise.
47768 (version.texi, stamp-version): Likewise.
47769 (.%c.texi): Likewise.
47770 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47771 (mostlyclean): Remove target.
47772 (realclean): Remove target.
47773 (generated): Add new variable with contents from mostlyclean and
47774 realclean, remove entries duplicated in common-mostlyclean, add
47775 stamp-libm-err and stamp-version.
47776 (generated-dirs): Add libc directory.
47777 ($(inst_infodir)/libc.info): Install files from build dir.
47779 * manual/install.texi (Configuring and compiling): Adjust since
47780 the info files are not part of the tar ball anymore.
47782 2012-05-14 Andreas Jaeger <aj@suse.de>
47784 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47787 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47791 to 2.2.0 where earlier.
47792 * sysdeps/unix/sysv/linux/configure: Regenerated.
47793 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47794 Remove conditional code.
47795 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47796 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47797 Remove conditional code.
47798 [!__NR_lchown]: Likewise.
47799 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47800 [__NR_lchown]: Likewise.
47801 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47802 comment referencing __ASSUME_LCHOWN_SYSCALL.
47803 * sysdeps/unix/sysv/linux/i386/sigaction.c
47804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47806 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47807 Remove conditional code.
47808 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47809 (__protocol_available): Remove #if 0 code.
47810 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47812 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47813 * sysdeps/unix/sysv/linux/kernel-features.h
47814 (__ASSUME_GETCWD_SYSCALL): Don't define.
47815 (__ASSUME_REALTIME_SIGNALS): Likewise.
47816 (__ASSUME_PREAD_SYSCALL): Likewise.
47817 (__ASSUME_PWRITE_SYSCALL): Likewise.
47818 (__ASSUME_POLL_SYSCALL): Likewise.
47819 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47820 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47822 (__ASSUME_SIOCGIFNAME): Don't define.
47823 (__ASSUME_MSG_NOSIGNAL): Likewise.
47824 (__ASSUME_SENDFILE): Define unconditionally.
47825 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47826 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47828 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47829 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47830 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47831 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47832 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47833 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47834 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47836 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47842 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47859 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47860 Remove conditional code.
47861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47862 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47863 Remove conditional code.
47864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47865 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47866 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47867 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47868 Remove conditional code.
47869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47870 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47871 Remove conditional code.
47872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47873 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47874 Remove conditional code.
47875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47876 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47877 Remove conditional code.
47878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47879 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47880 Remove conditional code.
47881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47882 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47885 * sysdeps/unix/sysv/linux/sigaction.c
47886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47888 * sysdeps/unix/sysv/linux/sigpending.c
47889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47891 * sysdeps/unix/sysv/linux/sigprocmask.c
47892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47894 * sysdeps/unix/sysv/linux/sigsuspend.c
47895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47897 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47898 (__libc_missing_rt_sigs): Remove.
47899 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47900 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47901 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47902 Remove conditional code.
47903 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47904 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47907 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47908 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47909 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47911 2012-05-14 Andreas Jaeger <aj@suse.de>
47913 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47914 it's not used in glibc.
47915 (__coshm1): Likewise.
47916 (__acosh1p): Likewise.
47919 * manual/string.texi (Copying and Concatenation): Add missing
47920 variable in concat example.
47921 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47927 __builtin_clzl with __builtin_clzll.
47929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47932 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47935 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47937 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47938 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47939 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47942 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47944 * NEWS: Update ia64 info.
47946 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47948 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47951 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47953 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47954 * sysdeps/unix/syscalls.list (dup3): Likewise.
47955 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47956 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47958 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47960 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47961 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47963 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47965 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47967 (TLS_IE): Use mov/add instead of movq/addq to load thread
47969 (TLS_GD_PREFIX): New.
47972 2012-05-11 David S. Miller <davem@davemloft.net>
47974 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47975 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47976 (_FPU_SETCW): Likewise.
47978 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47980 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47981 is 32-byte aligned.
47983 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47986 * iconvdata/gb18030.c: Update tables.
47987 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47988 characters specially.
47989 (BODY for TO_LOOP): Add encoding of missing ranges.
47991 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47994 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47995 * sysdeps/mach/hurd/dup3.c: Likewise.
47996 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47997 * sysdeps/powerpc/memmove.c:: Likewise.
47999 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48002 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48004 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48006 * elf/elf.h (R_X86_64_RELATIVE64): New.
48007 (R_X86_64_NUM): Updated.
48008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48009 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48010 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48011 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48012 tst-quad1pie tst-quad2pie
48013 (modules-names): Add tst-quadmod1 tst-quadmod2.
48014 ($(objpfx)tst-quad1): New dependency.
48015 ($(objpfx)tst-quad2): Likewise.
48016 ($(objpfx)tst-quad1pie): Likewise.
48017 ($(objpfx)tst-quad2pie): Likewise.
48018 * sysdeps/x86_64/tst-quad1.c: New file.
48019 * sysdeps/x86_64/tst-quad1pie.c: New file.
48020 * sysdeps/x86_64/tst-quad2.c: Likewise.
48021 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48022 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48023 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48024 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48025 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48029 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48030 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48031 * streams/stropts.h (t_scalar_t): Define type.
48033 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48034 (_PATH_PRESERVE): Set to "/var/lib".
48035 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48037 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48040 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48041 if __dir_mkfile succeeded.
48043 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48044 checking for _hurd_dtablesize. Unlock it right after having
48045 finished _hurd_dtable allocation.
48047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48049 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48050 * sysdeps/mach/hurd/configure: Regenerated.
48051 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48052 special-casing to...
48053 * sysdeps/gnu/configure.in: ... this new file.
48054 * sysdeps/unix/sysv/linux/configure: Regenerated.
48055 * sysdeps/gnu/configure: New generated file.
48057 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48058 for Linux: use nsec instead of usec, as well as:
48059 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48060 members of type struct timespec.
48061 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48063 (struct stat64): Likewise.
48064 (_STATBUF_ST_NSEC): New macro.
48065 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48068 __strtoul_internal rather than strtoul.
48070 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48072 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48077 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48078 which preserves existing values.
48079 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48081 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48083 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48084 TIMEOUT values. Return EINVAL for NFDS values either negative or
48085 greater than FD_SETSIZE.
48087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48089 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48090 allocated, call __vm_protect to finish enabling the existing space, and
48091 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48092 allocate the remainder.
48094 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48096 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48097 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48101 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48102 sysdeps/mach/hurd/readlink.c.
48104 * posix/tst-sysconf.c (posix_options): Only use
48105 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48106 _POSIX_SYNCHRONIZED_IO when they are defined
48107 * sysdeps/mach/hurd/bits/posix_opt.h:
48108 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48109 (_XOPEN_REALTIME): Undefine macro.
48110 (_XOPEN_REALTIME_THREADS): Undefine macro.
48111 (_XOPEN_SHM): Undefine macro.
48112 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48114 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48116 (_POSIX_ASYNC_IO): Undefine macro.
48117 (_POSIX_PRIORITIZED_IO): Undefine macro.
48118 (_POSIX_SPIN_LOCKS): Define macro to -1.
48120 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48121 SA_NODEFER, SA_RESETHAND.
48122 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48123 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48128 * elf/Makefile (pldd-modules): Define unconditionally.
48130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48132 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48134 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48136 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48137 Return ENOENT when name is empty.
48138 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48140 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48142 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48144 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48148 Fix mlock in all cases except non-readable pages.
48149 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48150 instead of VM_PROT_ALL as parameter to __vm_wire function.
48152 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48153 (__mkdir): When path is `/', just fail with EEXIST.
48154 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48158 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48159 <sys/uio.h> (for writev).
48160 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48161 and <sys/param.h> (for MIN).
48163 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48165 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48166 REQUESTED_TIME. Properly set the remaining time and return EINTR
48169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48171 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48172 Depend on against $(link-rpcuserlibs).
48174 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48176 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48177 (__libc_stack_end): Do not use attribute_relro.
48178 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48179 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48180 to libthread-provided value.
48181 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48187 * bits/libc-lock.h (__libc_once_get): New macro.
48188 * sysdeps/mach/bits/libc-lock.h: Likewise.
48189 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48191 instead of using implementation details.
48193 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48194 * libio/freopen.c: Likewise.
48195 * libio/freopen64.c: Likewise.
48196 * misc/syslog.c: Likewise.
48197 * nscd/connections.c: Likewise.
48198 * nscd/netgroupcache.c: Likewise.
48199 * sysdeps/posix/getcwd.c: Likewise.
48201 2012-05-10 Roland McGrath <roland@hack.frob.com>
48203 * math/w_ilogbf.c: Add #include <limits.h>.
48205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48207 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48208 path instead of returning without unlocking.
48210 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48211 immediate-write ioctls.
48212 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48214 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48216 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48217 __builtin_frame_address instead of making assumptions about the
48218 location of the return address relative to DATA. Force early load of
48219 the return address.
48220 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48221 __builtin_frame_address.
48224 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48225 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48226 implement dup3 and do some further code clean-ups.
48227 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48228 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48232 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48234 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48235 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48236 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48237 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48238 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48241 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48242 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48243 when handler == SIG_ERR, not when handler != SIG_ERR.
48245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48247 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48248 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48251 accept4 for GNU Hurd.
48252 * include/sys/socket.h (__libc_accept4): New prototype.
48253 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48254 to implement __libc_accept4.
48255 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48257 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48259 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48260 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48261 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48262 signal-defines.sym.
48264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48266 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48270 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48271 assertion on O_CLOEXEC flag.
48272 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48273 * hurd/intern-fd.c: Likewise.
48274 * hurd/port2fd.c: Likewise.
48276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48279 * bits/in.h (IPV6_PKTINFO): Define new macro.
48280 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48282 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48287 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48289 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48290 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48292 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48293 * math/libm-test.inc (logb_test) : Additional logb tests.
48295 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48296 Andreas Jaeger <aj@suse.de>
48298 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48299 * configure: Regenerated.
48300 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48301 * config.make.in (link-obsolete-rpc): New substituted variable.
48302 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48303 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48304 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48305 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48306 so that libc.a contains the symbols.
48307 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48308 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48309 * sunrpc/auth_none.c: Likewise.
48310 * sunrpc/auth_unix.c: Likewise.
48311 * sunrpc/authdes_prot.c: Likewise.
48312 * sunrpc/authuxprot.c: Likewise.
48313 * sunrpc/clnt_gen.c: Likewise.
48314 * sunrpc/clnt_perr.c: Likewise.
48315 * sunrpc/clnt_raw.c: Likewise.
48316 * sunrpc/clnt_simp.c: Likewise.
48317 * sunrpc/clnt_tcp.c: Likewise.
48318 * sunrpc/clnt_udp.c: Likewise.
48319 * sunrpc/clnt_unix.c: Likewise.
48320 * sunrpc/des_crypt.c: Likewise.
48321 * sunrpc/des_soft.c: Likewise.
48322 * sunrpc/get_myaddr.c: Likewise.
48323 * sunrpc/key_call.c: Likewise.
48324 * sunrpc/key_prot.c: Likewise.
48325 * sunrpc/netname.c: Likewise.
48326 * sunrpc/pm_getmaps.c: Likewise.
48327 * sunrpc/pm_getport.c: Likewise.
48328 * sunrpc/pmap_clnt.c: Likewise.
48329 * sunrpc/pmap_prot.c: Likewise.
48330 * sunrpc/pmap_prot2.c: Likewise.
48331 * sunrpc/pmap_rmt.c: Likewise.
48332 * sunrpc/publickey.c: Likewise.
48333 * sunrpc/rpc_cmsg.c: Likewise.
48334 * sunrpc/rpc_common.c: Likewise.
48335 * sunrpc/rpc_dtable.c: Likewise.
48336 * sunrpc/rpc_prot.c: Likewise.
48337 * sunrpc/rpc_thread.c: Likewise.
48338 * sunrpc/rtime.c: Likewise.
48339 * sunrpc/svc.c: Likewise.
48340 * sunrpc/svc_auth.c: Likewise.
48341 * sunrpc/svc_raw.c: Likewise.
48342 * sunrpc/svc_run.c: Likewise.
48343 * sunrpc/svc_tcp.c: Likewise.
48344 * sunrpc/svc_udp.c: Likewise.
48345 * sunrpc/svc_unix.c: Likewise.
48346 * sunrpc/svcauth_des.c: Likewise.
48347 * sunrpc/xcrypt.c: Likewise.
48348 * sunrpc/xdr.c: Likewise.
48349 * sunrpc/xdr_array.c: Likewise.
48350 * sunrpc/xdr_float.c: Likewise.
48351 * sunrpc/xdr_intXX_t.c: Likewise.
48352 * sunrpc/xdr_mem.c: Likewise.
48353 * sunrpc/xdr_rec.c: Likewise.
48354 * sunrpc/xdr_ref.c: Likewise.
48355 * sunrpc/xdr_sizeof.c: Likewise.
48356 * sunrpc/xdr_stdio.c: Likewise.
48358 2012-05-10 Roland McGrath <roland@hack.frob.com>
48360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48361 change. Update copyright years.
48363 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48365 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48367 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48368 Joseph Myers <joseph@codesourcery.com>
48369 Paul Pluzhnikov <ppluzhnikov@google.com>
48372 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48374 [cross-compiling] (extra-libs): Likewise.
48375 [cross-compiling] (extra-libs-others): Likewise.
48376 [cross-compiling] (librpcsvc-routines): Likewise.
48377 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48378 [cross-compiling] (omit-deps): Likewise.
48379 (sunrpc-CPPFLAGS): New variable.
48380 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48381 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48382 (cross-rpcgen-objs): New variable.
48383 (extra-objs): Append $(cross-rpcgen-objs).
48384 ($(cross-rpcgen-objs)): New rule.
48385 ($(objpfx)cross-rpcgen): Likewise.
48386 (rpcgen-cmd): Define to use $(built-program-file). Expand
48388 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48389 ($(objpfx)x%.stmp): Likewise.
48390 * sunrpc/proto.h [IS_IN_build] (_): Define.
48391 [IS_IN_build] (_libc_intl_domainname): Likewise.
48393 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48396 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48397 and R_X86_64_TPOFF64.
48399 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48401 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48402 sysdeps/unix/sysv/syscalls.list.
48405 * sysdeps/unix/sysv/syscalls.list: Remove file.
48407 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48410 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48411 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48412 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48413 (__LC_IDENTIFICATION): Make these macros useful in #if
48414 expressions, as required by C99.
48416 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48418 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48419 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48422 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48424 * stdlib/longlong.h: Updated from GCC.
48426 2012-05-09 Andreas Jaeger <aj@suse.de>
48428 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48429 default is first entry.
48430 (run_mode): Set type.
48431 (main): Remove informal message about syslog.
48432 (options): Fix typo.
48435 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48438 (llrintf): Likewise.
48439 (llrint): Likewise.
48442 (nearbyint): Likewise.
48443 (nearbyintf): Likewise.
48445 2012-05-09 Andreas Jaeger <aj@suse.de>
48446 Pedro Alves <palves@redhat.com>
48448 * nscd/nscd.c (run_mode): Use enum.
48449 (main): Cleanup coding style issue.
48451 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48452 Andreas Jaeger <aj@suse.de>
48454 * nscd/nscd.c (go_background): Replaced with...
48455 (run_mode): ... this.
48456 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48457 (options): Add -F --foreground.
48458 (main): Implement it.
48459 (parse_opt): Parse it.
48461 2012-05-09 Andreas Jaeger <aj@suse.de>
48464 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48465 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48466 -Wconversion warning.
48467 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48470 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48472 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48474 (LC_ALL): Use macro-int-constant.
48475 (LC_COLLATE): Likewise.
48476 (LC_CTYPE): Likewise.
48477 (LC_MESSAGES): Likewise.
48478 (LC_MONETARY): Likewise.
48479 (LC_NUMERIC): Likewise.
48480 (LC_TIME): Likewise.
48481 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48482 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48484 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48486 [C99-based standards] (float_t): Expect type.
48487 [C99-based standards] (double_t): Expect type.
48488 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48490 [C99-based standards] (HUGE_VALL): Likewise.
48491 [C99-based standards] (INFINITY): Likewise.
48492 [C99-based standards] (NAN): Likewise.
48493 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48494 [C99-based standards] (FP_NAN): Likewise.
48495 [C99-based standards] (FP_NORMAL): Likewise.
48496 [C99-based standards] (FP_SUBNORMAL): Likewise.
48497 [C99-based standards] (FP_ZERO): Likewise.
48498 [C99-based standards] (FP_FAST_FMA): Use
48499 optional-macro-int-constant. Specify type. Require == 1.
48500 [C99-based standards] (FP_FAST_FMAF): Likewise.
48501 [C99-based standards] (FP_FAST_FMAL): Likewise.
48502 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48503 [C99-based standards] (FP_ILOGBNAN): Likewise.
48504 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48506 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48507 [C99-based standards] (math_errhandling): Specify type.
48508 [ISO99 || ISO11] (signgam): Do not allow.
48509 [non-C99-based standards] (copysignf): Do not allow.
48510 [non-C99-based standards] (exp2f): Likewise.
48511 [non-C99-based standards] (log2f): Likewise.
48512 [non-C99-based standards] (modff): Allow.
48513 [non-C99-based standards] (erff): Do not allow.
48514 [non-C99-based standards] (erfcf): Likewise.
48515 [non-C99-based standards] (gammaf): Likewise.
48516 [non-C99-based standards] (hypotf): Likewise.
48517 [non-C99-based standards] (j0f): Likewise.
48518 [non-C99-based standards] (j1f): Likewise.
48519 [non-C99-based standards] (jnf): Likewise.
48520 [non-C99-based standards] (lgammaf): Likewise.
48521 [non-C99-based standards] (tgammaf): Likewise.
48522 [non-C99-based standards] (y0f): Likewise.
48523 [non-C99-based standards] (y1f): Likewise.
48524 [non-C99-based standards] (ynf): Likewise.
48525 [non-C99-based standards] (isnanf): Likewise.
48526 [non-C99-based standards] (acoshf): Likewise.
48527 [non-C99-based standards] (asinhf): Likewise.
48528 [non-C99-based standards] (atanhf): Likewise.
48529 [non-C99-based standards] (cbrtf): Likewise.
48530 [non-C99-based standards] (expm1f): Likewise.
48531 [non-C99-based standards] (ilogbf): Likewise.
48532 [non-C99-based standards] (log1pf): Likewise.
48533 [non-C99-based standards] (logbf): Likewise.
48534 [non-C99-based standards] (nextafterf): Likewise.
48535 [non-C99-based standards] (remainderf): Likewise.
48536 [non-C99-based standards] (rintf): Likewise.
48537 [non-C99-based standards] (scalbf): Likewise.
48538 [non-C99-based standards] (copysignl): Likewise.
48539 [non-C99-based standards] (exp2l): Likewise.
48540 [non-C99-based standards] (log2l): Likewise.
48541 [non-C99-based standards] (modfl): Allow.
48542 [non-C99-based standards] (erfl): Do not allow.
48543 [non-C99-based standards] (erfcl): Likewise.
48544 [non-C99-based standards] (gammal): Likewise.
48545 [non-C99-based standards] (hypotl): Likewise.
48546 [non-C99-based standards] (j0l): Likewise.
48547 [non-C99-based standards] (j1l): Likewise.
48548 [non-C99-based standards] (jnl): Likewise.
48549 [non-C99-based standards] (lgammal): Likewise.
48550 [non-C99-based standards] (tgammal): Likewise.
48551 [non-C99-based standards] (y0l): Likewise.
48552 [non-C99-based standards] (y1l): Likewise.
48553 [non-C99-based standards] (ynl): Likewise.
48554 [non-C99-based standards] (isnanl): Likewise.
48555 [non-C99-based standards] (acoshl): Likewise.
48556 [non-C99-based standards] (asinhl): Likewise.
48557 [non-C99-based standards] (atanhl): Likewise.
48558 [non-C99-based standards] (cbrtl): Likewise.
48559 [non-C99-based standards] (expm1l): Likewise.
48560 [non-C99-based standards] (ilogbl): Likewise.
48561 [non-C99-based standards] (log1pl): Likewise.
48562 [non-C99-based standards] (logbl): Likewise.
48563 [non-C99-based standards] (nextafterl): Likewise.
48564 [non-C99-based standards] (remainderl): Likewise.
48565 [non-C99-based standards] (rintl): Likewise.
48566 [non-C99-based standards] (scalbl): Likewise.
48567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48568 [non-C99-based standards] (FP_*): Do not allow.
48569 [C99-based standards] (FP_*): Change to
48570 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48571 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48573 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48574 (SIG_ERR): Likewise.
48575 [X/Open-based standards] (SIG_HOLD): Likewise.
48576 (SIG_IGN): Likewise.
48577 (SIGABRT): Use macro-int-constant. Specify type. Require
48579 (SIGFPE): Likewise.
48580 (SIGILL): Likewise.
48581 (SIGINT): Likewise.
48582 (SIGSEGV): Likewise.
48583 (SIGTER): Likewise.
48584 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48585 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48586 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48587 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48588 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48589 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48590 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48591 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48592 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48593 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48594 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48595 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48596 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48597 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48598 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48599 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48600 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48601 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48602 [X/Open-based standards] (SIGTRAP): Likewise.
48603 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48604 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48605 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48606 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48607 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48610 2012-05-08 Ian Wienand <ianw@vmware.com>
48613 * time/tzset.c (__tzset_parse_tz): Update default rules for
48614 daylight time changes in the Energy Policy Act of 2005.
48616 2012-05-09 Andreas Jaeger <aj@suse.de>
48619 * elf/ldconfig.c (parse_conf): Change string to make clear that
48620 ldconfig only issued a warning if ld.so.conf does not exist.
48622 2012-05-08 David S. Miller <davem@davemloft.net>
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48625 movxtod instead of popping the value on the stack.
48627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48629 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48631 * config.h.in: Add HAVE_ARM_PCS_VFP.
48633 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48636 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48637 checking but the checks are disabled for any reason.
48639 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48641 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48642 and ELF64_R_TYPE with ELFW(R_TYPE).
48644 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48646 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48647 (ulimit): Likewise.
48649 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48650 (settimeofday): Likewise.
48652 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48654 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48655 a struct th_u2 inside the union, and move tu_block/tu_code into
48656 a new th_u3 union of tu_block/tu_code inside of that. Move
48657 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48658 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48659 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48660 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48661 (th_stuff): Change to th_u1.tu_stuff.
48663 (th_msg): Change to th_u1.th_u2.tu_data.
48665 2012-05-07 David S. Miller <davem@davemloft.net>
48667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48670 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48671 (SETUP_PIC_REG): Use it.
48672 (SETUP_PIC_REG_LEAF): Use it.
48674 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48680 (EXPL_FINITE): Likewise.
48681 (FLDLOG): Likewise.
48682 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48683 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48687 (EXPL_FINITE): Likewise.
48688 (FLDLOG): Likewise.
48689 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48690 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48692 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48693 test of -max_value argument for long double.
48694 * sysdeps/i386/fpu/libm-test-ulps: Update.
48695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48697 2012-05-06 David S. Miller <davem@davemloft.net>
48699 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48700 quad soft-float symbols whose references which are compiler
48702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48704 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48708 * sysdeps/i386/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 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48719 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48720 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48722 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48725 (EXPL_FINITE): Likewise.
48726 (FLDLOG): Likewise.
48729 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48730 Adjust comments for base varying.
48731 (__expl_finite): Change alias to EXPL_FINITE.
48732 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48737 * math/libm-test.inc (check_float_internal): Correct ulp
48738 calculation for subnormal expected results.
48740 2012-05-06 Andreas Jaeger <aj@suse.de>
48742 * Makeconfig (+math-flags): New, set to -frounding-math.
48743 (+cflags): Add +math-flags so that all of glibc gets compiled with
48746 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48748 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48750 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48756 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48757 (__ieee754_expl): Allow for and saturate large arguments.
48758 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48759 (u_threshold): Likewise.
48760 (__exp): Call __ieee754_exp before checking for overflow and
48762 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48763 (u_threshold): Likewise.
48764 (__expf): Call __ieee754_expf before checking for overflow and
48766 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48767 (u_threshold): Likewise.
48768 (__expl): Call __ieee754_expl before checking for overflow and
48770 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48771 (__ieee754_expl): Allow for and saturate large arguments.
48772 * math/libm-test.inc (exp_test): Add another test. Do not allow
48773 missing overflow exception on overflow.
48774 (expm1_test): Do not allow missing overflow exception on overflow.
48776 * sysdeps/i386/fpu/e_expl.c: Move to ...
48777 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48778 rather than using inline asm.
48779 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48780 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48781 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48783 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48786 (signal): Likewise.
48790 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48792 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48793 sysdeps/unix/common/syscalls.list.
48794 (fchmod): Likewise.
48795 (fchown): Likewise.
48796 (ftruncate): Likewise.
48797 (getrusage): Likewise.
48798 (gettimeofday): Likewise.
48799 (setpgid): Likewise.
48800 (setregid): Likewise.
48801 (setreuid): Likewise.
48802 (sigaction): Likewise.
48803 (truncate): Likewise.
48804 (vhangup): Likewise.
48805 * sysdeps/unix/common/syscalls.list: Remove file.
48806 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48807 * sysdeps/unix/sysv/linux/Implies: Likewise.
48809 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48811 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48813 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48817 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48820 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48823 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48826 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48829 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48832 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48835 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48839 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48843 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48846 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48850 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48854 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48856 * sysdeps/unix/common/bits/dirent.h: Remove file.
48857 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48859 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48860 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48861 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48862 * sysdeps/unix/bsd/isatty.c: Likewise.
48863 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48864 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48865 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48867 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48871 long double comparison inaccuracies.
48872 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48875 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48877 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48880 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48884 nonzero digits before rounding a hex value.
48885 * stdlib/tst-strtod.c (tests): Add another test.
48887 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48889 * sysdeps/s390/fpu/libm-test-ulps: Update.
48891 2012-05-03 Andreas Jaeger <aj@suse.de>
48893 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48894 does not get optimized out.
48895 (malloc_opt_barrier): New.
48897 2012-05-03 Andreas Jaeger <aj@suse.de>
48898 Roland McGrath <roland@hack.frob.com>
48900 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48901 intermediate file deletion.
48902 (generated): Add .symlist files.
48904 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48907 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48908 Redirect under this condition.
48909 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48910 [__USE_GNU] (__dprintf_chk): Not under this condition.
48911 [__USE_GNU] (__vdprintf_chk): Likewise.
48912 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48913 under this condition.
48914 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48915 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48916 [__USE_XOPEN2K8] (vdprintf): Likewise.
48917 [__USE_GNU] (__dprintf_chk): Not under this condition.
48918 [__USE_GNU] (__vdprintf_chk): Likewise.
48919 [__USE_GNU] (dprintf): Likewise.
48920 [__USE_GNU] (vdprintf): Likewise.
48922 2012-05-03 Roland McGrath <roland@hack.frob.com>
48924 * elf/Makefile (common-generated): Set this instead of generated for
48925 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48926 $(all-built-dso)-derived lists.
48928 2012-05-03 Andreas Jaeger <aj@suse.de>
48930 * sysdeps/i386/fpu/libm-test-ulps: Update.
48933 * FAQ.in: Likewise.
48934 * scripts/gen-FAQ.pl: Likewise.
48935 * manual/install.texi (Installation): Point to online location of
48937 * Makefile (files-for-dist): Remove FAQ.
48940 2012-05-02 Allan McRae <allan@archlinux.org>
48942 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48943 (LDFLAGS-reldepmod5.so): Likewise.
48944 (LDFLAGS-reldep6mod1.so): Likewise.
48945 (LDFLAGS-reldep6mod4.so): Likewise.
48946 (LDFLAGS-reldep8mod3.so): Likewise.
48947 (LDFLAGS-unload4mod1.so): Likewise.
48948 (LDFLAGS-unload4mod2.so): Likewise.
48949 (LDFLAGS-tst-initorder): Likewise.
48950 (LDFLAGS-tst-initordera2.so): Likewise.
48951 (LDFLAGS-tst-initordera3.so): Likewise.
48952 (LDFLAGS-tst-initordera4.so): Likewise.
48953 (LDFLAGS-tst-initorderb2.so): Likewise.
48954 (LDFLAGS-noload): Likewise.
48955 (LDFLAGS-next): Likewise.
48956 (LDFLAGS-order2mod1.so): Likewise.
48957 (LDFLAGS-order2mod2.so): Likewise.
48958 (LDFLAGS-tst-initorder2): Likewise.
48959 (LDFLAGS-tst-initorder2a.so): Likewise.
48960 (LDFLAGS-tst-initorder2b.so): Likewise.
48961 (LDFLAGS-tst-initorder2c.so): Likewise.
48962 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48964 2012-05-02 David S. Miller <davem@davemloft.net>
48966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48968 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48971 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48973 2012-05-02 Andreas Jaeger <aj@suse.de>
48975 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48976 since we manipulate rounding mode.
48977 (CPPFLAGS-test-idouble.c): Likewise.
48978 (CPPFLAGS-test-ifloat.c): Likewise.
48979 (CFLAGS-test-ldouble.c): Likewise.
48980 (CFLAGS-test-double.c): Likewise.
48981 (CFLAGS-test-float.c): Likewise.
48982 (CFLAGS-test-misc.c): Likewise.
48983 (CFLAGS-test-test-fenv.c): Likewise.
48985 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48990 comparisons to determine direction to adjust input.
48992 2012-05-01 Roland McGrath <roland@hack.frob.com>
48994 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48995 output to the target.
48997 * scripts/localplt.awk: New file.
48998 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48999 (check-localplt-CFLAGS): Variable removed.
49000 ($(all-built-dso:=.jmprel)): New static pattern rule.
49001 (generated): Add those targets.
49002 (localplt-built-dso): New variable.
49003 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49005 * elf/check-localplt.c: File removed.
49007 * scripts/check-execstack.awk: New file.
49008 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49009 (check-execstack-CFLAGS): Variable removed.
49010 ($(objpfx)check-execstack.h): Target removed.
49011 ($(objpfx)execstack-default): New target.
49012 (generated): Add that instead of check-execstack.h.
49013 ($(all-built-dso:=.phdr)): New static pattern rule.
49014 (generated): Add those targets.
49015 * elf/check-execstack.c: File removed.
49017 * scripts/check-textrel.awk: New file.
49018 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49019 (check-textrel-CFLAGS): Variable removed.
49020 (all-built-dso): Use := to define.o
49021 ($(all-built-dso:=.dyn)): New static pattern rule.
49022 (generated): Add those targets.
49023 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49024 * config.make.in (READELF): New substituted variable.
49025 * elf/check-textrel.c: File removed.
49027 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49029 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49031 * conform/data/ctype.h-data [C99-based standards] (isblank):
49033 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49034 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49036 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49037 Specify type. Require positive value.
49038 (EILSEQ): Likewise.
49039 (ERANGE): Likewise.
49040 [ISO || POSIX] (EILSEQ): Do not expect.
49041 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49042 Specify type. Require positive value.
49043 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49044 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49045 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49046 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49047 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49048 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49049 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49050 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49051 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49052 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49053 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49054 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49055 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49056 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49057 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49058 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49059 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49060 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49061 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49062 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49063 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49064 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49065 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49066 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49067 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49068 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49069 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49070 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49071 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49072 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49073 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49074 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49075 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49076 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49077 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49078 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49079 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49080 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49081 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49082 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49083 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49084 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49085 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49086 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49087 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49088 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49089 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49090 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49091 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49092 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49093 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49094 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49095 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49096 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49097 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49098 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49099 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49100 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49101 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49102 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49103 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49104 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49105 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49106 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49107 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49108 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49109 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49110 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49111 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49112 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49113 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49114 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49115 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49116 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49117 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49118 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49119 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49121 (FLT_ROUNDS): Expect as macro, not constant.
49122 (FLT_MANT_DIG): Use macro-int-constant.
49123 (DBL_MANT_DIG): Likewise.
49124 (LDBL_MANT_DIG): Likewise.
49125 (FLT_DIG): Likewise.
49126 (DBL_DIG): Likewise.
49127 (LDBL_DIG): Likewise.
49128 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49129 (DBL_MIN_EXP): Likewise.
49130 (LDBL_MIN_EXP): Likewise.
49131 (FLT_MAX_EXP): Use macro-int-constant.
49132 (DBL_MAX_EXP): Likewise.
49133 (LDBL_MAX_EXP): Likewise.
49134 (FLT_MAX_10_EXP): Likewise.
49135 (DBL_MAX_10_EXP): Likewise.
49136 (LDBL_MAX_10_EXP): Likewise.
49137 (FLT_MAX): Use macro-constant.
49138 (DBL_MAX): Likewise.
49139 (LDBL_MAX): Likewise.
49140 (FLT_EPSILON): Use macro-constant. Give upper bound.
49141 (DBL_EPSILON): Likewise.
49142 (LDBL_EPSILON): Likewise.
49143 (FLT_MIN): Likewise.
49144 (DBL_MIN): Likewise.
49145 (LDBL_MIN): Likewise.
49146 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49147 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49148 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49149 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49150 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49151 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49152 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49153 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49154 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49155 [ISO11] (FLT_TRUE_MIN): Likewise.
49156 [ISO11] (LDBL_TRUE_MIN): Likewise.
49157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49158 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49159 (SCHAR_MIN): Use macro-int-constant. Specify type.
49160 (SCHAR_MAX): Likewise.
49161 (UCHAR_MAX): Likewise.
49162 (CHAR_MIN): Likewise.
49163 (CHAR_MAX): Likewise.
49164 (MB_LEN_MAX): Use macro-int-constant.
49165 (SHRT_MIN): Use macro-int-constant. Specify type.
49166 (SHRT_MAX): Likewise.
49167 (USHRT_MAX): Likewise.
49168 (INT_MAX): Likewise.
49169 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49171 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49173 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49175 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49176 bound negative. Suffix upper bound with "L".
49177 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49179 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49181 [C99-based standards] (LLONG_MAX): Likewise.
49182 [C99-based standards] (ULLONG_MAX): Likewise.
49183 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49185 [ISO11] (max_align_t): Require type.
49186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49188 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49189 from $CFLAGS, without defining away __attribute__ calls.
49190 (checknamespace): Use $CFLAGS_namespace.
49192 * conform/conformtest.pl (@keywords): Only include C99 keywords
49193 for standards based on C99 or C11.
49195 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49197 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49200 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49201 usability of symbols in #if.
49203 * conform/conformtest.pl: If macro or constant types start
49204 "promoted:", expect the symbol to be of the following type
49205 promoted by the integer promotions.
49207 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49208 in one place. Also handle "macro-constant".
49210 * conform/conformtest.pl: Only accept expected macro values with
49211 "==". Parse all "macro" lines in one place.
49212 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49214 * conform/conformtest.pl: Handle braced types on "constant" lines
49215 instead of handling "typed-constant".
49216 * conform/data/signal.h-data: Use "constant" instead of
49219 * conform/conformtest.pl: Handle "optional-" at start of lines in
49220 one place rather than duplicating several cases. Handle each
49221 format of "macro" line with initial "optional-".
49223 * conform/conformtest.pl: Only accept expected constant or
49224 optional-constant values with "==". Parse all "constant" lines in
49225 one place. Parse all "optional-constant" lines in one place.
49226 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49227 * conform/data/fmtmsg.h-data: Likewise.
49228 * conform/data/netinet/in.h-data: Likewise.
49229 * conform/data/tar.h-data: Likewise.
49230 * conform/data/limits.h-data: Use "==" form on "constant" and
49231 "optional-constant" lines.
49233 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49234 Use -std=c99 for XOPEN2K.
49235 (@knownproblems): Remove.
49236 (newtoken): Don't check %isknown.
49238 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49239 Do not expect macro.
49240 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49241 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49242 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49243 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49244 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49245 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49246 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49247 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49248 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49249 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49250 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49251 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49252 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49253 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49254 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49255 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49256 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49257 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49258 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49259 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49260 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49261 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49262 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49263 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49264 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49265 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49266 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49267 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49268 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49269 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49270 [XPG3] (acosh): Likewise.
49271 [XPG3] (asinh): Likewise.
49272 [XPG3] (atanh): Likewise.
49273 [XPG3] (cbrt): Likewise.
49274 [XPG3] (expm1): Likewise.
49275 [XPG3] (ilogb): Likewise.
49276 [XPG3] (log1p): Likewise.
49277 [XPG3] (logb): Likewise.
49278 [XPG3] (nextafter): Likewise.
49279 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49280 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49281 [XPG3] (remainder): Likewise.
49282 [XPG3] (rint): Likewise.
49283 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49284 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49285 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49286 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49287 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49288 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49289 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49290 [UNIX98 || XOPEN2K] (scalb): Expect.
49291 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49292 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49293 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49294 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49295 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49296 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49297 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49298 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49299 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49300 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49301 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49302 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49303 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49304 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49305 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49306 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49307 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49308 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49309 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49310 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49311 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49312 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49313 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49314 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49315 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49316 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49317 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49318 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49319 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49320 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49321 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49322 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49323 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49324 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49325 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49326 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49327 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49328 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49329 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49330 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49331 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49332 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49333 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49334 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49335 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49336 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49337 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49338 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49339 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49340 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49341 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49342 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49343 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49344 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49345 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49346 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49347 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49348 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49349 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49350 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49351 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49352 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49353 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49354 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49355 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49356 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49357 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49358 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49359 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49360 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49361 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49362 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49363 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49364 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49365 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49366 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49367 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49368 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49369 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49370 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49371 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49372 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49373 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49374 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49375 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49376 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49377 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49378 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49379 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49380 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49381 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49382 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49383 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49384 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49385 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49386 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49387 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49388 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49389 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49390 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49391 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49392 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49393 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49394 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49395 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49396 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49397 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49398 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49399 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49400 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49401 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49402 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49403 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49404 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49405 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49406 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49407 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49408 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49409 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49410 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49411 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49412 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49413 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49414 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49415 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49416 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49417 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49418 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49419 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49420 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49421 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49422 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49423 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49424 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49425 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49426 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49427 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49429 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49430 _XOPEN_SOURCE_EXTENDED for XPG4.
49432 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49434 * Makeconfig (localtime): Remove variable.
49435 (inst_localtime-file): Likewise.
49437 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49458 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49462 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49463 comparisons to determine direction to adjust input.
49464 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49465 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49472 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49473 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49475 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49477 * math/libm-test.inc (nexttoward_test): Add more tests.
49479 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49483 in version GLIBC_2.1, not GLIBC_2.0.
49484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49487 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49492 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49493 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49494 * math/libm-test.inc (acos_test): Add more tests.
49495 (asin_test): Likewise.
49496 * sysdeps/i386/fpu/libm-test-ulps: Update.
49497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49500 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49502 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49503 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49504 * math/libm-test.inc (acos_test_tonearest): New function.
49505 (acos_test_towardzero): Likewise.
49506 (acos_test_downward): Likewise.
49507 (acos_test_upward): Likewise.
49508 (asin_test_tonearest): Likewise.
49509 (asin_test_towardzero): Likewise.
49510 (asin_test_downward): Likewise.
49511 (asin_test_upward): Likewise.
49512 (main): Call the new functions.
49513 * sysdeps/i386/fpu/libm-test-ulps: Update.
49514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49518 * math/e_exp10.c: Include <float.h>.
49519 (__ieee754_exp10): Handle underflow here rather than multiplying
49520 large negative argument by M_LN10.
49521 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49523 * math/e_exp10l.c: Include <float.h>.
49524 (__ieee754_exp10l): Handle underflow here rather than multiplying
49525 large negative argument by M_LN10l.
49526 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49527 spurious overflow exception on underflow.
49529 2012-04-29 Marek Polacek <polacek@redhat.com>
49531 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49532 (__fortify_function): New macro.
49533 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49534 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49535 __extern_always_inline.
49536 * libio/bits/stdio2.h: Likewise.
49537 * libio/bits/stdio.h: Likewise.
49538 * string/string.h: Likewise.
49539 * string/bits/string3.h: Likewise.
49540 * include/stdio.h: Likewise.
49541 * stdlib/bits/stdlib.h: Likewise.
49542 * stdlib/stdlib.h: Likewise.
49543 * rt/bits/mqueue2.h: Likewise.
49544 * rt/mqueue.h: Likewise.
49545 * posix/bits/unistd.h: Likewise.
49546 * posix/unistd.h: Likewise.
49547 * io/bits/poll2.h: Likewise.
49548 * io/bits/fcntl2.h: Likewise.
49549 * io/fcntl.h: Likewise.
49550 * io/sys/poll.h: Likewise.
49551 * misc/bits/syslog.h: Likewise.
49552 * misc/bits/syslog-ldbl.h: Likewise.
49553 * misc/sys/syslog.h: Likewise.
49554 * socket/bits/socket2.h: Likewise.
49555 * socket/sys/socket.h: Likewise.
49556 * debug/tst-chk1.c: Likewise.
49557 * wcsmbs/bits/wchar2.h: Likewise.
49558 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49559 * wcsmbs/wchar.h: Likewise.
49561 2012-04-29 Andreas Jaeger <aj@suse.de>
49563 * Makerules (tests): Remove enable-check-abi protection.
49564 (check-abi-warn): Remove.
49565 (check-abi-%): Remove check-abi-warn usage.
49567 * configure.in: Remove check-abi configure option.
49568 * configure: Regenerated.
49569 * config.make.in (enable-check-abi): Remove.
49571 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49574 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49575 double functions to double *_finite functions.
49578 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49579 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49581 * stdio-common/Makefile (tests): Add tst-sprintf3.
49582 * stdio-common/tst-sprintf3.c: New file.
49584 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49585 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49587 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49589 * conform/conformtest.pl: Remove duplicate typed-constant
49592 2012-04-28 David S. Miller <davem@davemloft.net>
49594 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49595 (check-abi-%): Remove AWK script prerequisite and explicit
49597 (check-abi): Rewrite to just diff the symlist with the abilist.
49598 (config-tls, config-abi-config): Delete, no longer used.
49599 (update-abi-%): Remove AWK script and explicit abilist directory.
49600 (update-abi): Rewrite to simply compare and conditionally copy the
49601 symlist and the sysdep abilist file. Remove update-abi-config
49603 * abilist/ld.abilist: Remove.
49604 * abilist/libBrokenLocale.abilist: Remove.
49605 * abilist/libanl.abilist: Remove.
49606 * abilist/libcrypt.abilist: Remove.
49607 * abilist/libdl.abilist: Remove.
49608 * abilist/librt.abilist: Remove.
49609 * abilist/libthread_db.abilist: Remove.
49610 * abilist/libutil.abilist: Remove.
49611 * scripts/extract-abilist.awk: Remove.
49612 * scripts/merge-abilist.awk: Remove.
49613 * sysdeps/generic/libcidn.abilist: New file.
49614 * sysdeps/generic/libnss_compat.abilist: New file.
49615 * sysdeps/generic/libnss_db.abilist: New file.
49616 * sysdeps/generic/libnss_dns.abilist: New file.
49617 * sysdeps/generic/libnss_files.abilist: New file.
49618 * sysdeps/generic/libnss_hesiod.abilist: New file.
49619 * sysdeps/generic/libnss_nis.abilist: New file.
49620 * sysdeps/generic/libnss_nisplus.abilist: New file.
49621 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49622 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49623 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49626 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49627 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49628 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49629 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49630 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49631 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49632 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49633 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49635 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49636 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49637 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49638 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49640 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49641 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49642 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49644 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49645 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49647 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49648 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49649 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49651 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49754 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49755 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49756 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49759 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49760 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49761 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49762 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49763 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49764 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49766 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49767 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49819 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49821 * conform/conformtest.pl: Fix typo in handling typed-constant from
49824 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49826 * README: Cut down references to pre-2.6 Linux kernels and
49827 Linuxthreads. Update lists of configurations in libc and ports
49828 and sort alphabetically. Say "or newer" with Linux kernel version
49831 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49833 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49836 * math/libm-test.inc (logb_test_downward): New test to expose
49837 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49840 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49843 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49845 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49846 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49848 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49850 * sysdeps/unix/i386/brk.S: Remove file.
49851 * sysdeps/unix/i386/dl-brk.S: Likewise.
49852 * sysdeps/unix/i386/pipe.S: Likewise.
49853 * sysdeps/unix/i386/sigreturn.S: Likewise.
49854 * sysdeps/unix/i386/syscall.S: Likewise.
49855 * sysdeps/unix/i386/vfork.S: Likewise.
49856 * sysdeps/unix/i386/wait.S: Likewise.
49858 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49859 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49861 * configure.in (arm*-none*): Do not allow without
49862 --enable-hacker-mode.
49863 (netbsd*): Remove case setting base_os.
49864 (386bsd*): Likewise.
49865 (freebsd*): Likewise.
49868 (sunos*): Likewise.
49869 (ultrix*): Likewise.
49870 (newsos*): Likewise.
49871 (dynix*): Likewise.
49877 (minix*): Likewise.
49878 (irix4*): Likewise.
49879 (irix6*): Likewise.
49880 (solaris[2-9]*): Likewise.
49882 * configure: Regenerated.
49884 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49887 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49888 overflow or cancellation in calculating denominator.
49889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49891 down expression to avoid unexpected rounding in newer GCCs.
49892 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49894 2012-04-26 David S. Miller <davem@davemloft.net>
49896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49897 long-double compat symbols.
49898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49912 2012-04-25 David S. Miller <davem@davemloft.net>
49914 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49915 HWCAP_* values only after the memory barriers have been defined.
49916 (atomic_full_barrier): Define.
49917 (atomic_read_barrier): Define.
49918 (atomic_write_barrier): Define.
49920 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49922 * shlib-versions: Add libgcc_s version information.
49923 * sysdeps/generic/libgcc_s.h: Remove.
49924 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49926 * sysdeps/gnu/unwind-resume.c: Likewise.
49927 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49929 2012-04-25 David S. Miller <davem@davemloft.net>
49931 * sysdeps/unix/sparc/brk.S: Delete.
49932 * sysdeps/unix/sparc/dl-brk.S: Delete.
49933 * sysdeps/unix/sparc/pipe.S: Delete.
49934 * sysdeps/unix/sparc/sysdep.S: Delete.
49935 * sysdeps/unix/sparc/sysdep.h: Delete.
49936 * sysdeps/unix/sparc/vfork.S: Delete.
49937 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49938 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49939 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49940 (ret_ERRVAL, r0, r1, MOVE): Define.
49941 (JUMPTARGET): Remove.
49942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49943 sysdeps/unix/sparc/sysdep.h
49944 (ENTRY, END): Remove.
49945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49947 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49949 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49950 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49953 * timezone/README: Update upstream location and email address for
49955 * timezone/zdump.c: Update from tzcode 2012b.
49956 * timezone/zic.c: Likewise.
49958 * configure.in (libc_cv_as_needed): Remove test.
49959 * configure: Regenerated.
49960 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49961 conditional definition.
49962 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49963 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49964 * config.make.in (have-as-needed): Remove variable.
49966 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49967 Paul Pluzhnikov <ppluzhnikov@google.com>
49969 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49972 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49974 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49975 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49976 * sysdeps/sh/strlen.S: Likewise.
49978 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49980 * sysdeps/unix/fork.S: Remove file.
49981 * sysdeps/unix/i386/fork.S: Likewise.
49982 * sysdeps/unix/sparc/fork.S: Likewise.
49984 * sysdeps/unix/system.c: Remove file.
49985 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49987 * sysdeps/unix/getegid.S: Remove file.
49988 * sysdeps/unix/geteuid.S: Likewise.
49990 2012-04-24 Roland McGrath <roland@hack.frob.com>
49992 * scripts/check-localplt.awk: New file.
49993 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49995 * scripts/data/localplt-generic.data: Add a comment.
49997 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49998 NODE when __dir_mkfile failed.
49999 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50000 Reported by Ludovic Courtès <ludo@gnu.org>.
50002 2012-04-24 Andreas Jaeger <aj@suse.de>
50004 * Makerules (common-clean): Also remove gen-as-const-headers
50007 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50009 * Makerules (native-compile): Do not change working directory for
50010 build. Use $(OUTPUT_OPTION) in command.
50011 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50013 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50016 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50017 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50018 * math/libm-test.inc (floor_test): Add more tests.
50019 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50021 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50023 * sysdeps/unix/getdents.c: Remove file.
50024 * sysdeps/unix/sysv/getdents.c: Likewise.
50025 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50027 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50028 sysdeps/unix/mman/syscalls.list.
50030 (mprotect): Likewise.
50032 (munmap): Likewise.
50033 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50034 * sysdeps/unix/mman/syscalls.list: Remove.
50035 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50037 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50038 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50039 * configure: Regenerated.
50040 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50041 $(libgcc_s_suffix).
50042 * config.make.in (libgcc_s_suffix): Remove variable.
50044 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50046 * sysdeps/unix/sysv/gethostname.c: Move to ...
50047 * sysdeps/posix/gethostname.c: ... here.
50049 * sysdeps/unix/execve.S: Remove file.
50051 * sysdeps/unix/_exit.S: Remove file.
50053 2012-04-23 Andreas Jaeger <aj@suse.de>
50056 * manual/Makefile: Remove make dist support, there's no
50057 need for a stand-alone documentation tar ball.
50058 (TEXI2DVI): Define always, it's not in Makeconfig.
50061 (edition): Removed.
50062 (glibc-doc-$(edition).tar): Removed
50066 (ETAGS): Remove, it's in Makeconfig.
50067 (move-if-change): Remove, it's in Makeconfig.
50069 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50072 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50073 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50074 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50075 (strtod_l, strtof_l, strtold_l): Remove __wur.
50076 It is not necessarily an error to ignore strtol's return value.
50077 One can reliably look at the stored endptr to decide whether
50078 the number had valid syntax.
50080 2012-04-21 Andreas Jaeger <aj@suse.de>
50083 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50085 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50087 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50088 * sysdeps/unix/sysv/Versions: Remove file.
50090 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50095 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50099 version from __vm86.
50101 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50103 * sysdeps/unix/common/lxstat.c: Remove file.
50104 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50106 * sysdeps/unix/sysv/Makefile: Remove file.
50108 * sysdeps/unix/sysv/direct.h: Remove file.
50110 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50111 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50112 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50113 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50114 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50115 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50116 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50118 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50120 * sysdeps/unix/xmknod.c: Remove file.
50121 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50123 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50125 * sysdeps/unix/sysv/i386/time.S: Remove file.
50127 * sysdeps/unix/fxstat.c: Remove file.
50128 * sysdeps/unix/xstat.c: Likewise.
50129 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50131 * sysdeps/unix/sysv/sigaction.c: Remove file.
50133 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50134 (sysdep_headers): Remove variable.
50135 [termio.h not in sysdep_headers] (generated): Likewise.
50136 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50137 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50138 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50139 * sysdeps/unix/sysv/tcflow.c: Likewise.
50140 * sysdeps/unix/sysv/tcflush.c: Likewise.
50141 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50142 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50143 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50144 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50145 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50147 * sysdeps/unix/siglist.c: Remove file.
50149 * sysdeps/unix/getppid.S: Remove file.
50151 * sysdeps/unix/mkdir.c: Remove file.
50152 * sysdeps/unix/rmdir.c: Likewise.
50154 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50156 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50158 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50159 errlist-compat value.
50161 2012-04-18 David S. Miller <davem@davemloft.net>
50163 * sysdeps/generic/memcopy.h (reg_char): Delete.
50164 * debug/strcat_chk.c: Use char, not reg_char.
50165 * debug/strcpy_chk.c: Likewise.
50166 * debug/strncat_chk.c: Likewise.
50167 * debug/strncpy_chk.c: Likewise.
50168 * string/memchr.c: Likewise.
50169 * string/memrchr.c: Likewise.
50170 * string/rawmemchr.c: Likewise.
50171 * string/strcat.c: Likewise.
50172 * string/strchr.c: Likewise.
50173 * string/strchrnul.c: Likewise.
50174 * string/strcmp.c: Likewise.
50175 * string/strcpy.c: Likewise.
50176 * string/strncat.c: Likewise.
50177 * string/strncmp.c: Likewise.
50178 * string/strncpy.c: Likewise.
50180 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50182 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50183 __builtin_memcopy is called when src and dest ranges are known to not
50186 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50189 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50190 fwd_align_merge macro call.
50191 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50192 bwd_align_merge macro call.
50193 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50195 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50198 bwd_align_merge macros.
50199 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50200 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50203 2012-04-18 David S. Miller <davem@davemloft.net>
50205 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50207 2012-04-18 Andreas Jaeger <aj@suse.de>
50210 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50211 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50214 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50215 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50216 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50218 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50219 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50220 Adjust for changed ldbl-128 files.
50222 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50223 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50224 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50226 2012-04-17 David S. Miller <davem@davemloft.net>
50228 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50230 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50232 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50233 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50234 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50235 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50236 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50237 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50239 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50242 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50243 * math/libm-test.inc: Add ilogb errno and exception tests.
50244 * math/w_ilogb.c: New file: ilogb wrapper.
50245 * math/w_ilogbf.c: New file: ilogbf wrapper.
50246 * math/w_ilogbl.c: New file: ilogbl wrapper.
50247 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50248 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50249 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50250 exception being thrown with 0.0 as argument.
50251 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50252 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50253 exception being thrown with 0.0 as argument.
50254 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50255 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50256 exception being thrown with 0.0 as argument.
50257 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50258 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50259 exception being thrown with 0.0 as argument.
50260 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50261 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50262 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50263 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50265 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50266 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50267 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50268 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50270 2012-04-17 Petr Baudis <pasky@ucw.cz>
50272 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50275 2012-04-16 Marek Polacek <polacek@redhat.com>
50277 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50279 2012-04-16 Marek Polacek <polacek@redhat.com>
50281 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50282 operands of fdivp instruction.
50284 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50286 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50287 * elf/tst-auditmod3b.c: Likewise.
50288 * elf/tst-auditmod4b.c: Likewise.
50289 * elf/tst-auditmod5b.c: Likewise.
50290 * elf/tst-auditmod6b.c: Likewise.
50291 * elf/tst-auditmod6c.c: Likewise.
50292 * elf/tst-auditmod7b.c: Likewise.
50293 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50294 * sysdeps/x86_64/preconfigure.in: Likewise.
50295 * sysdeps/x86_64/preconfigure: Regenerated.
50297 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50299 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50302 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50305 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50307 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50310 * locale/iso-639.def: Fix gl language name. Spotted by
50313 2012-04-12 Roland McGrath <roland@hack.frob.com>
50316 * libio/libio.h (__io_write_fn): Update comment.
50318 2012-04-12 Petr Baudis <pasky@ucw.cz>
50321 * stdio.texi (Hook Functions): The user provided writer function
50322 is not allowed to return -1.
50324 2012-04-11 David S. Miller <davem@davemloft.net>
50326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50328 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50330 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50331 Add a leading slash to rtkaio.
50333 2012-04-11 Jim Meyering <meyering@redhat.com>
50336 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50337 It is not necessarily an error to ignore fwrite's return
50338 value. One can reliably use ferror to test for errors after
50341 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50343 * bits/types.h (__snseconds_t): New type.
50344 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50346 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50348 (__SNSECONDS_T_TYPE): Likewise.
50349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50350 (__SNSECONDS_T_TYPE): Likewise.
50351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50352 (__SNSECONDS_T_TYPE): Likewise.
50354 2012-04-10 Andreas Jaeger <aj@suse.de>
50357 * manual/time.texi (Processor Time): Return type of times is
50358 elapsed real time since an arbitrary point in the past.
50359 (CPU Time): Move CLK_TCK from here...
50360 (Processor Time): ...to here. Correct description.
50361 * manual/conf.texi (Constants for Sysconf): Correct description of
50364 2012-04-10 David S. Miller <davem@davemloft.net>
50367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50368 where the is a gap between DT_REL(A) and DT_JMPREL.
50370 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50372 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50373 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50374 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50376 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50378 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50379 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50380 (dl_main): Handle --inhibit-cache.
50381 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50383 * elf/dl-load.c (_dl_map_object): Use it.
50384 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50386 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50389 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50390 (__ieee754_powl): Saturate large exponents rather than testing for
50391 overflow of y*log2(x).
50392 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50393 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50397 * math/s_ctan.c: Include <float.h>.
50398 (__ctan): Avoid internal overflow or cancellation in calculating
50400 * math/s_ctanf.c: Likewise.
50401 * math/s_ctanl.c: Likewise.
50402 * math/s_ctanh.c: Likewise.
50403 * math/s_ctanhf.c: Likewise.
50404 * math/s_ctanhl.c: Likewise.
50405 * math/libm-test.inc (ctan_test): Add more tests.
50406 (ctanh_test): Likewise.
50407 * sysdeps/i386/fpu/libm-test-ulps: Update.
50408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50410 2012-04-09 Andreas Jaeger <aj@suse.de>
50413 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50414 is an optional BSD extension.
50417 * manual/stdio.texi (Opening Streams): Document additional fopen
50420 2012-04-09 Roland McGrath <roland@hack.frob.com>
50422 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50423 %eax without telling the compiler.
50425 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50428 * manual/install.texi: Use sourceware.org.
50430 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50433 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50434 (__ieee754_pow): Generate overflow and underflow using huge*huge
50435 and tiny*tiny rather than just returning constant infinity or zero
50436 for large exponents.
50437 * math/libm-test.inc (pow_test): Require overflow exceptions for
50438 applicable cases of large exponents.
50441 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50442 (__ieee754_pow): Use iterative multiplication algorithm only for
50443 integer exponents with absolute value below 1024. Check for odd
50444 integer exponents when using algorithm for real exponents.
50445 * math/libm-test.inc (pow_test): Add more tests.
50446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50448 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50451 * math/libm-test.inc (exp_test): Do not allow overflow exception
50454 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50457 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50458 instead of __kernel_standard_f.
50460 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50462 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50463 * sysdeps/x86_64/memset_chk.S: Likewise.
50465 2012-04-08 Andreas Jaeger <aj@suse.de>
50468 * manual/startup.texi (Environment Access): Describe return value
50469 for putenv and setenv.
50472 * manual/filesys.texi (Directory Entries): Add description for
50476 * manual/filesys.texi (Directory Entries): Clarify that it's file
50477 system not operating system in the description of DT_UNKNOWN.
50480 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50482 2012-04-08 Stephen Compall <s11@member.fsf.org>
50485 * manual/llio.texi (Opening and Closing Files): Add cross
50486 reference to explain mode argument.
50488 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50490 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50491 * sysdeps/x86_64/memset_chk.S: Likewise.
50493 2012-04-07 David S. Miller <davem@davemloft.net>
50495 * elf/elf.h (R_SPARC_WDISP10): Define.
50496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50499 R_SPARC_SIZE64 and R_SPARC_H34.
50501 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50504 conditions and remove no longer applicable assertion.
50506 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50508 * bits/byteswap.h: Include <features.h>.
50509 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50510 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50512 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50514 * bits/byteswap.h (__bswap_16): Removed.
50515 Include <bits/byteswap-16.h> to get __bswap_16.
50516 * sysdeps/i386/bits/byteswap.h: Likewise.
50517 * sysdeps/s390/bits/byteswap.h: Likewise.
50518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50519 * bits/byteswap-16.h: New file.
50520 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50521 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50522 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50523 * string/Makefile (headers): Add bits/byteswap-16.h.
50525 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50528 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50530 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50531 * nss/tst-nss-static.c: New.
50533 2012-04-06 Robert Millan <rmh@gnu.org>
50536 * manual/llio.texi (File Position Primitive): lseek
50537 refers to WHENCE when it really means OFFSET.
50539 2012-04-06 Andreas Jaeger <aj@suse.de>
50541 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50542 strncmp declarations.
50544 * abilist/libc.abilist: Add __poll and __ppoll.
50546 2012-04-05 David S. Miller <davem@davemloft.net>
50548 * scripts/check-local-headers.sh: Accept a host triplet in the
50549 path matched by the exclude regexp.
50551 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50553 * sysdeps/powerpc/powerpc32/dl-machine.h
50554 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50555 * sysdeps/s390/s390-32/dl-machine.h
50556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50557 * sysdeps/sparc/sparc32/dl-machine.h
50558 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50559 * sysdeps/sparc/sparc64/dl-machine.h
50560 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50562 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50564 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50565 undefined symbol errors.
50567 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50570 2012-04-05 Michael Matz <matz@suse.de>
50573 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50575 2012-04-05 Andreas Jaeger <aj@suse.de>
50578 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50581 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50583 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50584 which ROUND is no valid rounding mode.
50586 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50590 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50592 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50594 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50595 an exception using FPU order intentionally.
50597 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50599 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50600 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50601 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50602 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50604 2012-04-05 Simon Josefsson <simon@josefsson.org>
50607 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50608 EINVAL when BUFLEN is too smal.
50610 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50613 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50614 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50616 2012-04-03 Andreas Jaeger <aj@suse.de>
50619 * manual/setjmp.texi (System V contexts): Fix sentence.
50622 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50623 New macro for this case.
50624 [!__GNUC__] (__bswap_64): New inline function for this case.
50625 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50626 * bits/byteswap.h: Likewise.
50627 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50628 ull, guard with __GLIBC_HAVE_LONG_LONG.
50630 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50631 __GLIBC_HAVE_LONG_LONG.
50633 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50634 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50636 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50639 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50640 inptr and inend, rather than using last_ch.
50642 2012-04-02 David S. Miller <davem@davemloft.net>
50644 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50645 * stdio-common/printf-parse.h (read_int): Change return type to
50646 'int', return -1 on INT_MAX overflow.
50647 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50648 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50649 overflows INT_MAX. Check for overflow of in-format-string precision
50650 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50651 SIZE_MAX not INT_MAX for integer overflow test.
50652 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50653 skip the construct in the format string but do not record anything.
50654 * stdio-common/bug22.c: Adjust to test both width/prevision
50655 INT_MAX overflow as well as total length INT_MAX overflow. Check
50656 explicitly for proper errno values.
50658 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50660 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50662 * string/test-strcmp.c [! WIDE]: Likewise.
50663 * time/tst-mktime2.c: Likewise for INT_MAX.
50664 * string/test-string.h: #include <sys/param.h> for MIN.
50666 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50667 * sysdeps/i386/init-first.c (init): Likewise.
50668 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50669 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50670 * sysdeps/sh/init-first.c (init): Likewise.
50672 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50674 * po/ru.po: Update from translation team.
50675 * po/vi.po: Likewise.
50677 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50679 * resolv/nss_dns/dns-host.c: Merge copyright years.
50681 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50684 Optimize memcpy with prefetch if
50685 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50686 src, dst pointers have unequal 16 byte alignments.
50688 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50691 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50692 from a CNAME entry and return the minimum ttl for the query.
50693 (gaih_getanswer_slice): Likewise.
50695 2012-03-30 Jeff Law <law@redhat.com>
50697 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50699 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50700 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50702 * resolv/nss_dns/dns-host.c: Update copyright year.
50704 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50706 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50707 requests to save a system call. Fix check that all bytes are sent.
50709 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50710 comments for sendmmsg.
50712 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50715 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50716 with only 1 character between 0x0041 and 0x01b0.
50717 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50718 * wcsmbs/tst-mbsnrtowcs.c: New file.
50720 2012-03-29 David S. Miller <davem@davemloft.net>
50722 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50723 small copies by hand.
50725 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50728 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50729 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50732 2012-03-28 David S. Miller <davem@davemloft.net>
50734 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50735 that branches into memcpy.
50736 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50739 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50742 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50743 implementation too.
50744 * sysdeps/sparc/mempcpy.S: New file.
50746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50747 the IFUNC routine in the libc case.
50748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50750 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50751 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50752 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50753 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50754 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50755 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50756 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50757 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50759 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50760 loop to 256 bytes instead of 64 bytes and fix test signedness.
50762 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50763 * sysdeps/sparc/sparc32/Makefile: rather than here...
50764 * sysdeps/sparc/sparc64/Makefile: and here.
50766 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50768 * malloc/mallocbug.c: Avoid warnings about unused variables.
50770 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50773 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50774 in the right place. Discard and retry query if response is
50775 larger than input buffer size.
50777 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50782 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50783 x for large integer exponent.
50784 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50785 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50786 sign of result as needed afterwards.
50787 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50788 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50789 result for underflowing pow the same as for overflow.
50790 (__kernel_standard_l): Handle powl overflow and underflow here
50791 rather than calling __kernel_standard.
50792 * math/libm-test.inc (pow_test): Add more tests.
50807 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50808 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50809 (__kernel_standard_l): New function.
50810 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50812 * math/w_acosl.c (__acosl): Likewise.
50813 * math/w_asinl.c (__asinl): Likewise.
50814 * math/w_atan2l.c (__atan2l): Likewise.
50815 * math/w_atanhl.c (__atanhl): Likewise.
50816 * math/w_coshl.c (__coshl): Likewise.
50817 * math/w_exp10l.c (__exp10l): Likewise.
50818 * math/w_exp2l.c (__exp2l): Likewise.
50819 * math/w_fmodl.c (__fmodl): Likewise.
50820 * math/w_hypotl.c (__hypotl): Likewise.
50821 * math/w_j0l.c (__j0l, __y0l): Likewise.
50822 * math/w_j1l.c (__j1l, __y1l): Likewise.
50823 * math/w_jnl.c (__jnl, __ynl): Likewise.
50824 * math/w_lgammal.c (__lgammal): Likewise.
50825 * math/w_log10l.c (__log10l): Likewise.
50826 * math/w_log2l.c (__log2l): Likewise.
50827 * math/w_logl.c (__logl): Likewise.
50828 * math/w_powl.c (__powl): Likewise.
50829 * math/w_remainderl.c (__remainderl): Likewise.
50830 * math/w_scalbl.c (sysv_scalbl): Likewise.
50831 * math/w_sinhl.c (__sinhl): Likewise.
50832 * math/w_sqrtl.c (__sqrtl): Likewise.
50833 * math/w_tgammal.c (__tgammal): Likewise.
50834 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50835 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50836 * math/libm-test.inc (acos_test): Add more tests.
50837 (acosh_test): Likewise.
50838 (asin_test): Likewise.
50839 (atanh_test): Likewise.
50840 (exp_test): Likewise.
50841 (exp10_test): Likewise.
50842 (exp2_test): Likewise.
50843 (expm1_test): Likewise.
50844 (lgamma_test): Likewise.
50845 (log_test): Likewise.
50846 (log10_test): Likewise.
50847 (log1p_test): Likewise.
50848 (log2_test): Likewise.
50849 (pow_test): Do not allow some spurious overflow exceptions.
50850 (sqrt_test): Add more tests.
50851 (tgamma_test): Likewise.
50852 (y0_test): Likewise.
50853 (y1_test): Likewise.
50854 (yn_test): Likewise.
50856 2012-03-27 Anton Blanchard <anton@samba.org>
50858 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50864 2012-03-27 David S. Miller <davem@davemloft.net>
50866 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50868 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50869 have-as-vis3 check.
50871 2012-03-27 Andreas Jaeger <aj@suse.de>
50873 * sysdeps/x86_64/elf/configure.in: Moved to ...
50874 * sysdeps/x86_64/configure.in: ... here.
50875 * sysdeps/x86_64/elf/start.S: Moved to ...
50876 * sysdeps/x86_64/start.S: ... here.
50877 * sysdeps/x86_64/elf/configure: Delete.
50879 * sysdeps/x86_64/configure.in: Merge contents from
50880 sysdeps/i386/configure.in (without i686 check).
50882 * sysdeps/i386/elf/Versions: Merge into ...
50883 * sysdeps/i386/Versions: ... this.
50884 * sysdeps/i386/elf/Versions: Delete file.
50885 * sysdeps/i386/elf/start.S: Moved to ...
50886 * sysdeps/i386/start.S: ...here.
50887 * sysdeps/i386/elf/configure.in: Merge into...
50888 * sysdeps/i386/configure.in: ...here.
50889 * sysdeps/i386/elf/configure.in: Delete file.
50890 * sysdeps/i386/elf/configure: Delete file.
50892 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50893 * debug/backtracesyms.c: ... here.
50894 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50895 * debug/backtracesymsfd.c: ... here.
50896 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50897 * sysdeps/generic/ifunc-sel.h: ... here.
50899 * sysdeps/unix/i386/start.c: Delete file.
50900 * sysdeps/unix/sparc/start.c: Delete file.
50901 * sysdeps/unix/start.c: Delete file.
50903 * sysdeps/sh/elf/configure.in: Moved to ...
50904 * sysdeps/sh/configure.in: ... here.
50905 * sysdeps/sh/elf/start.S: Moved to ...
50906 * sysdeps/sh/start.S: ... here.
50907 * sysdeps/sh/elf/configure: Delete file.
50909 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50910 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50911 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50912 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50913 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50914 * sysdeps/powerpc/powerpc64/start.S: here.
50915 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50916 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50917 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50918 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50919 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50921 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50922 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50923 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50924 * sysdeps/powerpc/powerpc32/start.S: ... here.
50925 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50926 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50927 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50929 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50930 * sysdeps/powerpc/ifunc-sel.h: ... here.
50931 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50932 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50934 * sysdeps/sparc/elf/configure.in: Moved to ...
50935 * sysdeps/sparc/configure.in: ... here.
50936 * sysdeps/sparc/elf/configure: Delete file.
50937 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50938 * sysdeps/sparc/sparc32/start.S: ... here.
50939 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50940 * sysdeps/sparc/sparc64/start.S: ... here.
50941 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50942 * sysdeps/sparc/sparc32/Makefile: ... this.
50943 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50944 * sysdeps/sparc/sparc64/Makefile: ... this.
50946 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50947 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50948 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50949 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50950 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50951 * sysdeps/s390/s390-32/setjmp.S: ... here.
50952 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50953 * sysdeps/s390/s390-32/configure.in: ... here.
50954 * sysdeps/s390/s390-32/elf/configure: Delete file.
50955 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50956 * sysdeps/s390/s390-32/start.S: ... here.
50958 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50959 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50960 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50961 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50962 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50963 * sysdeps/s390/s390-64/setjmp.S: ... here.
50964 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50965 * sysdeps/s390/s390-64/configure.in: ... here
50966 * sysdeps/s390/s390-64/elf/configure: Delete file.
50967 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50968 * sysdeps/s390/s390-64/start.S: ... here.
50969 * sysdeps/s390/s390-64/elf/configure: Delete.
50971 * configure.in: Remove support for elf directories in sysdeps.
50973 * configure: Regenerated.
50974 * sysdeps/i386/configure: Regenerated.
50975 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50976 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50977 * sysdeps/s390/s390-32/configure: Regenerated.
50978 * sysdeps/s390/s390-64/configure: Regenerated.
50979 * sysdeps/sh/configure: Regenerated.
50980 * sysdeps/sparc/configure: Regenerated.
50981 * sysdeps/x86_64/configure: Regenerated.
50983 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50988 denormal result into account.
50990 2012-03-25 Roland McGrath <roland@hack.frob.com>
50992 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50993 Reported by Allan McRae <allan@archlinux.org>.
50995 2012-03-23 Jeff Law <law@redhat.com>
50997 * nss/getnssent.c (__nss_getent): Fix typo.
50999 2012-03-23 David S. Miller <davem@davemloft.net>
51001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51003 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51005 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51006 to pad to uint64_t for each field.
51007 (dl_tls_index): Replace unsigned long with uint64_t.
51009 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51010 Paul Pluzhnikov <ppluzhnikov@google.com>
51013 * grp/Makefile (otherlibs): Don't set it.
51014 * inet/Makefile (otherlibs): Likewise.
51015 * login/Makefile (otherlibs): Likewise.
51016 * nscd/Makefile (otherlibs): Likewise.
51017 * posix/Makefile (otherlibs): Likewise.
51018 * pwd/Makefile (otherlibs): Likewise.
51019 * rt/Makefile (otherlibs): Likewise.
51020 * sunrpc/Makefile (otherlibs): Likewise.
51021 * nss/Makefile (otherlibs): Likewise.
51022 Add libnss_files to routines and static-only-routines.
51023 ($(objpfx)getent): Remove rule.
51024 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51025 static-only-routines.
51027 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51030 * math/s_cexp.c: Include <float.h>.
51031 (__cexp): Handle exp result overflowing not necessarily
51032 overflowing both real and imaginary parts of result.
51033 * math/s_cexpf.c: Likewise.
51034 * math/s_cexpl.c: Likewise.
51035 * math/libm-test.inc (cexp_test): Add more tests.
51036 * sysdeps/i386/fpu/libm-test-ulps: Update.
51037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51039 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51041 * include/link.h (ELFW): New macro.
51042 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51043 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51045 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51047 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51050 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51052 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51054 (struct La_x32_retval): Likewise.
51056 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51058 * sysdeps/x86_64/preconfigure.in: New file.
51059 * sysdeps/x86_64/preconfigure: New generated file.
51061 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51064 * math/e_exp2l.c: Include <float.h>.
51065 (__ieee754_exp2l): Handle overflow and underflow cases
51066 separately. Only pass fractional part of argument to
51068 * math/libm-test.inc (exp2_test): Add more tests.
51070 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51071 negating x to take absolute value.
51072 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51074 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51075 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51077 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51078 computing low part if x was negated.
51079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51081 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51083 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51084 la_x32_gnu_pltexit.
51085 (pltexit): Cast int_retval to ptrdiff_t.
51086 * elf/tst-auditmod3b.c: Likewise.
51087 * elf/tst-auditmod4b.c: Likewise.
51088 * elf/tst-auditmod5b.c: Likewise.
51089 * elf/tst-auditmod6b.c: Likewise.
51090 * elf/tst-auditmod6c.c: Likewise.
51091 * elf/tst-auditmod7b.c: Likewise.
51093 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51094 and x32_gnu_pltexit.
51096 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51097 __ELF_NATIVE_CLASS.
51098 (La_x32_regs): New macro.
51099 (La_x32_retval): Likewise.
51100 (la_x32_gnu_pltenter): New function prototype.
51101 (la_x32_gnu_pltexit): Likewise.
51103 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51110 * configure.in (libc_cv_cc_nofma): Check for option to disable
51111 generation of FMA instructions.
51112 * configure: Regenerate.
51113 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51114 * sysdeps/ieee754/dbl-64/Makefile: New file.
51115 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51116 Remove brandred-fma4.
51117 (CFLAGS-brandred-fma4.c): Remove.
51118 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51119 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51121 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51124 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51126 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51127 LLONG_MAX != LONG_MAX.
51128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51129 (_fitoa_word): Likewise.
51130 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51131 LLONG_MAX != LONG_MAX.
51132 * stdio-common/_itowa.h: Include <_itoa.h>.
51133 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51134 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51135 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51136 only if not defined.
51137 (_ITOA_WORD_TYPE): Likewise.
51138 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51139 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51141 2012-03-21 David S. Miller <davem@davemloft.net>
51143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51145 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51147 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51148 of x86_64 when setting libc_cv_slibdir, libdir and
51150 * sysdeps/unix/sysv/linux/configure: Regenerated.
51152 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51154 * manual/lang.texi (Old Varargs): Remove section.
51155 (How Variadic): Update menu.
51156 (va_start): Do not mention varargs.h.
51158 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51159 Joseph Myers <joseph@codesourcery.com>
51161 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51163 * configure: Regenerated.
51165 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51167 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51168 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51171 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51174 * Makefile (files-for-dist): Remove NOTES.
51175 (NOTES): Remove rule.
51176 * README: Don't refer to NOTES.
51177 * manual/creature.texi: Don't include macros.texi.
51178 * manual/intro.texi (creature.texi): Remove comment referring to
51181 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51182 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51183 * configure: Regenerated.
51184 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51185 LIBC_TRY_CC_OPTION.
51186 (libc_cv_as_i686): Likewise.
51187 (libc_cv_cc_avx): Likewise.
51188 (libc_cv_cc_sse2avx): Likewise.
51189 (libc_cv_cc_fma4): Likewise.
51190 (libc_cv_cc_novzeroupper): Likewise.
51191 * sysdeps/i386/configure: Regenerated.
51194 * sysdeps/i386/fpu/s_cexp.S: Remove.
51195 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51196 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51197 * math/libm-test.inc (cexp_test): Add more tests.
51198 * sysdeps/i386/fpu/libm-test-ulps: Update.
51199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51201 2012-03-21 Allan McRae <allan@archlinux.org>
51203 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51205 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51208 * math/w_exp2.c: Do not include <float.h>.
51209 (o_threshold, u_threshold): Remove.
51210 (__exp2): Calculate result before checking finiteness and calling
51212 * math/w_exp2f.c: Likewise.
51213 * math/w_exp2l.c: Likewise.
51214 * math/libm-test.inc (exp2_test): Require overflow exception for
51218 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51219 range of signed 64-bit integers before using fistpll. Remove
51220 checks for whether integers fit in mantissa bits.
51221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51222 the range of signed 32-bit integers before using fistpl. Remove
51223 checks for whether integers fit in mantissa bits.
51224 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51225 (__ieee754_powl): Test for y outside the range of signed 64-bit
51226 integers before using fistpll. Reduce 64-bit values to 63-bit
51228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51229 divide-by-zero is raised for zero to large negative powers.
51230 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51231 (__ieee754_powl): Test for y outside the range of signed 64-bit
51232 integers before using fistpll. Reduce 64-bit values to 63-bit
51234 * math/libm-test.inc (pow_test): Add more tests.
51236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51238 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51239 <stdio-common/_itoa.h>.
51240 * debug/segfault.c: Likewise.
51241 * elf/dl-cache.c: Likewise.
51242 * elf/dl-minimal.c: Likewise.
51243 * elf/dl-misc.c: Likewise.
51244 * elf/dl-sysdep.c: Likewise.
51245 * elf/dl-version.c: Likewise.
51246 * elf/rtld.c: Likewise.
51247 * hurd/hurdsock.c: Likewise.
51248 * hurd/lookup-retry.c: Likewise.
51249 * malloc/malloc.c: Likewise.
51250 * malloc/mtrace.c: Likewise.
51251 * nscd/nscd_getgr_r.c: Likewise.
51252 * nscd/nscd_getpw_r.c: Likewise.
51253 * nscd/nscd_getserv_r.c: Likewise.
51254 * posix/getopt_init.c: Likewise.
51255 * posix/wordexp.c: Likewise.
51256 * stdio-common/_itoa.c: Likewise.
51257 * stdio-common/printf_fphex.c: Likewise.
51258 * stdio-common/vfprintf.c: Likewise.
51259 * string/_strerror.c: Likewise.
51260 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51261 * sysdeps/i386/i686/hp-timing.h: Likewise.
51262 * sysdeps/mach/_strerror.c: Likewise.
51263 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51264 * sysdeps/mach/hurd/sethostid.c: Likewise.
51265 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51266 * sysdeps/mach/xpg-strerror.c: Likewise.
51267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51268 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51269 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51270 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51271 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51272 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51274 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51275 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51276 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51277 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51278 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51279 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51280 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51281 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51282 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51283 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51284 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51285 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51286 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51287 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51289 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51291 * stdio-common/_itoa.h: Moved to ...
51292 * sysdeps/generic/_itoa.h: Here.
51294 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51296 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51297 instead of "_itoa.h" and "_itowa.h".
51298 * stdio-common/vfprintf.: Likewise.
51300 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51302 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51304 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51305 (__signbit): Likwise.
51306 (llrintf): Likwise.
51309 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51311 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51314 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51316 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51317 OVERFLOW_EXCEPTION_OK.
51318 * math/libm-test.inc ("Philosophy"): Update comment about
51320 (OVERFLOW_EXCEPTION): Define.
51321 (OVERFLOW_EXCEPTION_OK): Likewise.
51322 (INVALID_EXCEPTION_OK): Renumber.
51323 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51324 (IGNORE_ZERO_INF_SIGN): Likewise.
51325 (test_exceptions): Handle FE_OVERFLOW.
51326 (exp10_test): Expect overflow exceptions.
51327 (exp2_test): Likewise.
51328 (expm1_test): Likewise.
51329 (nextafter_test): Likewise.
51330 (pow_test): Likewise.
51331 (scalbn_test): Likewise.
51332 (scalbln_test): Likewise.
51334 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51336 * sysdeps/x86_64/bits/atomic.h
51337 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51339 (atomic_exchange_acq): Likewise.
51340 (__arch_exchange_and_add_body): Likewise.
51341 (__arch_add_body): Likewise.
51342 (atomic_add_negative): Likewise.
51343 (atomic_add_zero): Likewise.
51345 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51347 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51348 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51350 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51352 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51353 Check __x86_64__ instead of __WORDSIZE.
51355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51357 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51359 2012-03-19 David S. Miller <davem@davemloft.net>
51361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51363 * sysdeps/sparc/fpu/fenv_private.h: New file.
51364 * sysdeps/sparc/fpu/math_private.h: Use it.
51365 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51367 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51368 (libc_feholdexcept_setroundl): Remove.
51369 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51371 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51372 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51374 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51376 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51377 int64_t instead of long int.
51378 (INSERT_WORDS64): Likwise.
51380 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51382 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51383 _Unwind_GetCFA return to _Unwind_Ptr first.
51385 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51388 * math/s_clog.c: Include <float.h>.
51389 (__clog): Scale large or subnormal inputs.
51390 * math/s_clogf.c: Likewise.
51391 * math/s_clogl.c: Likewise.
51392 * math/s_clog10.c: Include <float.h>.
51393 (M_LOG10_2): Define.
51394 (__clog10): Scale large or subnormal inputs.
51395 * math/s_clog10f.c: Likewise.
51396 * math/s_clog10l.c: Likewise.
51397 * math/libm-test.inc (clog_test): Add more tests.
51398 (clog10_test): Likewise.
51399 * sysdeps/i386/fpu/libm-test-ulps: Update.
51400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51405 * math/libm-test.inc (atan2_test): Add another test.
51407 * Makerules (common-objdir-compile): Remove.
51408 * sysdeps/unix/Makefile (config-generated): Do not add
51409 $(unix-generated) to variable.
51410 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51411 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51413 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51415 [generic bits/local_lim.h] (before-compile): Do not append to
51417 [generic bits/local_lim.h] (common-generated): Likewise.
51418 [generic sys/param.h] (before-compile): Do not append to variable.
51419 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51420 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51421 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51422 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51424 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51425 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51426 [generic sys/param.h] ($(addprefix
51427 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51428 [generic sys/param.h] (common-generated): Do not append to
51430 [generic sys/param.h] (sysdep_headers): Likewise.
51431 [generic bits/errno.h] (before-compile): Do not append to
51433 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51435 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51436 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51437 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51438 [generic bits/errno.h] (common-generated): Do not append to
51440 [generic bits/ioctls.h] (before-compile): Do not append to
51442 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51444 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51445 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51446 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51448 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51449 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51450 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51451 [generic bits/ioctls.h] (common-generated): Do not append to
51453 [generic sys/syscall.h] (syscall.h): Remove variable.
51454 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51456 [generic sys/syscall.h] (before-compile): Do not append to
51458 [generic sys/syscall.h] (common-generated): Likewise.
51459 * sysdeps/unix/errnos-tmpl.c: Remove file.
51460 * sysdeps/unix/errnos.awk: Likewise.
51461 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51462 * sysdeps/unix/ioctls.awk: Likewise.
51463 * sysdeps/unix/mk-local_lim.c: Likewise.
51464 * sysdeps/unix/snarf-ioctls: Likewise.
51466 2012-03-19 Richard Henderson <rth@twiddle.net>
51468 * sysdeps/i386/fpu/fenv_private.h: New file.
51469 * sysdeps/i386/fpu/math_private.h: Use it.
51470 (math_opt_barrier, math_force_eval): Remove.
51471 (libc_feholdexcept_setround_53bit): Remove.
51472 (libc_feupdateenv_53bit): Remove.
51473 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51474 (math_opt_barrier, math_force_eval): Remove.
51475 (libc_feholdexcept): Remove.
51476 (libc_feholdexcept_setround): Remove.
51477 (libc_fetestexcept, libc_fesetenv): Remove.
51478 (libc_feupdateenv_test): Remove.
51479 (libc_feupdateenv, libc_feholdsetround): Remove.
51480 (libc_feresetround): Remove.
51482 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51483 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51485 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51486 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51487 (libc_feupdateenv_testl): New.
51488 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51489 (libc_feupdateenv_testf): New.
51490 (libc_feupdateenv): Use libc_feupdateenv_test.
51491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51492 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51494 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51495 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51496 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51497 (libc_feresetround_noex): New.
51498 (libc_feresetround_noexf): New.
51499 (libc_feresetround_noexl): New.
51500 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51501 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51502 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51503 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51508 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51509 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51510 SET_RESTORE_ROUND_NOEX.
51511 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51512 SET_RESTORE_ROUND_NOEXF.
51513 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51514 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51515 (libc_feholdsetroundf): New.
51516 (libc_feresetround, libc_feresetroundf): New.
51518 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51519 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51520 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51522 * sysdeps/generic/math_private.h: Include <fenv.h>.
51523 (default_libc_feholdexcept): New.
51524 (default_libc_feholdexcept_setround): New.
51525 (default_libc_fesetenv, default_libc_feupdateenv): New.
51526 (libc_feholdexcept): Only define if undefined.
51527 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51529 (libc_feholdexcept_setroundl): Likewise.
51530 (libc_feholdexcept_setround_53bit): Likewise.
51531 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51534 (libc_feupdateenv_53bit): Likewise.
51535 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51536 (libc_feholdexcept): Convert from macro to inline function.
51537 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51538 (libc_fesetenv, libc_feupdateenv): Likewise.
51540 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51541 not previously defined.
51542 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51543 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51544 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51545 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51546 * sysdeps/ieee754/flt-32/math_private.h: New file.
51547 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51548 math_private.h below SET_FLOAT_WORD.
51549 (__isnan, __isinf_ns, __finite): Remove.
51550 (__isnanf, __isinf_nsf, __finitef): Remove.
51552 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51556 2012-03-17 David S. Miller <davem@davemloft.net>
51559 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51562 2012-03-16 David S. Miller <davem@davemloft.net>
51564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51568 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51570 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51571 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51572 sysdep_routines when subdir is sysvipc.
51573 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51574 __getshmlba helper.
51576 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51578 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51580 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51583 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51585 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51586 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51587 (__lround): Renamed to ...
51588 (__llround): This. Replace long int with long long int.
51589 Define lround functions as aliases of llround functions.
51590 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51592 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51594 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51595 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51596 adresses to uintptr_t. Replace "long int" and "unsigned long
51597 int" with "greg_t" on va_arg.
51599 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51601 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51602 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51604 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51605 Move e_machine check before EI_CLASS check. Handle x32
51606 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51607 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51608 SKIP_EM_IA_64 and include
51609 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51611 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51612 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51613 (add_system_dir): New macro.
51615 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51616 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51618 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51629 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51631 * math/w_j0f.c (j0f): Likewise.
51633 * math/w_j0l.c (__j0l): Likewise.
51635 * math/w_j1.c (j1): Likewise.
51637 * math/w_j1f.c (j1f): Likewise.
51639 * math/w_j1l.c (__j1l): Likewise.
51641 * math/w_jn.c (jn): Likewise.
51643 * math/w_jnf.c (jnf): Likewise.
51645 * math/w_jnl.c (__jnl): Likewise.
51647 * math/libm-test.inc (j0_test): Add more tests.
51648 (j1_test): Likewise.
51649 (jn_test): Likewise. Add trailing semicolon to existing test.
51650 (y0_test): Likewise.
51651 (y1_test): Likewise.
51652 * sysdeps/i386/fpu/libm-test-ulps: Update.
51653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51657 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51658 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51659 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51660 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51661 (__tanl): Set errno for infinite argument.
51662 * sysdeps/i386/fpu/mptan.c: Remove.
51663 * sysdeps/i386/fpu/s_tan.S: Likewise.
51664 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51665 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51666 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51667 * math/libm-test.inc (tan_test): Add more tests and enable more
51668 tests for double and long double.
51669 * sysdeps/i386/fpu/libm-test-ulps: Update.
51670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51672 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51674 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51675 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51677 2012-03-16 Roland McGrath <roland@hack.frob.com>
51679 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51680 * configure.in: Use it for both main tree and add-ons.
51681 * configure: Regenerated.
51683 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51685 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51687 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51689 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51693 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51694 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51695 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51696 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51697 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51699 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51701 != 0 for prec == 2.
51702 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51703 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51704 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51705 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51706 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51707 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51708 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51709 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51710 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51711 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51712 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51713 * math/libm-test.inc (cos_test): Add more tests and enable more
51714 tests for long double.
51715 (sin_test): Likewise.
51716 (sincos_test): Likewise.
51717 * sysdeps/i386/fpu/libm-test-ulps: Update.
51718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51720 2012-03-16 David S. Miller <davem@davemloft.net>
51722 * sysdeps/sparc/fpu/math_private.h: New file.
51724 2012-03-15 David S. Miller <davem@davemloft.net>
51726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51740 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51741 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51743 * sysdeps/sparc/sparc-ifunc.h: New file.
51744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51783 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51789 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51791 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51795 2012-03-15 Andreas Jaeger <aj@suse.de>
51798 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51799 ieee754/flt-32 implementation for sin, cos and sincos.
51800 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51801 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51802 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51803 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51804 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51805 ieee754/flt-32 implementation for tan.
51807 * math/libm-test.inc (cos_test): Enable some large input tests for
51809 (sin_test): Likewise.
51810 (sincos_test): Likewise.
51811 (tan_test): Add tests for large input.
51813 * sysdeps/i386/fpu/libm-test-ulps: Update.
51815 2012-03-15 Andreas Jaeger <aj@suse.de>
51818 * math/libm-test.inc (cos_test): Add more test cases.
51819 (sin_test): Likewise.
51820 (sincos_test): Likewise.
51822 2012-03-15 Andreas Jaeger <aj@suse.de>
51825 * math/libm-test.inc (cos_test): Add a test case for large input
51827 (sin_test): Likewise.
51828 (sincos_test): Likewise.
51830 2012-03-15 Andreas Jaeger <aj@suse.de>
51831 Joseph Myers <joseph@codesourcery.com>
51834 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51835 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51836 * sysdeps/i386/fpu/branred.c: Likewise.
51837 * sysdeps/i386/fpu/dosincos.c: Likewise.
51838 * sysdeps/i386/fpu/mpa.c: Likewise.
51839 * sysdeps/i386/fpu/s_cos.S: Likewise.
51840 * sysdeps/i386/fpu/s_sin.S: Likewise.
51841 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51842 * sysdeps/i386/fpu/sincos32.c: Likewise.
51844 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51846 (libc_feupdateenv_53bit): Define.
51847 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51849 (libc_feupdateenv_53bit): Define.
51851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51852 53 bit (without extend i386 double precision).
51854 * math/libm-test.inc (sincos_test): Add tests for large input.
51858 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51860 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51864 2012-03-15 David S. Miller <davem@davemloft.net>
51866 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51867 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51868 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51869 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51894 fmin/fmax sysdep routines.
51895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51897 2012-03-14 David S. Miller <davem@davemloft.net>
51899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51971 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51976 * sysdeps/sparc/configure.in: New file.
51977 * sysdeps/sparc/configure: Generate.
51978 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51979 * configure: Regenerate.
51980 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51981 * config.make.in (have-as-vis3): New.
51982 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51983 available use -Av9d instead of -Av9a.
51984 * sysdeps/sparc/sparc64/Makefile: Likewise.
51985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52000 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52001 fzeros/fnegs to load 0x80000000 into a float register instead of
52003 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52005 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52009 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52010 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52011 ($(inst_includedir)/bits/syscall.h): Remove rule.
52012 ($(objpfx)bits/syscall.d): Include instead of
52013 $(objpfx)syscall-list.d.
52014 (generated): Change syscall-list.h and syscall-list.d to
52015 bits/syscall.h and bits/syscall.d.
52017 2012-03-14 Roland McGrath <roland@hack.frob.com>
52020 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52022 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52025 * math/s_csqrt.c: Include <float.h>.
52026 (__csqrt): Scale large or subnormal inputs.
52027 * math/s_csqrtf.c: Likewise.
52028 * math/s_csqrtl.c: Likewise.
52029 * math/libm-test.inc (csqrt_test): Add more tests.
52030 * sysdeps/i386/fpu/libm-test-ulps: Update.
52031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52034 * math/libm-test.inc (hypot_test): Add more tests.
52036 2012-03-13 David S. Miller <davem@davemloft.net>
52039 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52040 double-precision for the calculation instead of scaling.
52042 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52044 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52045 manipulate bits before adding and subtracting TWO52[sx].
52046 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52051 2012-03-13 David S. Miller <davem@davemloft.net>
52053 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52054 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52056 rtld-global-offsets.h
52057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52059 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52062 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52064 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52065 'err' in the ifdef scope in which it is actually used.
52067 * nss/nss_db/db-init.c: Include string.h
52069 2012-03-12 David S. Miller <davem@davemloft.net>
52071 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52072 masking out of the most significant byte of random value used.
52073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52074 Fix coding style in previous change.
52076 * sysdeps/unix/sysv/linux/kernel-features.h
52077 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52078 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52080 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52083 2012-03-11 David S. Miller <davem@davemloft.net>
52085 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52086 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52088 for 'resultvar' otherwise things get truncated on 64-bit.
52090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52091 Fix masking out of the most significant byte of random value used.
52093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52095 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52099 2012-03-09 David S. Miller <davem@davemloft.net>
52101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52102 variables with appropriate CPP guards.
52103 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52104 from the frame pointer, not the stack pointer. Correct layout
52105 comments. Fix test on resulting framesize and the management of
52106 the outregs buffer for pltexit. Preserve floating point return
52107 values across _dl_call_pltexit call.
52108 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52109 framesize and the management of the outregs buffer for pltexit.
52110 Preserve floating point return values across _dl_call_pltexit
52112 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52113 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52114 (la_sparc64_gnu_pltexit): New functions.
52115 (print_exit): Fix format string for return register value.
52117 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52119 * sunrpc/Makefile (others): Add rpcgen.
52120 ($(objpfx)rpcgen): Remove special build rule and dependency on
52122 * sunrpc/rpcgen.c: New file.
52124 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52127 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52128 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52129 * sysdeps/i386/crti.S: Likewise.
52130 * sysdeps/i386/crtn.S: Likewise.
52131 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52132 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52133 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52134 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52135 * sysdeps/sh/crti.S: Likewise.
52136 * sysdeps/sh/crtn.S: Likewise.
52137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52140 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52142 * locale/programs/locfile-kw.gperf: Likewise.
52143 * locale/programs/charmap-kw.h: Regenerated.
52144 * locale/programs/locfile-kw.h: Likewise.
52147 * intl/plural.y: Replace FSF snail mail address with URL.
52148 * intl/plural.c: Regenerated.
52150 2012-03-09 Richard Henderson <rth@twiddle.net>
52152 * include/math_private.h: Remove file.
52153 * math/math_private.h: Move file ...
52154 * sysdeps/generic/math_private.h: ... here.
52156 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52157 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52158 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52160 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52161 and <math_private.h>.
52162 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52163 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52164 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52165 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52166 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52167 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52168 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52170 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52177 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52180 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52195 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52197 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52199 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52200 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52202 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52205 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52208 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52212 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52218 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52219 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52220 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52221 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52223 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52225 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52226 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52227 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52228 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52229 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52230 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52231 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52232 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52236 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52241 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52249 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52250 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52253 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52255 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52256 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52257 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52258 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52259 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52262 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52263 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52264 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52265 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52266 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52267 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52268 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52269 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52276 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52279 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52280 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52281 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52282 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52283 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52285 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52286 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52287 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52288 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52289 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52290 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52291 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52292 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52293 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52295 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52296 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52299 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52300 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52303 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52304 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52305 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52306 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52310 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52311 * sysdeps/ieee754/k_standard.c: Likewise.
52312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52313 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52315 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52316 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52317 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52318 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52320 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52321 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52324 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52325 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52326 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52328 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52329 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52330 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52331 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52332 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52333 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52334 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52335 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52336 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52337 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52342 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52343 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52344 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52345 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52346 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52347 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52349 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52350 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52354 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52355 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52358 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52360 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52361 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52363 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52364 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52365 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52368 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52369 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52374 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52379 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52384 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52385 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52386 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52389 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52392 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52393 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52394 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52395 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52402 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52404 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52405 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52409 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52410 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52411 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52416 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52417 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52419 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52420 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52421 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52422 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52429 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52430 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52431 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52432 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52433 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52434 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52435 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52436 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52437 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52438 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52439 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52440 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52443 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52444 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52445 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52446 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52448 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52449 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52450 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52451 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52453 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52454 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52455 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52458 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52459 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52460 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52461 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52462 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52463 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52466 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52467 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52468 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52469 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52471 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52472 * sysdeps/ieee754/s_lib_version.c: Likewise.
52473 * sysdeps/ieee754/s_matherr.c: Likewise.
52474 * sysdeps/ieee754/s_signgam.c: Likewise.
52475 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52476 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52478 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52480 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52481 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52482 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52483 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52484 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52485 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52486 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52487 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52488 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52489 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52490 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52492 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52497 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52499 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52500 * sunrpc/rpc_main.c: Likewise.
52501 * sunrpc/rpc_svcout.c: Likewise.
52503 2012-03-09 David S. Miller <davem@davemloft.net>
52505 * include/math_private.h: New file.
52507 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52509 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52510 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52511 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52512 from <bits/socket_type.h>.
52513 (enum __socket_type): Don't define here.
52514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52516 bits/socket_type.h.
52519 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52520 checking __USE_GNU.
52522 * Makerules ($(inst_includedir)/%.h): New rule.
52523 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52524 (install-others): Remove variable setting.
52525 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52527 2012-03-08 Richard Henderson <rth@twiddle.net>
52529 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52530 from macro to inline function; merge with the
52531 !__LIBC_INTERNAL_MATH_INLINES version.
52532 (__ieee754_sqrtf): Likewise.
52534 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52535 to inline function.
52536 (__rintf, __floor, __floorf): Likewise.
52538 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52539 macro to inline function.
52540 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52543 not <math/math_private.h>.
52545 2012-03-08 David S. Miller <davem@davemloft.net>
52547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52549 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52551 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52553 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52555 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52556 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52558 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52560 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52561 be defined individually, they must be defined as a block. Define
52562 S for printing a string instead of hidint the different by using a
52563 macro for adding the 'l'.
52564 * stdio-common/tst-fphex-wide.c: Adjust.
52566 2012-03-07 Marek Polacek <polacek@redhat.com>
52568 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52570 2012-03-08 Marek Polacek <polacek@redhat.com>
52573 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52574 * stdio-common/tst-fphex.c: Define a few macros to make the
52575 test reusable. Use them.
52576 * stdio-common/tst-fphex-wide.c: New file.
52578 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52581 * manual/macros.texi (gnusystems): New macro.
52582 (nongnusystems): Likewise.
52583 (gnulinuxhurdsystems): Likewise.
52584 (gnuhurdsystems): Likewise..
52585 (gnulinuxsystems): Likewise.
52586 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52587 variants of the GNU system, not "GNU system".
52588 * manual/conf.texi: Likewise.
52589 * manual/errno.texi: Likewise. Update example of errno macro
52591 * manual/filesys.texi: Likewise.
52592 (getumask): Document as specific to GNU/Hurd.
52593 * manual/install.texi: Likewise. Reword some references to
52595 * manual/intro.texi: Likewise.
52596 * manual/io.texi: Likewise.
52597 (File Name Portability): Detail which constraints are inapplicable
52598 to all GNU systems and which are only inapplicable to GNU/Hurd.
52599 * manual/job.texi: Likewise.
52600 * manual/llio.texi: Likewise.
52601 (O_NOCTTY): Document as present on GNU/Linux.
52602 * manual/maint.texi: Likewise.
52603 * manual/memory.texi: Likewise.
52604 * manual/pattern.texi: Likewise.
52605 * manual/pipe.texi: Likewise.
52606 * manual/process.texi: Likewise.
52607 * manual/resource.texi: Likewise.
52608 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52610 * manual/setjmp.texi: Likewise.
52611 * manual/signal.texi: Likewise.
52612 * manual/startup.texi: Likewise.
52613 * manual/stdio.texi: Likewise.
52614 * manual/terminal.texi: Likewise.
52615 (ONLCR): Document as POSIX.
52616 (OXTABS): Document availability on GNU/Linux as XTABS.
52617 (ONOEOT): Document availability separately from other bits.
52618 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52619 * manual/time.texi: Likewise.
52620 * manual/users.texi: Likewise.
52621 * INSTALL: Regenerated.
52622 * sysdeps/gnu/errlist.c: Regenerated.
52624 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52625 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52626 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52628 * configure: Regenerated.
52630 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52632 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52633 default includes instead of AC_HEADER_CHECK.
52634 * sysdeps/i386/configure: Regenerated.
52637 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52638 * math/s_cacoshf.c (__cacoshf): Likewise.
52639 * math/s_cacoshl.c (__cacoshl): Likewise.
52640 * math/s_casinh.c (__casinh): Set signs of result from argument.
52641 * math/s_casinhf.c (__casinhf): Likewise.
52642 * math/s_casinhl.c (__casinhl): Likewise.
52643 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52644 (casinh_test): Add more tests.
52645 * sysdeps/i386/fpu/libm-test-ulps: Update.
52646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52648 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52650 * po/zh_TW.po: Update from translation team.
52652 * login/Makefile (distribute): Remove variable.
52653 * catgets/Makefile: Likewise.
52654 * mach/Makefile: Likewise.
52655 * malloc/Makefile: Likewise.
52656 * misc/Makefile: Likewise.
52657 * iconv/Makefile: Likewise.
52658 * nscd/Makefile: Likewise.
52659 * hurd/Makefile: Likewise.
52660 * manual/Makefile: Likewise.
52661 * locale/Makefile: Likewise.
52662 * intl/Makefile: Likewise.
52663 * conform/Makefile: Likewise.
52664 * nss/Makefile: Likewise.
52665 * time/Makefile: Likewise.
52666 * soft-fp/Makefile: Likewise.
52667 * dirent/Makefile: Likewise.
52668 * gmon/Makefile: Likewise.
52669 * po/Makefile: Likewise.
52670 * rt/Makefile: Likewise.
52671 * socket/Makefile: Likewise.
52672 * math/Makefile: Likewise.
52673 * signal/Makefile: Likewise.
52674 * debug/Makefile: Likewise.
52675 * elf/Makefile: Likewise.
52676 * timezone/Makefile: Likewise.
52677 * stdlib/Makefile: Likewise.
52678 * iconvdata/Makefile: Likewise.
52679 * sunrpc/Makefile: Likewise.
52680 * io/Makefile: Likewise.
52681 * argp/Makefile: Likewise.
52682 * inet/Makefile: Likewise.
52683 * hesiod/Makefile: Likewise.
52684 * grp/Makefile: Likewise.
52685 * csu/Makefile: Likewise.
52686 * wctype/Makefile: Likewise.
52687 * crypt/Makefile: Likewise.
52688 * libio/Makefile: Likewise.
52689 * string/Makefile: Likewise.
52690 * nis/Makefile: Likewise.
52691 * resolv/Makefile: Likewise.
52692 * stdio-common/Makefile: Likewise.
52693 * wcsmbs/Makefile: Likewise.
52694 * dlfcn/Makefile: Likewise.
52695 * posix/Makefile: Likewise.
52698 * timezone/Makefile: Don't install timezone files, just the programs
52701 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52703 * nss/databases.def: Add missing gshadow entry.
52705 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52707 2012-03-06 Marek Polacek <polacek@redhat.com>
52710 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52711 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52712 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52713 * stdio-common/tst-long-dbl-fphex.c: New file.
52715 2012-03-06 David S. Miller <davem@davemloft.net>
52717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52718 (set_obp_int): New function.
52719 (get_obp_int): New function.
52720 (__get_clockfreq_via_dev_openprom): Likewise.
52721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52722 Avoid unused variable warnings on 'val' and use builtin_expect.
52723 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52725 (INLINE_CLONE_SYSCALL): Likewise.
52727 2012-03-05 David S. Miller <davem@davemloft.net>
52729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52731 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52736 only for |x| >= 40.
52737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52739 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52742 Replace gettimeofday with __vdso_gettimeofday.
52744 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52745 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52746 __vdso_clock_gettime and __vdso_getcpu.
52748 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52749 time with __vdso_time.
52751 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52753 * manual/lang.texi (size_t): Note types to which size_t may be
52754 equivalent with the GNU C Library, but do not describe when
52755 differences between them are significant.
52757 2012-03-05 Andreas Jaeger <aj@suse.de>
52759 * sysdeps/i386/fpu/libm-test-ulps: Update.
52761 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52764 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52765 (__ieee754_pow): Save and restore rounding mode and use
52766 round-to-nearest for main computations.
52767 * math/libm-test.inc (pow_test_tonearest): New function.
52768 (pow_test_towardzero): Likewise.
52769 (pow_test_downward): Likewise.
52770 (pow_test_upward): Likewise.
52771 (main): Call the new functions.
52772 * sysdeps/i386/fpu/libm-test-ulps: Update.
52773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52776 * math/libm-test.inc (cosh_test_tonearest): New function.
52777 (cosh_test_towardzero): Likewise.
52778 (cosh_test_downward): Likewise.
52779 (cosh_test_upward): Likewise.
52780 (sinh_test_tonearest): Likewise.
52781 (sinh_test_towardzero): Likewise.
52782 (sinh_test_downward): Likewise.
52783 (sinh_test_upward): Likewise.
52784 (main): Call the new functions.
52785 * sysdeps/i386/fpu/libm-test-ulps: Update.
52786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52788 2012-03-05 Tom de Vries <tom@codesourcery.com>
52790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52791 default stack guard is set in last bytes.
52792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52794 2012-03-05 Kees Cook <keescook@chromium.org>
52796 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52799 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52800 possibly allocate from heap instead of stack.
52801 * stdio-common/bug-vfprintf-nargs.c: New file.
52802 * stdio-common/Makefile (tests): Add nargs overflow test.
52804 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52808 2012-03-03 Marek Polacek <polacek@redhat.com>
52810 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52811 * math/math_private.h: Likewise.
52812 * stdlib/tst-strtod.c: Likewise.
52813 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52814 * sysdeps/x86_64/bits/atomic.h: Likewise.
52816 2012-03-02 David S. Miller <davem@davemloft.net>
52818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52822 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52823 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52824 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52825 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52827 2012-03-02 Roland McGrath <roland@hack.frob.com>
52830 * manual/examples/README: New file, says the example source files
52831 can be used under GPL>=2.
52832 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52833 line containing just "*/".
52834 * manual/examples/add.c: Add copyright header (GPL>=2).
52835 * manual/examples/argp-ex1.c: Likewise.
52836 * manual/examples/argp-ex2.c: Likewise.
52837 * manual/examples/argp-ex3.c: Likewise.
52838 * manual/examples/argp-ex4.c: Likewise.
52839 * manual/examples/atexit.c: Likewise.
52840 * manual/examples/db.c: Likewise.
52841 * manual/examples/dir.c: Likewise.
52842 * manual/examples/dir2.c: Likewise.
52843 * manual/examples/execinfo.c: Likewise.
52844 * manual/examples/filecli.c: Likewise.
52845 * manual/examples/filesrv.c: Likewise.
52846 * manual/examples/fmtmsgexpl.c: Likewise.
52847 * manual/examples/genpass.c: Likewise.
52848 * manual/examples/inetcli.c: Likewise.
52849 * manual/examples/inetsrv.c: Likewise.
52850 * manual/examples/isockad.c: Likewise.
52851 * manual/examples/longopt.c: Likewise.
52852 * manual/examples/memopen.c: Likewise.
52853 * manual/examples/memstrm.c: Likewise.
52854 * manual/examples/mkfsock.c: Likewise.
52855 * manual/examples/mkisock.c: Likewise.
52856 * manual/examples/mygetpass.c: Likewise.
52857 * manual/examples/pipe.c: Likewise.
52858 * manual/examples/popen.c: Likewise.
52859 * manual/examples/rprintf.c: Likewise.
52860 * manual/examples/search.c: Likewise.
52861 * manual/examples/select.c: Likewise.
52862 * manual/examples/setjmp.c: Likewise.
52863 * manual/examples/sigh1.c: Likewise.
52864 * manual/examples/sigusr.c: Likewise.
52865 * manual/examples/stpcpy.c: Likewise.
52866 * manual/examples/strdupa.c: Likewise.
52867 * manual/examples/strftim.c: Likewise.
52868 * manual/examples/strncat.c: Likewise.
52869 * manual/examples/subopt.c: Likewise.
52870 * manual/examples/swapcontext.c: Likewise.
52871 * manual/examples/termios.c: Likewise.
52872 * manual/examples/testopt.c: Likewise.
52873 * manual/examples/testpass.c: Likewise.
52874 * manual/examples/timeval_subtract.c: Likewise.
52877 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52879 * manual/timeval_subtract.c.texi: ... here, new file.
52881 2012-03-02 David S. Miller <davem@davemloft.net>
52883 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52885 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52888 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52889 (__sin): Save and restore rounding mode and use round-to-nearest
52890 for all computations.
52891 (__cos): Save and restore rounding mode and use round-to-nearest
52892 for all computations.
52893 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52895 (tan): Save and restore rounding mode and use round-to-nearest for
52897 * math/libm-test.inc (cos_test_tonearest): New function.
52898 (cos_test_towardzero): Likewise.
52899 (cos_test_downward): Likewise.
52900 (cos_test_upward): Likewise.
52901 (sin_test_tonearest): Likewise.
52902 (sin_test_towardzero): Likewise.
52903 (sin_test_downward): Likewise.
52904 (sin_test_upward): Likewise.
52905 (tan_test_tonearest): Likewise.
52906 (tan_test_towardzero): Likewise.
52907 (tan_test_downward): Likewise.
52908 (tan_test_upward): Likewise.
52909 (main): Call the new functions.
52910 * sysdeps/i386/fpu/libm-test-ulps: Update.
52911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52914 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52915 small n, then large n, before computing and testing k+n.
52916 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52921 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52922 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52923 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52924 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52929 * math/libm-test.inc (scalbn_test): Add more tests.
52930 (scalbln_test): Likewise.
52932 * manual/filesys.texi (mode_t): Describe constraints on size and
52933 signedness, not exact equivalence to a particular type.
52935 (ino64_t): Likewise.
52937 (nlink_t): Likewise.
52938 (blkcnt_t): Likewise.
52939 (blkcnt64_t): Likewise.
52940 * manual/llio.texi (off_t): Likewise.
52943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52944 (__ieee754_exp): Save and restore rounding mode and use
52945 round-to-nearest for all computations.
52946 * math/libm-test.inc (exp_test_tonearest): New function.
52947 (exp_test_towardzero): Likewise.
52948 (exp_test_downward): Likewise.
52949 (exp_test_upward): Likewise.
52950 (main): Call the new functions.
52951 * sysdeps/i386/fpu/libm-test-ulps: Update.
52952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52954 2012-03-01 Chris Demetriou <cgd@google.com>
52956 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52957 have predictable order.
52959 2012-03-01 David S. Miller <davem@davemloft.net>
52961 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52963 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52964 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52965 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52966 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52968 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52969 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52970 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52972 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52973 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52974 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52975 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52976 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52981 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52984 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52985 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52986 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52987 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52988 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52991 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52992 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52993 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52994 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52995 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53000 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53001 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53002 * sysdeps/sparc/elf/configure: Regenerated.
53004 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53006 * configure.in (AS, LD): Require binutils 2.20 or later.
53007 * configure: Regenerated.
53008 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53009 as required minimum version.
53010 * INSTALL: Regenerated.
53014 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53015 before squaring exponent.
53016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53017 bottom long double and 27 bits of top long double before squaring
53019 * math/libm-test.inc (erfc_test): Add more tests.
53020 * sysdeps/i386/fpu/libm-test-ulps: Update.
53021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53024 2012-03-01 Kai Tietz <ktietz@redhat.com>
53026 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53027 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53028 containing bit-fields.
53029 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53030 * soft-fp/single.h (_FP_UNION_S): Likewise.
53031 * soft-fp/double.h (_FP_UNION_D): Likewise.
53033 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53036 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53037 not include ../strcmp.S.
53038 [USE_AS_STRNCASECMP_L]: Likewise.
53039 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53040 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53041 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53042 (__strncasecmp_l_ia32): Define as alias to
53043 __strncasecmp_l_nonascii.
53046 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53047 * sysdeps/i386/fpu/libm-test-ulps: Update.
53048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53050 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53053 2012-02-29 Jeff Law <law@redhat.com>
53055 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53056 out of bounds read.
53058 2012-02-29 Marek Polacek <polacek@redhat.com>
53061 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53062 * elf/Makefile: Add rules to run tst-unused-dep.out.
53064 2012-02-28 David S. Miller <davem@davemloft.net>
53066 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53067 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53068 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53070 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53071 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53073 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53075 * math/libm-test.inc (llround_test): Move one test from
53076 lround_test. Use TEST_f_L in moved test.
53077 (lround_test): Move misplaced test to llround_test. Add testcase
53080 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53082 * sysdeps/x86_64/fpu/e_expf.S: New file.
53083 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53085 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53088 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53089 of remain_len that may cause incomplete multi-byte character and
53091 * posix/bug-regex33.c: New file.
53092 * posix/Makefile (tests): Add bug-regex33.
53094 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53096 * manual/macros.texi: New file.
53097 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53098 * manual/libc.texinfo: Include macros.texi.
53099 * manual/creatute.texi: Likewise.
53100 * manual/install.texi: Likewise.
53101 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53102 @glibcadj{} in references to the GNU C Library.
53103 * manual/charset.texi: Likewise.
53104 * manual/conf.texi: Likewise.
53105 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53106 when not using those macros.
53107 * manual/creature.texi: Likewise.
53108 * manual/crypt.texi: Likewise.
53109 * manual/errno.texi: Likewise.
53110 * manual/filesys.texi: Likewise.
53111 * manual/header.texi: Likewise.
53112 * manual/install.texi: Likewise.
53113 * manual/intro.texi: Likewise.
53114 * manual/io.texi: Likewise.
53115 * manual/job.texi: Likewise.
53116 * manual/lang.texi: Likewise.
53117 * manual/libc.texiinfo: Likewise.
53118 * manual/llio.texi: Likewise.
53119 * manual/locale.texi: Likewise.
53120 * manual/maint.texi: Likewise.
53121 * manual/math.texi: Likewise.
53122 * manual/memory.texi: Likewise.
53123 * manual/message.texi: Likewise.
53124 * manual/nss.texi: Likewise.
53125 * manual/pattern.texi: Likewise.
53126 * manual/process.texi: Likewise.
53127 * manual/resource.texi: Likewise.
53128 * manual/search.texi: Likewise.
53129 * manual/setjmp.texi: Likewise.
53130 * manual/signal.texi: Likewise.
53131 * manual/socket.texi: Likewise.
53132 * manual/startup.texi: Likewise.
53133 * manual/stdio.texi: Likewise.
53134 * manual/string.texi: Likewise.
53135 * manual/sysinfo.texi: Likewise.
53136 * manual/syslog.texi: Likewise.
53137 * manual/terminal.texi: Likewise.
53138 * manual/time.texi: Likewise.
53139 * manual/users.texi: Likewise.
53140 * INSTALL: Regenerated.
53141 * NOTES: Regenerated.
53142 * sysdeps/gnu/errlist.c: Regenerated.
53144 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53146 * include/dirent.h: Include <dirstream.h> before
53149 2012-02-28 David S. Miller <davem@davemloft.net>
53151 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53152 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53153 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53154 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53156 2012-02-27 David S. Miller <davem@davemloft.net>
53158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53160 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53161 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53164 frame pointer instead of stack pointer relative arg slot.
53165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53166 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53167 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53169 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53172 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53174 2012-02-27 David S. Miller <davem@davemloft.net>
53176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53182 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53183 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53185 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53187 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53188 later. Allow versions 5-9.
53189 * configure: Regenerated.
53190 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53191 required minimum version and 4.6 as recommended version. Do not
53192 mention bugs in GCC 2.7 and 2.8.
53193 * INSTALL: Regenerated.
53195 2012-02-27 David S. Miller <davem@davemloft.net>
53197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53201 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53202 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53203 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53204 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53207 manipulate bits before adding and subtracting TWO112[sx].
53208 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53210 2012-02-27 Roland McGrath <roland@hack.frob.com>
53213 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53214 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53215 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53216 being in POSIX, because they are in 1003.1-2008.
53218 * rt/tst-aio.c: Include <fcntl.h>.
53219 * rt/tst-aio7.c: Likewise.
53220 * rt/tst-aio64.c: Likewise.
53222 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53224 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53226 * manual/install.texi (--with-headers): Describe headers as
53227 interface headers, not private headers.
53228 (Specific advice for GNU/Linux systems): Describe use of headers
53229 from "make headers_install", not private headers from older
53231 * INSTALL: Regenerated.
53232 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53234 * sysdeps/unix/sysv/linux/configure: Regenerated.
53236 * manual/llio.texi (fclean): Remove documentation.
53238 * manual/Makefile (libc-texi-generated): New variable. Include
53240 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53241 $(libc-texi-generated), not duplicated list of files.
53242 (version.texi, stamp-version): New rules.
53243 (realclean): Remove $(libc-texi-generated), not individual files
53244 from that list. Do not remove dir-add.texinfo.
53245 * manual/libc.texinfo: Comment out uses of edition numbers and
53246 references to printed manual. Remove last-updated dates.
53247 (EDITION): Comment out.
53249 (VERSION, UPDATED): Remove.
53250 (version.texi): Include.
53252 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53254 * sysdeps/posix/spawni.c: Include <signal.h>.
53255 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53256 * sysdeps/pthread/aio_fsync.c: Likewise.
53258 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53260 * conform/Makefile (tests): Run only when not cross-compiling and
53261 when fast-check is not defined.
53263 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53264 * conform/data/limits.h-data: Fixes for POSIX2008.
53265 * conform/run-conformtest.sh: Run all tests.
53266 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53268 * include/bits/dlfcn.h: Likewise.
53269 * include/langinfo.h: Likewise.
53270 * include/monetary.h: Likewise.
53271 * include/sys/poll.h: Likewise.
53273 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53275 * posix/spawn.h: Define __need_sigset_t.
53276 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53277 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53278 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53279 to get sigevent_t only.
53280 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53281 only for __USE_GNU.
53282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53283 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53284 process_vm_writev only for __USE_GNU.
53285 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53287 * conform/Makefile: For now ignore errors from run-conformtest.
53288 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53289 POSIX to avoid namespace pollution. Don't prepend headers.
53290 * conform/data/aio.h-data: Fixes for POSIX testing.
53291 * conform/data/fcntl.h-data: Likewise.
53292 * conform/data/glob.h-data: Likewise.
53293 * conform/data/grp.h-data: Likewise.
53294 * conform/data/pthread.h-data: Likewise.
53295 * conform/data/pwd.h-data: Likewise.
53296 * conform/data/signal.h-data: Likewise.
53297 * conform/data/spawn.h-data: Likewise.
53298 * conform/data/stdio.h-data: Likewise.
53299 * conform/data/stdlib.h-data: Likewise.
53300 * conform/data/stropts.h-data: Likewise.
53301 * conform/data/sys/mman.h-data: Likewise.
53302 * conform/data/sys/stat.h-data: Likewise.
53303 * conform/data/sys/types.h-data: Likewise.
53304 * conform/data/sys/wait.h-data: Likewise.
53305 * conform/data/time.h-data: Likewise.
53306 * conform/data/unistd.h-data: Likewise.
53307 * conform/data/utime.h-data: Likewise.
53309 * io/sys/stat.h: fchmod was always in POSIX.
53310 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53311 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53312 * rt/aio.h: Define __need_timespec before including <time.h>.
53313 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53314 struct. Add forward declaration of pthread_attr_t and use it in
53316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53318 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53319 always remove CLK_TCK definition.
53321 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53323 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53325 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53327 * conform/run-conformtest.sh: New file.
53328 * conform/Makefile: Run run-conformtest for tests.
53329 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53332 * conform/data/uchar.h-data: New file.
53333 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53334 * conform/data/arpa/inet.h-data: Likewise.
53335 * conform/data/assert.h-data: Likewise.
53336 * conform/data/complex.h-data: Likewise.
53337 * conform/data/cpio.h-data: Likewise.
53338 * conform/data/ctype.h-data: Likewise.
53339 * conform/data/dirent.h-data: Likewise.
53340 * conform/data/dlfcn.h-data: Likewise.
53341 * conform/data/errno.h-data: Likewise.
53342 * conform/data/fcntl.h-data: Likewise.
53343 * conform/data/float.h-data: Likewise.
53344 * conform/data/fmtmsg.h-data: Likewise.
53345 * conform/data/fnmatch.h-data: Likewise.
53346 * conform/data/ftw.h-data: Likewise.
53347 * conform/data/glob.h-data: Likewise.
53348 * conform/data/grp.h-data: Likewise.
53349 * conform/data/iconv.h-data: Likewise.
53350 * conform/data/inttypes.h-data: Likewise.
53351 * conform/data/langinfo.h-data: Likewise.
53352 * conform/data/libgen.h-data: Likewise.
53353 * conform/data/limits.h-data: Likewise.
53354 * conform/data/locale.h-data: Likewise.
53355 * conform/data/math.h-data: Likewise.
53356 * conform/data/monetary.h-data: Likewise.
53357 * conform/data/mqueue.h-data: Likewise.
53358 * conform/data/ndbm.h-data: Likewise.
53359 * conform/data/net/if.h-data: Likewise.
53360 * conform/data/netdb.h-data: Likewise.
53361 * conform/data/netinet/in.h-data: Likewise.
53362 * conform/data/nl_types.h-data: Likewise.
53363 * conform/data/poll.h-data: Likewise.
53364 * conform/data/pthread.h-data: Likewise.
53365 * conform/data/pwd.h-data: Likewise.
53366 * conform/data/regex.h-data: Likewise.
53367 * conform/data/sched.h-data: Likewise.
53368 * conform/data/search.h-data: Likewise.
53369 * conform/data/semaphore.h-data: Likewise.
53370 * conform/data/setjmp.h-data: Likewise.
53371 * conform/data/signal.h-data: Likewise.
53372 * conform/data/spawn.h-data: Likewise.
53373 * conform/data/stdarg.h-data: Likewise.
53374 * conform/data/stdio.h-data: Likewise.
53375 * conform/data/stdlib.h-data: Likewise.
53376 * conform/data/string.h-data: Likewise.
53377 * conform/data/strings.h-data: Likewise.
53378 * conform/data/stropts.h-data: Likewise.
53379 * conform/data/sys/ipc.h-data: Likewise.
53380 * conform/data/sys/mman.h-data: Likewise.
53381 * conform/data/sys/msg.h-data: Likewise.
53382 * conform/data/sys/resource.h-data: Likewise.
53383 * conform/data/sys/select.h-data: Likewise.
53384 * conform/data/sys/sem.h-data: Likewise.
53385 * conform/data/sys/shm.h-data: Likewise.
53386 * conform/data/sys/socket.h-data: Likewise.
53387 * conform/data/sys/stat.h-data: Likewise.
53388 * conform/data/sys/statvfs.h-data: Likewise.
53389 * conform/data/sys/time.h-data: Likewise.
53390 * conform/data/sys/timeb.h-data: Likewise.
53391 * conform/data/sys/times.h-data: Likewise.
53392 * conform/data/sys/types.h-data: Likewise.
53393 * conform/data/sys/uio.h-data: Likewise.
53394 * conform/data/sys/un.h-data: Likewise.
53395 * conform/data/sys/utsname.h-data: Likewise.
53396 * conform/data/sys/wait.h-data: Likewise.
53397 * conform/data/syslog.h-data: Likewise.
53398 * conform/data/tar.h-data: Likewise.
53399 * conform/data/termios.h-data: Likewise.
53400 * conform/data/utime.h-data: Likewise.
53401 * conform/data/utmpx.h-data: Likewise.
53402 * conform/data/varargs.h-data: Likewise.
53403 * conform/data/wchar.h-data: Likewise.
53404 * conform/data/wctype.h-data: Likewise.
53405 * conform/data/wordexp.h-data: Likewise.
53407 * include/stropts.h: New file.
53408 * include/uchar.h: New file.
53409 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53410 * include/assert.h: Likewise.
53411 * include/ctype.h: Likewise.
53412 * include/dirent.h: Likewise.
53413 * include/dlfcn.h: Likewise.
53414 * include/fcntl.h: Likewise.
53415 * include/fnmatch.h: Likewise.
53416 * include/glob.h: Likewise.
53417 * include/grp.h: Likewise.
53418 * include/libio.h: Likewise.
53419 * include/locale.h: Likewise.
53420 * include/math.h: Likewise.
53421 * include/net/if.h: Likewise.
53422 * include/netdb.h: Likewise.
53423 * include/netinet/in.h: Likewise.
53424 * include/pthread.h: Likewise.
53425 * include/pwd.h: Likewise.
53426 * include/regex.h: Likewise.
53427 * include/sched.h: Likewise.
53428 * include/search.h: Likewise.
53429 * include/setjmp.h: Likewise.
53430 * include/signal.h: Likewise.
53431 * include/stdio.h: Likewise.
53432 * include/stdlib.h: Likewise.
53433 * include/string.h: Likewise.
53434 * include/sys/cdefs.h: Likewise.
53435 * include/sys/mman.h: Likewise.
53436 * include/sys/msg.h: Likewise.
53437 * include/sys/resource.h: Likewise.
53438 * include/sys/select.h: Likewise.
53439 * include/sys/socket.h: Likewise.
53440 * include/sys/stat.h: Likewise.
53441 * include/sys/statvfs.h: Likewise.
53442 * include/sys/time.h: Likewise.
53443 * include/sys/times.h: Likewise.
53444 * include/sys/uio.h: Likewise.
53445 * include/sys/utsname.h: Likewise.
53446 * include/sys/wait.h: Likewise.
53447 * include/termios.h: Likewise.
53448 * include/time.h: Likewise.
53449 * include/ulimit.h: Likewise.
53450 * include/unistd.h: Likewise.
53451 * include/utime.h: Likewise.
53452 * include/wchar.h: Likewise.
53453 * include/wctype.h: Likewise.
53454 * include/wordexp.h: Likewise.
53456 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53458 * time/time.h: TIME_UTC must be a macro.
53459 Make timespec_get available for ISO C11 only as well.
53461 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53463 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53464 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53466 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53468 * configure.in: Use -o not -a in test for unsupported multi-arch.
53470 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53472 * manual/texinfo.tex: Update to version 2012-01-19.16.
53474 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53476 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53478 2012-02-24 Roland McGrath <roland@hack.frob.com>
53481 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53482 * manual/fdl-1.3.texi: New file.
53483 * manual/fdl-1.1.texi: File removed.
53486 * manual/libc.texinfo (FDL_VERSION): New @set.
53487 Use it for mention of FDL in cover text.
53488 (Documentation License): Use it in @include file name.
53490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53491 Roland McGrath <roland@hack.frob.com>
53494 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53495 (not LONG_LONG_MAX and LONG_LONG_MIN.
53496 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53497 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53499 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53501 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53505 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53506 manipulate bits before adding and subtracting TWO23[sx].
53507 * math/libm-test.inc (nearbyint_test): Add more tests.
53509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53512 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53513 bits before adding and subtracting TWO23[sx].
53514 * math/libm-test.inc (rint_test): Add more tests.
53515 (rint_test_tonearest): Likewise.
53516 (rint_test_towardzero): Likewise.
53517 (rint_test_downward): Likewise.
53518 (rint_test_upward: Likewise.
53520 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53523 * include/stdc-predef.h: New file. Extracted from features.h.
53524 * include/features.h: Include stdc-predef.h.
53525 * Makefile (headers): Add stdc-predef.h.
53526 * CONFORMANCE (Compiler limitations): Update.
53528 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53530 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53532 2012-02-21 David S. Miller <davem@davemloft.net>
53534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53535 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53537 2012-02-20 David S. Miller <davem@davemloft.net>
53539 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53540 using a normal save/restore sequence, rather than allocating a
53541 dummy stack frame just to store a frame pointer and restore.
53542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53544 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53546 * manual/install.texi: Fix stray word in line-wrapped comment.
53548 2012-02-20 David S. Miller <davem@davemloft.net>
53550 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53551 both binutils and gcc support GOTDATA.
53553 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53554 "rd %pc" in the PIC register setup sequences.
53556 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53557 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53559 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53560 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53563 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53565 (SYSCALL_ERROR_HANDLER): Likewise.
53566 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53569 (SYSCALL_ERROR_HANDLER): Likewise.
53571 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53572 (HAVE_GCC_GOTDATA): New.
53573 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53574 relocation support in both binutils and gcc.
53575 * sysdeps/sparc/elf/configure: Regenerate.
53577 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53578 * sysdeps/sparc/sparc32/elf/configure: Delete.
53579 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53580 * sysdeps/sparc/sparc64/elf/configure: Delete.
53581 * sysdeps/sparc/elf/configure.in: New file.
53582 * sysdeps/sparc/elf/configure: Generate.
53584 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53585 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53586 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53587 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53588 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53590 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53592 * manual/install.texi: Do not mention specific glibc version
53594 * manual/libc.texinfo (VERSION, UPDATED): Update.
53595 (@copying): Use @copyright{} and range of years.
53597 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53600 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53601 [crti.S not in sysdirs] (generated): Do not append.
53602 [crti.S not in sysdirs] (omit-deps): Likewise.
53603 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53604 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53605 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53606 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53607 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53609 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53610 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53611 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53612 * csu/defs.awk: Remove file.
53613 * sysdeps/generic/initfini.c: Likewise.
53614 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53616 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53619 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53621 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53622 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53623 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53626 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53628 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53629 (__EPOLL_PACKED): Define to empty if not defined by
53631 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53635 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53637 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53638 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53639 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53640 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53642 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53646 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53648 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53651 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53655 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53658 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53660 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53662 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53663 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53665 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53667 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53670 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53672 * math/w_acos.c: Use non-signaling floating-point comparisons.
53673 * math/w_acosf.c: Likewise.
53674 * math/w_acosh.c: Likewise.
53675 * math/w_acoshf.c: Likewise.
53676 * math/w_acoshl.c: Likewise.
53677 * math/w_acosl.c: Likewise.
53678 * math/w_asin.c: Likewise.
53679 * math/w_asinf.c: Likewise.
53680 * math/w_asinl.c: Likewise.
53681 * math/w_atanh.c: Likewise.
53682 * math/w_atanhf.c: Likewise.
53683 * math/w_atanhl.c: Likewise.
53684 * math/w_exp2.c: Likewise.
53685 * math/w_exp2f.c: Likewise.
53686 * math/w_exp2l.c: Likewise.
53687 * math/w_j0.c: Likewise.
53688 * math/w_j0f.c: Likewise.
53689 * math/w_j0l.c: Likewise.
53690 * math/w_j1.c: Likewise.
53691 * math/w_j1f.c: Likewise.
53692 * math/w_j1l.c: Likewise.
53693 * math/w_jn.c: Likewise.
53694 * math/w_jnf.c: Likewise.
53695 * math/w_log.c: Likewise.
53696 * math/w_log10.c: Likewise.
53697 * math/w_log10f.c: Likewise.
53698 * math/w_log10l.c: Likewise.
53699 * math/w_log2.c: Likewise.
53700 * math/w_log2f.c: Likewise.
53701 * math/w_log2l.c: Likewise.
53702 * math/w_logf.c: Likewise.
53703 * math/w_logl.c: Likewise.
53704 * math/w_sqrt.c: Likewise.
53705 * math/w_sqrtf.c: Likewise.
53706 * math/w_sqrtl.c: Likewise.
53707 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53708 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53710 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53711 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53713 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53716 * manual/string.texi (strnlen): Use correct parameter name in
53717 equivalent expression.
53719 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53722 * manual/users.texi (seteuid): Consistently use neweuid for
53725 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53728 * manual/nss.texi (Services in the NSS configuration): Correct
53729 list of services in example configuration file.
53731 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53734 * manual/arith.texi: Remove statements about negative zero
53735 behaving identically to zero.
53737 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53740 * manual/install.texi: Do not document upgrading from libc5.
53742 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53745 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53747 2012-02-18 David S. Miller <davem@davemloft.net>
53749 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53750 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53751 %o7 across the call.
53752 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53755 SETUP_PIC_REG_LEAF.
53756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53757 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53758 * sysdeps/sparc/crtn.S: Likewise.
53760 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53762 * aout/Makefile: Remove.
53764 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53767 * manual/examples/argp-ex1.c (main): Format definition in GNU
53769 * manual/examples/argp-ex2.c (main): Likewise.
53770 * manual/examples/argp-ex3.c (main): Likewise.
53771 * manual/examples/argp-ex4.c (main): Likewise.
53772 * manual/examples/longopt.c (main): Use new-style prototype
53774 * manual/examples/strncat.c (main): Specify return type and use
53775 (void) for arguments.
53776 * manual/examples/subopt.c (main): Use char **argv argument.
53778 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53781 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53784 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53787 * manual/string.texi (strchr): Change when strchrnul is
53790 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53793 * manual/locale.texi (setlocale): Document LOCPATH.
53795 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53798 * manual/process.texi (execle): Move @dots{} before last argument.
53800 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53803 * manual/charset.texi (Generic Charset Conversion): Fix typo
53804 (LC_TYPE -> LC_CTYPE).
53806 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53809 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53810 (scalbnf): Likewise.
53811 (scalbnl): Likewise.
53812 (scalbln): Likewise.
53813 (scalblnf): Likewise.
53814 (scalblnl): Likewise.
53815 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53816 (vwarnx): Likewise.
53819 * manual/filesys.texi (telldir): Use braces around return type.
53820 * manual/llio.texi (mmap): Add space after comma.
53821 (mmap64): Likewise.
53822 * manual/math.texi (jn): Use @var{} on parameter names.
53828 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53830 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53832 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53833 (sched_get_priority_max): Likewise.
53834 * manual/signal.texi (sigvec): Add space after comma.
53835 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53837 (if_indextoname): Likewise.
53838 (if_freenameindex): Likewise.
53839 (sendto): Use ',' instead of '.' in prototype.
53840 * manual/startup.texi (syscall): Use @dots{} instead of literal
53842 * manual/stdio.texi (__fpending): Separate initial words of
53843 paragraph from @deftypefun line.
53844 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53846 (vsyslog): Use @var{} on parameter names.
53847 * manual/terminal.texi (stty): Use @var{} on parameter names.
53848 * manual/users.texi (getutmp): Use @var{} on parameter names.
53849 (getutmpx): Likewise.
53851 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53854 * manual/stdio.texi (fopen): Fix typos in description of
53857 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53860 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53861 get clock_id definition.
53863 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53866 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53867 (madvise): Cast every argument to void on its own.
53869 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53872 * manual/startup.texi (Exit Status): Fix typo.
53874 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53877 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53878 * manual/examples/argp-ex2.c: Likewise.
53879 * manual/examples/argp-ex3.c: Likewise.
53881 2012-02-16 Richard Henderson <rth@redhat.com>
53883 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53884 * sysdeps/s390/s390-32/initfini.c: Remove.
53885 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53886 * sysdeps/s390/s390-64/initfini.c: Remove.
53888 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53890 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53891 compiler output for sysdeps/generic/initfini.c.
53892 * sysdeps/sh/elf/initfini.c: Remove file.
53894 2012-02-16 David S. Miller <davem@davemloft.net>
53897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53899 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53900 * sysdeps/sparc/crti.S: New file.
53901 * sysdeps/sparc/crtn.S: New file.
53902 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53903 * sysdeps/sparc/sparc64/Makefile: Likewise.
53905 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53908 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53910 2012-02-15 Roland McGrath <roland@hack.frob.com>
53913 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53915 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53916 (write, read, close): Likewise.
53917 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53919 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53921 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53922 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53923 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53924 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53926 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53930 2012-02-14 Marek Polacek <polacek@redhat.com>
53932 * sysdeps/x86_64/crti.S: New file.
53933 * sysdeps/x86_64/crtn.S: New file.
53934 * sysdeps/x86_64/elf/initfini.c: Remove file.
53936 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53938 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53939 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53940 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53941 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53943 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53947 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53949 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53950 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53951 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53952 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53954 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53958 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53960 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53961 __feraiseexcept instead of feraiseexcept.
53963 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53964 nanosleep invocations.
53965 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53966 strings, and add error checking for a nanosleep invocations.
53968 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53970 Replace FSF snail mail address with URLs, as per GNU coding standards.
53971 Most of the snail mail addresses were wrong anyway, and omitting
53972 them makes the source code easier to maintain. Almost all of the
53973 changes are to license notices and to locale LC_IDENTIFICATION
53974 addresses, except for this one:
53975 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53976 not its snail mail address.
53978 2012-02-09 Richard Henderson <rth@twiddle.net>
53980 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53981 of kernel-features.h.
53983 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53985 2012-02-08 Marek Polacek <polacek@redhat.com>
53987 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53988 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53989 * sysdeps/gnu/_G_config.h: Likewise.
53990 * sysdeps/generic/_G_config.h: Likewise.
53992 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53994 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53998 * sysdeps/powerpc/powerpc32/crti.S: New file.
53999 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54000 * sysdeps/powerpc/powerpc64/crti.S: New file.
54001 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54003 * Makeconfig (have-initfini): Don't set.
54004 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54005 * configure.in (nopic_initfini): Don't substitute.
54006 * config.h.in (HAVE_INITFINI): Don't #undef.
54007 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54008 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54010 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54012 Support crti.S and crtn.S provided directly by architectures.
54013 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54014 [crti.S in sysdirs] (omit-deps): Likewise.
54015 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54016 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54017 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54018 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54019 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54020 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54021 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54022 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54023 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54024 compiler output for sysdeps/generic/initfini.c.
54025 * sysdeps/i386/elf/Makefile: Remove file.
54026 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54028 2012-02-07 Marek Polacek <polacek@redhat.com>
54030 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54031 * sysdeps/gnu/_G_config.h: Likewise.
54032 * sysdeps/mach/hurd/_G_config.h: Likewise.
54034 2012-02-07 Marek Polacek <polacek@redhat.com>
54036 * math/Makefile (tests): Add tst-CMPLX2.
54037 * math/tst-CMPLX2.c: New file.
54039 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54041 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54043 * math/libm-test.inc (jn_test): Add missing L suffix.
54045 2012-02-06 Marek Polacek <polacek@redhat.com>
54047 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54048 * sysdeps/i386/fpu/e_powf.S: Likewise.
54049 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54050 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54051 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54052 * sysdeps/i386/fpu/e_pow.S: Likewise.
54053 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54055 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54056 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54057 * sysdeps/i386/fpu/e_log2.S: Likewise.
54058 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54059 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54060 * sysdeps/i386/fpu/e_powl.S: Likewise.
54061 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54063 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54064 * sysdeps/i386/fpu/e_logl.S: Likewise.
54065 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54066 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54067 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54068 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54069 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54070 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54071 * sysdeps/i386/fpu/e_log.S: Likewise.
54072 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54074 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54075 * sysdeps/i386/fpu/e_logf.S: Likewise.
54076 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54077 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54078 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54079 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54080 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54081 * sysdeps/i386/fpu/e_log10.S: Likewise.
54082 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54084 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54085 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54087 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54088 * sysdeps/i386/asm-syntax.h: Likewise.
54089 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54091 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54092 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54093 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54094 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54095 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54096 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54097 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54098 * sysdeps/powerpc/sysdep.h: Likewise.
54099 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54100 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54102 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54105 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54107 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54109 * sysdeps/i386/sysdep.h: Include <features.h>.
54110 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54113 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54115 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54117 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54120 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54122 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54123 (SETUP_PIC_REG): Use GET_PC_THUNK.
54124 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54127 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54129 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54130 for non-PIC compilation.
54131 (SETUP_PIC_REG): Add .p2align directive.
54132 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54133 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54134 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54135 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54137 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54138 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54140 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54141 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54142 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54143 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54144 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54145 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54146 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54147 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54148 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54149 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54150 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54151 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54154 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54155 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54158 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54160 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54161 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54162 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54163 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54164 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54165 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54166 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54167 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54168 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54169 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54170 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54174 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54176 * math/tst-CMPLX.c: Include <stdio.h>.
54178 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54180 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54182 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54183 * sysdeps/sparc/bits/mathdef.h: Likewise.
54185 2012-01-31 Marek Polacek <polacek@redhat.com>
54187 * libio/libio.h: Don't define _PARAMS.
54188 * locale/programs/config.h: Don't define PARAMS.
54189 * stdlib/strtol_l.c: Likewise.
54190 (__strtol_l): Remove PARAMS from the prototype.
54192 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54194 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54195 names. Just use the correct names. Remove unnecessary wrapper
54197 * malloc/arena.c: Likewise.
54198 * malloc/hooks.c: Likewise.
54200 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54201 ARENA_TEST says not to. Simplify test for creation of a new arena.
54202 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54204 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54206 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54208 (update_get_addr): New function.
54209 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54210 GET_ADDR_MODULE parameter.
54212 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54214 * crypt/cert.c: Remove __STDC__ conditionals.
54215 * crypt/crypt-entry.c: Likewise.
54216 * crypt/crypt_util.c: Likewise.
54217 * libio/filedoalloc.c: Likewise.
54218 * libio/fileops.c: Likewise.
54219 * libio/genops.c: Likewise.
54220 * libio/iofclose.c: Likewise.
54221 * libio/iofdopen.c: Likewise.
54222 * libio/iofopen.c: Likewise.
54223 * libio/iofopen64.c: Likewise.
54224 * libio/iogetdelim.c: Likewise.
54225 * libio/iopopen.c: Likewise.
54226 * libio/obprintf.c: Likewise.
54227 * libio/oldfileops.c: Likewise.
54228 * libio/oldiofclose.c: Likewise.
54229 * libio/oldiofdopen.c: Likewise.
54230 * libio/oldiofopen.c: Likewise.
54231 * libio/oldiopopen.c: Likewise.
54232 * libio/wfiledoalloc.c: Likewise.
54233 * libio/wgenops.c: Likewise.
54234 * locale/programs/xmalloc.c: Likewise.
54235 * misc/syslog.c: Likewise.
54236 * stdio-common/xbug.c: Likewise.
54237 * string/memchr.c: Likewise.
54238 * string/memcmp.c: Likewise.
54239 * string/memrchr.c: Likewise.
54240 * string/rawmemchr.c: Likewise.
54241 * sysdeps/posix/getcwd.c: Likewise.
54242 * time/strftime_l.c: Likewise.
54244 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54246 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54247 * config.make.in (config-cflags-sse2avx): Define.
54248 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54251 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54253 * scripts/config.guess: Update from upstream config git repository.
54254 * scripts/config.sub: Likewise.
54256 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54258 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54260 (R_TILEPRO_*, R_TILEGX_*): New macros.
54262 * scripts/firstversions.awk: Fix bug in version range handling.
54264 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54266 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54268 * include/sys/epoll.h: New file.
54269 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54272 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54274 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54275 Avoid unnecessary __WORDSIZE == 64 test.
54276 (fmaxf): Use VEX format if possible.
54281 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54282 * math/math_private.h: Remove libc_fegetround* and
54284 * sysdeps/i386/configure.in: Check for -msse2avx.
54285 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54286 also if SSE2AVX is defined.
54287 Remove libc_fegetround* and libc_fesetround*.
54288 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54289 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54298 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54300 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54302 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54304 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54306 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54309 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54311 * Makeconfig (libm): Define.
54312 * elf/Makefile: Add rules to build and run tst-relsort1.
54313 * elf/tst-relsort1.c: New file.
54314 * elf/tst-relsort1mod1.c: New file.
54315 * elf/tst-relsort1mod2.c: New file.
54317 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54319 * math/s_ldexp.c: Remove __STDC__ conditionals.
54320 * math/s_ldexpf.c: Likewise.
54321 * math/s_ldexpl.c: Likewise.
54322 * math/s_nextafter.c: Likewise.
54323 * math/s_nexttowardf.c: Likewise.
54324 * math/s_significand.c: Likewise.
54325 * math/s_significandf.c: Likewise.
54326 * math/s_significandl.c: Likewise.
54327 * math/w_jnl.c: Likewise.
54328 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54329 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54330 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54331 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54332 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54334 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54335 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54336 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54337 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54338 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54340 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54341 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54342 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54343 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54344 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54345 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54347 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54348 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54354 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54356 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54358 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54359 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54360 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54361 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54362 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54364 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54365 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54366 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54367 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54368 * sysdeps/ieee754/k_standard.c: Likewise.
54369 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54371 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54372 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54373 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54374 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54377 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54378 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54379 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54380 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54381 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54382 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54383 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54384 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54385 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54387 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54388 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54391 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54392 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54393 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54394 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54398 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54399 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54400 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54401 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54402 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54404 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54405 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54408 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54409 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54411 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54412 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54414 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54416 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54417 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54418 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54419 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54422 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54423 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54424 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54425 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54426 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54429 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54430 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54431 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54433 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54434 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54435 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54436 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54437 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54438 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54439 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54440 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54441 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54442 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54443 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54444 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54445 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54446 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54448 * sysdeps/ieee754/s_matherr.c: Likewise.
54449 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54450 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54454 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54456 * crypt/md5.h: Remove __STDC__ conditionals.
54457 * libio/libioP.h: Likewise.
54458 * locale/programs/config.h: Likewise.
54459 * sysdeps/generic/sysdep.h: Likewise.
54460 * sysdeps/i386/asm-syntax.h: Likewise.
54461 * sysdeps/s390/asm-syntax.h: Likewise.
54462 * sysdeps/unix/sysdep.h: Likewise.
54463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54466 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54468 * libio/libio.h: Remove __STDC__ conditionals.
54469 * malloc/obstack.h: Likewise.
54470 * math/complex.h: Likewise.
54471 * math/math.h: Likewise.
54472 * sysdeps/generic/_G_config.h: Likewise.
54473 * sysdeps/gnu/_G_config.h: Likewise.
54474 * sysdeps/mach/hurd/_G_config.h: Likewise.
54475 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54476 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54477 * sysdeps/sparc/bits/mathdef.h: Likewise.
54479 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54482 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54483 Clean up HAS_* macros.
54484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54485 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54487 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54490 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54495 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54497 * elf/tst-unique3.cc (gets): Remove declaration.
54498 * elf/tst-unique3lib.cc (gets): Likewise.
54499 * elf/tst-unique3lib2.cc (gets): Likewise.
54500 * elf/tst-unique4.cc (gets): Likewise.
54502 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54504 * include/stdio.h: Add C++ protection. Add gets declarations and
54506 * debug/tst-chk1.c: Don't declare gets here.
54507 * stdio-common/tst-gets.c: Likewise.
54509 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54511 * posix/glob: Remove directory.
54513 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54515 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54517 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54519 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54520 of the non-standard EPFNOSUPPORT.
54522 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54524 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54525 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54526 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54528 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54530 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54532 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54534 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54536 * nscd/grpcache.c (cache_addgr): Likewise.
54537 * nscd/hstcache.c (cache_addhst): Likewise.
54538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54539 * nscd/pwdcache.c (cache_addpw): Likewise.
54540 * nscd/servicescache.c (cache_addserv): Likewise.
54542 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54544 * malloc/malloc.c: Various cleanups.
54545 * malloc/hooks.c: Likewise.
54547 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54548 * stdlib/bug-fmtmsg1.c: New file.
54550 * stdlib/fmtmsg.c (init): Add missing unlock.
54551 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54553 2012-01-12 Marek Polacek <polacek@redhat.com>
54555 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54558 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54560 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54561 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54562 macro to ensure uniqueness of label name.
54563 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54564 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54566 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54568 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54571 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54572 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54575 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54579 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54580 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54581 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54583 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54585 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54586 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54587 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54590 * math/bits/math-finite.h: Add ldexp support.
54592 2012-01-10 Marek Polacek <polacek@redhat.com>
54594 * locale/programs/localedef.h (show_archive_content): Add noreturn
54597 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54601 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54603 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54605 * io/Makefile (headers): Add bits/poll2.h.
54607 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54610 typo #include statement.
54612 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54614 * include/sys/cdefs.h: Define __attribute_alloc_size.
54615 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54616 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54617 * elf/pldd.c: Likewise.
54618 * iconv/iconv_charmap.c: Likewise.
54619 * iconv/iconvconfig.c: Likewise.
54620 * iconv/strtab.c: Likewise.
54621 * locale/programs/locale.c: Likewise.
54622 * locale/programs/localedef.h: Likewise.
54623 * locale/programs/simple-hash.c: Likewise.
54624 * nscd/nscd.h: Likewise.
54625 * nss/makedb.c: Likewise.
54626 * sysdeps/generic/ldconfig.h: Likewise.
54627 * locale/programs/localedef.c: Remove xmalloc prototype.
54628 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54630 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54635 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54637 * math/Makefile (tests): Add tst-CMPLX.
54638 * math/tst-CMPLX.c: New file.
54640 * math/complex.h (CMPLXL): Fix typo.
54642 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54643 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54645 * debug/tst-chk1.c: Add poll and ppoll tests.
54646 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54647 * include/sys/poll.h: Add hidden proto for ppoll.
54648 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54649 * sysdeps/mach/hurd/ppoll.c: Likewise.
54650 * io/ppoll.c: Likewise.
54651 * debug/poll_chk.c: New file.
54652 * debug/ppoll_chk.c: New file.
54653 * include/bits/poll2.h: New file.
54654 * io/bits/poll2.h: New file.
54657 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54659 * configure.in: static is always set to yes. Remove.
54660 * config.make.in: Don't set build-static.
54661 * Makeconfig: Remove use of build-static.
54662 * dlfcn/Makefile: Likewise.
54663 * elf/Makefile: Likewise.
54664 * math/Makefile: Likewise.
54665 * misc/Makefile: Likewise.
54666 * nptl/Makefile: Likewise.
54667 * sysdeps/mach/hurd/Makefile: Likewise.
54669 * configure.in: PWD_P is not used anymore.
54670 * config.make.in: Remove PWD_P entry.
54672 * configure.in: Remove last remnants of RANLIB.
54673 No need to check for signed size_t anymore.
54674 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54676 Remove __builtin_expect test because we require at least gcc 3.4.
54677 * aclocal.m4: Likewise.
54679 * wcsmbs/mbrtoc16.c: Implement using towc function.
54680 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54681 * wcsmbs/wcsmbsload.c: Likewise.
54682 * iconv/gconv_simple.c: Likewise.
54683 * iconv/gconv_int.h: Likewise.
54684 * iconv/gconv_builtin.h: Likewise.
54685 * iconv/iconv_prog.c: Remove CHAR16 handling.
54687 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54689 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54691 * configure.in: Remove --with-elf and --enable-bounded options.
54692 Dont set base_machine for ia64. More non-ELF conditions removed.
54693 Remove testing and setting of leading underscore information.
54694 * config.make.in (build-bounded): Set to no.
54695 * config.h.in: Remove NO_UNDERSCORES entry.
54696 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54698 * csu/start.c: Remove !NO_UNDERSCORE code.
54699 * locale/localeinfo.h: Likewise.
54700 * sysdeps/generic/machine-gmon.h: Likewise.
54701 * sysdeps/generic/sysdep.h: Likewise.
54702 * sysdeps/i386/sysdep.h: Likewise.
54703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54704 * sysdeps/mach/sysdep.h: Likewise.
54705 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54707 * sysdeps/sh/sysdep.h: Likewise.
54708 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54709 * sysdeps/unix/i386/sysdep.S: Likewise.
54710 * sysdeps/unix/sparc/start.c: Likewise.
54711 * sysdeps/unix/sparc/sysdep.S: Likewise.
54712 * sysdeps/unix/sparc/sysdep.h: Likewise.
54713 * sysdeps/unix/start.c: Likewise.
54714 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54715 * sysdeps/x86_64/sysdep.h: Likewise.
54717 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54720 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54722 * argp/argp-fmtstream.h: Use const instead __const.
54723 * argp/argp.h: Likewise.
54724 * assert/assert.h: Likewise.
54725 * bits/fenv.h: Likewise.
54726 * bits/sched.h: Likewise.
54727 * bits/sigset.h: Likewise.
54728 * bits/sigthread.h: Likewise.
54729 * catgets/nl_types.h: Likewise.
54730 * conform/data/pthread.h-data: Likewise.
54731 * crypt/crypt-private.h: Likewise.
54732 * crypt/crypt.h: Likewise.
54733 * crypt/crypt_util.c: Likewise.
54734 * ctype/ctype.h: Likewise.
54735 * debug/execinfo.h: Likewise.
54736 * debug/mbsnrtowcs_chk.c: Likewise.
54737 * debug/mbsrtowcs_chk.c: Likewise.
54738 * debug/wcsnrtombs_chk.c: Likewise.
54739 * debug/wcsrtombs_chk.c: Likewise.
54740 * debug/wcstombs_chk.c: Likewise.
54741 * dirent/dirent.h: Likewise.
54742 * dlfcn/dlfcn.h: Likewise.
54743 * elf/neededtest4.c: Likewise.
54744 * grp/grp.h: Likewise.
54745 * gshadow/gshadow.h: Likewise.
54746 * iconv/gconv.h: Likewise.
54747 * iconv/gconv_int.h: Likewise.
54748 * iconv/gconv_simple.c: Likewise.
54749 * iconv/iconv.h: Likewise.
54750 * iconv/loop.c: Likewise.
54751 * iconv/skeleton.c: Likewise.
54752 * include/aio.h: Likewise.
54753 * include/aliases.h: Likewise.
54754 * include/argz.h: Likewise.
54755 * include/arpa/inet.h: Likewise.
54756 * include/assert.h: Likewise.
54757 * include/dirent.h: Likewise.
54758 * include/dlfcn.h: Likewise.
54759 * include/execinfo.h: Likewise.
54760 * include/fcntl.h: Likewise.
54761 * include/fenv.h: Likewise.
54762 * include/glob.h: Likewise.
54763 * include/grp.h: Likewise.
54764 * include/libintl.h: Likewise.
54765 * include/mntent.h: Likewise.
54766 * include/netdb.h: Likewise.
54767 * include/pwd.h: Likewise.
54768 * include/rpc/netdb.h: Likewise.
54769 * include/sched.h: Likewise.
54770 * include/search.h: Likewise.
54771 * include/shadow.h: Likewise.
54772 * include/signal.h: Likewise.
54773 * include/stdio.h: Likewise.
54774 * include/stdlib.h: Likewise.
54775 * include/string.h: Likewise.
54776 * include/sys/socket.h: Likewise.
54777 * include/sys/stat.h: Likewise.
54778 * include/sys/statfs.h: Likewise.
54779 * include/sys/statvfs.h: Likewise.
54780 * include/sys/syslog.h: Likewise.
54781 * include/sys/time.h: Likewise.
54782 * include/sys/uio.h: Likewise.
54783 * include/time.h: Likewise.
54784 * include/unistd.h: Likewise.
54785 * include/utmp.h: Likewise.
54786 * include/wchar.h: Likewise.
54787 * include/wctype.h: Likewise.
54788 * inet/aliases.h: Likewise.
54789 * inet/arpa/inet.h: Likewise.
54790 * inet/netinet/ether.h: Likewise.
54791 * inet/netinet/in.h: Likewise.
54792 * intl/libintl.h: Likewise.
54793 * io/bits/fcntl2.h: Likewise.
54794 * io/fcntl.h: Likewise.
54795 * io/ftw.h: Likewise.
54796 * io/sys/poll.h: Likewise.
54797 * io/sys/stat.h: Likewise.
54798 * io/sys/statfs.h: Likewise.
54799 * io/sys/statvfs.h: Likewise.
54800 * io/utime.h: Likewise.
54801 * libio/bits/stdio.h: Likewise.
54802 * libio/bits/stdio2.h: Likewise.
54803 * libio/libio.h: Likewise.
54804 * libio/libioP.h: Likewise.
54805 * libio/stdio.h: Likewise.
54806 * locale/lc-ctype.c: Likewise.
54807 * locale/locale.h: Likewise.
54808 * login/utmp.h: Likewise.
54809 * malloc/arena.c: Likewise.
54810 * malloc/malloc.c: Likewise.
54811 * malloc/malloc.h: Likewise.
54812 * malloc/mcheck.c: Likewise.
54813 * malloc/mtrace.c: Likewise.
54814 * math/bits/mathcalls.h: Likewise.
54815 * math/fenv.h: Likewise.
54816 * math/math_private.h: Likewise.
54817 * misc/bits/error.h: Likewise.
54818 * misc/bits/syslog.h: Likewise.
54819 * misc/err.h: Likewise.
54820 * misc/error.h: Likewise.
54821 * misc/fstab.h: Likewise.
54822 * misc/mntent.h: Likewise.
54823 * misc/regexp.h: Likewise.
54824 * misc/search.h: Likewise.
54825 * misc/sgtty.h: Likewise.
54826 * misc/sys/mman.h: Likewise.
54827 * misc/sys/syslog.h: Likewise.
54828 * misc/sys/uio.h: Likewise.
54829 * misc/sys/xattr.h: Likewise.
54830 * misc/ttyent.h: Likewise.
54831 * nis/rpcsvc/ypclnt.h: Likewise.
54832 * nss/nss.h: Likewise.
54833 * posix/bits/unistd.h: Likewise.
54834 * posix/fnmatch.h: Likewise.
54835 * posix/glob.h: Likewise.
54836 * posix/sched.h: Likewise.
54837 * posix/spawn.h: Likewise.
54838 * posix/sys/wait.h: Likewise.
54839 * posix/unistd.h: Likewise.
54840 * posix/wordexp.h: Likewise.
54841 * pwd/pwd.h: Likewise.
54842 * resolv/netdb.h: Likewise.
54843 * resource/sys/resource.h: Likewise.
54844 * rt/aio.h: Likewise.
54845 * rt/bits/mqueue2.h: Likewise.
54846 * rt/mqueue.h: Likewise.
54847 * shadow/shadow.h: Likewise.
54848 * signal/signal.h: Likewise.
54849 * socket/send.c: Likewise.
54850 * socket/sendto.c: Likewise.
54851 * socket/sys/socket.h: Likewise.
54852 * stdio-common/printf.h: Likewise.
54853 * stdlib/bits/stdlib.h: Likewise.
54854 * stdlib/fmtmsg.h: Likewise.
54855 * stdlib/monetary.h: Likewise.
54856 * stdlib/stdlib.h: Likewise.
54857 * stdlib/ucontext.h: Likewise.
54858 * streams/stropts.h: Likewise.
54859 * string/argz.h: Likewise.
54860 * string/bits/string2.h: Likewise.
54861 * string/string.h: Likewise.
54862 * string/strings.h: Likewise.
54863 * sunrpc/rpc/auth.h: Likewise.
54864 * sunrpc/rpc/auth_des.h: Likewise.
54865 * sunrpc/rpc/clnt.h: Likewise.
54866 * sunrpc/rpc/netdb.h: Likewise.
54867 * sunrpc/rpc/pmap_clnt.h: Likewise.
54868 * sunrpc/rpc/xdr.h: Likewise.
54869 * sysdeps/generic/inttypes.h: Likewise.
54870 * sysdeps/generic/net/if.h: Likewise.
54871 * sysdeps/generic/sys/swap.h: Likewise.
54872 * sysdeps/gnu/net/if.h: Likewise.
54873 * sysdeps/gnu/utmpx.h: Likewise.
54874 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54875 * sysdeps/i386/i486/bits/string.h: Likewise.
54876 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54877 * sysdeps/s390/bits/string.h: Likewise.
54878 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54879 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54880 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54881 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54882 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54883 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54884 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54885 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54886 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54887 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54888 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54889 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54890 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54891 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54892 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54893 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54894 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54896 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54897 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54899 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54900 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54901 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54902 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54903 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54904 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54905 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54906 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54908 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54909 * sysvipc/sys/ipc.h: Likewise.
54910 * sysvipc/sys/msg.h: Likewise.
54911 * sysvipc/sys/sem.h: Likewise.
54912 * sysvipc/sys/shm.h: Likewise.
54913 * termios/termios.h: Likewise.
54914 * time/sys/time.h: Likewise.
54915 * time/time.h: Likewise.
54916 * wcsmbs/bits/wchar2.h: Likewise.
54917 * wcsmbs/uchar.h: Likewise.
54918 * wcsmbs/wchar.h: Likewise.
54919 * wctype/wctype.h: Likewise.
54922 * Makeconfig: Remove all but ELF support including AIX support.
54923 * Makerules: Likewise.
54924 * config.h.in: Likewise.
54925 * config.make.in: Likewise.
54926 * configure: Likewise.
54927 * configure.in: Likewise.
54928 * csu/Makefile: Likewise.
54929 * csu/version.c: Likewise.
54930 * debug/Makefile: Likewise.
54931 * dlfcn/Makefile: Likewise.
54932 * elf/Makefile: Likewise.
54933 * extra-lib.mk: Likewise.
54934 * iconv/Makefile: Likewise.
54935 * include/libc-symbols.h: Likewise.
54936 * include/shlib-compat.h: Likewise.
54937 * resolv/Makefile: Likewise.
54938 * resolv/res_libc.c: Likewise.
54939 * rt/Makefile: Likewise.
54940 * sysdeps/i386/asm-syntax.h: Likewise.
54941 * sysdeps/i386/sysdep.h: Likewise.
54942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54943 * sysdeps/mach/sysdep.h: Likewise.
54944 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54945 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54946 * sysdeps/s390/asm-syntax.h: Likewise.
54947 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54949 * sysdeps/sh/sysdep.h: Likewise.
54950 * sysdeps/unix/sparc/sysdep.h: Likewise.
54951 * sysdeps/wordsize-32/divdi3.c: Likewise.
54952 * sysdeps/x86_64/sysdep.h: Likewise.
54954 * argp/Versions: Remove _argp_unlock_xxx.
54957 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54958 * abilist/libBrokenLocale.abilist: Likewise.
54959 * abilist/libanl.abilist: Likewise.
54960 * abilist/libc.abilist: Likewise.
54961 * abilist/libcrypt.abilist: Likewise.
54962 * abilist/libdl.abilist: Likewise.
54963 * abilist/libm.abilist: Likewise.
54964 * abilist/libnsl.abilist: Likewise.
54965 * abilist/libpthread.abilist: Likewise.
54966 * abilist/libresolv.abilist: Likewise.
54967 * abilist/librt.abilist: Likewise.
54968 * abilist/libthread_db.abilist: Likewise.
54969 * abilist/libutil.abilist: Likewise.
54970 * abilist/libnss_db.abilist: New file.
54972 * scripts/abilist.awk: Add support for indirect functions.
54974 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54976 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54978 * shlib-versions: Remove entries for ports architectures.
54980 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54982 * elf/stackguard-macros.h: Remove support for IA-64.
54983 * elf/tst-auditmod1.c: Likewise.
54984 * sysdeps/generic/ldsodefs.h: Likewise.
54986 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54987 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54991 * configure.in: Remove --enable-omitfp support.
54993 * config.make.in: Likewise.
54994 * Makeconfig: Likewise.
54995 * manual/install.texi: Likewise.
54997 In case anyone cares, the IA-64 architecture could move to ports.
54998 * sysdeps/ia64/*: Removed.
54999 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55000 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55003 * configure.in: Remove entries for unsupported architectures.
55006 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55007 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55009 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55010 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55011 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55012 fall back to using wcrtomb.
55013 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55014 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55016 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55017 * wcsmbs/tst-c16c32-1.c: New file.
55019 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55022 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55024 * elf/tst-unique3.cc: Add explicit declaration of gets.
55025 * elf/tst-unique3lib.cc: Likewise.
55026 * elf/tst-unique3lib2.cc: Likewise.
55027 * elf/tst-unique4.cc: Likewise.
55029 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55031 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55034 * assert/assert.h (static_assert): Don't define for C++.
55035 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55036 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55038 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55040 * iconv/loop.c (single loop): Fix assertion in storing of
55043 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55045 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55047 * posix/getconf.c: Update copyright year.
55048 * nss/getent.c: Likewise.
55049 * nss/makedb.c: Likewise.
55050 * iconv/iconvconfig.c: Likewise.
55051 * iconv/iconv_prog.c: Likewise.
55052 * elf/ldconfig.c: Likewise.
55053 * elf/pldd.c: Likewise.
55054 * elf/sotruss.ksh: Likewise.
55055 * catgets/gencat.c: Likewise.
55056 * csu/version.c: Likewise.
55057 * elf/ldd.bash.in: Likewise.
55058 * elf/sprof.c (print_version): Likewise.
55059 * locale/programs/locale.c: Likewise.
55060 * locale/programs/localedef.c: Likewise.
55061 * login/programs/pt_chown.c: Likewise.
55062 * nscd/nscd.c (print_version): Likewise.
55063 * debug/xtrace.sh: Likewise.
55064 * malloc/memusage.sh: Likewise.
55065 * malloc/mtrace.pl: Likewise.
55066 * debug/catchsegv.sh: Likewise.
55068 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55070 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55073 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55076 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55077 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55079 * iconv/gconv_int.h: Likewise.
55080 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55081 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55082 from libc for GLIBC_2.16.
55083 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55084 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55085 * wcsmbs/uchar.h: Really define mbstate_t.
55086 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55087 * wcsmbs/c16rtomb.c: New file.
55088 * wcsmbs/mbrtoc16.c: New file.
55089 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55090 for C/POSIX locale.
55091 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55092 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55094 * wcsmbs/wchar.h: Add missing __restrict.
55096 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55099 * time/Makefile (routines): Add timespec_get.
55100 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55101 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55102 timespec for ISO C11.
55103 * time/timespec_get.c: New file.
55104 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55105 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55108 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55109 * stdlib/stdlib.h: Declare aligned_alloc.
55110 * Versions.def: Add GLIBC_2.16 for libc.
55111 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55114 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55117 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55121 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55124 * assert/assert.h (static_assert): Define.
55126 * version.h: Update for 2.16 development version.
55129 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55132 * version.h (RELEASE): Bump for 2.15 release.
55133 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55135 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55136 Patch by Marek Polacek <mpolacek@redhat.com>.
55138 * bits/byteswap.h: Protect long long constants with __extension__.
55139 * sysdeps/i386/bits/byteswap.h: Likewise.
55140 * sysdeps/ia64/bits/byteswap.h: Likewise.
55141 * sysdeps/s390/bits/byteswap.h: Likewise.
55142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55144 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55148 destination buffer.
55149 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55151 2011-12-23 Marek Polacek <polacek@redhat.com>
55153 * elf/dl-addr.c (determine_info): Add inline keyword.
55154 * elf/tst-auditmod4b.c (check_avx): Likewise.
55155 * elf/tst-auditmod6b.c (check_avx): Likewise.
55156 * elf/tst-auditmod6c.c (check_avx): Likewise.
55157 * elf/tst-auditmod7b.c (check_avx): Likewise.
55159 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55161 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55164 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55168 processing for last bytes.
55170 2011-08-06 Bruno Haible <bruno@clisp.org>
55173 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55174 U+0385, not to U+1FEE.
55177 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55178 entry for U+00A5 U+0301.
55180 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55183 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55184 buffer for the output is too small.
55186 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55190 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55191 SSE flags if possible.
55193 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55196 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55197 processing for last bytes.
55199 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55201 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55202 (syscall-list-default-options, syscall-list-default-condition)
55203 (syscall-list-includes): Define.
55204 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55205 list of ABIs and options and #if conditions for each ABI. Do not
55206 handle common syscalls between ABIs specially.
55207 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55209 (syscall-list-variants, syscall-list-32bit-options)
55210 (syscall-list-32bit-condition, syscall-list-64bit-options)
55211 (syscall-list-64bit-condition): Define.
55212 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55213 (syscall-list-variants, syscall-list-32bit-options)
55214 (syscall-list-32bit-condition, syscall-list-64bit-options)
55215 (syscall-list-64bit-condition): Define.
55216 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55218 (syscall-list-variants, syscall-list-32bit-options)
55219 (syscall-list-32bit-condition, syscall-list-64bit-options)
55220 (syscall-list-64bit-condition): Define.
55221 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55223 (syscall-list-variants, syscall-list-32bit-options)
55224 (syscall-list-32bit-condition, syscall-list-64bit-options)
55225 (syscall-list-64bit-condition): Define.
55227 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55229 * locale/iso-639.def: Add brx entry.
55232 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55233 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55235 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55236 __feraiseexcept_renamed.
55238 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55241 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55242 EPOLLET with unsigned values.
55243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55244 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55246 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55247 to large cancellation.
55248 * math/s_cacoshf.c: Likewise.
55249 * math/s_cacoshl.c: Likewise.
55251 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55255 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55256 * math/s_cacoshf.c: Likewise.
55257 * math/s_cacoshl.c: Likewise.
55259 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55262 * iconv/gconv.h: Define __GCONV_SWAP.
55263 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55264 * iconvdata/utf-16.c: Likewise.
55265 * iconvdata/utf-32.c: Likewise.
55267 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55271 numerator after shifting it by one limb.
55273 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55276 under [__USE_EXTERN_INLINES].
55278 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55281 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55283 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55285 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55286 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55288 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55289 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55290 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55291 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55292 for strncasecmp/strncasecmp_l compilation.
55293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55294 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55296 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55299 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55302 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55305 * time/tzfile.c (__tzfile_read): Check values from file header.
55307 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55309 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55310 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55311 * powerpc/powerpc32/dl-start.S: Likewise.
55312 * powerpc/powerpc32/elf/start.S: Likewise.
55313 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55314 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55315 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55316 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55317 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55318 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55319 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55320 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55321 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55322 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55323 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55324 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55325 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55326 * powerpc/powerpc32/memset.S: Likewise.
55327 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55328 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55329 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55330 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55331 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55332 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55333 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55334 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55335 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55336 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55337 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55338 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55339 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55341 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55343 * math/libm-test.inc: Added more nearbyint tests.
55344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55345 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55347 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55349 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55351 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55354 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55356 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55357 Add wcscpy-ssse3 wcscpy-c.
55358 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55359 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55360 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55361 * sysdeps/x86_64/wcschr.S: New file.
55362 * sysdeps/x86_64/wcsrchr.S: New file.
55363 * string/test-strcmp.c: Remove checking of wcscmp function for
55365 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55366 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55367 wcsrchr-sse2 wcsrchr-c.
55368 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55369 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55370 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55371 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55372 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55373 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55374 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55375 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55376 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55377 * wcsmbc/wcschr.c (WCSCHR): New macro.
55379 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55381 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55382 * wcsmbs/test-wcsrchr.c: New file.
55383 * string/test-strrchr.c: Add wcsrchr support.
55385 * wcsmbs/test-wcscpy.c: New file.
55386 * string/test-strcpy.c: Add wcscpy support.
55389 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55391 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55394 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55397 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55399 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55401 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55402 Minor optimizations.
55404 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55405 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55406 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55408 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55410 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55411 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55412 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55413 for gcc to avoid warnings.
55414 * inet/Makefile (tests): Add tst-checks.
55415 * inet/tst-checks.c: New file.
55417 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55420 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55423 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55424 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55426 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55428 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55430 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55433 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55435 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55437 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55438 conditional on GCC version.
55439 (__arch_compare_and_exchange_val_8_acq)
55440 (__arch_compare_and_exchange_val_16_acq)
55441 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55442 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55443 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55445 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55447 * sysdeps/sh/backtrace.c: New file.
55449 2011-12-02 Andreas Schwab <schwab@redhat.com>
55451 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55454 2011-12-01 Andreas Schwab <schwab@redhat.com>
55456 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55457 falling back to utime.
55459 2011-11-30 Andreas Schwab <schwab@redhat.com>
55461 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55462 expectations for float.
55464 2011-11-29 Andreas Schwab <schwab@redhat.com>
55466 * locale/weight.h (findidx): Add parameter len.
55467 * locale/weightwc.h (findidx): Likewise.
55468 * posix/fnmatch_loop.c (FCT): Adjust caller.
55469 * posix/regcomp.c (build_equiv_class): Likewise.
55470 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55471 * posix/regexec.c (check_node_accept_bytes): Likewise.
55472 * string/strcoll_l.c (STRCOLL): Likewise.
55473 * string/strxfrm_l.c (STRXFRM): Likewise.
55475 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55477 * Makefile.in: Remove CVSOPT handling.
55478 * configure.in: Remove use of AC_REVISION.
55479 * iconvdata/Makefile (distribute): No need to filter out CVS.
55480 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55483 2011-11-16 Andreas Schwab <schwab@redhat.com>
55485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55486 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55487 [USE_AS_STRNCASECMP_L]: Likewise.
55488 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55489 NO_TLS_DIRECT_SEG_REFS.
55490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55491 Fix argument offsets for non-PIC.
55492 [USE_AS_STRNCASECMP_L]: Likewise.
55493 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55494 NO_TLS_DIRECT_SEG_REFS.
55496 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55498 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55500 * locale/loadlocale.c (_nl_load_locale): Likewise.
55502 2011-11-15 Andreas Schwab <schwab@redhat.com>
55504 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55505 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55507 (SYSCALL_GETTIME): Set errno on error.
55509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55510 count references to noai6ai_cached.
55512 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55514 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55516 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55517 FD_CLOEXEC for /proc/self/maps.
55519 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55520 FD_CLOEXEC for /proc/meminfo.
55522 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55525 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55526 FD_CLOEXEC for given file.
55528 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55530 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55531 FD_CLOEXEC for /etc/hosts.
55532 (_gethtent): Likewise.
55534 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55536 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55537 cancellation and set FD_CLOEXEC for /etc/netgroup.
55539 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55540 reading /etc/publickey.
55542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55543 allow cancellation when reading /etc/group.
55545 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55547 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55549 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55550 when using data file.
55552 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55554 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55555 (write_nis_obj): Use "c" and "e" in fopen.
55557 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55559 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55561 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55563 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55565 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55568 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55570 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55572 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55574 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55575 file parsing and set FD_CLOEXEC.
55577 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55579 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55581 2011-11-14 Andreas Schwab <schwab@redhat.com>
55583 * malloc/arena.c (arena_get2): Don't call reused_arena when
55584 _int_new_arena failed.
55586 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55588 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55589 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55590 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55594 to compile strcasecmp and strncasecmp.
55595 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55596 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55600 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55602 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55603 locale-defines.sym to gen-as-const-headers.
55604 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55605 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55607 to compile strcasecmp and strncasecmp.
55608 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55609 strcasecmp_l and strncasecmp_l.
55610 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55611 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55612 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55613 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55614 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55615 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55616 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55617 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55618 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55619 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55620 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55622 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55624 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55625 result of SYSDEP_GETTIME_CPU to retval.
55626 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55627 parameter list to macro. Remove trailing semicolon. Adjust users.
55629 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55632 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55634 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55637 from unused variable.
55639 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55641 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55644 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55647 * sunrpc/rpc_prot.c (rejected): Fix case value.
55649 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55650 unsigned long long int to avoid warnings in shift.
55652 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55654 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55657 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55658 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55659 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55661 * nis/nis_table.c (nis_list): Use variable of correct type for
55662 result of __follow_path call.
55664 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55666 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55667 of math functions ceil, trunc, floor, round, and sqrt, when
55668 avaliable on the platform.
55669 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55671 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55672 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55673 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55675 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55677 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55678 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55680 2011-11-11 Roland McGrath <roland@hack.frob.com>
55682 * include/unistd.h: Fix __readlink return type.
55683 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55685 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55687 * stdlib/ucontext.h: Undo last change for makecontext.
55689 2011-11-11 Andreas Schwab <schwab@redhat.com>
55691 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55693 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55694 * setjmp/setjmp.h: Mark functions as non-leaf.
55695 * setjmp/bits/setjmp2.h: Likewise.
55696 * stdlib/ucontext.h: Likewise.
55698 2011-11-10 Andreas Schwab <schwab@redhat.com>
55700 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55701 (reused_arena): Don't check arena limit.
55702 (arena_get2): Atomically check arena limit.
55704 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55706 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55707 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55712 2011-11-07 Andreas Schwab <schwab@redhat.com>
55714 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55715 handler when locking.
55717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55718 Fix size of allocated buffer.
55720 2011-11-04 Andreas Schwab <schwab@redhat.com>
55723 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55724 declarations for long double functions.
55725 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55727 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55729 2011-11-03 Andreas Schwab <schwab@redhat.com>
55731 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55734 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55737 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55739 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55741 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55743 * include/alloca.h (stackinfo_alloca_round): Define.
55744 (extend_alloca): Use it.
55745 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55746 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55749 * scripts/check-local-headers.sh: Ignore libaudit.h.
55751 * nscd/Makefile (extra-objs): Make recursively expanded.
55753 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55755 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55758 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55759 * posix/tst-rfc3484-2.c: Likewise.
55760 * posix/tst-rfc3484-3.c: Likewise.
55762 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55764 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55766 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55767 process_vm_writev from libc using GLIBC_2.15 version.
55769 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55771 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55773 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55776 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55779 * nss/getent.c (initgroups_keys): Show error message in case no group
55782 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55783 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55784 __bump_nl_timestamp.
55785 * nscd/connections (nscd_init): When host database is served open
55786 netlink socket and request notification about configuration changes.
55787 (main_loop_poll): Track netlink file descriptor and bump timestamp
55788 in case data becomes available.
55789 (main_loop_epoll): Likewise.
55790 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55791 (database_pers_head): Add extra_data fileds.
55792 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55793 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55794 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55797 in6ai data, call __free_in6ai.
55798 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55799 Add -DHAVE_NETLINK.
55800 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55801 interface information. Reuse previous data if netlink timestamp
55803 (__bump_nl_timestamp): New function.
55804 (__free_in6ai): New function.
55806 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55808 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55809 close_not_cancel_no_status here.
55810 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55812 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55815 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55818 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55819 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55820 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55822 2011-07-03 Andreas Jaeger <aj@suse.de>
55825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55826 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55827 * math/libm-test.inc (sin_test): Add test case.
55829 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55832 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55833 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55835 * elf/chroot_canon.c (chroot_canon): Cleanups.
55837 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55840 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55841 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55843 * string/test-strchr.c: Make usable for strchrnul testing.
55844 * string/test-strchrnul.c: New file.
55845 * string/Makefile (strop-tests): Add strchrnul.
55847 * po/it.po: Update from translation team.
55848 * po/es.po: Likewise.
55850 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55853 the three constants needed as parameters. Drop the others.
55854 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55855 __m128i_strloadu_tolower.
55856 Create and initialize variable zero and use it in all the places
55857 where _mm_setzero_si128 was used.
55859 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55860 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55861 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55862 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55864 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55865 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55866 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55867 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55868 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55869 __mpranred, __mptan.
55870 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55871 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55872 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55873 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55874 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55875 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55880 2011-10-28 Andreas Schwab <schwab@redhat.com>
55882 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55883 redefine if SHARED.
55884 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55887 wide char related routines to wcsmbs subdir.
55889 2011-10-27 Andreas Schwab <schwab@redhat.com>
55892 * misc/sys/cdefs.h (__THROWNL): Define.
55893 * posix/unistd.h: Use __THREADNL instead of __THREAD
55894 for memory synchronization functions.
55896 2011-10-26 Roland McGrath <roland@hack.frob.com>
55899 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55901 * manual/stdio.texi (Obstack Streams): Node removed.
55903 2011-10-26 Andreas Schwab <schwab@redhat.com>
55905 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55907 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55909 * math/math_private.h (math_force_eval): Allow non-addressable
55911 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55913 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55915 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55916 file is not needed.
55918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55924 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55925 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55927 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55928 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55929 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55930 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55931 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55932 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55933 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55934 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55935 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55936 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55937 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55938 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55939 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55940 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55941 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55942 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55943 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55944 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55945 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55947 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55948 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55951 place. Use VEX encoding when compiling for AVX.
55953 2011-10-25 Andreas Schwab <schwab@redhat.com>
55955 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55956 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55958 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55960 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55962 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55963 useless if() expression.
55964 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55965 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55966 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55967 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55968 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55969 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55970 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55975 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55976 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55977 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55978 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55982 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55984 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55986 2011-10-25 Andreas Schwab <schwab@redhat.com>
55988 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55990 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55992 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55994 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55995 .text section. Avoid duplicate constants.
55996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55998 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56004 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56005 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56006 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56007 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56008 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56009 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56010 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56012 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56016 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56017 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56018 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56020 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56021 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56022 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56023 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56026 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56027 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56028 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56029 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56030 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56031 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56034 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56038 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56039 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56040 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56042 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56044 * sysdeps/x86_64/dla.h: Move to ...
56045 * sysdeps/x86_64/fpu/dla.h: ...here.
56046 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56047 situations. Use __builtin_fma only for gcc 4.6 and up.
56049 * config.make.in: Add have-mfma4 entry.
56050 * configure.in: Substitute libc_cv_cc_fma4.
56051 * math/Makefile (dbl-only-routines): Add sincostab.
56052 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56053 Use __sincostab not sincos.
56054 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56061 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56062 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56063 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56064 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56067 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56069 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56070 define aliases when function name is a macro.
56071 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56072 sysdeps/ieee754/dbl-64/sincos.tbl.
56073 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56074 fma4-enabled routines.
56075 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56076 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56077 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56078 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56080 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56084 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56085 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56086 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56087 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56088 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56090 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56091 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56092 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56093 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56095 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56098 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56100 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56102 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56103 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56104 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56106 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56117 2011-10-24 Andreas Schwab <schwab@redhat.com>
56119 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56121 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56125 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56129 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56130 Remove unused variable magic_bits.
56131 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56133 * string/strnlen.c: Define and use STRNLEN macro.
56134 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56135 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56137 * wcsmbs/wcslen.c: Define and use WCSLEN.
56138 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56139 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56140 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56141 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56142 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56143 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56144 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56146 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56149 strnlen-sse2-no-bsf.
56150 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56152 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56153 Add strnlen support.
56154 (USE_AS_STRNLEN): New macro.
56155 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56157 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56158 * sysdeps/x86_64/wcslen.S: New file.
56160 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56163 XMM-moves are used for copying on small sizes.
56165 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56167 * wcsmbs/Makefile (strop-tests): Add wcschr.
56168 * wcsmbs/test-wcschr.c: New file.
56169 * string/test-strchr.c: Update.
56170 Add wcschr support.
56173 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56175 * wcsmbs/Makefile (strop-tests): Add wcslen.
56176 * wcsmbs/test-wcslen.c: New file.
56177 * string/test-strlen.c: Update.
56178 Add wcslen support.
56181 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56183 * po/it.po: Update from translation team.
56185 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56187 * sysdeps/x86_64/wcscmp.S: Update.
56188 Fix wrong comparison semantics.
56189 wcscmp shall use signed comparison not unsigned.
56190 Don't use substraction to avoid overflow bug.
56191 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56192 * wcsmbc/wcscmp.c: Likewise.
56193 * string/test-strcmp.c: Likewise.
56194 Add new tests to check cases with negative values.
56196 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56198 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56199 * sysdeps/x86_64/dla.h: ...here. New file.
56200 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56210 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56213 __ynl_finite aliases.
56215 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56219 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56221 [DLA_FMA] (EMULV): Use DLA_FMA.
56222 [DLA_FMA] (MUL12): Use EMULV.
56223 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56224 that are not needed.
56225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56233 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56235 * math/s_nan.c: Undef __nan.
56236 * math/s_nanf.c: Undef __nanf.
56237 * math/s_nanl.c: Undef __nanl.
56238 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56241 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56243 * math/s_catan.c: Add branch predictions.
56244 * math/s_catanf.c: Likewise.
56245 * math/s_catanh.c: Likewise.
56246 * math/s_catanhf.c: Likewise.
56247 * math/s_catanhl.c: Likewise.
56248 * math/s_catanl.c: Likewise.
56249 * math/s_cexp.c: Likewise.
56250 * math/s_cexpf.c: Likewise.
56251 * math/s_cexpl.c: Likewise.
56252 * math/s_clog.c: Likewise.
56253 * math/s_clog10.c: Likewise.
56254 * math/s_clog10f.c: Likewise.
56255 * math/s_clog10l.c: Likewise.
56256 * math/s_clogf.c: Likewise.
56257 * math/s_clogl.c: Likewise.
56258 * math/s_csqrt.c: Likewise.
56259 * math/s_csqrtf.c: Likewise.
56260 * math/s_csqrtl.c: Likewise.
56261 * math/s_ctanf.c: Likewise.
56262 * math/s_ctanh.c: Likewise.
56263 * math/s_ctanhf.c: Likewise.
56264 * math/s_ctanhl.c: Likewise.
56265 * math/s_ctanl.c: Likewise.
56267 * math/math_private.h: Define __nan, __nanf, __nanl.
56268 * math/s_cacosh.c: Include <math_private.h>.
56269 * math/s_cacoshl.c: Likewise.
56270 * math/s_casinh.c: Likewise.
56271 * math/s_casinhf.c: Likewise.
56272 * math/s_casinhl.c: Likewise.
56273 * math/s_ccos.c: Rely entire on ccosh.
56274 * math/s_ccosf.c: Rely entire on ccoshf.
56275 * math/s_ccosl.c: Rely entirely on ccoshl.
56276 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56277 Remove tests for FE_INVALID.
56278 * math/s_ccoshf.c: Likewise.
56279 * math/s_ccoshl.c: Likewise.
56280 * math/s_csin.c: Likewise.
56281 * math/s_csinf.c: Likewise.
56282 * math/s_csinh.c Likewise.
56283 * math/s_csinhf.c: Likewise.
56284 * math/s_csinhl.c: Likewise.
56285 * math/s_csinl.c: Likewise.
56286 * math/s_ctan.c: Likewise.
56287 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56288 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56289 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56291 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56294 compilation problems.
56296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56299 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56301 * sysdeps/i386/configure.in: Test for -mfma4 option.
56302 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56303 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56304 COMMON_CPUID_INDEX_80000001.
56305 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56306 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56307 use it if FMA3 is not supported.
56308 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56310 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56313 2011-10-20 Andreas Schwab <schwab@redhat.com>
56316 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56317 it would create a cycle with a link time dependency.
56319 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56321 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56323 * string/Makefile (strop-tests): Add rawmemchr.
56324 * string/test-rawmemchr.c: New file.
56326 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56328 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56329 when compiling str{,n}casecmp and when AVX is available. Hook up
56330 new optimized code in initializers.
56332 2011-10-19 Andreas Schwab <schwab@redhat.com>
56334 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56335 __feraiseexcept instead of feraiseexcept.
56337 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56339 * math/math_private.h: Define defaults for libc_fetestexcept and
56341 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56342 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56343 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56344 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56345 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56346 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56347 libc_fetestexcept and libc_feupdateenv.
56349 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56350 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56351 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56352 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56353 libc_feholdexcept_setround.
56355 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56356 Add s_nearbyint-c and s_nearbyintf-c.
56357 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56358 nearbyintf inlines.
56359 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56360 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56361 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56362 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56364 * math/math_private.h: Define defaults for libc_fegetround,
56365 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56366 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56367 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56368 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56369 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56370 standard functions.
56371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56372 Remove comments and hacks for old compiler versions.
56373 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56374 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56375 libc_feholdexceptl.
56377 2011-10-18 Andreas Schwab <schwab@redhat.com>
56379 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56380 (__feraiseexcept_renamed): Add __NTH.
56381 (feraiseexcept): Add __NTH. Rename local variables to fix
56382 namespace violations.
56384 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56386 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56388 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56390 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56391 recently added interfaces.
56392 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56394 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56395 about macro parameter expansion.
56397 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56398 __NO_MATH_INLINES is defined. Cleanups.
56400 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56401 and __floorf is target has SSE4.1.
56402 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56403 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56404 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56405 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56407 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56409 (floorf): Likewise.
56411 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56413 2011-10-17 Andreas Schwab <schwab@redhat.com>
56415 * misc/sys/cdefs.h: Fix last change.
56417 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56420 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56422 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56424 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56426 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56429 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56431 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56432 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56433 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56434 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56435 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56436 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56437 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56438 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56439 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56440 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56441 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56442 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56443 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56444 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56445 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56447 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56448 ceil, ceilf, floor, floorf.
56450 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56451 Perform IRELATIVE relocations last.
56453 * elf/do-rel.h: Add another parameter nrelative, replacing the
56454 local variable with the same name. Change name of the function
56455 to end in Rel or Rela (uppercase).
56456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56457 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56458 elf_dynamic_do_##reloc function.
56460 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56462 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56463 is sufficient, at least on modern CPUs.
56465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56467 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56468 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56470 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56472 * math/bits/math-finite.h: Add entries for exp.
56473 * math/e_expl.c: Add __*_finite alias.
56474 * sysdeps/i386/fpu/e_exp.S: Likewise.
56475 * sysdeps/i386/fpu/e_expf.S: Likewise.
56476 * sysdeps/i386/fpu/e_expl.c: Likewise.
56477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56478 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56479 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56481 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56482 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56483 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56485 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56486 is sufficient, at least on modern CPUs.
56488 * ctype/ctype-info.c (__ctype_init): Define.
56489 * include/ctype.h (__ctype_init): Declare.
56490 (__ctype_b_loc): The variable is always initialized.
56491 (__ctype_toupper_loc): Likewise.
56492 (__ctype_tolower_loc): Likewise.
56493 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56494 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56496 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56498 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56500 * configure.in: Also look in $cxxmachine/include for C++ system
56503 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56505 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56506 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56507 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56508 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56509 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56510 (USE_AS_WMEMCMP): New macro.
56512 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56513 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56514 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56515 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56517 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56518 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56519 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56520 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56521 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56523 (USE_AS_WMEMCMP): New macro.
56524 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56525 * sysdeps/string/test-memcmp.c: Update.
56526 Fix simple_wmemcmp.
56528 * wcsmbs/wmemcmp.c: Update.
56529 (WMEMCMP): New macro.
56532 2011-10-12 Andreas Jaeger <aj@suse.de>
56535 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56537 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56539 * libio/iofwide.c (do_length): Avoid warning.
56541 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56543 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56545 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56547 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56548 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56549 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56550 * sysdeps/i386/i686/fpu/e_log.S: New file.
56551 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56552 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56554 * ctype/ctype.h: Add support for inlined isXXX functions when
56555 compiling C++ code.
56557 2011-10-14 Andreas Schwab <schwab@redhat.com>
56559 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56561 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56563 2011-10-13 Roland McGrath <roland@hack.frob.com>
56566 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56568 2011-10-13 Andreas Schwab <schwab@redhat.com>
56570 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56571 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56574 * sysdeps/x86_64/memrchr.S: Check for zero size.
56576 * string/stratcliff.c: Add memrchr tests.
56578 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56581 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56582 rawmemchr-sse2 rawmemchr-sse2-bsf.
56583 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56584 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56585 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56586 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56587 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56588 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56589 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56590 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56591 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56592 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56593 * string/memrchr.c (MEMRCHR): New macro.
56595 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56597 Add integration with gcc's -ffinite-math-only and optimize wrapper
56599 * Versions.def: Define GLIBC_2.15 version for libm.
56600 * math/Makefile (headers): Add bits/math-finite.h.
56601 * math/bits/math-finite.h: New file.
56602 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56603 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56604 * math/e_acoshl.c: Add __*_finite alias.
56605 * math/e_acosl.c: Likewise.
56606 * math/e_asinl.c: Likewise.
56607 * math/e_atan2l.c: Likewise.
56608 * math/e_atanhl.c: Likewise.
56609 * math/e_coshl.c: Likewise.
56610 * math/e_exp10.c: Likewise.
56611 * math/e_exp10f.c: Likewise.
56612 * math/e_exp10l.c: Likewise.
56613 * math/e_exp2l.c: Likewise.
56614 * math/e_fmodl.c: Likewise.
56615 * math/e_gammal_r.c: Likewise.
56616 * math/e_hypotl.c: Likewise.
56617 * math/e_j0l.c: Likewise.
56618 * math/e_j1l.c: Likewise.
56619 * math/e_jnl.c: Likewise.
56620 * math/e_lgammal_r.c: Likewise.
56621 * math/e_log10l.c: Likewise.
56622 * math/e_log2l.c: Likewise.
56623 * math/e_logl.c: Likewise.
56624 * math/e_powl.c: Likewise.
56625 * math/e_sinhl.c: Likewise.
56626 * math/e_sqrtl.c: Likewise.
56627 * math/e_scalb.c: Completely rewritten and optimized.
56628 * math/e_scalbf.c: Likewise.
56629 * math/e_scalbl.c: Likewise.
56630 * math/w_acos.c: Likewise.
56631 * math/w_acosf.c: Likewise.
56632 * math/w_acosl.c: Likewise.
56633 * math/w_acosh.c: Likewise.
56634 * math/w_acoshf.c: Likewise.
56635 * math/w_acoshl.c: Likewise.
56636 * math/w_asin.c: Likewise.
56637 * math/w_asinf.c: Likewise.
56638 * math/w_asinl.c: Likewise.
56639 * math/w_atan2.c: Likewise.
56640 * math/w_atan2f.c: Likewise.
56641 * math/w_atan2l.c: Likewise.
56642 * math/w_atanh.c: Likewise.
56643 * math/w_atanhf.c: Likewise.
56644 * math/w_atanhl.c: Likewise.
56645 * math/w_exp10.c: Likewise.
56646 * math/w_exp10f.c: Likewise.
56647 * math/w_exp10l.c: Likewise.
56648 * math/w_fmod.c: Likewise.
56649 * math/w_fmodf.c: Likewise.
56650 * math/w_fmodl.c: Likewise.
56651 * math/w_j0.c: Likewise.
56652 * math/w_j0f.c: Likewise.
56653 * math/w_j0l.c: Likewise.
56654 * math/w_j1.c: Likewise.
56655 * math/w_j1f.c: Likewise.
56656 * math/w_j1l.c: Likewise.
56657 * math/w_jn.c: Likewise.
56658 * math/w_jnf.c: Likewise.
56659 * math/w_log.c: Likewise.
56660 * math/w_logf.c: Likewise.
56661 * math/w_logl.c: Likewise.
56662 * math/w_log10.c: Likewise.
56663 * math/w_log10f.c: Likewise.
56664 * math/w_log10l.c: Likewise.
56665 * math/w_log2.c: Likewise.
56666 * math/w_log2f.c: Likewise.
56667 * math/w_log2l.c: Likewise.
56668 * math/w_pow.c: Likewise.
56669 * math/w_powf.c: Likewise.
56670 * math/w_powl.c: Likewise.
56671 * math/w_remainder.c: Likewise.
56672 * math/w_remainderf.c: Likewise.
56673 * math/w_remainderl.c: Likewise.
56674 * math/w_scalb.c: Likewise.
56675 * math/w_scalbf.c: Likewise.
56676 * math/w_scalbl.c: Likewise.
56677 * math/w_sqrt.c: Likewise.
56678 * math/w_sqrtf.c: Likewise.
56679 * math/w_sqrtl.c: Likewise.
56680 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56681 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56683 * math/math_private.h: Declare __kernel_standard_f.
56684 * math/w_cosh.c: Remove cruft and optimize a bit.
56685 * math/w_coshf.c: Likewise.
56686 * math/w_coshl.c: Likewise.
56687 * math/w_exp2.c: Likewise.
56688 * math/w_exp2f.c: Likewise.
56689 * math/w_exp2l.c: Likewise.
56690 * math/w_hypot.c: Likewise.
56691 * math/w_hypotf.c: Likewise.
56692 * math/w_hypotl.c: Likewise.
56693 * math/w_lgamma.c: Likewise.
56694 * math/w_lgamma_r.c: Likewise.
56695 * math/w_lgammaf.c: Likewise.
56696 * math/w_lgammaf_r.c: Likewise.
56697 * math/w_lgammal.c: Likewise.
56698 * math/w_lgammal_r.c: Likewise.
56699 * math/w_sinh.c: Likewise.
56700 * math/w_sinhf.c: Likewise.
56701 * math/w_sinhl.c: Likewise.
56702 * math/w_tgamma.c: Likewise.
56703 * math/w_tgammaf.c: Likewise.
56704 * math/w_tgammal.c: Likewise.
56705 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56706 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56707 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56708 Minor optimizations. Pretty printing. Remove cruft.
56709 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56710 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56712 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56713 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56714 * sysdeps/i386/fpu/e_asin.S: Likewise.
56715 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56716 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56717 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56718 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56719 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56720 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56721 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56722 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56723 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56724 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56725 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56726 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56727 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56728 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56729 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56730 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56731 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56732 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56733 * sysdeps/i386/fpu/e_log.S: Likewise.
56734 * sysdeps/i386/fpu/e_log10.S: Likewise.
56735 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56737 * sysdeps/i386/fpu/e_log2.S: Likewise.
56738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56739 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56740 * sysdeps/i386/fpu/e_logf.S: Likewise.
56741 * sysdeps/i386/fpu/e_logl.S: Likewise.
56742 * sysdeps/i386/fpu/e_pow.S: Likewise.
56743 * sysdeps/i386/fpu/e_powf.S: Likewise.
56744 * sysdeps/i386/fpu/e_powl.S: Likewise.
56745 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56746 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56747 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56748 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56750 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56751 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56752 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56753 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56754 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56755 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56758 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56760 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56761 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56763 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56764 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56765 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56767 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56768 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56774 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56775 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56776 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56777 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56778 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56779 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56781 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56783 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56785 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56786 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56787 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56788 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56789 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56790 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56791 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56792 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56793 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56794 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56795 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56796 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56797 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56798 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56799 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56801 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56802 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56803 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56804 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56806 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56807 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56809 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56810 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56811 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56812 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56813 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56814 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56815 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56817 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56818 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56819 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56821 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56822 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56824 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56825 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56830 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56831 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56832 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56833 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56834 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56835 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56836 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56841 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56842 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56843 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56847 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56848 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56849 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56850 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56851 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56852 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56853 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56854 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56855 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56856 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56857 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56859 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56862 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56863 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56864 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56865 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56866 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56867 (__isnanf): Likewise.
56868 (__isinf_ns): Likewise.
56869 (__isinf_nsf): Likewise.
56870 (__finite): Likewise.
56871 (__finitef): Likewise.
56872 (__ieee754_sqrt): Define as macro.
56873 (__ieee754_sqrtf): Define as macro.
56874 (__ieee754_sqrtl): Define as macro.
56875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56877 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56878 __FINITE_MATH_ONLY__ consistent.
56879 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56881 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56883 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56886 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56888 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56890 * po/ja.po: Update from translation team.
56892 2011-10-08 Roland McGrath <roland@hack.frob.com>
56894 * locale/programs/locarchive.c (prepare_address_space): New function.
56895 (create_archive, enlarge_archive, open_archive): Use it.
56897 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56898 inside [SHARED], where it is used.
56900 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56902 * nss/getent.c (netgroup_keys): Remove unused variable.
56903 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56905 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56907 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56908 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56911 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56912 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56913 * math/Makefile (libm-calls): Add s_isinf_ns.
56914 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56915 * math/multc3.c: Likewise.
56916 * math/s_casin.c: Likewise.
56917 * math/s_casinf.c: Likewise.
56918 * math/s_casinl.c: Likewise.
56919 * math/s_ccos.c: Likewise.
56920 * math/s_ccosf.c: Likewise.
56921 * math/s_ccosl.c: Likewise.
56922 * math/s_ctan.c: Likewise.
56923 * math/s_ctanf.c: Likewise.
56924 * math/s_ctanh.c: Likewise.
56925 * math/s_ctanhf.c: Likewise.
56926 * math/s_ctanhl.c: Likewise.
56927 * math/s_ctanl.c: Likewise.
56928 * math/w_fmod.c: Likewise.
56929 * math/w_fmodf.c: Likewise.
56930 * math/w_fmodl.c: Likewise.
56931 * math/w_remainder.c: Likewise.
56932 * math/w_remainderf.c: Likewise.
56933 * math/w_remainderl.c: Likewise.
56934 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56935 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56938 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56939 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56940 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56941 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56943 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56945 * stdio-common/printf_fphex.c: Likewise.
56946 * stdio-common/printf_size.c: Likewise.
56948 * math/e_exp10.c: Include math_private.h using <...> not "...".
56949 * math/e_exp10f.c: Likewise.
56950 * math/e_exp10l.c: Likewise.
56951 * math/e_exp2l.c: Likewise.
56952 * math/e_j0l.c: Likewise.
56953 * math/e_j1l.c: Likewise.
56954 * math/e_jnl.c: Likewise.
56955 * math/e_lgammal_r.c: Likewise.
56956 * math/e_rem_pio2l.c: Likewise.
56957 * math/e_scalb.c: Likewise.
56958 * math/e_scalbf.c: Likewise.
56959 * math/e_scalbl.c: Likewise.
56960 * math/k_cosl.c: Likewise.
56961 * math/k_sinl.c: Likewise.
56962 * math/k_tanl.c: Likewise.
56963 * math/s_cacoshf.c: Likewise.
56964 * math/s_catan.c: Likewise.
56965 * math/s_catanf.c: Likewise.
56966 * math/s_catanh.c: Likewise.
56967 * math/s_catanhf.c: Likewise.
56968 * math/s_catanhl.c: Likewise.
56969 * math/s_catanl.c: Likewise.
56970 * math/s_ccosh.c: Likewise.
56971 * math/s_ccoshf.c: Likewise.
56972 * math/s_ccoshl.c: Likewise.
56973 * math/s_cexp.c: Likewise.
56974 * math/s_cexpf.c: Likewise.
56975 * math/s_cexpl.c: Likewise.
56976 * math/s_clog.c: Likewise.
56977 * math/s_clog10.c: Likewise.
56978 * math/s_clog10f.c: Likewise.
56979 * math/s_clog10l.c: Likewise.
56980 * math/s_clogf.c: Likewise.
56981 * math/s_clogl.c: Likewise.
56982 * math/s_csin.c: Likewise.
56983 * math/s_csinf.c: Likewise.
56984 * math/s_csinh.c: Likewise.
56985 * math/s_csinhf.c: Likewise.
56986 * math/s_csinhl.c: Likewise.
56987 * math/s_csinl.c: Likewise.
56988 * math/s_csqrt.c: Likewise.
56989 * math/s_csqrtf.c: Likewise.
56990 * math/s_csqrtl.c: Likewise.
56991 * math/s_ctan.c: Likewise.
56992 * math/s_ctanf.c: Likewise.
56993 * math/s_ctanh.c: Likewise.
56994 * math/s_ctanhf.c: Likewise.
56995 * math/s_ctanhl.c: Likewise.
56996 * math/s_ctanl.c: Likewise.
56997 * math/s_ldexp.c: Likewise.
56998 * math/s_ldexpf.c: Likewise.
56999 * math/s_ldexpl.c: Likewise.
57000 * math/s_significand.c: Likewise.
57001 * math/s_significandf.c: Likewise.
57002 * math/s_significandl.c: Likewise.
57003 * math/w_acos.c: Likewise.
57004 * math/w_acosf.c: Likewise.
57005 * math/w_acosh.c: Likewise.
57006 * math/w_acoshf.c: Likewise.
57007 * math/w_acoshl.c: Likewise.
57008 * math/w_acosl.c: Likewise.
57009 * math/w_asin.c: Likewise.
57010 * math/w_asinf.c: Likewise.
57011 * math/w_asinl.c: Likewise.
57012 * math/w_atan2.c: Likewise.
57013 * math/w_atan2f.c: Likewise.
57014 * math/w_atan2l.c: Likewise.
57015 * math/w_atanh.c: Likewise.
57016 * math/w_atanhf.c: Likewise.
57017 * math/w_atanhl.c: Likewise.
57018 * math/w_cosh.c: Likewise.
57019 * math/w_coshf.c: Likewise.
57020 * math/w_coshl.c: Likewise.
57021 * math/w_dremf.c: Likewise.
57022 * math/w_exp10.c: Likewise.
57023 * math/w_exp10f.c: Likewise.
57024 * math/w_exp10l.c: Likewise.
57025 * math/w_exp2.c: Likewise.
57026 * math/w_exp2f.c: Likewise.
57027 * math/w_fmod.c: Likewise.
57028 * math/w_fmodf.c: Likewise.
57029 * math/w_fmodl.c: Likewise.
57030 * math/w_hypot.c: Likewise.
57031 * math/w_hypotf.c: Likewise.
57032 * math/w_hypotl.c: Likewise.
57033 * math/w_j0.c: Likewise.
57034 * math/w_j0f.c: Likewise.
57035 * math/w_j0l.c: Likewise.
57036 * math/w_j1.c: Likewise.
57037 * math/w_j1f.c: Likewise.
57038 * math/w_j1l.c: Likewise.
57039 * math/w_jn.c: Likewise.
57040 * math/w_jnf.c: Likewise.
57041 * math/w_jnl.c: Likewise.
57042 * math/w_lgamma.c: Likewise.
57043 * math/w_lgamma_r.c: Likewise.
57044 * math/w_lgammaf.c: Likewise.
57045 * math/w_lgammaf_r.c: Likewise.
57046 * math/w_lgammal.c: Likewise.
57047 * math/w_lgammal_r.c: Likewise.
57048 * math/w_log.c: Likewise.
57049 * math/w_log10.c: Likewise.
57050 * math/w_log10f.c: Likewise.
57051 * math/w_log10l.c: Likewise.
57052 * math/w_log2.c: Likewise.
57053 * math/w_log2f.c: Likewise.
57054 * math/w_log2l.c: Likewise.
57055 * math/w_logf.c: Likewise.
57056 * math/w_logl.c: Likewise.
57057 * math/w_pow.c: Likewise.
57058 * math/w_powf.c: Likewise.
57059 * math/w_powl.c: Likewise.
57060 * math/w_remainder.c: Likewise.
57061 * math/w_remainderf.c: Likewise.
57062 * math/w_remainderl.c: Likewise.
57063 * math/w_scalb.c: Likewise.
57064 * math/w_scalbf.c: Likewise.
57065 * math/w_scalbl.c: Likewise.
57066 * math/w_sinh.c: Likewise.
57067 * math/w_sinhf.c: Likewise.
57068 * math/w_sinhl.c: Likewise.
57069 * math/w_sqrt.c: Likewise.
57070 * math/w_sqrtf.c: Likewise.
57071 * math/w_sqrtl.c: Likewise.
57072 * math/w_tgamma.c: Likewise.
57073 * math/w_tgammaf.c: Likewise.
57074 * math/w_tgammal.c: Likewise.
57076 * po/ja.po: Update from translation team.
57078 2011-09-29 Andreas Jaeger <aj@suse.de>
57081 * sunrpc/netname.c (netname2host): Fix logic.
57085 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57087 * math/w_remainder.c (__remainder): Likewise.
57088 * math/w_remainderf.c (__remainderf): Likewise.
57089 * math/libm-test.inc (remainder_test): Add test cases.
57091 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57093 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57096 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57098 * string/test-memcmp.c: Avoid unncessary #defines.
57099 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57101 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57103 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57104 Use new sse2 version for core i3 - i7 as it's faster
57105 than sse42 version.
57106 (bit_Prefer_PMINUB_for_stringop): New.
57107 * sysdeps/x86_64/rawmemchr.S: Update.
57108 Replace with faster SSE2 version.
57109 * sysdeps/x86_64/memrchr.S: New file.
57110 * sysdeps/x86_64/memchr.S: Update.
57111 Replace with faster SSE2 version.
57113 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57115 * elf/dl-load.c (lose): Add cast to avoid warning.
57117 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57119 * po/ca.po: Update from translation team.
57121 * inet/getnetgrent_r.c: Hook up nscd.
57122 * nscd/Makefile (routines): Add nscd_netgroup.
57123 (nscd-modules): Add netgroupcache.
57124 (CFLAGS-netgroupcache.c): Define.
57125 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57126 (cache_search): Add const to second parameter.
57127 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57129 (dbs): Add netgrdb entry.
57130 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57131 (verify_persistent_db): Handle netgrdb.
57132 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57133 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57135 (netgroup_response_header): Define.
57136 (innetgroup_response_header): Define.
57137 (datahead): Add netgroup_response_header and innetgroup_response_header
57139 * nscd/nscd.conf: Add entries for netgroup cache.
57140 * nscd/nscd.h (dbtype): Add netgrdb.
57141 (_PATH_NSCD_NETGROUP_DB): Define.
57142 (netgroup_iov_disabled): Declare.
57143 (xmalloc, xcalloc, xrealloc): Move declarations here.
57144 (cache_search): Adjust prototype.
57145 Add netgroup-related prototypes.
57146 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57147 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57148 (__nscd_innetgr): Declare.
57149 * nscd/selinux.c (perms): Use access_vector_t as element type and
57150 add netgroup-related initializers.
57151 * nscd/netgroupcache.c: New file.
57152 * nscd/nscd_netgroup.c: New file.
57153 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57154 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57155 For four parameters use innetgr.
57156 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57157 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57158 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57159 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57161 * nscd/connections.c (register_traced_file): Don't register file
57162 for disabled databases.
57164 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57166 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57168 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57169 from tree and freeing node.
57171 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57173 * nss/nsswitch.c (__nss_database_lookup): Handle
57174 nss_parse_service_list out of memory case.
57176 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57178 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57179 out of memory case.
57181 2011-10-04 Andreas Schwab <schwab@redhat.com>
57183 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57184 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57186 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57187 elf_machine_rela, elf_machine_lazy_rel.
57188 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57189 (ELF_DYNAMIC_DO_REL): Likewise.
57190 (ELF_DYNAMIC_DO_RELA): Likewise.
57191 (ELF_DYNAMIC_RELOCATE): Likewise.
57192 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57193 to ELF_DYNAMIC_DO_REL.
57194 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57195 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57196 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57199 skip_ifunc, don't call ifunc function if non-zero.
57200 (elf_machine_rela): Likewise.
57201 (elf_machine_lazy_rel): Likewise.
57202 (elf_machine_lazy_rela): Likewise.
57203 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57204 (elf_machine_lazy_rel): Likewise.
57205 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57207 (elf_machine_lazy_rel): Likewise.
57208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57210 (elf_machine_lazy_rel): Likewise.
57211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57212 (elf_machine_lazy_rel): Likewise.
57213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57214 (elf_machine_lazy_rel): Likewise.
57215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57216 (elf_machine_lazy_rel): Likewise.
57217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57218 (elf_machine_lazy_rel): Likewise.
57219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57220 (elf_machine_lazy_rel): Likewise.
57221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57222 (elf_machine_lazy_rel): Likewise.
57224 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57226 * nss/nss_files/files-init.c (_nss_files_init): Use static
57227 initialization for all the *_traced_file variables.
57229 2011-09-28 Andreas Schwab <schwab@redhat.com>
57231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57233 2011-09-27 Roland McGrath <roland@hack.frob.com>
57236 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57238 2011-09-27 Andreas Schwab <schwab@redhat.com>
57240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57241 Reread the line before reparsing it.
57243 2011-09-26 Andreas Schwab <schwab@redhat.com>
57245 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57247 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57248 Maxim Kuvyrkov <maxim@codesourcery.com>
57249 Joseph Myers <joseph@codesourcery.com>
57251 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57252 if needed for __stack_chk_guard.
57254 2011-09-19 Roland McGrath <roland@hack.frob.com>
57256 * sysdeps/posix/spawni.c (script_execute): Always define it.
57257 It will be optimized away if unused.
57258 (maybe_script_execute): New function.
57259 (__spawni): Call it.
57261 * Makerules: Don't include tls.make.
57262 (config-tls): Always set to thread.
57263 * tls.make.c: File removed.
57265 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57267 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57268 * config.make.in (CPPFLAGS-config): New substituted variable.
57270 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57272 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57275 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57276 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57278 2011-09-15 Roland McGrath <roland@hack.frob.com>
57280 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57281 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57283 (CALL_FAIL): Likewise.
57284 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57285 (CALL_FAIL): Macro removed.
57286 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57288 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57290 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57291 for __FINITE_MATH_ONLY__ == 1.
57293 2011-09-15 Andreas Schwab <schwab@redhat.com>
57295 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57296 __ieee754_sqrt instead of sqrt.
57297 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57298 __ieee754_sqrtf instead of sqrtf.
57299 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57300 __floorf instead of floorf.
57301 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57302 __floorf, __truncf instead of floorf, truncf.
57304 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57306 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57308 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57309 __extern_always_inline.
57310 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57313 2011-09-14 Andreas Schwab <schwab@redhat.com>
57315 * elf/rtld.c (dl_main): Also relocate in dependency order when
57316 doing symbol dependency testing.
57318 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57321 Always define `refsym'.
57323 2011-09-13 Andreas Schwab <schwab@redhat.com>
57325 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57326 (__FD_ELT): Renamed from __FDELT.
57327 * misc/bits/select2.h (__FD_ELT): Likewise.
57328 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57329 __FD_MASK instead of __FDELT, __FDMASK.
57330 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57332 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57335 * elf/Makefile (gen-ldd): Fix pattern.
57337 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57338 (init_tls): Likewise.
57340 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57344 2011-09-12 Andreas Schwab <schwab@redhat.com>
57346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57347 `struct cmsghdr *' instead of `void *'.
57348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57351 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57353 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57355 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57356 ldd_rewrite_script.
57358 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57360 * configure.in: Remove --with-tls option.
57361 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57362 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57363 out in case it is missing.
57364 * sysdeps/ia64/elf/configure.in: Likewise.
57365 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57366 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57367 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57368 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57369 * sysdeps/sh/elf/configure.in: Likewise.
57370 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57372 * sysdeps/x86_64/elf/configure.in: Likewise.
57373 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57374 * sysdeps/mach/hurd/tls.h: Likewise.
57377 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57380 * configure.in: Fix use of AC_INIT.
57382 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57384 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57386 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57388 * malloc/hooks.c: Likewise.
57391 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57392 variables statically.
57393 (narenas): Initialize.
57394 (list_lock): Initialize.
57395 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57396 initializtion of main_arena and list_lock. Small cleanups.
57397 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57398 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57399 Add initializers to main_arena and mp_.
57400 (malloc_state): Remove pagesize member. Change all users to use
57403 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57404 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57405 is always initialized.
57407 * malloc/malloc.c: Removed unused configurations and dead code.
57408 * malloc/arena.c: Likewise.
57409 * malloc/hooks.c: Likewise.
57410 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57412 * include/tls.h: Removed. USE___THREAD must always be defined.
57413 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57414 * elf/dl-libc.c: Likewise.
57415 * elf/dl-tsd.c: Likewise.
57416 * include/errno.h: Likewise.
57417 * include/netdb.h: Likewise.
57418 * include/resolv.h: Likewise.
57419 * inet/herrno-loc.c: Likewise.
57420 * inet/herrno.c: Likewise.
57421 * malloc/arena.c: Likewise.
57422 * malloc/hooks.c: Likewise.
57423 * malloc/malloc.c: Likewise.
57424 * resolv/res-state.c: Likewise.
57425 * resolv/res_libc.c: Likewise.
57426 * sysdeps/i386/dl-machine.h: Likewise.
57427 * sysdeps/ia64/dl-machine.h: Likewise.
57428 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57429 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57430 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57431 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57432 * sysdeps/sh/dl-machine.h: Likewise.
57433 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57434 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57435 * sysdeps/unix/i386/sysdep.S: Likewise.
57436 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57437 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57439 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57442 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57447 * sysdeps/x86_64/dl-machine.h: Likewise.
57448 * tls.make.c: Likewise.
57450 * configure.in: Remove --with-__thread option. Make tests for
57451 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57452 tls_model attribute fail if no support is available. Remove
57454 * Makeconfig: Adjust for dropped configure option. All features are
57456 * Makerules: Likewise.
57457 * Versions.def: Likewise.
57458 * argp/argp-fmtstream.c: Likewise.
57459 * argp/argp-fmtstream.h: Likewise.
57460 * argp/argp-help.c: Likewise.
57461 * assert/assert.c: Likewise.
57462 * config.h.in: Likewise.
57463 * config.make.in: Likewise.
57464 * configure: Likewise.
57465 * configure.in: Likewise.
57466 * csu/Versions: Likewise.
57467 * csu/init.c: Likewise.
57468 * elf/tst-audit2.c: Likewise.
57469 * elf/tst-tls10.c: Likewise.
57470 * elf/tst-tls10.h: Likewise.
57471 * elf/tst-tls11.c: Likewise.
57472 * elf/tst-tls12.c: Likewise.
57473 * elf/tst-tls14.c: Likewise.
57474 * elf/tst-tlsmod11.c: Likewise.
57475 * elf/tst-tlsmod12.c: Likewise.
57476 * elf/tst-tlsmod13.c: Likewise.
57477 * elf/tst-tlsmod13a.c: Likewise.
57478 * elf/tst-tlsmod14a.c: Likewise.
57479 * elf/tst-tlsmod15b.c: Likewise.
57480 * elf/tst-tlsmod16a.c: Likewise.
57481 * elf/tst-tlsmod16b.c: Likewise.
57482 * elf/tst-tlsmod7.c: Likewise.
57483 * elf/tst-tlsmod8.c: Likewise.
57484 * elf/tst-tlsmod9.c: Likewise.
57485 * gmon/gmon.c: Likewise.
57486 * grp/fgetgrent_r.c: Likewise.
57487 * grp/putgrent.c: Likewise.
57488 * hurd/fopenport.c: Likewise.
57489 * include/libc-symbols.h: Likewise.
57490 * include/tls.h: Likewise.
57491 * intl/gettextP.h: Likewise.
57492 * intl/loadinfo.h: Likewise.
57493 * locale/global-locale.c: Likewise.
57494 * locale/localeinfo.h: Likewise.
57495 * mach/devstream.c: Likewise.
57496 * malloc/arena.c: Likewise.
57497 * malloc/set-freeres.c: Likewise.
57498 * misc/err.c: Likewise.
57499 * misc/getttyent.c: Likewise.
57500 * misc/mntent_r.c: Likewise.
57501 * posix/getopt.c: Likewise.
57502 * posix/wordexp.c: Likewise.
57503 * pwd/fgetpwent_r.c: Likewise.
57504 * resolv/Versions: Likewise.
57505 * resolv/res_hconf.c: Likewise.
57506 * shadow/fgetspent_r.c: Likewise.
57507 * shadow/putspent.c: Likewise.
57508 * stdio-common/printf_fphex.c: Likewise.
57509 * stdio-common/tmpfile.c: Likewise.
57510 * stdlib/abort.c: Likewise.
57511 * stdlib/fmtmsg.c: Likewise.
57512 * sunrpc/auth_unix.c: Likewise.
57513 * sunrpc/clnt_perr.c: Likewise.
57514 * sunrpc/clnt_tcp.c: Likewise.
57515 * sunrpc/clnt_udp.c: Likewise.
57516 * sunrpc/clnt_unix.c: Likewise.
57517 * sunrpc/openchild.c: Likewise.
57518 * sunrpc/svc_simple.c: Likewise.
57519 * sunrpc/svc_tcp.c: Likewise.
57520 * sunrpc/svc_udp.c: Likewise.
57521 * sunrpc/svc_unix.c: Likewise.
57522 * sunrpc/xdr.c: Likewise.
57523 * sunrpc/xdr_array.c: Likewise.
57524 * sunrpc/xdr_rec.c: Likewise.
57525 * sunrpc/xdr_ref.c: Likewise.
57526 * sunrpc/xdr_stdio.c: Likewise.
57528 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57530 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57532 2011-07-03 Andreas Jaeger <aj@suse.de>
57534 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57535 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57536 regenerate with gen-libm-tests.pl.
57538 2010-05-12 Petr Baudis <pasky@suse.cz>
57541 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57542 around j0() zero points by switching to j1().
57543 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57546 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57548 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57550 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57552 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57555 Patch in part by Pavel Roskin <proski@gnu.org>.
57558 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57560 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57561 Free memory block if necessary.
57564 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57565 be NULL. Don't lock in this case.
57567 2011-09-09 Roland McGrath <roland@hack.frob.com>
57569 * elf/elf.h (ELFOSABI_GNU): New macro.
57570 (ELFOSABI_LINUX): Define to that.
57572 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57574 * string/strncat.c (strncat): Undef the symbol in case it has been
57575 defined in bits/string.h.
57577 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57579 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57581 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57584 2011-08-17 Andreas Jaeger <aj@suse.de>
57586 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57588 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57589 Ian Lance Taylor <iant@google.com>
57591 * math/libm-test.inc (lround_test): New testcase.
57592 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57594 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57596 * Makefile: Remove support for automatic cvs check-ins.
57597 * Makerules: Likewise.
57598 * config.make.in: Likewise.
57599 * configure.in: Likewise.
57600 * intl/Makefile: Likewise.
57601 * locale/Makefile: Likewise.
57602 * po/Makefile: Likewise.
57603 * posix/Makefile: Likewise.
57604 * sysdeps/gnu/Makefile: Likewise.
57605 * sysdeps/mach/hurd/Makefile: Likewise.
57606 * sysdeps/sparc/sparc32/Makefile: Likewise.
57609 * posix/Makefile (bug-regex32-ENV): Define.
57610 Patch by John Stanley <jpsinthemix@verizon.net>.
57612 * misc/Makefile (headers): Add bits/select2.h.
57613 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57614 * misc/bits/select2.h: New file.
57615 * include/bits/select2.h: New file.
57616 * debug/Makefile (routines): Add fdelt_chk.
57617 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57618 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57620 * debug/fdelt_chk.c: New file.
57622 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57623 * wcsmbs/test-wmemcmp.c: Likewise.
57624 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57625 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57627 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57629 * string/Makefile (strop-tests): Add memcmp.
57630 * string/test-wmemcmp.c: New file.
57631 * string/test-memcmp.c: Add wmemcmp support.
57633 2011-09-08 Roland McGrath <roland@hack.frob.com>
57636 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57639 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57640 garbage value in a __mach_port_mod_refs call in the cases of the
57641 task-self and thread-self ports.
57643 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57645 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57647 2011-09-08 Andreas Schwab <schwab@redhat.com>
57649 * elf/dl-load.c (lose): Check for non-null L.
57651 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57653 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57655 * elf/dl-libc.c (dlerror_run): Pass back error code from
57659 * elf/dl-load.c (lose): Free l_origin if it is valid.
57661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57663 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57666 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57667 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57668 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57670 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57672 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57673 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57674 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57675 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57676 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57677 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57678 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57679 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57680 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57681 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57683 2011-08-15 Alan Modra <amodra@gmail.com>
57686 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57687 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57688 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57689 ppc_mcount to static-only-routines.
57690 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57692 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57693 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57695 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57697 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57698 for finite and infinity parameters.
57700 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57703 and add nop instructions for throughput optimization.
57704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57706 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57709 aligned copy for power7 with vector-scalar instructions.
57710 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57712 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57717 2011-09-07 Andreas Schwab <schwab@redhat.com>
57720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57723 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57725 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57726 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57727 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57728 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57731 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57733 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57734 Forgot to demangle the pointer.
57736 * sysdeps/i386/sysdep.h: Define atom_text_section.
57737 * sysdeps/x86_64/sysdep.h: Likewise.
57738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57739 section with atom_text_section.
57740 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57741 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57742 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57743 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57744 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57747 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57748 already be defined. Change to take two parameters and don't assign
57749 result to variable. Adjust all users.
57750 Define INTERNAL_GETTIME if not already defined.
57751 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57754 HAVE_CLOCK_GETTIME_VSYSCALL.
57755 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57758 gettimeofday vsyscall, just use time.
57760 2011-09-06 Andreas Schwab <schwab@redhat.com>
57762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57765 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57767 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57771 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57773 syscall if possible.
57775 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57777 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57778 e_ident. Don't pass to find_mapsXX.
57779 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57781 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57784 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57785 * sysdeps/x86_64/multiarch/strchr.S: Update.
57786 Check bit_slow_BSF bit.
57787 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57788 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57789 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57791 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57794 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57796 (tryshell): Define.
57797 (__spawni): Change last parameter to be flag. Test
57798 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57799 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57800 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57801 * posix/spawni.c: Likewise.
57802 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57803 * posix/spawnp.c: Likewise. Change normal version to use
57804 SPAWN_XFLAGS_USE_PATH.
57805 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57806 SPAWN_XFLAGS_TRY_SHELL.
57809 * posix/glob.h: Remove gcc 1.x support.
57812 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57814 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57817 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57819 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57820 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57821 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57823 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57824 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57826 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57828 * sysdeps/x86_64/wcscmp.S: New file.
57830 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57831 wcscmp-c wcscmp-sse2
57832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57833 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57834 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57835 * wcsmbs/wcscmp.c: Allow renaming.
57837 2011-09-05 David S. Miller <davem@davemloft.net>
57839 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57840 stack slot, rather than the struct return pointer slot.
57841 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57842 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57844 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57846 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57848 * po/ja.po: Update from translation team.
57851 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57852 kernel in 64-bit binaries.
57854 2011-09-01 David S. Miller <davem@davemloft.net>
57856 * elf/elf.h (HWCAP_SPARC_*): Move to..
57857 * sysdeps/sparc/sysdep.h: this new file and add new values.
57858 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57859 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57860 _DL_HWCAP_COUNT to 24.
57861 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57863 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57864 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57865 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57867 instead of magic constants.
57868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57870 2011-08-31 David S. Miller <davem@davemloft.net>
57872 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57874 Reimplement to do errno handling inline.
57875 (SYSCALL_ERROR_HANDLER): New macro.
57876 (__SYSCALL_STRING): Do not do errno handling in asm.
57877 (__CLONE_SYSCALL_STRING): Delete.
57878 (__INTERNAL_SYSCALL_STRING): Delete.
57879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57880 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57881 (PSEUDO): Reimplement to do errno handling inline.
57882 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57883 (SYSCALL_ERROR_HANDLER): New macro.
57884 (__SYSCALL_STRING): Do not do errno handling in asm.
57885 (__CLONE_SYSCALL_STRING): Delete.
57886 (__INTERNAL_SYSCALL_STRING): Delete.
57887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57888 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57890 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57891 (inline_syscall*): Add 'err' argument.
57892 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57893 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57894 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57895 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57897 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57898 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57900 2011-08-30 Andreas Schwab <schwab@redhat.com>
57902 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57904 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57906 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57909 2011-08-24 David S. Miller <davem@davemloft.net>
57911 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57913 2011-08-24 Andreas Schwab <schwab@redhat.com>
57915 * elf/Makefile: Add rules to build and run unload8 test.
57916 * elf/unload8.c: New file.
57917 * elf/unload8mod1.c: New file.
57918 * elf/unload8mod1x.c: New file.
57919 * elf/unload8mod2.c: New file.
57920 * elf/unload8mod3.c: New file.
57922 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57925 2011-08-23 David S. Miller <davem@davemloft.net>
57927 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57928 subtract stack bias.
57929 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57930 %sp not %fp in calculations.
57931 (_JMPBUF_UNWINDS_ADJ): Likewise.
57933 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57934 (aio_suspend): Call it to force an exception region around the
57935 AIO_MISC_WAIT() invocation.
57937 2011-08-23 Andreas Schwab <schwab@redhat.com>
57939 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57942 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57944 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57946 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57947 and <dl-machine.h>.
57948 (Elf64_FuncDesc): Remove.
57950 2011-08-22 David S. Miller <davem@davemloft.net>
57952 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57953 sigaltstack check, add missing cfi directives.
57954 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57955 missing cfi directives, and sigaltstack handling.
57957 2011-08-16 Andreas Schwab <schwab@redhat.com>
57960 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57961 object is seen twice.
57962 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57964 * elf/Makefile (distribute): Add tst-initorder2.c.
57965 (tests): Add tst-initorder2.
57966 (modules-names): Add tst-initorder2a tst-initorder2b
57967 tst-initorder2c tst-initorder2d. Add rules to build them.
57968 ($(objpfx)tst-initorder2.out): New rule.
57969 * elf/tst-initorder2.c: New file.
57970 * elf/tst-initorder2.exp: New file.
57972 2011-08-22 Andreas Schwab <schwab@redhat.com>
57974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57976 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57977 dependencies back to end of function.
57979 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57980 $(elfobjdir)/ld.so.
57982 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57985 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57987 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57988 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57989 of __vdso_gettimeofday.
57990 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57991 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57993 (_libc_vdso_platform_setup): Remove initialization of
57994 __vdso_gettimeofday and __vdso_time.
57996 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57998 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57999 and fgetc_unlocked.
58000 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58003 * elf/dl-open.c (add_to_global): Report additions to the global scope
58004 for LD_DEBUG=scopes.
58005 (dl_open_worker): Also print scope of newly loaded dependencies.
58006 (_dl_show_scope): Indicate if there is no scope.
58009 * stdio-common/Makefile (tests): Add bug24.
58010 * stdio-common/bug24.c: New file.
58012 2011-08-19 Andreas Jaeger <aj@suse.de>
58015 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58016 non-existant file when using close-on-exec mode.
58018 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58021 the very first instruction.
58023 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58024 the CFI state in the end.
58025 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58026 inclusion of dl-trampoline.h.
58027 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58029 2011-08-19 Andreas Schwab <schwab@redhat.com>
58031 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58032 expectations for long double.
58034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58035 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58037 2011-08-14 David S. Miller <davem@davemloft.net>
58039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58040 artificual limit depends upon the system page size.
58042 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58044 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58045 * resolv/Makefile: Define CFLAGS-libresolv.
58047 2011-08-17 Andreas Schwab <schwab@redhat.com>
58049 * nss/makedb.c (compute_tables): Make variables used in nested
58052 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58054 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58055 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58056 if buffer was too small.
58058 * elf/pldd.c (main): Attach to all threads in the process.
58059 Rewrite /proc handling to use *at functions.
58061 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58063 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58064 specifies first scope to show.
58065 (dl_open_worker): Update callers. Move printing scope of new
58066 object to before the relocation.
58067 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58068 * sysdeps/generic/ldsodefs.h: Update declaration.
58070 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58071 string for the scope number.
58073 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58075 * nscd/servicescache.c (cache_addserv): Make sure written is always
58078 2011-08-14 Roland McGrath <roland@hack.frob.com>
58080 * sysdeps/i386/i486/bits/atomic.h
58081 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58082 statement expression, so as to suppress "set but not used" warning.
58083 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58085 * string/strncat.c (STRNCAT): Use prototype definition.
58087 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58088 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58090 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58091 (localedef-modules): Add localedef.
58092 (locale-modules): Add locale.
58094 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58095 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58096 to avoid a warning.
58098 2011-08-14 David S. Miller <davem@davemloft.net>
58100 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58101 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58103 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58105 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58106 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58107 * elf/rtld.c (dl_main): Set l_name of vDSO.
58108 Call _dl_show_scope when DL_DEBUG_SCOPES.
58109 (process_dl_debug): Recognize scopes flag and also set it for all.
58110 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58111 Declare _dl_show_scope.
58113 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58114 (do_dlopen): Pass caller_dlopen to dl_open.
58115 (__libc_dlopen_mode): Initialize caller_dlopen.
58117 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58118 of libc. Make tolower call locale-independent. Optimize a bit by
58119 using isdigit instead of isalnum.
58120 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58122 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58124 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58125 was a dependency or dynamically loaded.
58127 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58129 * intl/l10nflist.c: Allow architecture-specific pop function.
58130 * sysdeps/x86_64/l10nflist.c: New file.
58132 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58135 2011-08-10 Andreas Schwab <schwab@redhat.com>
58137 * include/dirent.h: Add libc_hidden_proto for scandirat and
58138 scandirat64. Don't declare __scandirat64.
58139 * dirent/scandirat.c: Add libc_hidden_def.
58140 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58141 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58143 2011-08-10 David S. Miller <davem@davemloft.net>
58145 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58151 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58153 * Versions.def [libc]: Add GLIBC_2.15.
58154 * dirent/Makefile (routines): Add scandirat and scandirat64.
58155 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58157 * dirent/dirent.h: Declare scandirat and scandirat64.
58158 * dirent/scandirat.c: New file.
58159 * dirent/scandirat64.c: New file.
58160 * sysdeps/wordsize-64/scandirat.c: New file.
58161 * sysdeps/wordsize-64/scandirat64.c: New file.
58162 * dirent/opendir.c: Define opendirat.
58163 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58165 * dirent/scandir64.c: Adjust for scandir.c change.
58166 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58167 __scandirat64, and __scandir_cancel_handler.
58168 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58169 additional parameter and use openat instead of open (outside of ld.so).
58170 Add new __opendir as wrapper around __opendirat.
58171 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58172 here without requiring old scandirat implementation.
58174 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58176 * dirent/scandir.c (cancel_handler): Renamed to
58177 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58178 defined. Adjust users.
58179 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58182 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58184 * string/test-string.h (IMPL): Use __STRING to expand name and then
58187 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58190 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58192 * string/Makefile: Update.
58193 (strop-tests): Append strncat.
58194 * string/test-wcscmp.c: New file.
58195 New comprehensive test for wcscmp.
58196 * string/test-strcmp.c: Update.
58197 (WIDE): New define.
58199 2011-07-22 Andreas Schwab <schwab@redhat.com>
58201 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58204 2011-07-26 Andreas Schwab <schwab@redhat.com>
58206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58207 encoding to ACE if AI_IDN.
58209 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58212 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58214 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58216 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58217 Fix overflow bug in strncat.
58218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58220 * string/test-strncat.c: Update.
58221 Add new tests for checking overflow bugs.
58223 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58226 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58227 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58228 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58229 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58230 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58231 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58232 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58233 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58236 (USE_AS_STRCAT): Define.
58237 Add strcat and strncat support.
58238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58240 2011-07-25 Andreas Schwab <schwab@redhat.com>
58242 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58243 __n bigger than INT_MAX+1.
58244 (__strncmp_g): Likewise.
58246 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58248 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58249 * libio/stido.h: Likewise.
58251 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58256 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58259 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58263 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58268 (_dl_x86_64_save_sse): Likewise.
58270 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58274 (_dl_x86_64_save_sse): Likewise.
58276 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58278 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58280 2011-07-21 Andreas Schwab <schwab@redhat.com>
58282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58284 (_dl_x86_64_save_sse): Use correct AVX check.
58286 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58288 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58289 bug in strncpy/strncat.
58290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58292 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58294 * string/tester.c (test_strcat): Add tests for different alignments
58295 of source and destination.
58296 (test_strncat): Likewise.
58298 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58301 * posix/glob.c (glob): Check passed in values before using them in
58302 expressions to avoid some overflows.
58303 (glob_in_dir): Likewise.
58306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58307 check for AVX enablement so that we don't crash with old kernels and
58309 * elf/tst-audit4.c: Add same checks here.
58310 * elf/tst-audit6.c: Likewise.
58312 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58314 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58316 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58318 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58320 * po/cs.po: Update from translation team.
58321 * po/bg.po: Likewise.
58323 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58325 * misc/sys/cdefs.h: Add support for const attribute.
58326 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58327 to gnu_dev_{major,minor,makedev} functions.
58329 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58331 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58333 2011-07-20 Andreas Schwab <schwab@redhat.com>
58335 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58338 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58341 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58342 register in order to avoid conflicts with the soft frame pointer
58343 being held in r11 when necessary.
58344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58345 (INTERNAL_VSYSCALL_NCS): Likewise.
58347 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58349 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58350 * elf/dl-fini.c (_dl_fini): Adjust caller.
58351 * elf/dl-close.c (_dl_close_worker): Likewise.
58352 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58354 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58356 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58357 "aux_cache->nlibs < 0".
58359 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58360 in the reload-count case.
58362 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58365 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58366 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58367 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58368 * sysdeps/x86_64/multiarch/strcat.S: New file.
58369 * sysdeps/x86_64/multiarch/strncat.S: New file.
58370 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58371 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58372 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58373 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58375 (USE_AS_STRCAT): Define.
58376 Add strcat and strncat support.
58377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58380 * string/strncat.c: Update.
58381 (USE_AS_STRNCAT): Define.
58382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58383 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58385 * sysdeps/x86_64/multiarch/init-arch.h
58386 (bit_Prefer_PMINUB_for_stringop): New.
58387 (index_Prefer_PMINUB_for_stringop): Likewise.
58388 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58389 bit_Prefer_PMINUB_for_stringop.
58391 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58393 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58395 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58396 of casting of buffer.
58397 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58398 buffer32 and buffer64.
58399 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58400 writes instead of casting of buffer.
58401 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58403 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58406 2011-07-19 Andreas Schwab <schwab@redhat.com>
58408 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58410 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58412 * nscd/nscd.c (termination_handler): Don't do anything for a database
58413 if it has not yet been initialized.
58415 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58417 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58419 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58421 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58423 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58425 * po/nl.po: Update from translation team.
58426 * po/sv.po: Likewise.
58428 2011-07-16 Roland McGrath <roland@hack.frob.com>
58430 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58431 now disallowed by GCC.
58433 * configure.in (use-default-link): Default to yes if a test -shared
58434 link meets our qualifications.
58435 * configure: Regenerated.
58437 * config.make.in (output-format): New variable.
58438 * configure.in: Check for ld --print-output-format support.
58439 * configure: Regenerated.
58440 * Makerules ($(common-objpfx)format.lds)
58441 [$(output-format) != unknown]: Just use $(output-format),
58442 instead of the linker-script munging.
58444 2011-07-14 Roland McGrath <roland@hack.frob.com>
58446 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58447 of $(common-objpfx)shlib.lds.
58448 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58450 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58451 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58453 * configure.in (-z relro check): Adjust test code to add a large
58454 writable data section after it.
58455 * configure: Regenerated.
58457 2011-07-11 Roland McGrath <roland@hack.frob.com>
58459 * configure.in (-z relro check): Fix test code to make the variable
58461 * configure: Regenerated.
58463 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58465 * nscd/nscd.h (struct traced_file): Define.
58466 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58467 elements. Add traced_files.
58468 (inotify_fd): Declare.
58469 (register_traced_file): Declare.
58470 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58471 (inotify_fd): Export.
58472 (resolv_conf_descr): Remove.
58473 (nscd_init): Move inotify descriptor creation to main.
58474 Don't register files for notification here.
58475 (register_traced_file): New function.
58476 (invalidate_cache): Don't use reset_res to determine whether to call
58477 res_init, go through the list of registered files.
58478 (main_loop_poll): The inotify descriptors are now stored in the
58479 structures for the traced files.
58480 (main_loop_epoll): Likewise
58481 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58482 to __nss_disable_nscd.
58483 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58484 for a database anymore. Check the records for all the registered
58486 * nss/Makefile (libnss_files-routines): Add files-init.
58487 (libnss_db-routines): Add db-init.
58488 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58489 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58490 * nss/nss_db/db-init.c: New file.
58491 * nss/nss_files/files-init.c: New file.
58492 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58493 __nss_lookup_function.
58494 (__nss_lookup_function): Call nss_load_library.
58495 (nss_load_all_libraries): New function.
58496 (__nss_disable_nscd): Take parameter with callback function for files
58497 to register. Set is_nscd. Load all the DSOs for the NSS modules
58498 used for the cached services.
58499 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58500 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58501 options for features to all the files in nscd.
58503 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58505 2011-07-10 Roland McGrath <roland@hack.frob.com>
58507 * csu/elf-init.c (__libc_csu_init): Comment typo.
58509 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58511 * po/pl.po: Update from translation team.
58512 * po/ja.po: Likewise.
58513 * po/ru.po: Likewise.
58514 * po/ko.po: Likewise.
58515 * po/fr.po: Likewise.
58517 2011-07-09 Roland McGrath <roland@hack.frob.com>
58519 * configure.in (.ctors/.dtors header and trailer check):
58520 Use an empirical test on a built program.
58521 * configure: Regenerated.
58523 * configure.in (-z relro check): Use an empirical test on a built DSO.
58524 Detect, but do not require, on ia64.
58525 * configure: Regenerated.
58527 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58528 Update tests that use readelf to use $READELF instead.
58529 * configure: Regenerated.
58531 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58533 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58534 if the result is not used.
58536 2011-07-05 Andreas Jaeger <aj@suse.de>
58539 * stdlib/tst-strtod.c: Add testcase.
58541 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58543 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58544 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58545 The latter has a higher limit. Take additional parameter to pass to
58547 (__pathconf): Pass file to __statfs_link_max.
58548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58550 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58554 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58558 (__statfs_filesize_max): Likewise.
58559 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58561 2011-07-05 Andreas Jaeger <aj@suse.de>
58563 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58565 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58567 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58572 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58574 * Makefile (strop-tests): Add strncat.
58575 * string/test-strncat.c: New file.
58577 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58579 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58581 2011-06-21 Andreas Jaeger <aj@suse.de>
58583 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58584 Copy rule from iconvdata/Makefile.
58586 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58589 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58590 but no long options are defined, just return 'W'.
58592 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58595 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58597 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58599 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58601 (innetgr): Likewise.
58603 2011-07-05 Roland McGrath <roland@hack.frob.com>
58605 * config.make.in (install_root): Default to $(DESTDIR).
58607 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58611 2011-07-02 Roland McGrath <roland@hack.frob.com>
58613 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58615 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58616 containing directory rather than embedding absolute directory names.
58618 * scripts/check-local-headers.sh: Rewritten using awk.
58619 Match by word, not by line. Print error messages for matches.
58620 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58622 * Makerules [shlib-lds-flags empty]:
58623 ($(common-objpfx)libc_pic.opts): New target.
58624 ($(common-objpfx)libc_pic.os.clean): New target.
58625 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58627 * config.make.in (OBJCOPY): New variable.
58628 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58629 * configure: Regenerated.
58631 * config.make.in (use-default-link): New variable.
58632 * configure.in (use_default_link): Grok --with-default-link to set it.
58633 * configure: Regenerated.
58634 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58635 (shlib-lds, shlib-lds-flags): Define to empty.
58637 * Makerules (shlib-lds): New variable.
58638 (shlib-lds-flags): New variable.
58639 (build-shlib, build-moduile, build-module-asneeded): Use it.
58640 ($(common-objpfx)libc.so): Use $(shlib-lds).
58641 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58642 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58644 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58645 DT_FLAGS/DT_FLAGS_1 with zero flags.
58647 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58648 linker script munging.
58650 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58652 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58654 * crypt/sha512.c (sha512_process_block): Perform total addition using
58655 128-bit if possible.
58656 (__sha512_finish_ctx): Likewise.
58657 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58659 * crypt/sha256.c (SWAP64): Define.
58660 (sha256_process_block): Perform total addition using 64-bit if
58662 (__sha256_finish_ctx): Likewise.
58664 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58666 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58668 * nscd/hstcache.c (cache_addhst): Likewise.
58669 * nscd/grpcache.c (cache_addgr): Likewise.
58670 * nscd/aicache.c (addhstaiX): Likewise
58671 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58673 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58675 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58677 * nscd/hstcache.c (cache_addhst): Likewise.
58678 * nscd/grpcache.c (cache_addgr): Likewise.
58679 * nscd/aicache.c (addhstaiX): Likewise
58681 2011-07-01 Andreas Schwab <schwab@redhat.com>
58683 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58684 domain only when needed.
58686 2011-06-30 Andreas Schwab <schwab@redhat.com>
58688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58689 is always restored.
58691 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58693 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58694 are re-adding the entry.
58695 * nscd/servicescache.c (cache_addserv): Likewise.
58697 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58699 * sysdeps/generic/dl-irel.h: fix protection against multiple
58701 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58703 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58706 * malloc/memusage.sh: Fix quoting in message.
58707 * debug/xtrace.sh: Likewise.
58709 * configure.in: Remove support for --experimental-malloc option, make
58711 * config.make.in: Likewise.
58712 * malloc/Makefile: Likewise.
58714 2011-06-27 Andreas Schwab <schwab@redhat.com>
58716 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58717 two-byte characters.
58719 2011-06-27 Roland McGrath <roland@hack.frob.com>
58721 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58722 AC_CACHE_CHECK invocation.
58723 * configure: Regenerated.
58725 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58727 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58730 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58731 bit from old_res_options.
58733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58735 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58736 value type for setfct.
58738 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58741 __gettimeofday instead of gettimeofday.
58743 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58745 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58747 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58749 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58754 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58757 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58758 strcpy-sse2-unaligned strncpy-sse2-unaligned
58759 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58760 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58761 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58762 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58763 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58766 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58767 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58768 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58769 (STRCPY): Support SSE2 and SSSE3 versions.
58771 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58774 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58775 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58776 kernels which artificially limit size of requests.
58778 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58781 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58782 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58783 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58784 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58785 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58786 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58787 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58790 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58791 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58792 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58793 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58794 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58796 Enable unaligned load optimization for Intel Core i3, i5 and i7
58798 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58800 (index_Fast_Unaligned_Load): Define.
58801 (HAS_FAST_UNALIGNED_LOAD): Define.
58803 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58805 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58807 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58810 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58811 until it is clear that the information is realy needed.
58812 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58814 2011-06-22 Andreas Schwab <schwab@redhat.com>
58816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58818 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58821 /sys/devices/system/cpu/online if it is usable.
58823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58824 reading the information from the /proc filesystem to once a second.
58826 2011-06-21 Andreas Jaeger <aj@suse.de>
58828 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58829 NULL after inclusion of kernel headers.
58831 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58833 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58834 calls to internal_setent.
58837 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58838 addresses using gethostbyname4_r ignore IPv4 addresses.
58840 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58841 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58843 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58845 2011-06-20 David S. Miller <davem@davemloft.net>
58847 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58849 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58851 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58852 (elf_irel): Use it.
58853 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58854 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58855 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58856 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58857 * sysdeps/x86_64/dl-irel.h: Likewise.
58859 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58860 * elf/dl-sym.c: Likewise.
58862 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58864 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58865 need to dereference resplen2.
58867 2011-06-14 Andreas Schwab <schwab@redhat.com>
58869 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58871 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58873 * Makeconfig: Define vardbdir and inst_vardbdir.
58874 * nss/Makefile: Add rules to install db-Makefile.
58876 * nss/nss_db/db-XXX.c: Cleanup.
58878 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58879 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58881 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58882 * nss/makedb.c: Implement -g option to specify that value strings
58883 are generated and should not be added to table iterated over for
58885 * nss/nss_db/db-initgroups.c: New file.
58887 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58890 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58891 (internal_getgrouplist): Adjust to name change.
58892 Update use_initgroups_entry if this is not the first call.
58893 * nss/databases.def: Add initgroups entry.
58895 * nss/makedb.c (compute_tables): Check result of multiple hash table
58896 sizes to minimize maximum chain length.
58898 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58900 * Versions.def: Add entry for libnss_db.
58901 * shlib-versions: Likewise.
58902 * nss/Makefile: Add rules to build libnss_db.
58903 * nss/Versions: Add libnss_db information. Organize libnss_files
58905 * nss/db-Makefile: Add gshadow support. Change rules for the new
58906 makedb progra. Some minor improvements to generate smaller files.
58907 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58909 * nss/makedb.c: ...here.
58910 Improve database format to be smaller and require less memory at
58912 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58914 * nss/nss_db/db-netgrp.c: Likewise.
58915 * nss/nss_db/db-open.c: Likewise.
58916 * nss/nss_files/flies-XXX.x: Adjust comments.
58917 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58918 * nss/nss_files/files-grp.c: Likewise.
58919 * nss/nss_files/files-hosts.c: Likewise.
58920 * nss/nss_files/files-network.c: Likewise.
58921 * nss/nss_files/files-proto.c: Likewise.
58922 * nss/nss_files/files-pwd.c: Likewise.
58923 * nss/nss_files/files-rpc.c: Likewise.
58924 * nss/nss_files/files-service.c: Likewise.
58925 * nss/nss_files/files-sgrp.c: Likewise.
58926 * nss/nss_files/files-spwd.c: Likewise.
58927 * nss/nss_db/db-alias.c: Removed.
58928 * nss/nss_db/dummy-db.h: Removed.
58930 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58932 * nss/makedb.c: Rewritten to not use database library.
58933 * nss/Makefile: Update to build new makedb program.
58935 2011-06-14 Andreas Jaeger <aj@suse.de>
58937 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58938 memset declaration.
58940 2011-06-10 Andreas Schwab <schwab@redhat.com>
58942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58945 2011-06-10 Roland McGrath <roland@hack.frob.com>
58947 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58948 * elf/Makefile ($(objpfx)ld.so): Likewise.
58950 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58951 Don't list ld.so twice in dependencies.
58953 * posix/bug-regex31.c: Include <stdlib.h>.
58955 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58957 * nis/nss_compat/compat-spwd.c
58958 (getspent_next_nss_netgr): Remove unused variable.
58959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58961 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58962 nonmembers" output to use the right array.
58964 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58966 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58968 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58969 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58970 * catgets/gencat.c (read_input_file): Likewise.
58971 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58973 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58974 variable definition inside #if's controlling its use.
58976 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58978 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58980 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58982 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58985 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58987 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58988 * configure: Regenerated.
58990 * Makerules: Revert last change.
58991 * elf/Makefile: Likewise.
58993 2011-06-09 Roland McGrath <roland@hack.frob.com>
58995 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58996 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58997 (reloc-link): Likewise.
58999 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59001 * elf/Makefile: Add rules to build pldd.
59002 * elf/pldd.c: New file.
59003 * elf/pldd-xx.c: New file.
59005 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59007 * version.h: Update for 2.15 development version.
59009 2011-06-07 David S. Miller <davem@davemloft.net>
59011 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59014 elf_machine_lazy_rel): Likewise.
59015 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59017 elf_machine_lazy_rel): Likewise.
59018 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59019 dl_hwcap via passed in argument.
59020 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59023 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59025 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59027 2011-06-06 Roland McGrath <roland@hack.frob.com>
59030 * manual/fdl-1.1.texi: New file, verbatim from:
59031 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59032 * manual/lgpl-2.1.texi: New file, verbatim from:
59033 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59034 * manual/Makefile (licenses): New variable, list those new file names.
59036 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59038 * manual/fdl.texi: File removed.
59039 * manual/lesser.texi: File removed.
59040 * manual/libc.texinfo (Copying, Documentation License):
59041 Use new @include file names, put @appendix directive before @include.
59043 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59046 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59047 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59048 (mq_open): Add __NTH.
59050 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59053 Assume Intel Core i3/i5/i7 processor if AVX is available.
59055 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59060 2011-05-31 Andreas Schwab <schwab@redhat.com>
59062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59063 memory. Use alloca_account. Fix memory leak when retrying.
59065 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59067 * version.h (RELEASE): Bump for 2.14 release.
59068 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59070 * config.make.in (RANLIB): Remove entry.
59072 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59074 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59075 (libc.pot): Work around missing support for .ksh extension in xgettext.
59078 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59079 if both request failed.
59080 (send_dg): In case of server errors clear resplen or *resplen2.
59083 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59084 when there are multiple maps.
59085 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59086 (_dl_fini): Remove test here.
59088 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59090 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59093 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59094 bit from old_res_options.
59095 (gaih_inet): Likewise.
59098 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59101 * resolv/res_init.c (res_setoptions): Make the code more compact.
59104 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59108 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59110 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59113 * malloc/malloc.h: Declare malloc hook variables as volatile.
59115 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59119 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59120 raise in the comment.
59121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59123 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59125 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59128 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59129 grow the buffers more if it already has to be sufficient.
59130 (build_wcs_upper_buffer): Likewise.
59131 * posix/regexec.c (check_matching): Likewise.
59132 (clean_state_log_if_needed): Likewise.
59133 (extend_buffers): Don't enlarge buffers beyond size of the input
59135 Patches mostly by Emil Wojak <emil@wojak.eu>.
59136 * posix/bug-regex32.c: New file.
59137 * posix/Makefile (tests): Add bug-regex32.
59139 * locale/findlocale.c (_nl_find_locale): Return right away if
59140 _nl_explode_name failed.
59141 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59143 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59145 * debug/xtrace.sh: Unify messages.
59146 * malloc/memusage.sh: Likewise.
59149 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59150 time symbol from vDSO. Substitute with vsyscall if not available.
59151 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59154 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59155 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59156 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59157 Add sendmmsg and internal_sendmmsg.
59158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59159 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59162 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59163 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59166 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59169 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59170 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59176 * iconvdata/Makefile (tests): Add bug-iconv9.
59177 * iconvdata/bug-iconv9.c: New file.
59179 2011-05-27 Andreas Schwab <schwab@redhat.com>
59182 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59184 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59187 (struct user_regs_struct): Change intcs field back to cs.
59189 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59191 * po/ja.po: Update from translation team.
59193 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59196 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59197 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59199 2011-05-20 Andreas Schwab <schwab@redhat.com>
59201 * stdlib/longlong.h: Update from GCC.
59203 2011-05-23 Andreas Schwab <schwab@redhat.com>
59205 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59207 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59208 Add parameter name.
59209 (__sysconf): Pass it down.
59211 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59214 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59217 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59218 add in in __libc_use_alloca calls. Adjust callers.
59219 (glob): Use malloc in some situations.
59221 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59222 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59225 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59227 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59228 and CLOCK_BOOTTIME_ALARM.
59231 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59234 * string/_strerror.c (__strerror_r): Print negative errors as signed
59238 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59239 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59240 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59242 * configure.in: Fix typo in redirection and correct removal of test
59243 files in two cases.
59246 * locale/setlocale.c (new_composite_name): Fix test to check for
59247 identical name of all categories.
59250 * libio/filedoalloc.c (local_isatty): New function.
59251 (_IO_file_doallocate): Use local_isatty.
59252 * stdio-common/perror.c (perror): In case a new stream is used
59253 forward the stream error.
59254 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59257 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59262 * include/alloca.h (extend_alloca_account): Define.
59265 * posix/regex.h: Fix comments with documentation of user-accessible
59266 fields after compilation and describe correct free'ing of pattern
59267 after re_compile_pattern.
59268 Patch by Reuben Thomas <rrt@sc3d.org>.
59270 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59272 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59273 and -mno-altivec to prevent the compiler from using Altivec and/or
59274 VSX instructions when the corresponding registers are not available.
59276 2011-05-19 Andreas Schwab <schwab@redhat.com>
59278 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59280 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59282 * libio/freopen.c (freopen): Use __dup2, not dup2.
59283 * libio/freopen64.c (freopen64): Likewise.
59285 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59288 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59289 * math/Makefile (tests): Add test-powl.
59290 (CFLAGS-test-powl.c): Define.
59291 * math/test-powl.c: New file.
59293 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59295 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59297 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59300 * iconvdata/gb18030.c: Update to GB18020-2005.
59302 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59304 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59305 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59306 Patch by Aharon Robbins <arnold@skeeve.com>.
59309 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59313 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59314 through underflows.
59317 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59318 point to strings before performing equality test for error_one_per_line
59322 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59326 (struct user_fpregs_struct): Avoid __uint*_t types.
59329 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59330 symbol info. Use it instead of calling _dl_addr locally.
59331 (lock_and_info): New function.
59332 (tr_freehook): Call lock_and_info and pass symbol info as additional
59333 parameter to tr_where.
59334 (tr_mallochook): Likewise.
59335 (tr_reallochook): Likewise.
59336 (tr_memalignhook): Likewise.
59338 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59339 used and couldn't be at all thread-safe.
59341 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59343 * libio/freopen.c (freopen): Don't close old file descriptor
59344 before the new one is opened. Instead dup the new file descriptor
59345 to the old one after the new stream is created.
59346 * libio/freopen64.c (freopen64): Likewise.
59347 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59348 * libio/fileops.c (_IO_new_file_close_it): Handle new
59349 _IO_FLAGS2_NOCLOSE flag.
59350 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59351 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59352 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59353 _IO_FLAGS2_NOCLOSE flag.
59354 * include/unistd.h: Add hidden_proto for dup3.
59355 Define __have_dup3.
59356 * io/dup3.c: Define hidden symbol.
59357 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59360 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59361 when an incomplete long option is used.
59362 * posix/tst-getopt_long1.c: New file.
59363 * posix/Makefile (tests): Add tst-getopt_long1.
59366 * scripts/config.guess: Update from autoconf-2.68.
59367 * scripts/config.sub: Likewise.
59370 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59372 (has_cpuclock): ...this. New function.
59373 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59374 macro here based on has_cpuclock code.
59377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59378 First byte (not low byte) is now always NUL.
59379 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59382 Use non-cancelable interfaces.
59385 * locale/iso-639.def: Add entry for Sorani.
59388 * include/stdlib.h: Move include protection to the right place.
59389 Define abort_msg_s. Declare __abort_msg with it.
59390 * stdlib/abort.c (__abort_msg): Adjust type.
59391 * assert/assert.c (__assert_fail_base): New function. Majority
59392 of code from __assert_fail. Allocate memory for __abort_msg with
59394 (__assert_fail): Now call __assert_fail_base.
59395 * assert/assert-perr.c: Remove bulk of implementation. Use
59396 __assert_fail_base.
59397 * include/assert.hL Declare __assert_fail_base.
59398 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59400 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59402 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59406 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59407 until all modules are registered in the DTV.
59408 * elf/Makefile: Add rules to build and run tst-tls19.
59409 * elf/tst-tls19.c: New file.
59410 * elf/tst-tls19mod1.c: New file.
59411 * elf/tst-tls19mod2.c: New file.
59412 * elf/tst-tls19mod3.c: New file.
59413 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59416 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59420 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59421 two-byte sequence errors.
59422 * iconvdata/Makefile (tests): Add bug-iconv8.
59423 * iconvdata/bug-iconv8.c: New file.
59426 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59429 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59432 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59433 (dummy_getcfa): New function.
59434 (init): Get _Unwind_GetCFA address, use dummy if not found.
59435 (backtrace_helper): In recursion check, also check whether CFA changes.
59436 (__backtrace): Completely initialize arg.
59438 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59439 storing incomplete byte sequence in state object. Avoid testing for
59440 guaranteed too small input if we know there is enough data available.
59442 2011-05-11 Andreas Schwab <schwab@redhat.com>
59444 * Makeconfig (+link-pie): Indent.
59445 * Rules (binaries-pie): Define if $(have-fpie) and
59447 (binaries-shared): Also filter out $(binaries-pie).
59448 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59449 * nscd/Makefile (others-pie): Add nscd.
59450 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59451 ($(objpfx)nscd): Remove command override.
59452 * login/Makefile (others-pie): Add pt_chown.
59453 ($(objpfx)pt_chown): Remove command override.
59454 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59455 remove command overrides.
59457 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59459 * libio/tst_putwc.c: Fix error messages.
59462 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59463 currently writing and seek to current position when not.
59464 * libio/Makefile (tests): Add bug-fclose1.
59465 * libio/bug-fclose1.c: New file.
59467 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59470 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59471 don't set DF_1_NODELETE here.
59472 (do_lookup_x): When entering new entry test for copy relocation
59473 and if necessary set DF_1_NODELETE flag.
59474 * elf/tst-unique4.cc: New file.
59475 * elf/tst-unique4.h: New file.
59476 * elf/tst-unique4lib.cc: New file.
59477 * elf/Makefile: Add rules to build and run tst-unique4.
59478 Patch by Piotr Bury <pbury@goahead.com>.
59480 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59483 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59486 * misc/mntent_r.c (addmntent): Flush the stream after the output
59489 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59490 (is_trusted_path_normalize): Skip initial colon. Append slash
59491 to empty buffer. Duplicate is_trusted_path code but allow
59492 constructed patch to be prefix.
59493 (is_dst): Allow $ORIGIN followed by /.
59494 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59495 Correct testing of result of is_trusted_path_normalize
59496 (decompose_rpath): Fix warning.
59498 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59501 * grp/initgroups.c (internal_getgrouplist): When we found the service
59502 list through the initgroups entry in nsswitch.conf do not always
59503 continue on a successful lookup. Don't always use the
59504 __nss_group_database value if it is set.
59505 * nss/nsswitch.conf (initgroups): Change action for successful db
59506 lookup to continue for compatibility.
59508 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59511 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59513 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59515 * iconvdata/tst-tables.sh: Likewise.
59516 * iconvdata/cp770.c: New file.
59517 * iconvdata/cp771.c: New file.
59518 * iconvdata/cp772.c: New file.
59519 * iconvdata/cp773.c: New file.
59520 * iconvdata/cp774.c: New file.
59521 * iconvdata/testdata/CP770: New file.
59522 * iconvdata/testdata/CP770..UTF8: New file.
59523 * iconvdata/testdata/CP771: New file.
59524 * iconvdata/testdata/CP771..UTF8: New file.
59525 * iconvdata/testdata/CP772: New file.
59526 * iconvdata/testdata/CP772..UTF8: New file.
59527 * iconvdata/testdata/CP773: New file.
59528 * iconvdata/testdata/CP773..UTF8: New file.
59529 * iconvdata/testdata/CP774: New file.
59530 * iconvdata/testdata/CP774..UTF8: New file.
59532 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59534 * iconvdata/gen-8bit-gap.sh: Likewise.
59535 * iconvdata/gen-8bit.sh: Likewise.
59537 * locale/iso-639.def: Add ary entry.
59540 * locale/C-translit.h.in: Add U20A1 transliteration.
59543 * locale/iso-639.def: Add wae entry.
59544 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59547 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59551 * locale/C-translit.h.in: Add entry for U20B9.
59552 Patch by pravin.d.s@gmail.com.
59554 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59557 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59558 ENAMETOOLONG use generic getcwd.
59559 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59560 in rtld. Use *stat64.
59561 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59562 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59563 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59564 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59565 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59566 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59567 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59568 __fstatat64 macros.
59569 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59570 * dirent/rewinddir.c: Add libc_hidden_def.
59571 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59572 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59574 * include/dirent.h (__alloc_dir): Add flags parameter.
59575 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59576 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59578 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59579 from fdopendir if O_CLOEXEC is already set.
59581 2011-03-15 Alan Modra <amodra@gmail.com>
59583 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59584 l_tls_firstbyte_offset non-zero. Save padding offset in
59585 l_tls_firstbyte_offset for later use.
59586 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59587 freeing static tls block.
59589 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59591 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59592 where #ifdef was intended. The intent is to prevent ARG_MAX from
59593 being defined by the kernel headers.
59595 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59598 * resolv/resolv.h: Define RES_NOTLDQUERY.
59599 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59600 no-tld-query and set RES_NOTLDQUERY.
59601 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59602 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59603 modern BIND to search name as TLD unless forbidden.
59605 2011-05-07 Petr Baudis <pasky@suse.cz>
59606 Ulrich Drepper <drepper@gmail.com>
59609 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59610 (is_trusted_path): ...to here.
59611 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59612 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59613 using is_trusted_path_normalize() in setuid scripts.
59615 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59617 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59618 __BEGIN/__END_DECLS.
59620 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59623 NSS_STATUS_NOTFOUND if no record was found.
59625 2011-05-05 Andreas Schwab <schwab@redhat.com>
59627 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59628 (headers-not-in-tirpc): Remove rpc/netdb.h
59629 * resolv/netdb.h: Revert last change.
59631 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59633 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59634 circular dependency between libgcc.a and libc.a.
59636 2011-05-05 Andreas Schwab <schwab@redhat.com>
59638 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59639 * nis/Makefile: Don't install rpcsvc/*.
59640 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59641 instead of <rpc/types.h>.
59642 (MAXHOSTNAMELEN): Define.
59644 2011-05-03 Andreas Schwab <schwab@redhat.com>
59646 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59648 2011-04-28 Maciej Babinski <mbabinski@google.com>
59651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59652 gethostbyname4_r when IPv6 results are possible.
59654 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59657 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59658 _PC_PIPE_BUF handling.
59660 2011-04-30 Bruno Haible <bruno@clisp.org>
59663 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59664 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59666 * inet/getnameinfo.c (getnameinfo): Likewise.
59668 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59670 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59671 to groups setting in database lookup.
59672 * nss/nsswitch.conf: Add initgroups entry.
59674 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59677 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59679 Patch by Eric Blake <eblake@redhat.com>.
59681 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59683 * sunrpc/Makefile (need-export-routines): Add svc_run.
59684 (routines): Remove svc_run.
59685 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59686 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59687 * sunrpc/svc_run.c (svc_run): Likewise.
59688 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59690 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59693 problem in reallocation in last patch.
59695 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59697 * sunrpc/Makefile: Move inclusion of Rules.
59699 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59701 * nss/nss_files/files-initgroups.c: New file.
59702 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59703 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59704 _nss_files_initgroups_dyn.
59706 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59708 * elf/elf.h (R_ARM_IRELATIVE): Define.
59710 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59712 * po/ru.po: Update from translation team.
59714 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59716 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59719 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59722 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59723 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59728 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59730 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59732 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59734 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59736 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59741 * stdlib/bug-getcontext.c: New file.
59742 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59744 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59746 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59747 instructions into .machine "z9-109".
59748 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59749 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59751 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59753 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59754 between environment variables and auxiliary vector.
59756 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59758 * Makefile: Add rules to build linkobj/libc.so.
59759 * include/libc-symbols.h: Define libc_hidden_nolink.
59760 * include/rpc/auth.h: Mark functions which are to be hidden.
59761 * include/rpc/auth_des.h: Likewise.
59762 * include/rpc/auth_unix.h: Likewise.
59763 * include/rpc/clnt.h: Likewise.
59764 * include/rpc/des_crypt.h: Likewise.
59765 * include/rpc/key_prot.h: Likewise.
59766 * include/rpc/pmap_clnt.h: Likewise.
59767 * include/rpc/pmap_prot.h: Likewise.
59768 * include/rpc/pmap_rmt.h: Likewise.
59769 * include/rpc/rpc_msg.h: Likewise.
59770 * include/rpc/svc.h: Likewise.
59771 * include/rpc/svc_auth.h: Likewise.
59772 * include/rpc/xdr.h: Likewise.
59773 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59774 * nss/Makefile: Likewise.
59775 * sunrpc/Makefile: Don't install headers. Build library with normal
59776 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59777 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59778 for the compat linking library. Remove use of INTDEF/INTUSE.
59779 * sunrpc/auth_none.c: Likewise.
59780 * sunrpc/auth_unix.c: Likewise.
59781 * sunrpc/authdes_prot.c: Likewise.
59782 * sunrpc/authuxprot.c: Likewise.
59783 * sunrpc/clnt_gen.c: Likewise.
59784 * sunrpc/clnt_perr.c: Likewise.
59785 * sunrpc/clnt_raw.c: Likewise.
59786 * sunrpc/clnt_simp.c: Likewise.
59787 * sunrpc/clnt_tcp.c: Likewise.
59788 * sunrpc/clnt_udp.c: Likewise.
59789 * sunrpc/clnt_unix.c: Likewise.
59790 * sunrpc/des_crypt.c: Likewise.
59791 * sunrpc/des_soft.c: Likewise.
59792 * sunrpc/get_myaddr.c: Likewise.
59793 * sunrpc/key_call.c: Likewise.
59794 * sunrpc/key_prot.c: Likewise.
59795 * sunrpc/netname.c: Likewise.
59796 * sunrpc/pm_getmaps.c: Likewise.
59797 * sunrpc/pm_getport.c: Likewise.
59798 * sunrpc/pmap_clnt.c: Likewise.
59799 * sunrpc/pmap_prot.c: Likewise.
59800 * sunrpc/pmap_prot2.c: Likewise.
59801 * sunrpc/pmap_rmt.c: Likewise.
59802 * sunrpc/publickey.c: Likewise.
59803 * sunrpc/rpc_cmsg.c: Likewise.
59804 * sunrpc/rpc_common.c: Likewise.
59805 * sunrpc/rpc_dtable.c: Likewise.
59806 * sunrpc/rpc_prot.c: Likewise.
59807 * sunrpc/rpc_thread.c: Likewise.
59808 * sunrpc/rtime.c: Likewise.
59809 * sunrpc/svc.c: Likewise.
59810 * sunrpc/svc_auth.c: Likewise.
59811 * sunrpc/svc_authux.c: Likewise.
59812 * sunrpc/svc_raw.c: Likewise.
59813 * sunrpc/svc_run.c: Likewise.
59814 * sunrpc/svc_simple.c: Likewise.
59815 * sunrpc/svc_tcp.c: Likewise.
59816 * sunrpc/svc_udp.c: Likewise.
59817 * sunrpc/svc_unix.c: Likewise.
59818 * sunrpc/svcauth_des.c: Likewise.
59819 * sunrpc/xcrypt.c: Likewise.
59820 * sunrpc/xdr.c: Likewise.
59821 * sunrpc/xdr_array.c: Likewise.
59822 * sunrpc/xdr_float.c: Likewise.
59823 * sunrpc/xdr_intXX_t.c: Likewise.
59824 * sunrpc/xdr_mem.c: Likewise.
59825 * sunrpc/xdr_rec.c: Likewise.
59826 * sunrpc/xdr_ref.c: Likewise.
59827 * sunrpc/xdr_sizeof.c: Likewise.
59828 * sunrpc/xdr_stdio.c: Likewise.
59830 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59833 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59834 * sysdeps/ia64/dl-tls.h: Likewise.
59835 * sysdeps/powerpc/dl-tls.h: Likewise.
59836 * sysdeps/s390/dl-tls.h: Likewise.
59837 * sysdeps/sh/dl-tls.h: Likewise.
59838 * sysdeps/sparc/dl-tls.h: Likewise.
59839 * sysdeps/x86_64/dl-tls.h: Likewise.
59840 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59842 2011-03-14 Andreas Schwab <schwab@redhat.com>
59844 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59845 rpath element also skip the following colon.
59846 (expand_dynamic_string_token): Add is_path parameter and pass
59847 down to DL_DST_REQUIRED and _dl_dst_substitute.
59848 (decompose_rpath): Call expand_dynamic_string_token with
59849 non-zero is_path. Ignore empty rpaths.
59850 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59853 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59858 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59861 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59862 Patch by Filipe David Manana <fdmanana@apache.org>.
59864 2011-04-07 Andreas Schwab <schwab@redhat.com>
59866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59867 Maintain aligned stack.
59868 (CHECK_RSP): Remove unused macro.
59870 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59872 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59875 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59877 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59879 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59881 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59884 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59885 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59886 * sysdeps/x86_64/memmove.c: New file.
59887 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59888 (memcpy): Renamed to ...
59889 (__new_memcpy): This.
59890 (memcpy): Provide GLIBC_2_14 memcpy.
59891 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59892 (memcpy): Provide GLIBC_2_2_5 memcpy.
59894 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59897 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59899 2011-03-30 Andreas Schwab <schwab@redhat.com>
59901 * misc/syncfs.c: New file.
59902 * misc/Makefile (routines): Add syncfs.
59903 * posix/unistd.h: Declare syncfs.
59904 * sysdeps/unix/syscalls.list: Add syncfs.
59906 2011-04-01 Andreas Schwab <schwab@redhat.com>
59908 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59915 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59918 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59920 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59928 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59929 sync_file_range.c with -fexceptions.
59930 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59931 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59932 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59933 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59934 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59935 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59937 sync_file_range as cancellation point
59938 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59939 now a wrapper around __call_sync_file_range with cancellation handling.
59940 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59941 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59942 function name to __call_sync_file_range.
59943 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59944 Add call_sync_file_range.
59946 2011-04-01 Andreas Schwab <schwab@redhat.com>
59948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59951 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59953 * iconv/iconv.h: Fix typo in comment.
59954 * io/fcntl.h: Likewise.
59955 * libio/stdio.h: Likewise.
59956 * posix/spawn.h: Likewise.
59957 * posix/unistd.h: Likewise.
59958 * stdlib/stdlib.h: Likewise.
59959 * time/time.h: Likewise.
59960 * wcsmbs/wchar.h: Likewise.
59962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59963 open_by_handle): Add.
59964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59965 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59966 Augment a few comments.
59967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59969 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59972 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59975 * io/fcntl.h (AT_EMPTY_PATH): Define.
59977 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59979 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59980 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59981 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59983 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59984 * Versions.def: Add GLIBC_2.14.
59985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59988 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59990 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59992 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59994 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59997 * string/test-strncmp.c (do_page_test): New function.
59998 (check2): Likewise.
59999 (test_main): Call check2.
60000 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60002 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60005 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60006 Handle cache information in CPU leaf 4.
60007 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60009 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60012 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60013 character representation.
60014 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60016 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60018 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60019 END(__isnan) to END(__isnanf) to match function entry point/label
60020 EALIGN(__isnanf,...).
60022 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60024 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60026 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60029 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60030 copy from the symbol referenced in the relocation to initialize the
60032 Patch by Piotr Bury <pbury@goahead.com>.
60033 * elf/Makefile: Add rules to build and tst-unique3.
60034 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60035 * elf/tst-unique3.cc: New file.
60036 * elf/tst-unique3.h: New file.
60037 * elf/tst-unique3lib.cc: New file.
60038 * elf/tst-unique3lib2.cc: New file.
60040 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60042 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60044 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60045 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60048 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60050 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60051 to-be-loaded object along a path to loader is ld.so.
60053 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60054 Ulrich Drepper <drepper@gmail.com>
60056 * sysdeps/x86_64/memset.S: After aligning destination, code
60057 branches to different locations depending on the value of
60058 misalignment, when multiarch is enabled. Fix this.
60060 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60062 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60063 Set _x86_64_preferred_memory_instruction for AMD processsors.
60064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60065 Set bit_Prefer_SSE_for_memop for AMD processors.
60067 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60069 * libio/fmemopen.c (fmemopen): Optimize a bit.
60071 2011-03-03 Andreas Schwab <schwab@redhat.com>
60073 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60075 2011-03-03 Roland McGrath <roland@redhat.com>
60077 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60079 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60081 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60082 __bzero_ultra1 instead of __memset_ultra1.
60084 2011-02-23 Andreas Schwab <schwab@redhat.com>
60085 Ulrich Drepper <drepper@gmail.com>
60088 * include/link.h (struct link_map): Add l_orig_initfini.
60089 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60090 returning unsuccessfully.
60091 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60092 close of a file loaded at startup, restore the original l_initfini
60094 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60095 list, store the pointer.
60096 * elf/Makefile ($(objpfx)noload-mem): New rule.
60097 (noload-ENV): Define.
60098 (tests): Add $(objpfx)noload-mem.
60099 * elf/noload.c: Include <memcheck.h>.
60100 (main): Call mtrace. Close all opened handles.
60102 2011-02-17 Andreas Schwab <schwab@redhat.com>
60105 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60106 dependencies are missing.
60108 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60110 Fix __if_freereq crash: Unlike the generic version which uses free,
60112 * sysdeps/mach/hurd/ifreq.h: New file.
60114 2011-01-27 Petr Baudis <pasky@suse.cz>
60115 Ulrich Drepper <drepper@gmail.com>
60118 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60119 to extend_alloca().
60120 * stdio-common/bug23.c: New file.
60121 * stdio-common/Makefile (tests): Add bug23.
60123 2010-09-28 Andreas Schwab <schwab@redhat.com>
60124 Ulrich Drepper <drepper@gmail.com>
60127 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60128 before performing relro protection. At old place add assertion
60129 to make sure nothing changed.
60131 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60132 Glauber de Oliveira Costa <glommer@gmail.com>
60134 * elf/elf.h: Add new ARM TLS relocs.
60136 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60139 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60141 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60143 * sysdeps/wordsize-64/tst-writev.c: New file.
60145 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60147 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60148 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60149 insns in _dl_start to prevent a TOC reference before relocs are
60152 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60155 * Makeconfig: Remove RANLIB definition.
60156 * Makerules: Don't use RANLIB.
60157 * aclocal.m4: Remove ranlib test.
60158 * configure.in: No need to check for ranlib.
60159 * elf/rtld-Rules: Don't use RANLIB.
60161 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60163 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60165 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60166 inclusion protection macro.
60168 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60169 SIGRTMIN and SIGRTMAX and print information in that case only when
60170 SIGRTMIN is defined.
60172 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60174 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60175 arginfo fn returning -1.
60177 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60178 and thousands string is zero terminated.
60180 2011-02-03 Andreas Schwab <schwab@redhat.com>
60182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60183 sysdeps/unix/sysv/linux/bits/socket.h.
60185 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60187 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60188 (__CPU_COUNT): Remove old macros.
60189 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60190 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60191 (__CPU_ALLOC, __CPU_FREE): Add macros.
60192 (__sched_cpualloc, __sched_cpufree): Add declarations.
60194 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60196 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60197 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60198 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60199 (readdhstai): Return value of addhstaiX call.
60200 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60201 (addgrbyX): Return value returned by cache_addgr.
60202 (readdgrbyname): Return value returned by addgrbyX.
60203 (readdgrbygid): Likewise.
60204 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60205 (addpwbyX): Return value returned by cache_addpw.
60206 (readdpwbyname): Return value returned by addhstbyX.
60207 (readdpwbyuid): Likewise.
60208 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60209 (addservbyX): Return value returned by cache_addserv.
60210 (readdservbyname): Return value returned by addservbyX:
60211 (readdservbyport): Likewise.
60212 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60213 (addhstbyX): Return value returned by cache_addhst.
60214 (readdhstbyname): Return value returned by addhstbyX.
60215 (readdhstbyaddr): Likewise.
60216 (readdhstbynamev6): Likewise.
60217 (readdhstbyaddrv6): Likewise.
60218 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60219 (readdinitgroups): Return value returned by addinitgroupsX.
60220 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60221 (prune_cache): Keep track of timeout value of re-added entries.
60222 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60223 * nscd/nscd.h: Adjust prototypes of readd* functions.
60225 2011-02-04 Roland McGrath <roland@redhat.com>
60227 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60228 (nis_stats): Likewise.
60229 * nis/nis_modify.c (nis_modify): Likewise.
60230 * nis/nis_remove.c (nis_remove): Likewise.
60231 * nis/nis_add.c (nis_add): Likewise.
60233 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60235 * posix/fnmatch_loop.c: Add some consts.
60237 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60239 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60242 * config.make.in (config-cflags-novzeroupper): Define.
60243 * configure.in: Substitute libc_cv_cc_novzeroupper.
60244 * elf/Makefile (AVX-CFLAGS): Define.
60245 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60246 (CFLAGS-tst-auditmod4a.c): Likewise.
60247 (CFLAGS-tst-auditmod4b.c): Likewise.
60248 (CFLAGS-tst-auditmod6b.c): Likewise.
60249 (CFLAGS-tst-auditmod6c.c): Likewise.
60250 (CFLAGS-tst-auditmod7b.c): Likewise.
60251 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60253 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60255 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60256 function to the callback.
60257 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60259 2011-02-02 Andreas Schwab <schwab@redhat.com>
60261 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60264 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60267 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60269 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60271 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60274 * elf/Makefile: Add rules to build and run new test.
60275 * elf/tst-initorder.c: New file.
60276 * elf/tst-initorder.exp: New file.
60277 * elf/tst-initordera1.c: New file.
60278 * elf/tst-initordera2.c: New file.
60279 * elf/tst-initordera3.c: New file.
60280 * elf/tst-initordera4.c: New file.
60281 * elf/tst-initorderb1.c: New file.
60282 * elf/tst-initorderb2.c: New file.
60283 * elf/tst-order-a1.c: New file.
60284 * elf/tst-order-a2.c: New file.
60285 * elf/tst-order-a3.c: New file.
60286 * elf/tst-order-a4.c: New file.
60287 * elf/tst-order-b1.c: New file.
60288 * elf/tst-order-b2.c: New file.
60289 * elf/tst-order-main.c: New file.
60290 New test case by George Gensure <werkt0@gmail.com>.
60292 2010-10-01 Andreas Schwab <schwab@redhat.com>
60294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60295 decoding ACE if AI_CANONIDN.
60297 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60299 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60301 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60303 * version.h (RELEASE): Bump for 2.13 release.
60304 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60306 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60308 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60310 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60312 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60313 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60314 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60315 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60317 * posix/getconf.c: Update copyright year.
60318 * catgets/gencat.c: Likewise.
60319 * csu/version.c: Likewise.
60320 * debug/catchsegv.sh: Likewise.
60321 * debug/xtrace.sh: Likewise.
60322 * elf/ldconfig.c: Likewise.
60323 * elf/ldd.bash.in: Likewise.
60324 * elf/sprof.c (print_version): Likewise.
60325 * iconv/iconv_prog.c: Likewise.
60326 * iconv/iconvconfig.c: Likewise.
60327 * locale/programs/locale.c: Likewise.
60328 * locale/programs/localedef.c: Likewise.
60329 * malloc/memusage.sh: Likewise.
60330 * malloc/mtrace.pl: Likewise.
60331 * nscd/nscd.c (print_version): Likewise.
60332 * nss/getent.c: Likewise.
60334 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60335 PF_CAIF, and PF_ALG.
60336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60338 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60340 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60341 (modules-names): Use them.
60342 (ifunc-test-modules, ifunc-pie-tests): Define.
60343 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60344 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60345 (test-extras): Likewise.
60346 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60347 $(compile-command.c).
60348 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60349 (all-built-dso): Define.
60350 (check-textrel.out, check-execstack.out): Depend on it.
60352 * configure.in: Don't override --enable-multi-arch.
60354 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60357 * nscd/hstcache.c (tryagain): Define.
60358 (cache_addhst): Return tryagain not notfound for temporary errors.
60359 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60362 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60365 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60366 to make the syscall.
60367 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60370 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60371 and fall back to matching as normal character if the string ends before
60372 the matching ']' is found. This is what POSIX requires.
60373 * posix/testfnm.c: Adjust test result.
60374 * posix/globtest.sh: Adjust test result. Add new test.
60375 * posix/tst-fnmatch.input: Likewise.
60376 * posix/tst-fnmatch2.c: Add new test.
60378 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60380 * elf/Makefile (check-execstack): Revert last change. Depend on
60382 (check-execstack.h): New target.
60383 (generated): Add check-execstack.h.
60384 * elf/check-execstack.c: Include "check-execstack.h".
60385 (main): Revert last change.
60386 (handle_file): Return zero if GNU_STACK is absent and
60387 DEFAULT_STACK_PERMS doesn't include PF_X.
60389 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60391 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60392 in child fails because the descriptor is already closed.
60393 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60394 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60395 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60398 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60402 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60403 temporary buffer used to handle multi lookups locally.
60404 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60406 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60408 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60411 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60413 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60414 alignment for SSE2.
60416 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60419 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60420 characters. When rounding increased number of integer digits recompute
60422 * stdio-common/tst-grouping.c: New file.
60423 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60425 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60427 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60428 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60430 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60432 * bits/select.h: Likewise.
60434 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60436 * po/ja.po: Update from translation team.
60438 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60441 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60442 implementation just like for lxstat, fxstatat, et al.
60444 2010-12-27 Jim Meyering <meyering@redhat.com>
60447 * posix/regexec.c (build_trtable): Return failure indication upon
60448 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60450 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60453 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60454 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60455 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60456 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60459 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60462 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60463 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60465 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60467 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60468 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60469 script has SORT_BY_INIT_PRIORITY.
60470 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60471 NO_CTORS_DTORS_SECTIONS is defined.
60472 * elf/soinit.c: Likewise.
60473 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60474 NO_CTORS_DTORS_SECTIONS is defined.
60475 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60476 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60477 * sysdeps/sh/init-first.c: Likewise.
60478 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60480 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60482 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60483 always use the slow path.
60485 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60487 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60488 similar rule which adds the sysdep directories to the header search in
60489 order to pick up the correct platform stackinfo.h.
60490 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60491 perform test if it is, otherwise return successfully without testing.
60492 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60493 DEFAULT_STACK_PERMS define in stackinfo.h.
60494 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60495 defined in stackinfo.h.
60496 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60497 DEFAULT_STACK_PERMS defined in stackinfo.h.
60498 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60499 * sysdeps/ia64/stackinfo.h: Likewise.
60500 * sysdeps/s390/stackinfo.h: Likewise.
60501 * sysdeps/sh/stackinfo.h: Likewise.
60502 * sysdeps/sparc/stackinfo.h: Likewise.
60503 * sysdeps/x86_64/stackinfo.h: Likewise.
60504 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60505 PF_X for powerpc64. Retain PF_X for powerpc32.
60507 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60509 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60511 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60512 GETDENTS_64BIT_ALIGNED.
60514 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60516 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60518 2010-12-10 Andreas Schwab <schwab@redhat.com>
60520 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60523 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60524 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60526 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60527 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60529 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60532 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60535 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60537 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60539 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60541 * po/it.po: Update from translation team.
60543 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60548 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60550 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60552 2010-11-24 Andreas Schwab <schwab@redhat.com>
60554 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60556 (gaih_getanswer_slice): Likewise.
60558 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60562 2010-05-31 Petr Baudis <pasky@suse.cz>
60565 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60566 silently even in the chroot mode.
60568 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60571 last patch a bit. Pretty printing
60573 2010-05-31 Petr Baudis <pasky@suse.cz>
60576 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60577 initialization of skip_initgroups_dyn.
60579 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60584 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60586 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60588 2010-11-11 Andreas Schwab <schwab@redhat.com>
60590 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60591 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60592 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60593 ($(objpfx)tst-fnmatch-mem): New rule.
60594 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60595 * posix/tst-fnmatch.c (main): Call mtrace.
60597 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60600 Support Intel processor model 6 and model 0x2c.
60602 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60607 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60610 * string/test-strncasecmp.c (check_result): New function.
60611 (do_one_test): Use it.
60612 (check1): New function.
60613 (test_main): Use it.
60614 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60615 Support strcasecmp and strncasecmp.
60617 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60620 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60623 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60625 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60629 * sysdeps/x86_64/multiarch/bzero.S: New file.
60630 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60631 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60632 * sysdeps/x86_64/multiarch/memset.S: New file.
60633 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60635 Set bit_Prefer_SSE_for_memop for Intel processors.
60636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60638 (index_Prefer_SSE_for_memop): Define.
60639 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60641 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60643 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60644 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60646 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60649 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60650 (__x86_64_raw_data_cache_size_half): Likewise.
60651 (__x86_64_raw_shared_cache_size): Likewise.
60652 (__x86_64_raw_shared_cache_size_half): Likewise.
60654 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60655 (__x86_64_raw_data_cache_size_half): Likewise.
60656 (__x86_64_raw_shared_cache_size): Likewise.
60657 (__x86_64_raw_shared_cache_size_half): Likewise.
60658 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60659 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60660 and __x86_64_raw_shared_cache_size_half. Round
60661 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60662 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60663 to multiple of 256 bytes.
60665 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60668 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60669 of inacessible symlinks. Verify result of symlink before returning it.
60670 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60671 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60673 2010-10-28 Erich Ritz <erichritz@gmail.com>
60675 * math/math.h (isinf): Fix typo in comment.
60677 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60679 * po/da.po: Update from translation team.
60681 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60683 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60684 is added to the list.
60686 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60687 Ulrich Drepper <drepper@gmail.com>
60689 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60690 the global list here. Move code to...
60691 (_dl_add_to_namespace_list): ...here. New function.
60692 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60693 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60694 * elf/dl-load.c (lose): Don't remove the element from the list.
60695 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60696 (_dl_map_object): Likewise.
60698 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60701 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60702 into all bytes of SSE register.
60703 Patch by Richard Li <richardpku@gmail.com>.
60705 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60708 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60711 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60713 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60714 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60716 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60721 2010-10-22 Andreas Schwab <schwab@redhat.com>
60723 * include/dlfcn.h (__RTLD_SECURE): Define.
60724 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60725 mode & __RTLD_SECURE instead.
60726 (open_path): Rename preloaded parameter to secure.
60727 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60728 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60729 * elf/dl-deps.c (openaux): Likewise.
60730 * elf/rtld.c (struct map_args): Remove is_preloaded.
60731 (map_doit): Don't use it.
60732 (dl_main): Likewise.
60733 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60734 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60736 2010-09-09 Andreas Schwab <schwab@redhat.com>
60738 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60739 (sysd-rules-targets): Remove duplicates.
60740 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60741 rtld-%.$o dependency.
60743 2010-10-18 Andreas Schwab <schwab@redhat.com>
60745 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60746 _dl_map_object do it.
60748 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60750 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60751 fast fma builtins, define the macros in the C99 standard.
60752 (FP_FAST_FMAF): Likewise.
60753 (FP_FAST_FMAL): Likewise.
60754 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60756 * bits/mathdef.h: Update copyright year.
60757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60759 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60761 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60762 builtins, define the macros in the C99 standard.
60763 (FP_FAST_FMAF): Likewise.
60764 (FP_FAST_FMAL): Likewise.
60765 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60767 (FP_FAST_FMAF): Likewise.
60769 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60772 * math/libm-test.inc (fma_test): Some new testcases.
60773 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60774 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60775 y and infinite z. Do multiplication by C already in long double.
60776 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60778 y and infinite z. Do bitwise or of inexact bit into u.d.
60779 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60780 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60781 * sysdeps/i386/fpu/s_fma.S: Removed.
60782 * sysdeps/i386/fpu/s_fmal.S: Removed.
60784 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60787 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60789 computation is not scheduled after fetestexcept. Fix value
60790 of minimum denormal long double.
60792 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60795 * math/libm-test.inc (fma_test): Add some more tests.
60796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60799 2010-10-15 Andreas Schwab <schwab@redhat.com>
60801 * scripts/data/localplt-s390-linux-gnu.data: New file.
60802 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60804 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60807 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60808 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60810 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60812 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60814 if one of x and y is very large and the other is subnormal.
60815 * sysdeps/s390/fpu/s_fmaf.c: New file.
60816 * sysdeps/s390/fpu/s_fma.c: New file.
60817 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60818 * sysdeps/powerpc/fpu/s_fma.S: New file.
60819 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60820 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60821 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60823 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60826 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60829 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60830 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60831 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60832 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60833 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60834 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60836 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60839 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60840 * posix/bug-regex31.input: Add test case.
60842 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60844 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60845 * posix/bug-regex31.input: New file.
60848 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60849 (parse_sub_exp): Fix last change, use postorder.
60851 * posix/bug-regex31.c: New file.
60852 * posix/Makefile: Add rules to build and run bug-regex31.
60854 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60857 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60860 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60861 to have entries in sys_siglist.
60864 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60867 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60870 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60871 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60872 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60873 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60874 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60875 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60876 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60877 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60878 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60879 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60880 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60881 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60882 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60883 * math/ftestexcept.c (fetestexcept): Likewise.
60884 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60885 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60886 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60887 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60888 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60889 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60890 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60892 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60895 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60898 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60900 * string/bug-strstr1.c: New file.
60901 * string/Makefile: Add rules to build and run bug-strstr1.
60903 2010-10-05 Eric Blake <eblake@redhat.com>
60906 * string/str-two-way.h (two_way_long_needle): Always clear memory
60907 when skipping input due to the shift table.
60909 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60912 * malloc/mcheck.c: Handle large requests.
60915 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60916 for strncmp and strncasecmp.
60917 * string/stratcliff.c: Add tests for strcmp and strncmp.
60918 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60920 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60922 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60925 2010-09-30 Andreas Jaeger <aj@suse.de>
60927 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60928 (CGROUP_SUPER_MAGIC): Define.
60929 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60930 Handle btrfs and cgroup file systems.
60931 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60934 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60936 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60937 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60939 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60942 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60943 trying to locate the ELF header.
60945 2010-09-27 Andreas Schwab <schwab@redhat.com>
60948 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60949 Mask out sign-bit copies when constructing f_fsid.
60951 2010-09-24 Petr Baudis <pasky@suse.cz>
60953 * debug/stack_chk_fail_local.c: Add missing licence exception.
60954 * debug/warning-nop.c: Likewise.
60956 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60958 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60959 implementing getdents64 using getdents syscall, set d_type if
60960 __ASSUME_GETDENTS32_D_TYPE.
60962 2010-09-16 Andreas Schwab <schwab@redhat.com>
60964 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60965 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60967 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60970 * posix/unistd.h: Undo change of feature selection for ftruncate from
60973 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60975 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60978 2010-09-20 Andreas Schwab <schwab@redhat.com>
60980 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60984 2010-09-14 Andreas Schwab <schwab@redhat.com>
60986 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60987 variables after CHECK_SP call.
60988 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60990 2010-09-13 Andreas Schwab <schwab@redhat.com>
60991 Ulrich Drepper <drepper@redhat.com>
60993 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60994 re-relocationg ld.so.
60995 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60996 _dl_init_paths call.
60997 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61000 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61002 * resolv/res_init.c (__res_vinit): Count the default server we added.
61004 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61005 Ulrich Drepper <drepper@redhat.com>
61008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61009 (____longjmp_chk): Use %ebx for saving value across system call.
61012 2010-09-06 Andreas Schwab <schwab@redhat.com>
61014 * manual/Makefile: Don't mix pattern rules with normal rules.
61016 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61018 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61020 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61021 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61022 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61023 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61027 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61030 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61031 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61033 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61035 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61036 * sysdeps/x86_64/addmul_1.S: Likewise.
61037 * sysdeps/x86_64/lshift.S: Likewise.
61038 * sysdeps/x86_64/mul_1.S: Likewise.
61039 * sysdeps/x86_64/rshift.S: Likewise.
61040 * sysdeps/x86_64/sub_n.S: Likewise.
61041 * sysdeps/x86_64/submul_1.S: Likewise.
61043 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61045 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61046 Define __sched_param instead of SCHED_* and sched_param when
61047 <bits/sched.h> is included with __need_schedparam defined.
61048 * bits/sched.h [__need_schedparam]
61049 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61050 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61051 (__defined_schedparam): Define to 1.
61052 (__sched_param): New structure, identical to sched_param.
61053 (__need_schedparam): Undefine.
61055 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61058 (epoll_create1): Declare.
61060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61062 2010-08-31 Andreas Schwab <schwab@redhat.com>
61065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61066 shifting retval into place.
61068 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61070 * nis/rpcsvc/nis.h: Update copyright notice.
61071 * nis/rpcsvc/nis.x: Likewise.
61072 * nis/rpcsvc/nis_callback.h: Likewise.
61073 * nis/rpcsvc/nis_callback.x: Likewise.
61074 * nis/rpcsvc/nis_object.x: Likewise.
61075 * nis/rpcsvc/nis_tags.h: Likewise.
61076 * nis/rpcsvc/yp.h: Likewise.
61077 * nis/rpcsvc/yp.x: Likewise.
61078 * nis/rpcsvc/ypupd.h: Likewise.
61079 * nis/yp_xdr.c: Likewise.
61080 * nis/ypupdate_xdr.c: Likewise.
61082 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61083 mainly the body of pmap_getport. Add parameters to specify timeouts.
61084 (pmap_getport): Use __libc_rpc_getport.
61085 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61086 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61087 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61089 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61094 2010-08-27 Roland McGrath <roland@redhat.com>
61096 * sysdeps/i386/i686/multiarch/Makefile
61097 (CFLAGS-varshift.c): New variable.
61099 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61101 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61102 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61106 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61108 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61110 * sysdeps/x86_64/strlen.S: Unroll the loop.
61111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61112 strlen-sse2 strlen-sse2-bsf.
61113 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61114 __strlen_no_bsf if bit_Slow_BSF is set.
61115 (__strlen_sse42): Removed.
61116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61117 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61119 2010-08-25 Roland McGrath <roland@redhat.com>
61121 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61122 * sysdeps/x86_64/multiarch/varshift.c: New file.
61123 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61124 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61125 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61126 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61128 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61131 strlen-sse2 strlen-sse2-bsf.
61132 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61133 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61134 (__strlen_sse2): Removed.
61135 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61138 bit_Slow_BSF for Atom.
61139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61140 (index_Slow_BSF): Define.
61141 (HAS_SLOW_BSF): Define.
61143 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61146 * resolv/res_init.c (__res_vinit): When no server address at all
61147 is given default to loopback.
61149 2010-08-24 Roland McGrath <roland@redhat.com>
61151 * configure.in: Remove config-name.h generation.
61152 * configure: Regenerated.
61153 * config-name.in: File removed.
61154 * scripts/config-uname.sh: New file.
61155 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61156 ($(objdir)config-name.h): New target.
61158 * sunrpc/rpc_parse.h: Avoid nested comment.
61160 2010-08-24 Richard Henderson <rth@redhat.com>
61161 Ulrich Drepper <drepper@redhat.com>
61162 H.J. Lu <hongjiu.lu@intel.com>
61164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61166 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61167 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61168 _mm_alignr_epi8 with _mm_loadu_si128.
61169 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61170 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61171 (__m128i_shift_right): Removed.
61172 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61173 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61174 * sysdeps/x86_64/multiarch/varshift.h: New file.
61175 * sysdeps/x86_64/multiarch/varshift.S: New file.
61177 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61179 * configure.in: Move assembler checks to before sysdep dir checking.
61181 2010-08-20 Petr Baudis <pasky@suse.cz>
61183 * LICENSES: Sync the sunrpc license.
61185 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61187 * sunrpc/auth_des.c: Update copyright notice once again.
61188 * sunrpc/auth_none.c: Likewise.
61189 * sunrpc/auth_unix.c: Likewise.
61190 * sunrpc/authdes_prot.c: Likewise.
61191 * sunrpc/authuxprot.c: Likewise.
61192 * sunrpc/bindrsvprt.c: Likewise.
61193 * sunrpc/clnt_gen.c: Likewise.
61194 * sunrpc/clnt_perr.c: Likewise.
61195 * sunrpc/clnt_raw.c: Likewise.
61196 * sunrpc/clnt_simp.c: Likewise.
61197 * sunrpc/clnt_tcp.c: Likewise.
61198 * sunrpc/clnt_udp.c: Likewise.
61199 * sunrpc/clnt_unix.c: Likewise.
61200 * sunrpc/des_crypt.c: Likewise.
61201 * sunrpc/des_soft.c: Likewise.
61202 * sunrpc/get_myaddr.c: Likewise.
61203 * sunrpc/getrpcport.c: Likewise.
61204 * sunrpc/key_call.c: Likewise.
61205 * sunrpc/key_prot.c: Likewise.
61206 * sunrpc/openchild.c: Likewise.
61207 * sunrpc/pm_getmaps.c: Likewise.
61208 * sunrpc/pm_getport.c: Likewise.
61209 * sunrpc/pmap_clnt.c: Likewise.
61210 * sunrpc/pmap_prot.c: Likewise.
61211 * sunrpc/pmap_prot2.c: Likewise.
61212 * sunrpc/pmap_rmt.c: Likewise.
61213 * sunrpc/rpc/auth.h: Likewise.
61214 * sunrpc/rpc/auth_unix.h: Likewise.
61215 * sunrpc/rpc/clnt.h: Likewise.
61216 * sunrpc/rpc/des_crypt.h: Likewise.
61217 * sunrpc/rpc/key_prot.h: Likewise.
61218 * sunrpc/rpc/netdb.h: Likewise.
61219 * sunrpc/rpc/pmap_clnt.h: Likewise.
61220 * sunrpc/rpc/pmap_prot.h: Likewise.
61221 * sunrpc/rpc/pmap_rmt.h: Likewise.
61222 * sunrpc/rpc/rpc.h: Likewise.
61223 * sunrpc/rpc/rpc_des.h: Likewise.
61224 * sunrpc/rpc/rpc_msg.h: Likewise.
61225 * sunrpc/rpc/svc.h: Likewise.
61226 * sunrpc/rpc/svc_auth.h: Likewise.
61227 * sunrpc/rpc/types.h: Likewise.
61228 * sunrpc/rpc/xdr.h: Likewise.
61229 * sunrpc/rpc_clntout.c: Likewise.
61230 * sunrpc/rpc_cmsg.c: Likewise.
61231 * sunrpc/rpc_common.c: Likewise.
61232 * sunrpc/rpc_cout.c: Likewise.
61233 * sunrpc/rpc_dtable.c: Likewise.
61234 * sunrpc/rpc_hout.c: Likewise.
61235 * sunrpc/rpc_main.c: Likewise.
61236 * sunrpc/rpc_parse.c: Likewise.
61237 * sunrpc/rpc_parse.h: Likewise.
61238 * sunrpc/rpc_prot.c: Likewise.
61239 * sunrpc/rpc_sample.c: Likewise.
61240 * sunrpc/rpc_scan.c: Likewise.
61241 * sunrpc/rpc_scan.h: Likewise.
61242 * sunrpc/rpc_svcout.c: Likewise.
61243 * sunrpc/rpc_tblout.c: Likewise.
61244 * sunrpc/rpc_util.c: Likewise.
61245 * sunrpc/rpc_util.h: Likewise.
61246 * sunrpc/rpcinfo.c: Likewise.
61247 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61248 * sunrpc/rpcsvc/key_prot.x: Likewise.
61249 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61250 * sunrpc/rpcsvc/mount.x: Likewise.
61251 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61252 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61253 * sunrpc/rpcsvc/rex.x: Likewise.
61254 * sunrpc/rpcsvc/rstat.x: Likewise.
61255 * sunrpc/rpcsvc/rusers.x: Likewise.
61256 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61257 * sunrpc/rpcsvc/spray.x: Likewise.
61258 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61259 * sunrpc/rtime.c: Likewise.
61260 * sunrpc/svc.c: Likewise.
61261 * sunrpc/svc_auth.c: Likewise.
61262 * sunrpc/svc_authux.c: Likewise.
61263 * sunrpc/svc_raw.c: Likewise.
61264 * sunrpc/svc_run.c: Likewise.
61265 * sunrpc/svc_simple.c: Likewise.
61266 * sunrpc/svc_tcp.c: Likewise.
61267 * sunrpc/svc_udp.c: Likewise.
61268 * sunrpc/svc_unix.c: Likewise.
61269 * sunrpc/svcauth_des.c: Likewise.
61270 * sunrpc/xcrypt.c: Likewise.
61271 * sunrpc/xdr.c: Likewise.
61272 * sunrpc/xdr_array.c: Likewise.
61273 * sunrpc/xdr_float.c: Likewise.
61274 * sunrpc/xdr_mem.c: Likewise.
61275 * sunrpc/xdr_rec.c: Likewise.
61276 * sunrpc/xdr_ref.c: Likewise.
61277 * sunrpc/xdr_sizeof.c: Likewise.
61278 * sunrpc/xdr_stdio.c: Likewise.
61280 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61283 2010-08-19 Andreas Schwab <schwab@redhat.com>
61285 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61287 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61289 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61291 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61292 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61293 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61294 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61295 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61296 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61297 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61298 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61299 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61300 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61301 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61302 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61304 2010-07-26 Anton Blanchard <anton@samba.org>
61306 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61307 * malloc/arena.c (heap_trim): Likewise.
61309 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61311 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61314 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61316 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61318 * sysdeps/i386/elf/Makefile: New file.
61320 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61322 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61323 from fanotify_init.
61324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61327 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61329 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61331 * sysdeps/multiarch/strcmp.S: Likewise.
61333 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61335 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61336 strncase_l-nonascii.
61337 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61338 Add strncase_l-ssse3.
61339 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61340 * sysdeps/x86_64/strcmp.S: Likewise.
61341 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61342 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61343 * sysdeps/x86_64/strncase.S: New file.
61344 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61345 * sysdeps/x86_64/strncase_l.S: New file.
61346 * string/Makefile (strop-tests): Add strncasecmp.
61347 * string/test-strncasecmp.c: New file.
61349 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61352 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61353 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61355 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61357 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61359 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61361 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61365 2010-05-01 Alan Modra <amodra@gmail.com>
61367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61368 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61369 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61370 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61371 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61372 tidying. Don't tail-call __sigjmp_save for static lib.
61373 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61375 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61376 (CALL_MCOUNT): Add eh info, and nop after bl.
61377 (TAIL_CALL_SYSCALL_ERROR): New macro.
61378 (PSEUDO_RET): Use it.
61379 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61380 Correct save location of integer regs and cr.
61381 (_dl_profile_resolve): Correct cr save location. Delete nops
61382 after bl when SHARED. Reduce cfi size a little by better
61383 placement of cfi directives.
61384 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61385 make a stack frame. Instead use parm save area as a temp.
61386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61387 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61389 Don't make a stack frame for parent, use parm save area.
61390 Increase child stack frame to 112 bytes. Don't save unused reg,
61391 and adjust reg usage. Set up cfi on error recovery and
61392 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61394 (__makecontext): Add dummy nop after jump to exit.
61395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61396 Use correct parm save area and cr save, reduce stack frame.
61397 Correct cfi for possible PSEUDO_RET frame setup.
61398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61399 Branch to local label emitted by PSEUDO_RET rather than
61402 2010-08-12 Andreas Schwab <schwab@redhat.com>
61405 * locale/programs/locale.c (print_assignment): New function.
61406 (show_locale_vars): Use it.
61408 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61410 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61412 (struct statfs64): Likewise.
61413 (_STATFS_F_FLAGS): Define.
61414 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61416 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61417 (ST_VALID): Define locally.
61418 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61419 __statvfs_getflags, use the provided value.
61420 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61421 __ASSUME_STATFS_F_FLAGS.
61423 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61425 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61426 Add sys/fanotify.h.
61427 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61428 fanotify_mask for GLIBC_2.13.
61429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61430 fanotify_init and fanotify_mark.
61431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61432 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61434 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61436 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61437 prlimit64 for GLIBC_2.13.
61438 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61444 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61445 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61448 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61451 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61452 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61454 * nss/Makefile: Add rules to build and run tst-nss-test1.
61455 * shlib-versions: Add entry for libnss_test1.
61456 * nss/nss_test1.c: New file.
61457 * nss/tst-nss-test1.c: New file.
61459 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61460 (__nss_configure_lookup): Set appropriate entry in
61461 __nss_configure_lookup to true.
61462 * nss/nsswitch.h: Define enum with indeces of databases in
61463 databases and __nss_database_custom arrays. Declare
61464 __nss_database_custom.
61465 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61466 to avoid using nscd when custom rules are installed.
61467 * nss/getXXbyYY_r.c: Likewise.
61468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61470 * nss/nss_files/files-parse.c: Whitespace fixes.
61472 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61475 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61476 * posix/fnmatch_loop.c: Likewise.
61478 2010-07-17 Andi Kleen <ak@linux.intel.com>
61480 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61481 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61482 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61483 * Versions.def [GLIBC_2.13]: Add.
61485 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61488 Also fail if tpwd after pwuid call is NULL.
61490 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61492 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61493 when converting to ms.
61495 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61497 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61498 EOPNOTSUPP errors with ENOTTY.
61499 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61500 EOPNOTSUPP errors with ENOTTY.
61502 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61504 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61505 Add strcasecmp_l-ssse3.
61506 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61508 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61509 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61510 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61512 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61514 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61516 * string/Makefile (strop-tests): Add strcasecmp.
61517 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61518 strcasecmp_l-nonascii.
61519 (gen-as-const-headers): Add locale-defines.sym.
61520 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61521 * sysdeps/x86_64/strcasecmp.S: New file.
61522 * sysdeps/x86_64/strcasecmp_l.S: New file.
61523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61524 * sysdeps/x86_64/locale-defines.sym: New file.
61525 * string/test-strcasecmp.c: New file.
61527 * string/test-strcasestr.c: Test both ends of the range of characters.
61528 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61530 2010-07-29 Roland McGrath <roland@redhat.com>
61533 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61535 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61537 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61540 2010-07-27 Andreas Schwab <schwab@redhat.com>
61542 * manual/memory.texi (Malloc Tunable Parameters): Document
61545 2010-07-26 Roland McGrath <roland@redhat.com>
61548 * configure.in (-fgnu89-inline check): Set and substitute
61549 gnu89_inline, not libc_cv_gnu89_inline.
61550 * configure: Regenerated.
61551 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61553 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61555 * string/test-strnlen.c: New file.
61556 * string/Makefile (strop-tests): Add strnlen.
61557 * string/tester.c (test_strnlen): Add a few more test cases.
61558 * string/tst-strlen.c: Better error reporting.
61560 * sysdeps/x86_64/strnlen.S: New file.
61562 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61565 lower-latency instructions.
61567 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61569 * string/test-strcasestr.c: New file.
61570 * string/test-strstr.c: New file.
61571 * string/Makefile (strop-tests): Add strstr and strcasestr.
61572 * string/str-two-way.h: Don't undefine MAX.
61573 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61575 2010-07-21 Andreas Schwab <schwab@redhat.com>
61577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61578 strcasestr-nonascii.
61579 (CFLAGS-strcasestr-nonascii.c): Define.
61580 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61581 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61582 Remove unused attribute.
61584 2010-07-20 Roland McGrath <roland@redhat.com>
61586 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61587 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61588 ld.so.cache was broken. With it, there is no way to disable dsocaps
61589 like LD_HWCAP_MASK can disable hwcaps.
61591 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61593 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61595 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61597 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61598 call in strcasestr.
61599 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61600 __strcasestr_sse42_nonascii.
61601 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61602 strcasestr-nonascii.c.
61603 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61605 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61608 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61609 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61610 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61612 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61617 2010-07-06 Andreas Schwab <schwab@redhat.com>
61620 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61623 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61626 _PC_PIPE_BUF using F_GETPIPE_SZ.
61628 2010-07-05 Roland McGrath <roland@redhat.com>
61630 * manual/arith.texi (Rounding Functions): Fix rint description
61631 implicit in round description.
61633 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61635 * elf/Makefile: Fix linking for a few tests to make recent linker
61638 2010-06-30 Andreas Schwab <schwab@redhat.com>
61640 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61641 $(common-objpfx)libc_nonshared.a.
61643 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61645 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61646 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61647 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61648 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61649 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61650 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61651 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61652 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61667 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61668 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61669 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61670 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61671 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61672 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61673 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61674 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61675 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61676 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61677 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61678 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61694 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61696 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61697 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61698 * string/memmove.c (memmove): Renamed to ...
61699 (MEMMOVE): ...this. Default to memmove.
61700 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61701 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61704 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61705 mempcpy-ssse3-back memmove-ssse3-back.
61706 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61707 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61709 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61710 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61711 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61712 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61713 * sysdeps/x86_64/multiarch/memmove.c: New file.
61714 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61715 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61716 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61717 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61718 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61721 (index_Fast_Copy_Backward): Define.
61722 (HAS_ARCH_FEATURE): Define.
61723 (HAS_FAST_REP_STRING): Define.
61724 (HAS_FAST_COPY_BACKWARD): Define.
61726 2010-06-21 Andreas Schwab <schwab@redhat.com>
61728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61729 Restore proper fallback handling.
61731 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61734 * posix/group_member.c (__group_member): Correct checking loop.
61736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61737 OOM in getpwuid_r correctly. Return error number when the caller
61738 should return, otherwise -1.
61739 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61740 call returning > 0 value.
61741 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61743 2010-06-07 Andreas Schwab <schwab@redhat.com>
61745 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61746 libc_nonshared.a from targets in modules-names.
61748 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61750 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61753 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61755 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61756 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61757 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61760 2010-06-02 Andreas Schwab <schwab@redhat.com>
61762 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61764 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61773 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61775 2010-06-14 Roland McGrath <roland@redhat.com>
61777 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61779 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61781 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61782 __REDIRECT followed by __THROW.
61783 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61784 * posix/getopt.h (getopt): Likewise.
61786 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61788 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61789 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61790 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61792 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61793 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61795 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61799 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61803 Properly check family and model.
61805 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61807 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61809 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61811 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61813 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61815 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61818 2010-05-19 Andreas Schwab <schwab@redhat.com>
61820 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61823 2010-05-21 Andreas Schwab <schwab@redhat.com>
61825 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61826 and internal_recvmmsg.
61827 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61828 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61829 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61830 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61832 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61833 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61834 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61836 2010-05-20 Andreas Schwab <schwab@redhat.com>
61838 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61840 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61842 POWER7 optimizations.
61843 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61844 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61846 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61848 * version.h: Update for 2.13 development version.
61850 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61852 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61853 exceptions. Return 0.
61855 2010-05-07 Roland McGrath <roland@redhat.com>
61857 * elf/ldconfig.c (main): Add a const.
61859 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61861 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61862 (args_options): Add no-idn option.
61863 (ahosts_keys_int): Add idn_flags to ai_flags.
61864 (parse_option): Handle 'i' option to clear idn_flags.
61866 * malloc/malloc.c (_int_free): Possible race in the most recently
61867 added check. Only act on the data if no current modification
61870 See ChangeLog.17 for earlier changes.